Step 4.
Change the screen switching device value in the script.
By selecting [Common]
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:
The same script can be used for MELSECNET/H connection, MELSECNET/10 connection and Ethernet
connection.
// Script of Screen No. 1
// If Station 1 is not a control station, the screen is changed to that of Station 2.
if([1-1:b:SM1515]==OFF){
[w:GD100]=2;
}
// Script of Screen No. 2
// If Station 2 is not a control station, the screen is changed to that of Station 1.
if([1-2:b:SM1515]==OFF){
[w:GD100]=1;
}
Script screen of Screen No. 1
4 - 86
4.2 MELSEC Q Series
[Script]
[Script], create a script for each monitor screen that checks the
Script screen of Screen No. 2