Managing jogging jobs of the modules of type TPL.ET_ModuleType.MultiBeltModule in one node (see EcoStruxure Machine Expert, PD_Template, Library Guide).
Jogging jobs of the inputs i_xJogForw and i_xJogBack of the StandardMotionInterface are forwarded to the module axes selected via i_axDriveSelect. If an exception is active in the exception list, the jogging jobs are canceled. If the Sercos leaves phase 4, i_xResetHomeOk of the modules is set to TRUE.
Input |
Data type |
Description |
---|---|---|
i_xEnable |
BOOL |
A rising edge FALSE -> TRUE activates the POU, a falling edge TRUE -> FALSE deactivates the POU. A deactivated POU does not execute any actions. |
Output |
Data type |
Description |
---|---|---|
q_xActive |
BOOL |
TRUE: The POU is active and has to be executed further. FALSE: The POU is inactive. |
q_xReady |
BOOL |
TRUE: The POU is ready to operate and can accept user commands. FALSE: The function block is not ready to accept user commands. |
q_etDiag |
General library-independent statement on the diagnostic. A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = GD.ET_Diag.Ok -> status message q_etDiag <> GD.ET_Diag.Ok -> diagnostic message |
|
q_sMsg |
STRING[80] |
Event-triggered message which gives more detailed information on the diagnostic state. |
Input/Output |
Data type |
Description |
---|---|---|
iq_stStandardModuleItf |
The StandardModuleInterface of the node in which the controller is integrated. |
|
iq_stStandardMotionItf |
The StandardMotionInterface of the node in which the controller is integrated. |
|
iq_stExceptionList |
The exception list of the node in which the controller is integrated. |
|
iq_stLogDataList |
The logger list of the node in which the controller is integrated. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
Disabled |
29 |
The POU is disabled. |
OK |
Operation |
21 |
The operation is being executed. |
InputParameterInvalid |
MissingExtInit |
26 |
The additional interface has not been correctly initialized. |
SercosConditionInvalid |
GlobalSercosInterfaceInvalid |
27 |
The G_ifSercos interface is invalid. |
Enumeration name: |
Disabled |
Enumeration value: |
29 |
Description: |
The POU is disabled. |
The function block is disabled and executes no actions. i_xEnable and q_xActive are set to FALSE.
Enumeration name: |
GlobalSercosInterfaceInvalid |
Enumeration value: |
27 |
Description: |
The G_ifSercos interface is invalid. |
Issue/Cause |
Solution |
---|---|
The global Sercos interface G_ifSercos is invalid. |
Ensure that the Sercos interface G_ifSercos outside the function block is not accidentally overwritten with 0. |
Enumeration name: |
MissingExtInit |
Enumeration value: |
26 |
Description: |
The additional interface has not been correctly initialized. |
Issue/Cause |
Solution |
---|---|
The initialization of the additional interfaces Ext is unavailable. |
Ensure that interfaces of the modules are initialized. Ensure that the FC_UpdateAddInterfaceStruct function is called up for axis modules. |