
93
Programming
Rotary Table with “Calibrated” Stop Positions
Home the axis, wait for an input and then index to 3 different stop positions (absolute positions),
wait for an input between indexes. The InPosn output function could be assigned to an output
to indicate when the axis has completed the index and the following error is less than a specified
amount. Since the indexes are to absolute positions they can be adjusted to “calibrate” the stop
positions to account for mechanical non-linearity in the particular rotary table. A rollover
position of 360.00 degrees would be entered into the setup screen so that the system would take
the shortest path (across the rollover) during the last move.
Home.0.Initiate ‘Sensor,Offset=0.0deg/s,Vel=-1000deg/s
Do While (TRUE) ‘Repeat until the program is halted
Wait For ModuleInput.1=ON ‘ModuleInput.1 is the “Go” input
Index.2.Initiate ‘Absolute,Posn=120.07deg,Vel=1000deg/s
Wait For InPosn
Wait For ModuleInput.1=ON
Index.3.Initiate ‘Absolute,Posn=239.95deg,Vel=1000deg/s
Wait For InPosn
Wait For ModuleInput.1=ON
Index.1.Initiate ‘Absolute,Posn=0.03deg,Vel=1000deg/s
Wait For InPosn
Loop
Flying Cutoff/Shear
Flying cutoff or flying shear application to perform synchronized out and return indexes which
repeat every 100 inches of master travel.
Part Length = 100 inches
Knife Travel Distance = 20 inches
PLS.0 is used to initiate Index.0 every 100 inches. PLS.0 has an “ON” point at 0.000 inches
and an “OFF” point at 90.000 inches. PLS.0 has a rollover position of 100.000 inches. The
rollover position is used to set the part length. The source for PLS.0 is the master axis. The PLS
is configured in the PLS setup screen. The PLS output does not necessarily need to be
connected to an output line on the drive or module because it is used within the program to
initiate an index.
An Index PLS is used to fire the cutoff knife. The Index PLS is connected to Output #1 on the
drive. The Index PLS is configured in the index setup screen. The Index PLS for Index.1 has
an “ON” point 2.000 inches into the index and an “OFF” point 18 inches into the index.
Kommentare zu diesen Handbüchern