Download Print this page

Omron NS Reference Manual page 52

Hide thumbs Also See for NS:

Advertisement

Section2 Functions
NS series Macro Reference
SHOWPAGEBCD
Applicable versions
Format
Function
Return Value
Example
Reference
Macro written after SHOWPAGEBCD is not executed. Be sure to write SHOWPAGEBCD
at the end of line.
Bad Example:
SHOWPAGEBCD(H10);
$W50=100;
Good Example:
$W50=100;
SHOWPAGEBCD(H10);
Similarly, when SHOWPAGEBCD is executed by a macro set with Multifunction object, fun
set after this macro will not be executed. In order to switch screens using SHOWPAGEBC
this macro as the last function to be executed.
Switches screen to the screen page n.
System version 6 or higher
SHOWPAGEBCD(S)
S: screen page number (H0 to H3999)
Switch screen to the page that is specified in "S".
Setting range for "S" is H0 to H3999. If either the value outside of the range is set
or an invalid value is set for BCD, macro execution error occurs. If the screen
number that does not exist is set, reading page error occurs.
None
Switch screen to page 10
SHOWPAGEBCD(H10);
Specify a screen page number indirectly to switch screen to page 10.
$W100=H10;
SHOWPAGEBCD($W100);
Switch to page 10
Substitute 100 to $W50 is not executed
Substitute 100 to $W50 is executed
Switch to page 10
32

Advertisement

loading

This manual is also suitable for:

Ns-series