FB_UnwinderModuleVisController
FB_UnwinderModuleVisController - General Information
Type: |
Function block |
Available as of: |
V1.0.0.0 |
The UnwinderModuleVisController manages the visualizations of the UnwinderModule types.
The VisController determines the data that shall be displayed in the visualization. It registers the entries of the visualization and transfers them to the interface of the module. The POU manages all the modules of the UnwinderModule type. Only one instance of this function block is allowed per project.
Input |
Data type |
Description |
---|---|---|
i_xEnable |
BOOL |
A rising edge (FALSE -> TRUE) activates the POU, a falling edge (TRUE -> FALSE) deactivates the POU, clearing all errors and resetting the POU to its default state. A deactivated POU does not execute any actions. |
i_pstMachineStandardItf |
POINTER TO TPL.ST_StandardModuleInterface |
The address of the machine interface must be transferred to this input. |
i_pstCurrentStandardItf |
POINTER TO TPL.ST_StandardModuleInterface |
The address of the selected module interface must be transferred to this input. |
i_dwCurrentAddItf |
DWORD |
The address of the additional interface of the selected module must be transferred to this input. |
i_xUpdateData |
BOOL |
TRUE: Another module has been selected. |
i_udiCurrentJogTarget |
UDINT |
The number of the module that was selected for jogging. |
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 not equal to ET_Diag.Ok corresponds to a diagnostic message. |
|
q_etDiagExt |
ET_DiagExt |
POU-specific output for the diagnostic. q_etDiag = ET_Diag.Ok -> Status message q_etDiag <> ET_Diag.Ok -> Diagnostic message |
q_sMsg |
STRING[80] |
Event-triggered message that gives additional information on the diagnostic state. |
q_udiSetAxCurrentModule |
UDINT |
The number of the module that has to be selected. |
q_udiSetAsJogTarget |
UDINT |
The number of the module that has to be selected for jogging. |
Input/Output |
Data type |
Description |
---|---|---|
iq_stExceptionList |
TPL.ST_ExceptionList |
The exception list of the machine. |
iq_stLogDataList |
TPL.ST_LogDataList |
The logger list of the machine. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
36 |
The POU is disabled. |
|
OK |
22 |
In process. |
|
InputParameterInvalid |
53 |
CurrentAddItfInvalid is invalid. |
|
InputParameterInvalid |
52 |
CurrentStandardItf is invalid. |
Enumeration name: |
CurrentAddItfInvalid |
Enumeration value: |
53 |
Description: |
CurrentAddItfInvalid is invalid. |
Issue |
Cause |
Solution |
---|---|---|
- |
i_dwCurrentAddItf contains an invalid interface. |
Ensure to transfer the address of the additional interface for the related module. |
Enumeration name: |
CurrentStandardItfInvalid |
Enumeration value: |
52 |
Description: |
CurrentStandardItf is invalid. |
Issue |
Cause |
Solution |
---|---|---|
- |
i_pstCurrentStandardItf contains an invalid interface. |
Ensure to transfer the address of the default interface for the related module. |
Enumeration name: |
Disabled |
Enumeration value: |
36 |
Description: |
The POU is disabled. |
Module VisController is disabled and does not execute any actions.
Enumeration name: |
Working |
Enumeration value: |
22 |
Description: |
In process. |
Module VisController manages the data for the visualization.