Omron SYSMAC CS Series Instruction & Reference Manual page 58

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

2. Instructions (Applicable CPU Units)
Classification
Instruction
Sequence
LOAD BIT
LD TST
Input
TEST
Instructions
LOAD BIT
LD TSTN
TEST NOT
AND BIT TEST
AND TST
AND BIT TEST
AND TSTN
NOT
OR BIT TEST
OR TST
OR BIT TEST
OR TSTN
NOT
Sequence
OUTPUT
OUT
Output
!OUT
Instructions
OUTPUT NOT
OUT NOT
!OUT NOT
TR Bits
TR
KEEP
KEEP
!KEEP
DIFFERENTI-
DIFU
ATE UP
!DIFU
DIFFERENTI-
DIFD
ATE DOWN
!DIFD
SET
SET
@SET
%SET
!SET
!@SET
!%SET
RESET
RSET
@RSET
%RSET
!RSET
!@RSET
!%RSET
MULTIPLE BIT
SETA
SET
@SETA
MULTIPLE BIT
RSTA
RESET
@RSTA
SINGLE BIT
SETB
SET
@SETB
!SETB
!@SETB
24
Fun
Mnemonic
Function
code
350
LD TST(350) is used in the pro-
gram like LD; the execution condi-
tion is ON when the specified bit
in the specified word is ON, and
OFF when the bit is OFF.
351
LD TSTN(351) is used in the pro-
gram like LD NOT; the execution
condition is OFF when the speci-
fied bit in the specified word is
ON, and ON when the bit is OFF.
350
AND TST(350) is used in the pro-
gram like AND; the execution con-
dition is ON when the specified bit
in the specified word is ON, and
OFF when the bit is OFF.
351
AND TSTN(351) is used in the pro-
gram like AND NOT; the execution
condition is OFF when the specified
bit in the specified word is ON, and
ON when the bit is OFF.
350
OR TST(350) is used in the pro-
gram like OR; the execution con-
dition is ON when the specified bit
in the specified word is ON, and
OFF when the bit is OFF.
351
OR TSTN(351) is used in the pro-
gram like OR NOT; the execution
condition is OFF when the speci-
fied bit in the specified word is
ON, and ON when the bit is OFF.
---
Outputs the result (execution con-
dition) of the logical processing to
---
the specified bit.
---
Reverses the result (execution con-
dition) of the logical processing, and
---
outputs it to the specified bit.
---
TR bits are used to temporarily
retain the ON/OFF status of execu-
tion conditions in a program when
programming in mnemonic code.
011
Operates like a latching relay.
013
DIFU(013) turns the designated
bit ON for one cycle when the
execution condition goes from
OFF to ON (rising edge).
014
DIFD(014) turns the designated
bit ON for one cycle when the
execution condition goes from ON
to OFF (falling edge).
---
SET turns the operand bit ON
when the execution condition is
---
ON. After this, the specified con-
tact will remain ON regardless of
---
ON/OFF of the input condition.
---
---
---
---
RSET turns the operand bit OFF
when the execution condition is
---
ON. After this, the specified con-
tact will remain OFF regardless of
---
ON/OFF of the input condition.
---
---
---
530
SETA(530) turns ON the specified
number of consecutive bits.
531
RSTA(531) turns OFF the speci-
fied number of consecutive bits.
532
SETB(532) turns ON the specified
bit.
CJ1M
CJ1-H/
CJ2H
CJ2M
CS1-H
-CPU1@ -CPU2@
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
CS/CJ/NSJ Series Instructions Reference Manual (W474)
CS1D
CJ1/
Page
CS1
-SA/S
-HA/H
OK
OK
OK
68
OK
OK
OK
68
OK
OK
OK
70
OK
OK
OK
70
OK
OK
OK
72
OK
OK
OK
72
OK
OK
OK
74
OK
---
OK
OK
OK
OK
74
OK
---
OK
OK
OK
OK
76
OK
OK
OK
78
OK
---
OK
OK
OK
OK
82
OK
---
OK
OK
OK
OK
84
OK
---
OK
OK
OK
OK
86
OK
OK
OK
OK
OK
OK
OK
---
OK
OK
---
OK
OK
---
OK
OK
OK
OK
86
OK
OK
OK
OK
OK
OK
OK
---
OK
OK
---
OK
OK
---
OK
OK
OK
OK
88
OK
OK
OK
OK
OK
OK
88
OK
OK
OK
OK
OK
---
90
OK
OK
---
OK
---
---
OK
---
---

Advertisement

Table of Contents
loading

Table of Contents