
257
CHAPTER 5 DEVICES
5
5.
5
Index Regist
er/
S
ta
ndard
D
e
vice Regist
er
(Z
)
5.
5.
3
Sav
ing and
rest
orat
ion of
t
he index
regis
ter
5.5.3
Saving and restoration of the index register
The CPU module performs the following when switching from the scan execution type program to the interrupt/fixed
scan execution type program.
• Saving and restoring the index register data
• Saving and restoring block numbers of the file register
(1) Setting for saving and restoration
Configure the setting for saving and restoration using a programming tool.
Project window
[Parameter]
[PLC Parameter]
[PLC System]
When not writing data to the index register during interrupt/fixed scan execution type program, select "High Speed
Execution" in the Interrupt Program/Fixed Scan Program Setting area. This setting enables faster program
switching because saving and restoration are not performed.
(2) Processing of the index register
(a) When "High speed execution" is not selected
*1
The Z0 value is changed to 3 in the interrupt program.
To pass index register values from the interrupt/fixed scan execution type program to the scan execution type program, use
word devices.
Selecting this
saves or restores
index register data.
Execution program
Z0 = 1
Z0 = 1
Z0 = 3
Z0 = 0
Z0 = 1
Passed
Switching
Saved
Restored
Restored
Z0 = 1
Z0 = 1
Z0 = 1
Z0 = 1
Index register save area
Index register value
Scan execution
type program
Scan execution
type program
Interrupt/fixed
scan execution
type program
for scan execution
type program
1) The CPU module saves the index register
values and passes them at program
switching.
2) The CPU module restores the index
register values saved at program switching.
*
1
Содержание L02CPU
Страница 1: ......
Страница 2: ......
Страница 13: ...11 Memo ...
Страница 78: ...76 Memo ...
Страница 226: ...224 Memo ...
Страница 317: ...315 APPENDICES APPEN DIX Appendix 4 Character Codes Available in the Display Unit To the next page ...
Страница 318: ...316 To the next page ...
Страница 319: ...317 APPENDICES APPEN DIX Appendix 4 Character Codes Available in the Display Unit To the next page ...
Страница 320: ...318 To the next page ...
Страница 321: ...319 APPENDICES APPEN DIX Appendix 4 Character Codes Available in the Display Unit To the next page ...
Страница 322: ...320 To the next page ...
Страница 323: ...321 APPENDICES APPEN DIX Appendix 4 Character Codes Available in the Display Unit To the next page ...
Страница 324: ...322 To the next page ...
Страница 325: ...323 APPENDICES APPEN DIX Appendix 4 Character Codes Available in the Display Unit To the next page ...
Страница 326: ...324 To the next page ...
Страница 335: ...333 Memo ...
Страница 339: ......