Mitsubishi Electric R16MTCPU Programming Manual page 125

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

• 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.
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)
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.
• Data register (D)
• Link register (W)
• Motion register (#)
• Special register (SD)
Ex.
Description examples
Good example
#(D10)
D(#10L)F
#(D10).1
■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.
Usable data
Usable operators
Bad example
#(D(D5))
D(#4F)
#10.(D5)
16-bit integer type word device
32-bit integer type word device
16-bit integer type constant
32-bit integer type constant
Addition: +
Subtraction: -
Multiplication: *
Division: /
Remainder: %
Sign inversion: -
4 OPERATION CONTROL PROGRAMS
4.2 Device Descriptions
4
123

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents