Omron SYSMAC CS/CJ Series Programming Manual page 94

Table of Contents

Advertisement

Sequence Output Instructions
Instruction
Symbol/Operand
Mnemonic
Code
DIFFERENTIATE
DIFU(013)
UP
DIFU
!DIFU
013
B: Bit
DIFFERENTIATE
DIFD(014)
DOWN
DIFD
!DIFD
014
B: Bit
SET
SET
@SET
%SET
!SET
B: Bit
!@SET
!%SET
RESET
RSET
RSET
@RSET
%RSET
!RSET
B: Bit
!@RSET
!%RSET
MULTIPLE BIT
SET
SETA(530)
SETA
@SETA
530
D: Beginning
word
N1: Beginning bit
N2: Number of
bits
MULTIPLE BIT
RESET
RSTA(531)
RSTA
@RSTA
531
D: Beginning
word
N1: Beginning bit
N2: Number of
bits
DIFU(013) turns the designated bit ON for one cycle when the
execution condition goes from OFF to ON (rising edge).
B
Execution condition
Status of B
DIFD(014) turns the designated bit ON for one cycle when the
execution condition goes from ON to OFF (falling edge).
B
Execution condition
Status of B
SET turns the operand bit ON when the execution condition is ON.
SET
B
Execution condition
of SET
Status of B
RSET turns the operand bit OFF when the execution condition is ON.
B
Execution condition
of RSET
Status of B
SETA(530) turns ON the specified number of consecutive bits.
D
N1
N2
RSTA(531) turns OFF the specified number of consecutive bits.
N1
N2
Function
One cycle
One cycle
N2 bits are set to 1
(ON).
N2 bits are reset to 0
(OFF).
Section 3-2
Location
Execution
condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
73

Advertisement

Table of Contents
loading

Table of Contents