Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 199

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

3. Instructions
DIFU
Instruction
DIFFERENTIATE UP
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
B
Bit
Operand Specifications
Word addresses
Area
CIO
WR
HR
B
OK
OK
OK
*1 CJ2 CPU Units only.
Flags
No flags are affected by DIFU(013).
Function
When the execution condition goes from OFF
to ON, DIFU(013) turns B ON. When
DIFU(013) is reached in the next cycle, B is
turned OFF.
Hint
• UP(521) can be used to execute an instruction for just one cycle when the execution condition goes
from OFF
ON.
• DIFU(013) has immediate refreshing variation (!DIFU(013)). When an external output bit has been
specified for B in this instruction, 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.)
162
Mnemonic
Variations
DIFU
!DIFU
Block program areas
Step program areas
Not allowed
OK
Description
AR
T
C
DM
EM
1
1
OK
---
---
OK*
OK*
Function
code
DIFU(013) turns the designated bit ON for one
013
cycle when the execution condition goes from
OFF to ON (rising edge).
DIFU
DIFU(013)
B
B: Bit
Subroutines
OK
Data type
BOOL
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
---
---
Execution condition
Status of B
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or transition
Interrupt tasks
programs
OK
OK
Size
---
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
1 cycle
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents