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:
Input |
Type |
Initial Value |
Description |
---|---|---|---|
|
AXIS_REF_PTO |
- |
Name of the axis (instance) for which the function block is to be executed. In the devices tree, the name is declared in the controller configuration. |
|
BOOL |
FALSE |
On rising edge, starts the function block execution. On falling edge, resets the outputs of the function block when its execution terminates. |
|
PTO_HOMING_MODE |
|
Predefined home mode type. |
|
DINT |
0 |
Position value is set as absolute position at the reference point switch detection, when the homing has been successfully executed. |
|
MC_DIRECTION |
|
Starting direction. For Homing, only |
|
DINT |
0 |
Target homing velocity for searching the limit or reference switch.
Range Hz: 1... |
|
DINT |
0 |
Target homing velocity for searching the reference switch or index signal. The movement stop when switching point is detected.
Range Hz: 1... |
|
DINT |
0 |
Acceleration in Hz/ms or in ms (according to configuration).
Range (Hz/ms): 1...
Range (ms): |
|
DINT |
0 |
Deceleration in Hz/ms or in ms (according to configuration).
Range (Hz/ms): 1...
Range (ms): |
|
DINT |
0 |
Distance from origin point. When the origin point is reached, the motion resumes until the distance is covered. Direction depends on the sign (Home offset). Range: -2,147,483,648...2,147,483,647 |
|
INT |
0 |
Percentage of acceleration from standstill used to create the S-curve profile. |
|
INT |
0 |
Percentage of acceleration to constant velocity used to create the S-curve profile. |
|
INT |
0 |
Percentage of deceleration from constant velocity used to create the S-curve profile. |
|
INT |
0 |
Percentage of deceleration to standstill used to create the S-curve profile. |
This table describes the output variables:
Output |
Type |
Initial Value |
Description |
---|---|---|---|
|
BOOL |
FALSE |
If TRUE, indicates that the function block execution is finished with no error detected. |
|
BOOL |
FALSE |
If TRUE, indicates that the function block execution is in progress. |
|
BOOL |
FALSE |
The function block controls the |
|
BOOL |
FALSE |
Function block execution is finished, by aborting due to another move command or an error detected. |
|
BOOL |
FALSE |
If TRUE, indicates that an error was detected. Function block execution is finished. |
|
PTO_ERROR |
|
When |