
7 - 8
7
7-5 Direct operation sample program
The following shows an example of direct operation on the X-axis using the settings below.
These parameters must be set before this ladder program is executed.
(1) Operation settings
X-axis target coordinate data: 100000 (pulses)
X-axis target speed data: 200000 (p/s)
X-axis acceleration speed No.: 00 (parameter 1 data)
X-axis deceleration speed No.: 00 (parameter 1 data)
Address A+0010 to 0013 of parameter 1: 20000 (reference speed)
Address A+0024 to 0027 of parameter 1: 5 (acceleration time)
Address A+0030 to 0033 of parameter 1: 10 (deceleration time)
Normally, at automatic I/O registration, the top address of the special I/O data area is 49000 and this
area is not handled as a relay.
For this reason, only the data that must be handled as a relay is transferred in advance to relay area
by a ladder program. (⇒See item "Ladder.")
When numbers in the relay No. 7000 range are turned ON by this ladder program, direct operation is
executed.
20000
(P/S)
5(ms) 10(ms)
1000000(pulses)
When the reference speed is the same as the
target speed, the acceleration time and deceleration
time become the actual acceleration or deceleration
durations as they are.
Commenti su questo manuale