This function block commands a controlled stop of the axis (deceleration to stop), and aborts any motion ongoing.
To see the general representation in IL or ST language, refer to the chapter Function and Function Block Representation.
This table describes the input variables:
Inputs |
Type |
Comment |
---|---|---|
PTO_REF_IN |
Reference to the PTO channel. To be connected to the PTO_REF of the PTOSimple or the PTO_REF_OUT of the Administrative or Motion output pins function blocks. |
|
Execute |
BOOL |
On rising edge, starts the function block execution. When Execute is true, any motion command will be rejected. When FALSE, resets the outputs of the function block when its execution terminates. |
Deceleration |
DWORD |
Deceleration in Hz/ms or in ms (according to configuration). Range for rate (in Hz/ms): 1...Dec. max. Range for time (in ms): Dec. max....100000 |
This table describes the output variables:
Outputs |
Type |
Comment |
---|---|---|
PTO_REF_OUT |
Reference to the PTO channel. To be connected with the PTO_REF_IN input pin of the Administrative and Motion function blocks. |
|
Done |
BOOL |
TRUE = indicates that the command is finished. Function block execution is finished. |
Busy |
BOOL |
TRUE = indicates that the command is in progress. |
Error |
BOOL |
TRUE = indicates that an error was detected. Function block execution is finished. |
ErrID |
When Error is TRUE: type of the detected error. |
NOTE: For more information about Done, Busy, CommandAborted and Execution pins, refer to General Information on Function Block Management.