427
Basic Program Examples
Section 11-2
Saving Data
Use the SAVE DATA Bit in the Common Operating Memory Area to save the
PCU's Common Parameters and Axis Parameters to the PCU's flash memory.
The PCU's Save Data operation is executed when the Save Data execution
condition goes from OFF to ON.
When the data has been saved, W302.05 is turned ON for one cycle.
The Save Data operation cannot be executed while MECHATROLINK com-
munications are active. If the Save Data is executed during MECHATROLINK
communications, a Multi-start Error (Unit error code: 0021).
Execute this sample program only when MECHATROLINK communications
are stopped.
Sample Ladder Program
Program name: Save Data
Section name: Save Data
000000
(000000)
W302.00
Start Unit Data Save
000001
(000002)
Save Data
W302.00
1515.12
Unit Error Flag
1515.14
1500.03
SAVE DATA Bit
1500.03
SAVE DATA Bit
W302.01
Execute Unit Data Save
000002
(000008)
W302.02
1515.14
Data Transferring Flag
W302.03
Unit Data Save Received
000003
(000011)
W302.04
1515.12
Unit Error Flag
1515.14
Data Transferring Flag
W302.05
Unit Data Save Normal End
000004
(000015)
W302.02
1515.12
Unit Error Flag
W302.06
Unit Data Save Error End
W302.04
000005
(000019)
W302.01
W302.03
W302.06
Unit Data Save Error End
W302.02
W302.02
000006
(000024)
W302.03
W302.05
W302.06
Unit Data Save Error End
W302.04
W302.04
Save Data
execution condition
Start Unit
Data Save
Data
Transferring
Flag
Waiting for Unit
Data Save
Received
Waiting for Unit
Data Save End
Waiting for Unit
Data Save
Received
Waiting for Unit
Data Save End
Execute Unit
Data Save
Waiting for Unit Data
Save Received
Unit Data
Save
Received
Waiting for Unit Data Save
Received
Unit Data Save
Received
Waiting for Unit
Data Save End
Unit Data
Save Normal
End
Waiting for Unit Data Save
End
Summary of Contents for CJ1W-NC271 - 12-2009
Page 2: ......
Page 4: ...iv ...
Page 6: ...vi ...
Page 22: ...xxii ...
Page 58: ...30 Starting Operation Section 2 2 ...
Page 244: ...216 Axis Operating Input Memory Areas Section 4 8 ...
Page 264: ...236 Transferring Servo Parameters Section 5 3 ...
Page 396: ...368 Linear Interpolation Section 9 7 ...
Page 648: ...620 List of Error Codes Appendix D ...
Page 674: ...646 Additional Functions for the CJ1W NCF71 MA Appendix F ...
Page 684: ...656 Index ...
Page 686: ...658 Revision History ...