Data To Be Specified In Command - Mitsubishi Electric MELSEC IQ-R series Reference Manual

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

Data to be specified in command

Device codes, device numbers
The settings of each device when reading/writing device memory can be performed using device code and device number as
shown in the following figure.
Specify the device to be accessed by a device code and a device number.
The setting data size differ between ACPU common commands and AnA/AnUCPU commands.
The setting data size differ when the device type is timer or counter.
Device type
Other than timer and counter
Timer, counter
■ACPU common commands
• Device code: Convert the device name to 1-digit ASCII code (2-digits for timer or counter), and send it from the upper digits.
• Device number: Convert the numerical value to 4-digit ASCII code (3-digits for timer or counter), and send it from the upper
digits.
■AnA/AnUCPU common commands
• Device code: Convert the device name to 1-digit ASCII code (2-digits for timer or counter), and send it from the upper digits.
• Device number: Convert the numerical value to 6-digit ASCII code (5-digits for timer and counter), and send it from the
upper digits.
Ex.
Current value of input (X) 40 and timer (T) 10
Device
Input (X) 40
Current value of timer (T) 10
ACPU common command
Device
Device number
code
(4 digits)
(1 digit)
Device
code Device number
(2 digits)
(3 digits)
ACPU common command
X
0
0
4
58
30
30
34
H
H
H
H
T
S
0
1
54
4E
30
31
H
H
H
H
AnA/AnUCPU common command
Device
code
(1 digit)
Device
code
(2 digits)
AnA/AnUCPU common command
0
X
30
58
H
H
0
T
30
54
H
H
17 COMMUNICATING USING 1C FRAMES
17.4 Device Memory Read and Write
Device number
(6 digits)
Device number
(5 digits)
0
0
0
0
4
0
30
30
30
30
34
30
H
H
H
H
H
H
S
0
0
0
1
0
4E
30
30
30
31
30
H
H
H
H
H
H
17
351

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents