4. HOW TO MONITOR REDUNTANT SYSTEM
4.10 Switch the Monitor Target to the Control System Using the Script Function
4 - 37
4
HOW TO MONITOR REDUNTANT SYSTEM
6. Change the station number switching device value in the script.
By selecting [Common] [Script] [Script], create a script for each monitor screen that checks the SM1515
status of the current monitor station, and if it is OFF (standby system), changes the station number switching device
value.
Set the trigger type of the script as [Ordinary] or [Sampling(about 3s)].
• Screen script for Ethernet connection:
For the Ethernet connection, create a script so that the network No. and station number are set to the station
switching device.
For Network No. 1 and Station No. 2, create "[w:GD100]=0x0102".
Set the created script for each screen on the Screen tab.
// If the host station is not a control station, the station number is switched to that of the other station.
if([b:SM1515]==OFF){
if([w:GD100]==0x0101){ // Station No. 1 to 2
[w:GD100]=0x0102;
}else{ // Station No. 2 to 1
[w:GD100]=0x0101;
}
}