Hitachi NJI-350B Video Game Controller User Manual


 
Chapter 5 Instruction Specifications
5-16
Item number Basic instructions-5, 6 Name Contact parallel connection (OR, ORI)
Ladder format Condition code
Processing time (µs)
Remark
R7F4 R7F3 R7F2 R7F1 R7F0
Average Maximum
DER ERR SD V C
n
n
zzzzz
Instruction format Number of steps
0.9
OR n Condition Steps
ORI n
2
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 I/O number {{{ {
Function
n
OR n
Obtains OR of the previous operation result and the a-contact operation.
n
ORI n
Obtains OR of the previous operation result and the b-contact operation.
Notes
Edge detection (DIF, DFN) cannot be used in respect to ORI.
Pay close attention if the external output is to be monitored when counter input (coincidence output), PWM output, or pulse
output is set with the PI/O function.
R0
WR0 = WR0 + 1
DIF1
Y100
Y100 will not change when monitored. It will remain the same value previously set using functions such as
set/reset.
For example, if Y100 is off, the Y100 status will not change while being monitored and WRO will also remain unchanged.
Program example
X00000
X00001
Y00105
LD
OR
ORI
OUT
X00000
X00001
X00002
Y00105
X00002
Program description
When X00000 is on, X00001 is on, or X00002 is off, the operation is “1” and Y00105 turns on.
OR n
ORI n