Download Print this page

Omron NS Reference Manual page 51

Hide thumbs Also See for NS:

Advertisement

Section2 Functions
NS series Macro Reference
SHOWPAGE
Applicable versions
Format
Function
Return Value
Example
Reference
Macro written after SHOWPAGE is not executed. Be sure to write SHOWPAGE at the
end of line.
Bad Example:
SHOWPAGE(10); <-Switch to page 10
$W50=100;
Good Example:
$W50=100;
SHOWPAGE(10);
Similarly, when SHOWPAGE is executed by a macro set with Multifunction object,
functions set after this macro will not be executed. In order to switch screens using
SHOWPAGE, set this macro as the last function to be executed.
Switches screen
System version 2 or higher
SHOWPAGE(S)
Switch screen to the page that is specified in "s".
Setting range for "s" is 0 to 3999. If the value outside of the range is set, macro
execution error occurs. If the screen number that does not exist is set, reading
page error occurs.
None
SHOWPAGE(10); 'Switch screen to page 10
<-Substitute 100 to $W50 is not executed
<-Substitute 100 to $W50 is executed
<-Switch to page 10
31

Advertisement

loading

This manual is also suitable for:

Ns-series