Mitsubishi Electric MELSEC iQ-F Series FX5 User Manual page 37

Hide thumbs Also See for MELSEC iQ-F Series FX5:
Table of Contents

Advertisement

■Head device No. (device No.)
Data for specifying the number of the device to read data from or write data to. When specifying continuous device areas,
specify the head number of the device range.
The head device number is specified by the data expression (decimal or hexadecimal) shown in the "Device number" column
of the table shown in Page 44 Device range according to the corresponding device.
When communicating data in ASCII code
The device number shown in the table (Page 44) is converted to a 6-digit ASCII code (when word device is specified) or
8-digit ASCII code (when long device is specified), and sequentially sent beginning from the most significant digit.
The "0" column of the most significant digit (in for example "001234", this refers to "0" of the first two characters) can also be
specified by a space (code: 20H).
Ex.
In the case of the device number is "1234"
2 digit code/6 digit number specification
When communicating data in binary code
The 3-byte (2 digit code/6 digit number specification) or 4-byte (4 digit code/8 digit number specification) binary code with the
device number specified by the device specification format is sequentially sent starting from the low byte. The device with
decimal device number is sent after converting to hexadecimal device number.
Ex.
In case of internal relay M1234 and link relay B1234
2 digit code/6 digit number specification
4 digit code/8 digit number specification
Internal relay M1234 becomes 0004D2H and is sent in the order of D2H, 04H, and 00H.
Link relay B1234 becomes 001234H and is sent in the order of 34H, 12H, and 00H.
■Number of devices
This data is for specifying the number of points to be read or written when each command is executed. It must be specified
within the limits to the number of points that can be processed per communication shown in the table in Page 43
Commands.
When communicating data in ASCII code
Points are converted into 4-digit hexadecimal ASCII code (when word device is specified) or 8-digits ASCII code (when long
device is specified) with the device number that specified by the device specification format and sequentially sent beginning
from the most significant digit. Use capitalized code for alphabetical letter in ASCII code.
Ex.
In the case of 5 points and 20 points
5 points
20 points
0
0
0
5
0
0
1
30H
30H
30H
35H
30H
30H
31H
0
0
1
2
3
4
30H
30H
31H
32H
33H
34H
M1234
B1234
D2H 04H 00H
34H 12H 00H
M1234
B1234
D2H 04H
00H
00H
34H 12H
4
34H
4 digit code/8 digit number specification
00H
00H
0
0
0
0
1
2
3
4
30H
30H
30H
30H
31H
32H
33H
34H
3 MESSAGE FORMAT
3.1 Message Format
3
35

Advertisement

Table of Contents
loading

Table of Contents