EasyManua.ls Logo

Panasonic FP-E - Page 801

Panasonic FP-E
1334 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
High−level Instructions
3 − 537
Program example
[Operation content]
1. Pulse output from the specified channel ch0 begins at 1,000 Hz when the F174
(SP0H)
instruction execution condition (trigger) R10 goes on.
2. At the point when 1,000 pulses have been counted at a frequency of 1,000 Hz, the
frequency switches to 2,500 Hz.
3. At the point when 3,000 pulses have been counted at a frequency of 2,500 Hz, the
frequency switches to 5,000 Hz.
4. At the point when 8,000 pulses have been counted at a frequency of 5,000 Hz, the
frequency switches to 1,000 Hz.
5. At the point when 10,000 pulses have been counted, pulse output stops.
Trigger
R10
R903A
(R903C)
5,000
Frequency (speed) [Hz]
01000 8000 10000
Elapsed value of
high−speed
counter
(Amount of travel)
1,000
2,500
3000
When the execution condition (trigger) R10 of the F174 (SP0H) instruction goes on, the
high−speed counter control flag R903A (R903C) goes on. When the elapsed value
reaches 10,000 and pulse output stops, R903A (R903C) goes off.
Note: With FP−X, refer to the table of areas used for the internal relay equivalent to
R903A (R903C).
[Settings and program]
The frequency range is from 191 Hz to 100 kHz, the duty 1/4 (25%), the operation mode
is Incremental, and the output method is CW.
R0
F1 DMV , H 1200, DT100
F1 DMV , K 1000, DT102
F1 DMV , K 1000, DT104
F1 DMV , K 2500, DT106
F1 DMV , K 2000, DT108
F1 DMV , K 5000, DT110
F1 DMV , K 5000, DT112
Control code: “H1200”
Frequency 1: 1,000Hz
Target value 1: 1,000 pulses
Frequency 2: 2,500Hz
Target value 2: 2,000 pulses
Frequency 3: 5,000Hz
Target value 3: 5,000 pulses
R10
DF F174 SP0H,DT100,K0
F1 DMV , K 0, DT118
Pulse output control
Output pulse stops
F1 DMV , K 1000, DT114
F1 DMV , K 2000, DT116
Frequency 4: 1,000Hz
Target value 4: 2,000 pulses
FPΣ/FP−X
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com