Sample Program Jog Operation: Type 1 (With Target Value) - Panasonic FP0R User Manual

Hide thumbs Also See for FP0R:
Table of Contents

Advertisement

Sample program JOG operation: Type 1 (With target value)

The explanation below shows the case that pulses are output from Y0 when using forward rotation and
-
Y1 when using reverse rotation with the following conditions; Initial speed: 1 kHz, Target speed: 5kHz,
Acceleration time: 120 ms, Deceleration time: 120 ms.
When the elapsed value (absolute value) reaches K324000 (positive direction) and K-45600 (negative
-
direction), the deceleration stop is performed.
Timing chart
Data table
Data
register
Setting item (Unit)
No.
DT300
Control code
DT302
Initial speed (Hz)
DT304
Target speed (Hz)
DT306
Acceleration time (ms) K120
DT308
Deceleration time (ms) K120
DT310
Target value (pulses)
Note)
1.Each setting item occupies 2-word data registers.
2.When the control type 0 (No target value) is specified for the control code, the target value (pulse
number) of data table is invalid.
3.For the JOG operation, the time from the initial speed to the maximum speed (50 kHz) is specified as
acceleration time or deceleration time. For the details, refer to "8.4.17 Difference in
Acceleration/Deceleration Characteristics Between Instructions".
8-32
Example of sample program
Type 1 (With target value)
Absolute
CW/CCW
H1001 0010
K1000
K5000
324000 (Positive direction)
K-45600 (Negative direction)
Settable range
Set according to the control code
on the next page.
K1 to K50000
K1 to K50000
K1 to K32760
K1 to K32760
K-2,147,483,648 to
K+2,147,483,647

Advertisement

Table of Contents
loading

Table of Contents