Hi, I used the following work around.
Line 1
|–Device 1
|–Device 2
Added extra channels as temporary data
InCnl 10101: Signal 1 of device 1, real, Line 1 Device 1 Stat
InCnl 10201: Signal 1 of device 1, real, Line 1 Device 1 Stat
add extra channel to monitor status
InCnl 101: stat(10101), Calculated discrete, Line 1 Device 2 Stat (O means offline, 1 online)
InCnl 102: stat(10201), Calculated discrete, Line 1 Device 2 Stat (O means offline, 1 online)
InCnl 100: Stat(10101)+Stat(10201)==0?0:1, Calculated discrete, Line 1 Stat (O means offline, 1 online)
then enable event on change of these 3 channels, to log event of online/offline
** assuming all device offline = communication line offline.
you can miniplate formulas to have more states as you needed