There are any number of ways to accomplish this, so take your pick...
You could write a sub program and call it after the count increments:
GAGE=GAGE+1
IF [GAGE GT 6] NDRP1
NDRP1 CALL ODRP1
ODRP1
ZV=23
YV=23
M309
YV=1
ZV=1
GAGE=0
RTS
OR you might want to wire in a switch to "force" it to drop off at will.
When the switch is on - call the ODRP1 sub routine.
IF[R801 GT 0]NDRP1
I'll have to dig through my archives to try to find you some more info, but can't do it right now.
Do you have a basic program that you are already working with?


LinkBack URL
About LinkBacks
Seeking info & examples for Programing robotic loader & stocker for OKUMA LFS15-2SP ROBUSTURN TWIN SPINDLE CNC, particulary for automating Quality Control part sample takeoff where potentially the loader would periodically take a part sample quanity, say six consequative parts & instead of placing them on the stocker lifter plate stacks, placing or dropping them one at a time after cutting each, thru the opening in the bottom of the LFS15-2SP housing between the LFS15-2SP and the stocker housing. This could be as simple as a free form drop before the stocker position. There is an open bottom space there looking wide enough to open the loader in "SWING A" horizontal position there, although it might not be necessary to deposit the parts in the horizontal loader position & the "SWING B" vertical position may surfice for releasing the parts...for QC check. Even programs where the loader loads and unloads parts thru the lower opening in the housing would be interesting...




