8 DEVICE ACCESS
8.1 Data to be Specified in Commands
69
8
Device number
Specify the number of device to be accessed.
Specify the device number within the range of the access target module.
■Data communication in ASCII code
Convert the numerical value to 6-digit or 8-digit ASCII code, and sent it from the upper digits.
Specify the device number in decimal or hexadecimal, depending on the device type. (Page 70 Device code list)
• For MELSEC-Q/L series: 6-digit ASCII code
• For MELSEC iQ-R series: 8-digit ASCII code (10 digits at device extension specification)
The '0' in the upper digits can also be specified with a space (code: 20H).
■Data communication in binary code
Send the 3-byte or 4-byte numerical value in order from the lower byte (L: bit 0 to 7).
For a device of which device number is in decimal, convert it to hexadecimal and specify.
• For MELSEC-Q/L series: 3 bytes
*1
• For MELSEC iQ-R series: 4 bytes
*1
*1 For C24, the additional code may be added. (Page 35 Additional code (10H))
For input (X) 1234 (a device of which device number is in hexadecimal)
For internal relay (M) 1234 (a device of which device number is in decimal)
For binary code, convert the device number to hexadecimal. '1234' (decimal) '4D2' (hexadecimal)
For internal relay (M) 16 (with additional code)
For C24 binary code, specify '10H' as '10H + 10H'. (Page 35 Additional code (10H))
Subcommand type ASCII code Binary code
For MELSEC-Q/L series
For MELSEC iQ-R series
Subcommand type ASCII code Binary code
For MELSEC-Q/L series
For MELSEC iQ-R series
Subcommand type Binary code (For C24) Binary code (For E71)
For MELSEC-Q/L series
For MELSEC iQ-R series
34H 12H 00H
0
30
H
0
30
H
0
30
H
0
30
H
1
31
H
2
32
H
3
33
H
4
34
H
D2H 04H 00H
0
30
H
0
30
H
0
30
H
0
30
H
1
31
H
2
32
H
3
33
H
4
34
H
D2H 04H 00H 00H