Download Print this page

Omron NS Reference Manual page 30

Hide thumbs Also See for NS:

Advertisement

Section2 Functions
NS series Macro Reference
CONTINUE
Applicable versions
Format
Function
Return Value
Example
Repeats program
System version 6 or higher
CONTINUE
During a program between "FOR to NEXT", it will return to the top of the FOR loop
and resume the FOR process.
None
If '$W50I0>30 is true, a loop will return to the top, and resume the next repetitious
program.
$SW27=0;
FOR(10)
IF($W50I0>30)
$SW27=$SW27+1;
CONTINUE;
ENDIF
$W100I0=$W50I0+10;
$SW27=$SW27+1;
NEXT;
*Setting range for "n" is 0 to 32767. A negative number is considered as 0. $W,
$HW and $SW can be specified as an address.
10

Advertisement

loading

This manual is also suitable for:

Ns-series