Hitachi NJI-350B Video Game Controller User Manual


 
Chapter 5 Instruction Specifications
5-21
Item number Basic instructions-11, 12 Name Set/reset coil output (SET, RES)
Ladder format Condition code
Processing time (µs)
Remark
R7F4 R7F3 R7F2 R7F1 R7F0
Average Maximum
DER ERR SD V C Upper case: SET
n
SET
n
RES
S
R
n
SET
n
RES
zzzzz 0.9
Lower case: RES
Instruction format Number of steps
SET n
Condition Steps
RES n
10.9
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
SET
SET n
Switches on the device when the operation result obtained up to that point is “1.”
The device that is switched on will not be switched off even if the operation result is “0.”
n
RES
RES n
Switches off the device when the operation result obtained up to that point is “1.”
( ) indicates the display when the Ladder Editor is used.
Notes
When a set/reset coil is used on a multi-layer coil, it must be set to the highest level or an arbitrary contact must be entered
immediately before the use.
Example of OK Example of NG
SET
SET
SET
SET
SET
Program example
X00000
X00001
R100
R100
LD
SET
LD
RES
X00000
R100
X00001
R100
SET
RES
Program description
When input X00000 turns on, output R100 turns on. Even if X00000 turns off, R100 remains on.
When input X00001 turns on, output R100 turns off.
When input X00000 and X00001 both turn on, the one executed later than the other during programming takes a higher
priority.
SET n
RES n