User manual

Toolbox 32 User Manual 1.47d www.cse-semaphore.com/mykingfisher
Page
208
Changing The Comms Path
The example below shows how to swap between a direct comms link to RTU7 (primary)
to an indirect comms link via RTU10 (secondary). The network list is initially configured with a direct network
link to RTU7 via port 2. Note: to prevent RTU7 "overhearing" indirect messages sent to RTU10, both RTU10
and RTU 7 should have unique System IDs eg. A1 and A2 Hex.
CP11
Primary Path
Secondary Path
CP11
RTU7
RTU1
CP11
RTU10
RADIO
RADIO
RADIO
Manage Comms Status
MsgWaiting Link=Primary Primary Fail
#YPST2.2 #YLDIR7 #R20.1
├─[DOWN-EDGE]──────[=]───────────────────────────────────────────────(Copy)────┤
1 #YLST7.1
MsgWaiting Link=Second Second Fail
#YPST2.2 #YLDIR7 #R20.2
├─[DOWN-EDGE]──────[=]───────────────────────────────────────────────(Copy)────┤
0 #YLST7.1
Test Other Comms Link every 10 minutes or if secondary fails
DoEvery10min Swap Links
#YTICK.MIN #R20.3
├─────┤ ├──────────────────────────────┬─────────────────────────┬─────(S)─────┤
MsgWaiting RTU7Link=Sec Second Fail Test Comms
#YPST2.2 #YLDIR7 #R20.2 #R20.4
├─[DOWN-EDGE]──────[=]──────────┤ ├────┘ └─────(S)─────┤
0
Change links if testing, primary fails or prim OK and link = sec
MsgWaiting Swap Links Link=Primary Swap Links
#YPST2.2 #R20.3 #YLDIR7 #R20.3
├─────┤/├──────────┤ ├──────────[=]────┬─────────────────────────┬─────(R)─────┤
1
MsgWaiting Primary Fail Link=Primary IndirectLink
#YPST2.2 #R20.1 #YLDIR7 #YLDIR7
├─[DOWN-EDGE]──────┤ ├──────────[=]────┘ ├───(Copy)────┤
1 0
Via RTU10
#YLVIA7
└───(Copy)────┤
10
MsgWaiting Swap Links Link=Second Swap Links
#YPST2.2 #R20.3 #YLDIR7 #R20.3
├─────┤/├──────────┤ ├─────────────────┬─────[=]─────────────────┬─────(R)─────┤
0
MsgWaiting Primary Fail Test Comms Direct Link
#YPST2.2 #R20.1 #R20.4 #YLDIR7
├─[DOWN-EDGE]──────┤/├──────────┤/├────┘ ├───(Copy)────┤
1
Via Port 2
#YLVIA7
└───(Copy)────┤
2
If the Test Comms flag is set and the port is free test the link
Test Comms MsgWaiting Test Link
#R20.4 #YPST2.2 RTU 7
├─────┤ ├──────────┤/├───────────────────────────────────────────┬──(RX_DATA)──┤
#R1
Test Comms
#R20.4
└─────(R)─────┤