EasyManua.ls Logo

YASKAWA JEPMC-CP3201-E - Page 77

YASKAWA JEPMC-CP3201-E
249 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...
3.1 Basic Functionality
Registers
3-27
3
CPU Unit Functionality
Index Registers (i, j)
There are two special registers, i and j, that are used to modify relay and register addresses. The functions
of i and j are identical. They are used to handle register addresses like variables.
There are subscript registers for each program type, as shown in the following figure.
* Motion programs and sequence programs have separate i and j registers for each task.
Note: Functions reference the i and j registers that belong to the calling drawing.
For example, a function called by DWG.H will reference the i and j registers for DWG.H.
We will describe this with examples for each register data type.
The data is little endian, as shown in the following example.
MB00001006
MW0000100 = 1234 hex
ML0000100 = 12345678 hex
MQ0000100 = 123456789ABCDEF0 hex
Information
FEDCBA9876543210Bit
MB00001006
MW0000100
MW0000100 1234 hex
ML0000100
MW0000100
5678 hex
MW0000101
1234 hex
MQ0000100
MW0000100
DEF0 hex
MW0000101
9ABC hex
MW0000102
5678 hex
MW0000103
1234 hex
DWG.H DWG.LDWG.A DWG.I
Motion
program*
Sequence
program*
i and j registers i and j registers i and j registers i and j registers i and j registers i and j registers

Table of Contents

Other manuals for YASKAWA JEPMC-CP3201-E

Related product manuals