Set And Reset - Omron NY532-5400 Reference Manual

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

Advertisement

2 Instruction Descriptions

Set and Reset

Set:
Changes a BOOL variable to TRUE.
Reset:
Changes a BOOL variable to FALSE.
Instruction
Name
Set
Set
Reset
Reset
Variables
Name
Meaning
Out
Output
Bit strings
Out
OK
Function
 Set
The Set instruction changes Out to TRUE if the input is TRUE. If Out is TRUE, the Set instruction will
not change it to FALSE even if the input changes to FALSE. Use the Reset instruction to change Out
to FALSE.
 Reset
The Reset instruction changes Out to FALSE if the input is TRUE. If Out is FALSE, the Reset
instruction will not change it to TRUE even if the input changes to FALSE. Use the Set instruction to
change Out to TRUE.
The operation is as shown below if you do not specify upward or downward differentiation.
Instruction
Set
Reset
2-56
FB/FUN
---
---
I/O
Description
Output
Output
Input
Output value
TRUE
TRUE
FALSE
Not changed.
TRUE
FALSE
FALSE
Not changed.
Graphic expression
Out
Out
PS
S
Upward
Downward
differentiation
differentiation
Out
Out
PR
R
Upward
Downward
differentiation
differentiation
Valid range
Depends on data type.
Integers
NY-series Instructions Reference Manual (W560)
ST expression
None
Out
NS
None
Out
NR
Unit
Default
---
---
Times, durations,
dates, and text strings

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents