Hitachi NJI-350B Video Game Controller User Manual


 
Chapter 5 Instruction Specifications
5-12
R7F4
R7F3
R7F2
R7F1
R7F0
Process
time
(µ s)
Classification
Item number
Ladder symbol
Instruction
symbol
Instruction
name
Process descriptions I/O types used
DERERR SD V C
MICRO-EH
Steps
Remarks
4 FUN 82 (s)
(SLREF (s))
I/O refresh
(any slot)
Refreshes the I/O at the
designated slot.
s: WR, WM
zzzz
311 3
5 FUN 140 (s) High-speed
counter
operation
control
Performs the starting and
stopping of the count
operation of the specified
counter.
s: WR, WM
zzzz
147 3
FUN instructions
6 FUN 141 (s) High-speed
counter
coincidence
output
control
Performs the enabling and
disabling of the coincidence
output of the specified
counter.
s: WR, WM
zzzz
138 3
7 FUN 142 (s) High-speed
counter up-
count /
down-count
control
This controls the up-
count/down-count of the
specified counter. (Single-
phase counters only)
s: WR, WM
zzzz
156 3
8 FUN 143 (s) High-speed
counter
current value
replacement
The counter value of the
specified counter number
will be replaced by the data
stored in the replacement
value storage area.
s: WR, WM
s+1: WR, WM
zzzz
175 3
9 FUN 144 (s) High-speed
counter
current
value
reading
This function reads the
count value of the specified
counter number and writes
it to the current value
storage range
s: WR, WM
s+1: WR, WM
zzzz
132 3
10 FUN 145 (s) High-speed
counter
current
value clear
Clears the count value of the
specified counter number.
s: WR, WM
zzzz
157 3
11 FUN 146 (s) High-speed
counter
preset
The on-preset value and
off-preset value will be set
according to the preset
specifications in respect to
the specified counter
number.
s: WR, WM
s+1: WR, WM
s+2: WR, WM
zzzz
162 3
12 FUN 147 (s) PWM
operation
control
Starts PWM output of the
specified PWM output
number.
s: WR, WM
zzzz
135 3
13 FUN 148 (s) PWM
Frequency
on-duty
changes
Sets the frequency value
and the on-duty value of the
PWM output number
specified by the on-duty
value and the specified
frequency value.
s: WR, WM
s+1: WR, WM
s+2: WR, WM
zzzz
173 3
14 FUN 149 (s) Pulse
output
control
Starts pulse output of the
specified pulse number and
the output is stopped when
the specified number of
pulses are output.
s: WR, WM
zzzz
149 3
15 FUN 150 (s) Pulse
frequency
output
setting
changes
Pulse output is commenced
at the specified frequency.
Output is stopped when the
number of pulses specified
have been output.
s: WR, WM
s+1: WR, WM
s+2: WR, WM
zzzz
217 3
16 FUN 151 (s) Pulse output
with
acceleration
/
deceleration
Divides the time band and
frequency into 10 levels
and performs
acceleration/deceleration.
s: WR, WM
s+1: WR, WM
s+2: WR, WM
s+3: WR, WM
s+4: WR, WM
zzzz
919 3
17 FUN 254 (s)
(BOXC (s))
BOX
comment
No processing is performed
in the CPU.
s: WR, WM
zzzzz
—3
18 FUN 255 (s)
(MEMC (s))
Memo
comment
No processing is performed
in the CPU.
zzzzz
—3