
6-56
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
No.
Description
I/O No.
Description
XB
Positioning start
R903A
Control flag (CH0)
R0
Positioning running
R903C
Control flag (CH2)
R1
Positioning done
R904E
Circular interpolation control flag
R10
Data setting for the control from P1 to P2
R904F
Set value change confirmation flag
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
Item
Data register
No.
Details
On this program details
DT1000 to 1001
Control code
Continue mode, Absolute Pass position setting
method
Rotation direction changes according to the
control direction.
DT1002 to 1003
Composite
speed
1000 Hz
DT1004 to 1005
Target position
Target position (X-axis) P2 to P4
DT1006 to 1007
Target position
Target position (Y-axis) P2 to P4
DT1008 to 1009
Pass position
Target position (X-axis) S1 to S3
User
setting
area
DT1010 to 1011
Pass position
Target position (Y-axis) S3 to S3
Work area
DT1012 to 1017
Operation result
storage area
Parameters calculated due to instruction
execution are stored.
DT90044 to
90045
Elapsed value
area (CH0)
Current position (X-axis) : 0
Special DT
DT90200 to
90201
Elapsed value
area (CH2)
Current position (Y-axis) : 0
Summary of Contents for FP E Series
Page 1: ......
Page 16: ......
Page 17: ...Chapter 1 Functions and Restrictions of the Unit ...
Page 28: ...1 12 ...
Page 29: ...Chapter 2 Specifications and Functions of the Unit ...
Page 37: ...2 9 Circuit diagram C32 Y0 Y1 Y3 Y4 C28 Y0 Y1 Y3 Y4 Y2 Y5 to YF Y2 Y5 to YB ...
Page 48: ...2 20 ...
Page 49: ...Chapter 3 Expansion ...
Page 56: ...3 8 Terminal layout diagram Note The numbers in the connector are for the first expansion ...
Page 61: ...Chapter 4 I O Allocation ...
Page 66: ...4 6 ...
Page 67: ...Chapter 5 Installation and Wiring ...
Page 90: ...5 24 ...
Page 91: ...Chapter 6 High speed counter Pulse Output and PWM Output functions ...
Page 116: ...6 26 ...
Page 121: ...6 31 ...
Page 125: ...6 35 Pulse output diagram ...
Page 131: ...6 41 ...
Page 139: ...6 49 ...
Page 141: ...6 51 ...
Page 144: ...6 54 Program Continued on the next page ...
Page 145: ...6 55 ...
Page 147: ...6 57 Program ...
Page 151: ...Chapter 7 Communication Cassette ...
Page 210: ...7 60 The values of DT50 and DT51 are written in DT0 and 1 of PLC ...
Page 238: ...7 88 ...
Page 239: ...Chapter 8 Self Diagnostic and Troubleshooting ...
Page 247: ......
Page 248: ......
Page 249: ...Chapter 9 Precautions During Programming ...
Page 260: ...9 12 Example 2 Using the CT instruction between JP and LBL instructions ...
Page 268: ...9 20 ...
Page 269: ...Chapter10 Specifications ...
Page 286: ......
Page 287: ...Chapter 11 Dimensions ...
Page 290: ...11 4 11 1 3 Expansion Unit FPG XY64D2T FPG XY64D2P FPG EM1 ...
Page 293: ...Chapter 12 Appendix ...
Page 297: ...12 5 ...
Page 437: ...12 145 12 7 ASCII Codes ...
Page 439: ......
Page 440: ......