EasyManuals Logo

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #209 background imageLoading...
Page #209 background image
171
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Sequence Output Instructions
3
SET/RSET
Hint
• Differences between OUT/OUT NOT and SET/RSET
The operation of SET differs from that of OUT because the OUT instruction turns the operand bit
OFF when its execution condition is OFF. Likewise, RSET differs from OUT NOT because OUT NOT
turns the operand bit ON when its execution condition is OFF. For OUT, the operand bit is turned ON
when the input condition turns ON and is turned OFF when the input condition turns OFF. For SET
and RSET, the operand bit turns ON or OFF, respectively, when the input condition turns ON and the
operand bit does not change when the input condition turns OFF.
• The set and reset inputs for a KEEP(011) instruction must be programmed with the instruction, but
the SET and RSET instructions can be programmed completely independently. Furthermore, the
same bit may be used as the operand in any number of SET or RSET instructions.
• SET and RSET have immediate refreshing variations (!SET and !RSET). When an external output bit
has been specified for B in one of these instructions, any changes to B will be refreshed when the
instruction is executed and reflected immediately in the output bit. (The changes will not be reflected
immediately if the bit is allocated to a Group-2 High-density I/O Unit, High-density Special I/O Unit, or
a Unit mounted in a SYSMAC BUS Remote I/O Slave Rack.)
If external output is specified for R by !SET (or !RSET), R will be OUT-refreshed as soon as it turns
ON (or OFF) (when the instruction is executed). R, which turned ON (or OFF), will remain ON (or
OFF) as normal until a RSET instruction (or SET instruction) is executed.
Precautions
• With CJ2 CPU Units, SET can be used for bits in the DM or EM Area. For other models of CPU Unit,
SET cannot be used for bits in the DM or EM Area. Use SETB(532) instead. With CJ2 CPU Units,
RSET can be used for bits in the DM or EM Area. For other models of CPU Unit, RSET cannot be
used for bits in the DM or EM Area. Use RSTB(533) instead.
• SET and RSET cannot be used to set and reset timers and counters. When SET or RSET is
programmed between IL(002) and ILC(003) or JMP(004) and JME(005), the status of the specified
bit will not be changed if the program section is interlocked or jumped.
000000
000001
000002
010000
CIO 100.00 is turned ON when
CIO 0.01 goes ON; it remains
ON until CIO 0.02 goes ON.
CIO 100.00 is turned ON/OFF
when CIO 0.00 goes ON/OFF.
0.00
0.01
0.02
100.00
100.00
100.00

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals