169
CHAPTER 7 PROGRAMMING
7
7.4 When Using the Module in a Remote I/O Network
7.4.4 Fixed-feed operation program
(4) Program example
*1 Positioning data can be set through GX Works2 also. ( Page 109, Section 6.4)
The sequence program that sets positioning data is unnecessary when the data were set through GX Works2.
Command to change positioning data.
Positioning address P1 (20000pulse)
Positioning speed V1 (1000pulse/s)
Set positioning data to the QD73A1.
Command a current value change.
Reset the current value change.
Completes setting a current value.
Read the current value change from the
QD73A1.
Command to check the current value
change again when it is incomplete.
Completes checking the current value
change.
Turn off Absolute positioning start signal.
Turn on Absolute positioning start signal.
Set a new current value to the QD73A1.
Request a current value change to the
QD73A1.
Command the fixed-feed positioning start.
New current value (0pulse)
Completes changing the positioning data.
*1