Hitachi NJI-350B Video Game Controller User Manual


 
Chapter 5 Instruction Specifications
5-143
Item number FUN instructions-16 Name Pulse output with acceleration/deceleration
Ladder format Condition code
Processing time (
µ
s)
Remark
R7F4 R7F3 R7F2 R7F1 R7F0
Average Maximum
FUN 151 (s) DER ERR SD V C
zzzz
Instruction format Number of steps
919
Condition Steps
FUN 151 (s)
Bit Word Double word
Usable I/O
XY
R,
L,
M
TD, SS,
WDT, MS,
TMR, CU,
RCU, CT WX WY
WR,
WM TC DX DY
DR,
DM
Constant
Other
s Pulse output No. {
s+1
Total No. of output
pulses
{
s+2
Maximum frequency
(Hz)
{
s+3 Initial frequency (Hz) {
s+4
Acceleration/deceleration
time (ms)
{
Function
Pulse output No.: H01 to H04
**: Invalid area
Total No. of output pulses: H0000 to HFFFF (0 to 65535)
Maximum frequency (Hz): HA to H1388 (10 to 5000)
Initial frequency (Hz): HA to H1388 (10 to 5000)
Acceleration/deceleration time (ms): H0000 to HFFFF (0 to 65535)
This instruction outputs pulses with the acceleration/deceleration function.
It outputs pulses from the pulse output terminal set with the pulse output number s until the total number of output pulses set
with s+1 is reached.
Since the output of pulses starts from the one having the frequency set with s+3, set the parameters so that the stepping motor
and other devices will not become out of tune.
Acceleration is performed at the acceleration time set with s+4 in 10 steps until the maximum frequency set with s+2 is reached.
Deceleration is performed at the deceleration time set with s+4 until the total number of output pulses set with s+1 is reached.
The ratio of frequency change for the deceleration is the same as for the acceleration.
s
s+4
s+3
s+2
s+1
15 780
Pulse output No.
Total No. of output pulses N
Maximum frequency F (Hz)
Initial frequency F
0
(Hz)
Acceleration/deceleration time T (ms)
* *
T:S+4T:S+4
Time (sec)
F:S+2
T / 10
Deceleration time
Acceleration time
9
8
7
6
5
4
3
2
0
1
10
9
8
7
6
5
4
3
2
1
F
0
:S+3
(F-F
0
) / 10
Pulse frequency (Hz)
FUN 151 (s)