Download Print this page

Omron NS Reference Manual page 29

Hide thumbs Also See for NS:

Advertisement

Section2 Functions
NS series Macro Reference
BREAK
Applicable versions
Format
Function
Return Value
Example
CLOSEPOPW
Applicable versions
Format
Function
Return Value
Example
Aborts from program repetition
System version 6 or higher
BREAK
Interrupt a loop program between "FOR and NEXT".
None
If $W100I0>30 is true, exit FOR loop.
$SW27=0;
FOR(10)
$W100I0=$W50I0+10;
IF($W100I0>30)
BREAK;
ENDIF
$SW27=$SW27+1;
NEXT;
*Setting range for "n" is 0 to 32767. A negative number is considered as 0. $W,
$HW and $SW can specified as an address.
Closes pop-up window
System version 2 or higher
CLOSEPOPW(n)
Close pop-up window screen page number "n"
Setting range for "n" is 0 to 3999. If you set pop-up screen page number that does
not exist, the process will not be performed.
None
CLOSEPOPW(15);'Close pop-up screen page 15
9

Advertisement

loading

This manual is also suitable for:

Ns-series