24
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
2-1 Instruction Set and CPU Unit Support for Individual
Instructions
The following table lists the CS/CJ-series instructions by function. The instruc-
tions also appear by order of their function in SECTION 3 Instructions.
Asterisks and numbers are used in the table to indicate which CPU Unit mod-
els and unit versions support each instruction as listed below. If no asterisk
and number appears, all models and all unit versions of the CS/CJ-series
CPU Units support the instruction.
*1 CJ2, CS1-H, CJ1-H, CJ1M, and CS1D CPU Units only.
*2 CJ2 and CJ1-H-R CPU Units only.
*3 CJ2M and CJ1M CPU Units only.
*4 CJ2 CPU Units only.
*5 CS/CJ-series CPU Units with CPU Units 2.0 or later and CJ2 CPU Units
only.
*6 CS/CJ-series CPU Units with unit version 2.0 or later, CJ2 CPU Units,
and CJ1M CPU Units only.
*7 CS/CJ-series CPU Units with unit version 3.0 or later and CJ2 CPU Units
only.
*8 CS/CJ-series CPU Units with unit version 4.0 or later and CJ2 CPU Units
only.
*9 CJ1M CPU Units with unit version 2.0 or later and CJ2M CPU Units only.
*10 Serial Communications Unit with unit version 1.2 or later.
*11 All CPU Units except for CS1D CPU Units for Duplex-CPU Systems.
*12 CJ1W-SCU22/SCU32/SCU42 with CJ2H CPU Unit with unit version 1.1
or later only.
*13 CJ2M CPU Units only.
*14 CJ2H CPU Units with unit version 1.3 or later and CJ2M CPU Units only.
Classifica-
tion
Sub-class Mnemonic Instruction Mnemonic Instruction Mnemonic Instruction
Basic
instructions
Input LD LOAD LD NOT LOAD NOT AND AND
AND NOT AND NOT OR OR OR NOT OR NOT
AND LD AND LOAD OR LD OR LOAD --- ---
Output OUT OUTPUT OUT NOT OUTPUT NOT --- ---
Sequence
input
instructions
--- NOT NOT UP CONDITION
ON
DOWN CONDITION
OFF
Bit test LD TST LD BIT TEST LD TSTN LD BIT TEST
NOT
AND TST AND BIT
TEST NOT
AND TSTN AND BIT
TEST NOT
OR TST OR BIT TEST OR TSTN OR BIT TEST
NOT
Sequence
output
instructions
--- KEEP KEEP DIFU DIFFERENTI-
ATE U P
DIFD DIFFERENTI-
ATE D OW N
OUTB
*1
SINGLE BIT
OUTPUT
--- --- --- ---
Set/Reset SET SET RSET RESET SETA MULTIPLE
BIT SET
RSTA MULTIPLE
BIT RESET
SETB
*1
SINGLE BIT
SET
RSTB
*1
SINGLE BIT
RESET