HAModSecondLifecom (FB)
FUNCTION_BLOCK HAModSecondLifecom
{attribute ‘conditionalshow’ := ‘XJ*o-kfZ8Ah)2t9_/&I'}
- InOut:
Scope
Name
Type
Initial
Comment
Input
IP_ADD_PM1DWORD0
IP address of the PM1 - CPU connected to Line A
SecSlotBYTE0
Slot number on which second communication LifeCom2 is configured. Range 1 to 3.
IpAdrCpuALifecom2STRING‘0.0.0.0’
IP Address(on which 2nd LifeCom Communication is configured) of AC500 CPU connected to PLC A
IpAdrCpuBLifecom2STRING‘0.0.0.0’
IP Address(on which 2nd LifeCom Communication is configured) of AC500 CPU connected to PLC B
bitCAN2nLifeComBOOLFALSE
2nd Lifbit via CAN
bitMOD2nLifeComBOOLFALSE
2nd Lifbit via MODBUS
bitUDP2nLifeComBOOLFALSE
2nd Lifebit via UDP
stHAOwn CPU HA status derived from lifecom 1 HA1
stHaModCi52xFieldStatusHaModCi52xFieldStatusCI52x bus status
fbGetOnwIPEthOwnIPRead Own IP address
Output
bitHAotherRUNSTATEBOOLFALSE
Other CPU in RUN STATE
stHAotherOther CPU HA status derived from lifecom 2
IP_send_ADR_ForLC2DWORD0
Send IP address for LC2 Lib3649
Methods:
Evaluate2ndLifeCom
Receive2ndLifeComModbus
SendReceive
Receive2ndLifeComCan
SendReceive2ndLifeComUdp
Reset
Structure: