High−level Instructions
3 − 519
Assignment of control code (Specify with H constant)
H
10: Fixed
Control assignment
1: JOG positioning
*As for the output assignment
When starting the instruction with th setting of “1: Calcula-
tion only”, the pulse output is not performed.
When starting the instruction with the assignment of the
same channel and the same parameter after executing this
instruction once for a channel, it can be started at high
speed. (It is the same for the both cases of “Pulse output”
and “Calculation only”.)
However, if a parameter othern than the parameter used for
the previous execution is specified, the high−speed startup
cannot be performed.
Note) The same parameter means that all the parameters
other than the output assignment are the same.
Operation mode assignment
0: Incremental
Output type assignment
0: CW/CCW
1: PLS+SIGN (Forward OFF/Reverse ON)
2: PLS+SIGN (Forward ON/Reverse OFF)
Output assignment
0: Pulse output
1: Calculation only
Interrupt execution assignment
0: Execute in main program.
1: Execute in interrupt program.
(The trigger is the level type.)
Control assignment 2
1: Type 1
Output type
Incremental <Relative control>
The pulse specified for the target value are output.
Mode
selection
Target value
CW/CCW
PLS+SIGN
Forward OFF
Reverse ON
PLS+SIGN
Forward ON
Reverse OFF
Elapsed value
When positive Output from CW
Pulse output when
direction output is off
Pulse output when
direction output is on
Addition
When negative Output from CCW
Pulse output when
direction output is on
Pulse output when
direction output is off
Subtraction
[Explanation of pulse output operation]
Pulses are output using a duty of 25% fixedly.
When using the PLS +SIGN method, pulses will be output approx. 300 us later after the output of direction
signal.
(The characteristics of a motor driver is considered.)
Sample program
( DF ) F1 DMV, H10110000, DT0
F1 DMV, K1000, DT2
F1 DMV, K7000, DT4
F1 DMV, K300, DT6
F1 DMV, K10000, DT8
F1 DMV, K150, DT10
R0
F171 SPDH, DT0, K0
R1
F1 DMV, K450, DT12
F1 DMV, K100000, DT14
( DF ) F0 MV H140, DT90052
R2
(DF)
F0 MV H140, DT90052
7kHz
1kHz
R1
300ms
150ms
450ms
R2
Time
Frequency
Position control starting input
100,000
Output pulse
number
FP0R