FB_RoboticModuleVisController - General Information
Type: |
Function block |
Available as of: |
V1.0.0.0 |
Inherits from: |
- |
Implements: |
- |
This chapter provides information on:
oTask
The RoboticModule VisController manages the visualizations of the FB_RoboticModule modules.
The VisController determines the data that have to be displayed in the visualization. It registers the entries of the visualization and transfers them to the interface of the module.
The POU manages the modules of the RoboticModule type. It only has to be instanced in the project once.
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. |
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 interface of the selected module 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 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 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 that gives additional information on the diagnostic state. |
q_udiSetAsCurrentModule |
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 |
The exception list of the machine. |
|
iq_stLogDataList |
The logger list of the machine. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
1 |
Disabled |
|
OK |
2 |
Processing. |
|
InputParameterInvalid |
111 |
The current additional interface is invalid. |
|
InputParameterInvalid |
110 |
The current standard interface is invalid. |
Enumeration name: |
CurrentAddItfInvalid |
Enumeration value: |
111 |
Description: |
The current additional interface is invalid. |
Issue |
Cause |
Solution |
---|---|---|
The VisController is in exception state. |
An invalid address (0) has been transferred at the input i_dwCurrentAddItf. |
Ensure that the address of the additional interface of the selected module is transferred at the input i_dwCurrentAddItf. |
Enumeration name: |
CurrentStandardItfInvalid |
Enumeration value: |
110 |
Description: |
The current standard interface is invalid. |
Issue |
Cause |
Solution |
---|---|---|
The VisController is in exception state. |
An invalid address (0) has been transferred at the input i_pstCurrentStandardItf. |
Ensure that the address of the default interface of the selected module has been transferred at the input i_pstCurrentStandardItf. |
Enumeration name: |
Disabled |
Enumeration value: |
1 |
Description: |
Disabled |
The VisController is disabled and does not execute any actions.
Enumeration name: |
Working |
Enumeration value: |
2 |
Description: |
Processing. |
The VisController is managing the data for the visualization.