EasyManua.ls Logo

Omron CJ2 CPU UNIT SOFTWARE - Page 94

Omron CJ2 CPU UNIT SOFTWARE
670 pages
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-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

Table of Contents

Related product manuals