Programming the PTOMoveVelocity or the PTOMoveFast Function Block
Step |
Action |
---|---|
1 |
Select the Libraries tab in the Software Catalog and click Libraries. Select Controller > M218 > M218 PTOPWM > PTO > Motion > PTOMoveVelocity or PTOMoveFast in the list, drag-and-drop the item onto the POU window. |
2 |
Declare the function block instance. |
3 |
Associate the PTO_REF_IN input of the function block to the PTO_REF output of the PTOSimple function block. NOTE: A unique PTOSimple instance is needed per PTO Channel in the application. |
4 |
The inputs/outputs are detailed in the function block description PTOMoveVelocity or the PTOMoveFast. The interactions between the inputs/outputs are detailed in the General Information. The interactions between the motion commands are detailed in the Command Sequence. |
Any aborted motion commands cannot be completed after having been stopped. Restart the motion command.
The PTOMoveVelocity or the PTOMoveFast movement is aborted when:
oa PTOStop function block is called
othe Drive Ready Input (if defined at configuration time) becomes inactive
othe sequence of commands is not supported
othe application is stopped
oan error is detected