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

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

Advertisement

Communicating data (when communicating in ASCII code)
■When bit device memory is read or written
The bit device memory is handled in 1-bit (1-point) units or in 1-word (16-point) units.
The transfer data in each case is described below.
• In 1-bit (1-point) units
When the bit device memory is handled in 1-bit (1-point) units, a specified number of devices starting from the specified start
device are expressed in turn from the left end in "1 (31H)" for the on status or "0 (30H)" for the off status.
Ex.
When indicating the on/off status of five devices starting from M10
Device
Head device No.
code
M
*
0
0
0
4DH
2AH
30H
30H 30H 30H 31H 30H 30H 30H 30H
• In 1-word (16-point) units
When the bit device memory is handled in 1-word units, one word is expressed in 4-bit units in turn from the most significant
bit in hexadecimal.
Ex.
When indicating the on/off status of 32 devices starting from M16
Devide
code
M
*
4DH
2AH
30H
A
B
b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
b15
1 0 1 0 1 0 1 1 0 0 0 1 0 0 1 0 0 0 1 1
M
M
M
M
M
M
M
M
M
31
30
29
28
27
26
25
24
23
3 MESSAGE FORMAT
28
3.1 Message Format
Number of
adevices
0
1
0
0
0
0
5
1
35H
31H
Number of
Head device No.
devices
0
0
0
0
1
6
0
0
30H 30H 30H 31H 36H 30H 30H 30H
1
2
3
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
M
M
M
M
M
M
M
M
M
M
M
22
21
20
19
18
17
16
47
46
45
44
Head End
Data
0
1
0
1
30H
31H
30H
31H
Indicates that M14 is ON.
Indicates that M13 is OFF.
Indicates that M12 is ON.
Indicates that M11 is OFF.
Indicates that M10 is ON.
Because devices are handled in 16 point units,
the number of device is "0002".
Data
0
2
A
B
1
2
3
32H
33H
32H
41H
42H
31H
4
C
D
0 1 0 0 1 1 0 0 1 1 0 1
M
M
M
M
M
M
M
M
M
M
M
43
42
41
40
39
38
37
36
35
34
33
Data
4
C
D
43H
44H
34H
1: Indicates ON.
0: Indicates OFF.
M
32

Advertisement

Table of Contents
loading

Table of Contents