File Register (R) - Mitsubishi Electric melsec q00ujcpu User Manual

Programmable controller
Hide thumbs Also See for melsec q00ujcpu:
Table of Contents

Advertisement

9.7 File Register (R)

(1) Definition
The file register (R) is a device provided for extending the data register.
The file register can be used at the same processing speed as the data
(2) Bit structure od the file register
(a) Bit structure and read/write unit
One point of the file register consists of 16 bits, and data can be read or written in units of 16 bits.
(b) When using a 32-bit instruction for the file register
The processing target is R
The lower 16 bits correspond to the file register number (Rn) specified in the sequence program, and the
higher 16 bits correspond to the specified file register number + 1.
For example, when R2 is specified in the DMOV instruction, R2 represents the lower 16 bits and R3 represents
the higher 16 bits.
Data of -2147483648 to 2147483647 or 0
(The most significant bit in a 32-bit structure is a sign bit.)
注 1
Note9.4
Universal
The Q00UJCPU does not have the file register.
Note9.4
MOV
K100 R2
Figure 9.66 Writing to the file register
b15
Rn
Most significant bit represents a sign bit.
Figure 9.67 Bit structure of the file register
and R
.
n
n +1
DMOV
Figure 9.68 Data transfer with a 32-bit instruction and storage location
H
register.íç1
File register
R0
R1
100 is written to R2.
R2
to
D0
R2
Processing target: R2, R3
R3
Upper 16 bits Lower 16 bits
to FFFFFFFF
can be stored in a two-point area of the file register.
H
CHAPTER9 DEVICES
b0
R2
9 - 53
9
2
3
4
5
6
7
8

Advertisement

Table of Contents
loading

Table of Contents