Panasonic FP E Series User Manual page 146

Table of Contents

Advertisement

Sample program (Continue mode method)
• This is a program that continually executes the circular interpolation action.
• Start the first point P1 (0, 0), overwrite the target value three times, and move to final position P4.
• To overwrite the data after startup, use the special internal relay R904F and a shift register.
I/O Allocation
I/O
Description
No.
XB
Positioning start
R0
Positioning running
R1
Positioning done
R10
Data setting for the control from P1 to P2
R11
Data setting for the control from P2 to P3
R12
Data setting for the control from P3 to P4
R13
Mode changing for stoppage
Note) R10 to R13 are used by shift register.
Data register allocation
Data register
Item
DT1000 to 1001
User
DT1002 to 1003
setting
area
DT1004 to 1005
DT1006 to 1007
DT1008 to 1009
DT1010 to 1011
Work area
DT1012 to 1017
DT90044 to
90045
Special DT
DT90200 to
90201
6-56
Details
No.
Control code
Composite
speed
Target position
Target position
Pass position
Pass position
Operation result
storage area
Elapsed value
area (CH0)
Elapsed value
area (CH2)
I/O No.
Description
R903A
Control flag (CH0)
R903C
Control flag (CH2)
R904E
Circular interpolation control flag
R904F
Set value change confirmation flag
On this program details
Continue mode, Absolute Pass position setting
method
Rotation direction changes according to the
control direction.
1000 Hz
Target position (X-axis) P2 to P4
Target position (Y-axis) P2 to P4
Target position (X-axis) S1 to S3
Target position (Y-axis) S3 to S3
Parameters calculated due to instruction
execution are stored.
Current position (X-axis) : 0
Current position (Y-axis) : 0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents