EasyManua.ls Logo

Omron CJ2 - 02-2010 - Page 92

Omron CJ2 - 02-2010
640 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 Understanding Programming
5-2
CJ2 CPU Unit Software User’s Manual
5-7 Index Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-84
5-7-1 What Are Index Registers? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-84
5-7-2 Using Index Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-84
5-7-3 Processing Related to Index Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-88
5-7-4 Monitoring Index Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-89
5-7-5 Sharing Index and Data Registers between Tasks . . . . . . . . . . . . . . . . . . . . .5-90
5-8 Specifying Address Offsets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-92
5-8-1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-92
5-8-2 Examples of Address Offset Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-95
5-9 Checking Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-96
5-9-1 Errors during CX-Programmer Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-96
5-9-2 Program Checks with the CX-Programmer . . . . . . . . . . . . . . . . . . . . . . . . . . .5-96
5-9-3 Debugging with the Simulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-97
5-9-4 Program Execution Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-100
5-10 Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-103
5-10-1 Condition Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-103
5-10-2 Special Program Sections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-108

Table of Contents