Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 240

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Sequence Output Instructions
Flags
Examples
200
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.
Name
Label
Error Flag
ER
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.
&5
&20
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
&20
N2 bits are set to 1 (ON).
N2 bits are reset to 0 (OFF).
Operation
ON if N1 is not within the specified range of 0000 to 000F.
OFF in all other cases.
Section 3-4
N1: Bit 5
N2: 20 bits
N1: Bit 3
N2: 20 bits

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents