L_MC4P_GroupPower
This FB serves to switch on/off the single axes belonging to an axes group by means of the software (enable/ inhibit).
- The aeAxisEnable array serves to individually define which axes of the axes group are to be switched on/off with the FB and which direction of movement is enabled for the prevailing axis after switch-on.
- In the default setting, all axes are switched on/off and after switch-on, both directions of movement are enabled.
|
Note!
Each single axis can only be activated by an FB ( MC_Power or L_MC4P_GroupPower). If an already active axis is to be activated once again, the axis is switched off and an error message occurs! |
|
|
|
|
L_MC4P_GroupPower |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
AXES_GROUP_KIN |
- |
|
AxesGroup |
xStatus |
|
- |
BOOL |
|
BOOL |
- |
|
xEnable |
xValid |
|
- |
BOOL |
|
ARRAY [1..12] OF L_MC4P_AxisEnableMode |
- |
|
aeAxisEnable |
xError |
|
- |
BOOL |
|
|
|
|
|
eErrorID |
|
- |
L_IE1P_Error |
|
|
|
|
|
|
|
|
|
Inputs
|
Name Data type |
Information/possible settings |
|
|---|---|---|
|
AxesGroup AXES_GROUP_KIN |
axes group reference |
|
|
xEnable BOOL |
FALSE |
Selected axes of the axes group off. |
|
TRUE |
Selected axes of the axes group on. |
|
|
aeAxisEnable
ARRAY [1..12] OF
|
Selection of the axes to be switched on/off Axis assignment:
Possible settings for each array element/each axis:
|
|
Outputs
|
Name Data type |
Value/meaning |
|
|---|---|---|
|
xStatus BOOL |
FALSE |
Selected axes of the axes group are not ready for operation. |
|
TRUE |
Selected axes of the axes group are ready for operation. |
|
|
xValid BOOL |
TRUE |
Valid values are applied to the FB outputs. |
|
xError BOOL |
TRUE |
An error has occurred. For details see eErrorID . |
|
eErrorID |
If xError = TRUE: Error number for the error that has occurred.
|
|