HSBY_ST
Original instructions
Function Description
This EFB allows you to use the Hot Standby function. It searches (together with the other Hot Standby EFBs) the configuration of the respective Quantum PLC for the required components.
These components refer to hardware that is actually connected. Therefore, the correct behavior of this EFB on the simulators cannot be guaranteed.
This EFB is used to read the IEC Hot Standby status register %SW61. If there is no Hot Standby configuration present, the HSBY output is set to 0.
EN and ENO can be configured as additional parameters.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
CAL HSBY_ST_Instance (HSBY=>HSBY_ConfigurationFound,
         THIS_OFF=>PLC_Offline, THIS_PRY=>Primary_PLC,
         THIS_SBY=>Standby_PLC,
         REMT_OFF=>Remote_PLC_Offline,
         REMT_PRY=>PrimaryRemote_PLC,
         REMT_SBY=>StandbyRemote_PLC,
         LOGIC_OK=>IdenticalPrograms,
         THIS_ISA=>HSBY_ModuleSwitchA,
         THIS_ISB=>HSBY_ModuleSwitchB)
Representation in ST
Representation:
HSBY_ST_Instance (HSBY=>HSBY_ConfigurationFound,
         THIS_OFF=>PLC_Offline, THIS_PRY=>Primary_PLC,
         THIS_SBY=>Standby_PLC,
         REMT_OFF=>Remote_PLC_Offline,
         REMT_PRY=>PrimaryRemote_PLC,
         REMT_SBY=>StandbyRemote_PLC,
         LOGIC_OK=>IdenticalPrograms,
         THIS_ISA=>HSBY_ModuleSwitchA,
         THIS_ISB=>HSBY_ModuleSwitchB);
Parameter Descriptions
Description of output parameters:
Parameter
Data type
Meaning
HSBY
1 = Hot Standby configuration found
0 = Hot Standby configuration not found
THIS_OFF
BOOL
1 = This PLC is offline
0 = This PLC is not offline
THIS_PRY
BOOL
1 = This PLC is the Primary CPU PLC
0 = This PLC is not the Primary CPU PLC
THIS_SBY
BOOL
1 = This PLC is the Standby CPU PLC
0 = This PLC is not the Standby CPU PLC
REMT_OFF
BOOL
1 = The other (remote) PLC is OFFLINE
0 = The other (remote) PLC is not OFFLINE
REMT_PRY
BOOL
1 = The other PLC is the Primary CPU PLC
0 = The other PLC is not the Primary CPU PLC
REMT_SBY
BOOL
1 = The other PLC is the Standby CPU PLC
0 = The other PLC is not the Standby CPU PLC
LOGIC_OK
BOOL
1 = The programs for both PLCs are identical and application mismatch is active.
0 = The programs are not the identical.
THIS_ISA
BOOL
1 = This PLC chose the CPU with the lower IP address between both Hot Standby CPUs. This is the Hot Standby CPU A.
0 = This is not CPU A.
THIS_ISB
BOOL
1 = This PLC chose the CPU with the higher IP address between both Hot Standby CPUs. This is the Hot Standby CPU B.
0 = This is not CPU B.