Omron CP1E-NA@@D@-@ Computer Hardware User Manual


 
2-25
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Sequence Output Instructions
2
DIFU
DIFU
Applicable Program Areas
Operands
Operand Specifications
Flags
No flags are affected by DIFU(013).
Function
Hint
Instruction Mnemonic Variations
Function
code
Function
DIFFERENTIATE UP DIFU !DIFU 013
DIFU(013) turns the designated bit ON for one
cycle when the execution condition goes from
OFF to ON (rising edge).
Symbol
DIFU
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description Data type Size
R Bit BOOL ---
Area
Word addresses Indirect DM addresses
Constants CF Pulse bits TR bits
CIO WR HR AR T C DM @DM *DM
R OK OK OK OK --- --- --- --- --- --- --- --- ---
When the execution condition goes from OFF
to ON, DIFU(013) turns R ON. When
DIFU(013) is reached in the next cycle, R is
turned OFF.
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 a CPU Unit built-in output bit has
been specified for R in this instruction, any changes to R will be refreshed when the instruction is exe-
cuted and reflected immediately in the output bit.
DIFU(013)
R
R: Bit
Status of R
Execution condition
1 cycle