TM3_Safety: Control the TM3 Safety Module
The TM3_Safety function block is included in the TM3 Safety library.
The IEC Objects tab is only available if a function block instance of a device has been created, which can be accessed by the application. To access the IEC objects, double click the module node > I/O Mapping tab.
This table describes the input variables:
Input |
Type |
Comment |
---|---|---|
iTM3_Sax |
TM3_SAx |
Reference to the local TM3 safety modules. |
i_xEnable_FB |
BOOL |
TRUE enables the function block. |
i_xEnable_TM3 |
BOOL |
TRUE enables the activation of the hardware module outputs. NOTE: Enable/disable i_xEnable_FB before enabling/disabling i_xEnable_TM3. |
i_xReset_TM3 |
BOOL |
TRUE deactivates the module: the current source is switched off, the outputs are deactivated, and the interlock is reset. |
NOTE:
This table describes the output variables:
Output |
Type |
Comment |
---|---|---|
q_xOutputON |
BOOL |
0: safety output is off. 1: safety output is on. |
q_xSupplyOK |
BOOL |
Supply is available. |
q_xSuppToleranceOut |
BOOL |
Supply is out of tolerance. |
q_xCH1_Active |
BOOL |
Channel 1 is active. |
q_xCH2_Active |
BOOL |
Channel 2 is active. |
q_xStartActive |
BOOL |
Start is active. |
q_xK1_on |
BOOL |
Relay K1 is activated. |
q_xK2_on |
BOOL |
Relay K2 is activated. |
q_xS1_on |
BOOL |
S1 is active. |
q_xS2_on |
BOOL |
S2 is active. |
q_xS3_on |
BOOL |
S3 is active. |
q_xS4_on |
BOOL |
S4 is active. |
q_xWait_Start |
BOOL |
Waiting for start condition. |
q_xSyncFailure |
BOOL |
NOTE: Not all outputs are valid for all TM3 safety module references. To determine which outputs are valid for which TM3 safety module references, see the I/O mapping for the individual references.