![Omron CJ1G-CPUxx Instructions Manual Download Page 201](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491201.webp)
180
Sequence Output Instructions
Section 3-4
RSTA(531) can be used to turn OFF bits in data areas that are normally
accessed by words only, such as the DM and EM areas.
Flags
Examples
SETA(530) Example
When CIO 000000 is turned ON in the following example, the 20 bits (0014
hexadecimal) beginning with bit 5 of CIO 0100 are turned ON.
RSTA(531) Example
When CIO 000000 is turned ON in the following example, the 20 bits (0014
hexadecimal) beginning with bit 3 of CIO 0100 are turned OFF.
3-4-7
SINGLE BIT SET/RESET: SETB(532)/RSTB(533)
Purpose
SETB(532) turns ON the specified bit.
RSTB(533) turns OFF the specified bit.
These instructions are supported by the CS1-H, CJ1-H, CJ1M, and CS1D
CPU Units only.
Ladder Symbols
N2 bits are reset to 0 (OFF).
Name
Label
Operation
Error Flag
ER
ON if N1 isn’t within the specified range of 0000 to 000F.
OFF in all other cases.
N1: Bit 5
N2: 20 bits
&5
&20
N1: Bit 3
N2: 20 bits
&3
&20
RSTB(533)
D
N
SETB(532)
D
N
D: Word address
N: Bit number
D: Word address
N: Bit number
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...