Panasonic FP-E Programming Manual page 804

Fp series
Table of Contents

Advertisement

High−level Instructions
*1: Assignment of control code (Specify with H constant)
10: Fixed
Control assignment
0: Arbitrary table control
000: Fixed
Operation mode assignment
0: Incremental
1: Absolute
Output type assignment
0: CW/CCW
1: PLS+SIGN (Forward OFF/Reverse ON)
1: PLS+SIGN (Forward ON/Reverse OFF)
*2: Velocity range (Frequency) (Hz) <K constant>
1Hz to 50kHz [K1 to K50000 (Unit: Hz)]
*3: Target value range (ms) <K constant>
K−2,147,483,648 to K2,147,483,647
32−bit data value specified for the target value should be within the following range.
Assignment of control code
Operation mode
Output type
Count: Addition
Incremental
Incremental
Count: Subtraction
Count: Addition
Absolute
Absolute
Count: Subtraction
Sample program
Description of operation
(1) When the trigger R10 in F174 (SP0H) instruction is on, the pulses are output at 1000 Hz from the specified
channel.
(2) When 1000 pulses are counted at 1000Hz, the frequency changes to 2500Hz.
(3) When 3000 pulses are counted at 2500Hz, the frequency changes to 5000Hz.
(4) When 8000 pulses are counted at 5000Hz, the frequency changes to 1000Hz.
(5) When 1000 pulses are counted, the pulse output stops.
Frequench (speed)
5000
2500
1000
0 1000 3000
Flag
R10
Pulse output
instruction
flag
R9120
Note) When the trigger R10 in F174(SP0H) instruction turns on, the pulse output instruction flag will be on.
Once the pulse output stops when the elpased value reached 10000, the high−speed counter control
flag will be off.
3 − 540
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
H
Range of settable target values
Range of settable target values
Spcify a positive value.
Specify a negative value.
Specify a value larger than the current value.
Specify a value smaller than the current value.
High−speed
couonter
Elapsed value
8000
10000
(Moving distance)
FP0R

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents