EasyManua.ls Logo

Omron NJ501-1500

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1-3
1 Instruction Set
NJ-series Instructions Reference Manual (W502)
Instruction Set
1
Sequence Out-
put Instructions
SR Set-Priority Keep Retains the value of a BOOL variable. It gives
priority to the Set input if both the Set input and
Reset input are TRUE.
2-48
Set Set Changes a BOOL variable to TRUE. 2-50
Reset Reset Changes a BOOL variable to FALSE. 2-50
SetBits Set Bits Changes consecutive bits in bit string data to
TRUE.
2-53
ResetBits Reset Bits Changes consecutive bits in bit string data to
FALSE.
2-53
SetABit Set A Bit Changes the specified bit in bit string data to
TRUE.
2-55
ResetABit Reset A Bit Changes the specified bit in bit string data to
FALSE.
2-55
OutABit Output A Bit Changes the specified bit in bit string data to
TRUE or FALSE.
2-57
Sequence Con-
trol Instructions
End End Ends execution of a program in the current
task period.
2-60
RETURN Return Ends a function or function block and returns
processing to the calling instruction.
2-61
MC Master Control
Start
Marks the starting point of a master control
region and resets the master control region.
2-62
MCR Master Control End Marks the end point of a master control region. 2-62
JMP Jump Moves processing to the specified jump desti-
nation.
2-74
FOR Repeat Start Marks the starting position for repeat process-
ing and specifies the repeat condition.
2-76
NEXT Repeat End Marks the ending position for repeat process-
ing.
2-76
BREAK Break Loop Cancels repeat processing from the lowest
level FOR instruction to the NEXT instruction.
2-81
Comparison
Instructions
EQ (=) Equal Determines if two or more values or text strings
are all equivalent.
2-84
NE (<>) Not Equal Determines if two values or text strings are not
equivalent.
2-86
LT (<) Less Than Performs a less than comparison between val-
ues.
2-88
LE (<=) Less Than Or
Equal
Performs a less than or equal comparison
between values.
2-88
GT (>) Greater Than Performs a greater than comparison between
values.
2-88
GE (>=) Greater Than Or
Equal
Performs a greater than or equal comparison
between values.
2-88
EQascii Text String
Comparison Equal
Determines if two or more text strings are all
equivalent.
2-91
NEascii Text String
Comparison Not
Equal
Determines if two text strings are not equiva-
lent.
2-93
LTascii Text String
Comparison Less
Than
Performs a less than comparison between text
strings.
2-95
LEascii Text String
Comparison Less
Than or Equal
Performs a less than or equal comparison
between text strings.
2-95
Type Instruction Name Function Page

Table of Contents

Related product manuals