EasyManua.ls Logo

Mitsubishi Electric R64MTCPU - Page 125

Mitsubishi Electric R64MTCPU
354 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...
4 OPERATION CONTROL PROGRAMS
4.2 Device Descriptions
123
4
When using the device in DIN or DOUT as batch bit data, specify "n" as a multiple of 16.
When using the following device as batch bit data, specify it as word device without making bit specification.
Indirect specification of device No.
In word/bit device descriptions, device No. (n) can be specified indirectly.
Indirect specification of device No. (n) using word device
The word device which the device No. was specified indirectly cannot be used.
You can use the 16-bit and 32-bit integer type word devices for indirect specification. The 64-bit floating-point type cannot
be used.
The word devices that can indirectly specify device No.(n) are shown below.
Ex.
Description examples
Indirect specification of device No. (n) using word device using operation expression
Device No. can be specified indirectly by calculation expressions which use the following data and operators.
Device name
Data register (D)
Link register (W)
Motion register (#)
Special register (SD)
CPU buffer memory access device (U3E\G)
CPU buffer memory access device (fixed scan communication area) (U3E\HG)
Module access device (U\G)
Data register (D)
Link register (W)
Motion register (#)
Special register (SD)
Good example Bad example
#(D10) #(D(D5))
D(#10L)F D(#4F)
#(D10).1 #10.(D5)
Usable data 16-bit integer type word device
32-bit integer type word device
16-bit integer type constant
32-bit integer type constant
Usable operators Addition: +
Subtraction: -
Multiplication: *
Division: /
Remainder: %
Sign inversion: -

Table of Contents

Other manuals for Mitsubishi Electric R64MTCPU

Related product manuals