Download Print this page

Panasonic FP-XH Series User Manual page 118

Programmable controller
Hide thumbs Also See for FP-XH Series:

Advertisement

7.2 FP-X Compatible Instruction Mode Control Instruction
Operand
S+4,
(3)
S+2(n+1)
(4)
S+2(n+2)
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.
Frequency (speed) [Hz]
5000
2500
1000
0
1000
Execution condition
R10
Control active flag
7-24
Settings
Description
Range Initial speed
High-
speed
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.
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
Operation mode
Target value n
Incremental
Absolute
K0
End of table (Pulse output stop setting)
3000
8000
K50 to K100000
(50 Hz to 100 kHz)
Output
method
Addition
counting
Subtraction
counting
Addition
counting
Subtraction
counting
HSC elapsed value
(Movement amount)
10000
Maximum speed
Initial speed to K100000 (to 100
kHz)
Settable range of target value
Positive values
Negative values
Values larger than the current
value
Values smaller than the current
value
WUME-FPXHPOSG-01

Advertisement

loading