EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 159

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
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...
126
Sequence Output Instructions Section 3-3
Bits turned ON by SETA(530) can be turned OFF by any other instructions,
not just RSTA(531).
SETA(530) can be used to turn ON bits in data areas that are normally
accessed by words only, such as the DM area.
Operation of RSTA(531)
RSTA(531) turns OFF N2 bits, beginning from bit N1 of D, and continuing to
the left (more-significant bits). All other bits are left unchanged. (No changes
will be made if N2 is set to 0.)
Bits turned OFF by RSTA(531) can be turned ON by any other instructions,
not just SETA(530).
RSTA(531) can be used to turn OFF bits in data areas that are normally
accessed by words only, such as the DM area.
Flags
Examples SETA(530) Example
When CIO 0.00 is turned ON in the following example, the 20 bits (0014 hexa-
decimal) beginning with bit 5 of CIO 200 are turned ON.
N2 bits are set to 1 (ON).
N2 bits are reset to 0 (OFF).
Name Label Operation
Error Flag ER ON if N1 is not within the specified range of 0000 to 000F.
OFF in all other cases.
&5
&20
0.00
200
D: 200
201
N1: Bit 5
N2: 20 bit
s

Table of Contents

Related product manuals