Hitachi NJI-350B Video Game Controller User Manual


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