![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030240.webp)
200
Sequence Output Instructions
Section 3-4
SETA(530) can be used to turn ON bits in data areas that are normally
accessed by words only, such as the DM and EM areas.
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 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.
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
N1: Bit 5
N2: 20 bits
&3
&20
N1: Bit 3
N2: 20 bits
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...