Difd - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

DIFD

Instruction
DIFFERENTIATE DOWN
Symbol
Applicable Program Areas
Area
Step program areas
Usage
OK
Operands
Operand
R
Bit
Operand Specifications
Word addresses
Area
CIO
WR
HR
B
OK
OK
OK
Flags
No flags are affected by DIFD(014).
Function
When the execution condition goes from ON
to OFF, DIFD(014) turns R ON. When
DIFD(014) is reached in the next cycle, R is
turned OFF.
Hint
• DOWN(522) can be used to execute an instruction for just one cycle when the execution condi-
tion goes from ON → OFF.
• The operation of DIFD(014) depends on the execution condition for the instruction itself as well
as the execution condition for the program section when it is programmed in an interlocked pro-
gram section, a jumped program section, or a subroutine.
• DIFD(014) has immediate refreshing variation (!DIFD(014)). 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 instruc-
tion is executed and reflected immediately in the output bit.
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
DIFD
!DIFD
Description
AR
T
C
DM
OK
---
---
---
Function
code
DIFD(014) turns the designated bit ON for one
014
cycle when the execution condition goes from ON
to OFF (falling edge).
DIFD
DIFD(014)
R
R: Bit
Subroutines
OK
Data type
BOOL
Indirect DM addresses
Constants
@DM
*DM
---
---
---
Execution condition
Status of R
2 Instructions
Function
Interrupt tasks
OK
Size
---
CF
Pulse bits
TR bits
---
---
---
1 cycle
2-27
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents