![Mitsubishi FR-E800 Series Sample Screen Manual Download Page 57](http://html1.mh-extra.com/html/mitsubishi/fr-e800-series/fr-e800-series_sample-screen-manual_1809262057.webp)
57/79
BCN-P5999-1305-1c
6.3.3
Settings of Project Script
Station number switching function is set in this sample screen. In the cases such as when station number switching
is used in user's project data or the screen for the inverter is created by the user, there is a possibility that
unintentional stations are monitored.
By adding the project script below, the monitor target of the station is set to the station set by the object when
switching to a screen other than the screens of the sample.
Script No.
12000
Script name
Script12000
Comment
Station No. switching device initialization
Data type
Signed BIN16
Trigger type
Ordinary
// When the value in the screen switching device is for sample screens (12000-14302)
if((12000 <= [<$:Com_Label:u16_Com_CngBsDv>]) && ([<$:Com_Label:u16_Com_CngBsDv>]<=
14302 ) && [b:GB17050] == OFF){
set([b:GB17050]);
//Turns ON the station number switching flag
}else{
//When the value in the screen switching device is for other than sample screens, switches the
station number switching device to the host station.
if( (([<$:Com_Label:u16_Com_CngBsDv>] < 12000 ) || ([<$:Com_Label:u16_Com_CngBsDv>]
> 14302 )) && [b:GB17050] == ON){
[<$:Com_Label:u16_Com_StChgDv>] = 0x00FE; //Switches the monitor target to the station set
by the object.
rst([b:GB17050]);
// Turns OFF the station number switching flag
}
}
■
Availability of station number switching function
Can be checked by [Screen Property] of base screen.
Go to [Screen Property]
– [Basic] tab and confirm [Switch Station No.] in [Option].
When [Switch Station No.] is checked, there is a possibility that station number switching is used because the
screen is the target of station number switching function.
When [Switch Station No.] is not checked, station number switching is not used because the screen is not the
target of station number switching function.
*When a new base screen is created, [Switch Station No.] is not checked in the default setting.