4 SAFETY FB SPECIFICATIONS
4.9 M+SF_MODSEL_R
55
4
■ Output labels
FB details
This FB selects the system operation mode, such as manual, automatic, and semi-automatic. The default state is changed to
the ModeChanged state (8005H), where all o_bS_ModeXSel and o_bS_AnyModeSel are OFF, after the activation of the FB.
For the transition from the ModeChanged to ModeSelected state, the following conditions are required.
• i_bAutoSetMode=OFF
When i_bS_SetMode is set to ON, the new i_bS_ModeX input leads to an o_bS_ModeXSel output.
• i_bAutoSetMode=ON
The new i_bS_ModeX input automatically leads to a new o_bS_ModeXSel output.
The transition from the ModeChanged to ModeSelected state is only valid, if one i_bS_ModeX is ON. In addition, the
transition from one i_bS_ModeX input (only one i_bS_ModeX from i_bS_Mode0 to i_bS_Mode7 is ON) to ModeSelected state
(8000H) is not monitored by a timer.
If the FB is in the ModeSelected state, the simultaneously occurrence of a new i_bS_ModeX input (higher priority) and the
OFF i_bS_Unlock signal (lower priority) leads to the ModeChanged state.
The i_bS_ModeX input parameters, which are not used for mode selection, should be called with the default value OFF to
simplify program verification. i_bAutoSetMode input shall only be activated if it is ensured that no hazardous situation can
occur when the safety programmable controller is started.
(14) i_bReset Bit OFF Reset input.
For details, see the following.
Page 11 General Functions
No. Variable name Data type Default value Description
(15) o_bReady Bit OFF Status of whether the safety FB is activated or not.
For details, see the following.
Page 11 General Functions
(16) o_bS_Mode0Sel Bit* OFF Indicates that mode 0 is selected and acknowledged.
OFF: Mode 0 is not selected or not active.
ON: Mode 0 is selected and active.
(17) o_bS_Mode1Sel Bit* OFF Indicates that mode 1 is selected and acknowledged.
(18) o_bS_Mode2Sel Bit* OFF Indicates that mode 2 is selected and acknowledged.
(19) o_bS_Mode3Sel Bit* OFF Indicates that mode 3 is selected and acknowledged.
(20) o_bS_Mode4Sel Bit* OFF Indicates that mode 4 is selected and acknowledged.
(21) o_bS_Mode5Sel Bit* OFF Indicates that mode 5 is selected and acknowledged.
(22) o_bS_Mode6Sel Bit* OFF Indicates that mode 6 is selected and acknowledged.
(23) o_bS_Mode7Sel Bit* OFF Indicates that mode 7 is selected and acknowledged.
(24) o_bS_AnyModeSel Bit* OFF Indicates that any of the 8 modes is selected and acknowledged.
OFF: No i_bS_ModeX is selected.
ON: One of the 8 i_bS_ModeX is selected and active.
(25) o_bError Bit OFF Error flag.
For details, see the following.
Page 11 General Functions
(26) o_wDiagCode Word [signed] 0 Diagnostic code.
For details, see the following.
Page 11 General Functions
Use safety data for connecting the variable whose data type is "Bit*" to input-output circuits.
No. Variable name Data type Default value Description
WARNING