Operand
Settings
Description
Range Initial speed
Maximum speed
High-
speed
K50 to K100000
(50 Hz to 100 kHz)
Initial speed to K100000 (to 100
kHz)
When the frequency 1 (initial speed) is the low speed range and the
frequency n is not in the range between 1 Hz to 22 kHz, the pulse
output stops.
When the frequency 1 (initial speed) is the high speed range and the
frequency n is not in the range between 50 Hz to 100 kHz, the pulse
output stops.
(3)
S+4,
S+2(n+1)
Target value n
Target value (K-2147483648 to K2147483647)
The values of 32-bit data specified as target values should be within
the range as shown in the table below.
Control code setting
Settable range of target value
Operation mode
Output
method
Incremental
Addition
counting
Positive values
Subtraction
counting
Negative values
Absolute
Addition
counting
Values larger than the current
value
Subtraction
counting
Values smaller than the current
value
(4)
S+2(n+2)
K0
End of table (Pulse output stop setting)
■
Example of program
[Operation]
(1) Starts the pulse output at 1000 Hz from the specified channel ch0 when the execution
condition R10 of F174 (SP0H) instruction turns ON.
(2) Switches the frequency to 2500 Hz when 1000 pulses are counted at 1000 Hz.
(3) Switches the frequency to 5000 Hz when 3000 pulses are counted at 2500 Hz.
(4) Switches the frequency to 1000 Hz when 8000 pulses are counted at 5000 Hz.
(5) Stops the pulse output when 10000 pulses are counted.
5000
2500
1000
1000
0
3000
8000
10000
R10
Frequency (speed) [Hz]
Execution condition
HSC elapsed value
(Movement amount)
Control active flag
7.2 FP-X Compatible Instruction Mode Control Instruction
7-24
WUME-FPXHPOSG-01
Содержание FP-XH Series
Страница 2: ... MEMO 2 WUME FPXHPOSG 01 ...
Страница 18: ... MEMO 1 10 WUME FPXHPOSG 01 ...
Страница 30: ... MEMO 3 8 WUME FPXHPOSG 01 ...
Страница 51: ...4 4 Reading Elapsed Values WUME FPXHPOSG 01 4 21 ...
Страница 52: ... MEMO 4 22 WUME FPXHPOSG 01 ...
Страница 88: ... MEMO 5 36 WUME FPXHPOSG 01 ...
Страница 94: ... MEMO 6 6 WUME FPXHPOSG 01 ...
Страница 140: ... MEMO 9 8 WUME FPXHPOSG 01 ...
Страница 193: ... MEMO WUME FPXHPOSG 01 ...
Страница 194: ...Panasonic Industrial Devices SUNX Co Ltd 2020 October 2020 WUME FPXHPOSG 01 ...