11
CJ2 CPU Unit Software User’s Manual
5-7 Index Registers ...................................................................................................................... 5-86
5-7-1 What Are Index Registers?....................................................................................................... 5-86
5-7-2 Using Index Registers............................................................................................................... 5-86
5-7-3 Processing Related to Index Registers..................................................................................... 5-91
5-7-4 Monitoring Index Registers ....................................................................................................... 5-92
5-7-5 Sharing Index and Data Registers between Tasks ................................................................... 5-93
5-8 Specifying Address Offsets.................................................................................................. 5-95
5-8-1 Overview................................................................................................................................... 5-95
5-8-2 Examples of Address Offset Application................................................................................... 5-97
5-9 Checking Programs............................................................................................................... 5-98
5-9-1 Errors during CX-Programmer Input......................................................................................... 5-98
5-9-2 Program Checks with the CX-Programmer............................................................................... 5-98
5-9-3 Debugging with the Simulator................................................................................................... 5-99
5-9-4 Program Execution Check ...................................................................................................... 5-102
5-10 Precautions .......................................................................................................................... 5-105
5-10-1 Condition Flags....................................................................................................................... 5-105
5-10-2 Special Program Sections ...................................................................................................... 5-110
Section 6 I/O Memory Areas
6-1 I/O Memory Areas .................................................................................................................... 6-2
6-1-1 I/O Memory Area Overview ........................................................................................................ 6-2
6-1-2 I/O Memory Area Structure......................................................................................................... 6-4
6-1-3 Holding I/O Memory Values........................................................................................................ 6-6
6-2 I/O Area..................................................................................................................................... 6-8
6-2-1 Input Bits..................................................................................................................................... 6-8
6-2-2 Output Bits................................................................................................................................ 6-10
6-3 Data Link Area ....................................................................................................................... 6-13
6-4 Synchronous Data Refresh Area.......................................................................................... 6-14
6-5 CPU Bus Unit Area ................................................................................................................ 6-15
6-6 Special I/O Unit Area ............................................................................................................. 6-16
6-7 Pulse I/O Area ........................................................................................................................ 6-17
6-8 Serial PLC Link Area ............................................................................................................. 6-18
6-9 DeviceNet Area ...................................................................................................................... 6-19
6-10 Work Area............................................................................................................................... 6-20
6-11 Holding Area .......................................................................................................................... 6-21
6-12 Auxiliary Area ........................................................................................................................ 6-23
6-13 Temporary Relay Area........................................................................................................... 6-24
6-14 Data Memory Area ................................................................................................................. 6-25
6-15 Extended Data Memory Area................................................................................................ 6-28
6-16 Timer Areas............................................................................................................................ 6-32
6-17 Counter Areas........................................................................................................................ 6-34
6-18 Task Flags .............................................................................................................................. 6-35
6-19 Index Registers ...................................................................................................................... 6-36
6-20 Data Registers ....................................................................................................................... 6-41
6-21 Condition Flags ..................................................................................................................... 6-43
6-22 Clock Pulses .......................................................................................................................... 6-45