Omron NY532-5400 Reference Manual page 73

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

A
B
It takes the logical OR of variable A and
variable B and outputs the result to variable C.
The operation is as shown below if you do not specify upward or downward differentiation.
Instruction
Variable value: FALSE
OR
Execution condition: FALSE
Other than the above.
Variable value: TRUE
Execution condition: FALSE
ORN
Other than the above.
If you specify upward or downward differentiation, the operation depends on the following: the value of
the variable the last time the instruction was executed, the current value of the variable, and the execu-
tion condition. This is shown below.
Differentiation specifi-
Instruction
Upward differentiation
OR
Downward differentia-
tion
Upward differentiation
ORN
Downward differentia-
tion
Precautions for Correct Use
• An error occurs in the following case and the output value from the last execution is retained.
• You specify an array element for the variable value and the element does not exist.
Example: A BOOL array a[0..5] is defined, but the instruction is executed using a[10] as the vari-
• Do not use these instructions as the rightmost instruction on a rung. If you do, an error occurs on the
Sysmac Studio and you cannot transfer the user program to the Controller.
NY-series Instructions Reference Manual (W560)
C
Combination of variable value and execution
condition
Combination of value of variable at last execution,
cation
current value of variable, and execution condition
Variable value: FALSE at the last execution →
Currently TRUE
Execution condition: Ignored.
Variable value: Ignored
Execution condition: TRUE
Other than the above.
Variable value: TRUE at the last execution →
Currently FALSE
Execution condition: Ignored.
Variable value: Ignored
Execution condition: TRUE
Other than the above.
Variable value: FALSE at the last execution →
Currently TRUE
Execution condition: FALSE
Other than the above.
Variable value: TRUE at the last execution →
Currently FALSE
Execution condition: FALSE
Other than the above.
able.
2 Instruction Descriptions
Output
value
FALSE
TRUE
FALSE
TRUE
2
Output value
TRUE
FALSE
TRUE
FALSE
FALSE
TRUE
FALSE
TRUE
2-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents