High−level Instructions
3 − 482
2: For FP0 compatibility mode
Pulses are output using a duty of 25% fixedly. (The setting is invalid.)
The pulse output will start approx. 300us later after the direction output. (The
characteristics of a motor driver is considered.)
Application example
R0
F0 MV, H 2, DT 0
F0 MV, K1000, DT 1
F0 MV, K7000, DT 2
F0 MV, K300, DT 3
F1 DMV, K100000, DT 4
F0 MV, K 0, DT 6
R1
F168 SPD1, DT 0, K 0
DT 0 H 1002
DT 1 K 1000
DT 2 K 7000
DT 3 K 300
DT 4
DT 5
K100000
DT 6 0
Number of
output pulse
100,000
300ms 300ms
7kHz
1kHz
f = (7000 − 1000) ÷ 30 steps = 200(Hz)
t = 300ms ÷ 30 steps = 10ms
t
f
Flag conditions
・Error flag (R9007): Turns on and stays on when:
・Error flag (R9008): Turns on for an instant when:
− The area specified using the index modifier exceeds the limit.
− n is number except 0 and 1.
− The value of S exceeds the limit of specified range.
− S+1 is less than K40
− S+1 > S+2
− The value of “S+5, S+4” exceeds the limit of specified range.
FP0/FP−e