Hitachi NJI-350B User Manual
Page 68

Chapter 5 Instruction Specifications
5-18
Item number
Basic instructions-8
Name
Leading edge detection (AND DIF, OR DIF)
Ladder format
Condition code
Processing time (
µs)
Remark
R7F4
R7F3
R7F2
R7F1
R7F0
Average
Maximum
DER
ERR
SD
V
C
DIF n
DIF n
DIF n
DIF n
z
z
z
z
z
Instruction format
Number of steps
1.0
←
AND DIF n
Condition
Steps
OR DIF n
AND DIF n
3
OR DIF n
4
Bit
Word
Double word
Usable I/O
X
Y
R,
M
TD, SS,
CU, CT
WX WY
WR,
WM TC DX DY
DR,
DM
C
onstant
Other
n
Number
{
0 to 511 (Decimal)
Function
• Detects the rise of an input signal and retains the operation result only for one scan.
( ) indicates the display when the Ladder Editor is used.
Notes
• DIF number may not be overlapped. (However, no error is generated even if overlapped numbers are used.)
• DIF cannot use the b contact.
Program example
X00000
R123
LD
AND
OUT
X00000
DIF0
R123
DIF0
Program description
X00000
R123
1 scan time
Time chart
• Upon leading of X00000 on, R123 turns on only for one scan.
• If b-contact is used for X00000, operation will be the same as the a-contact DFN operation.
AN
D
D
IF
n
O
R
D
IF
n