Mitsubishi Electric MELSEC-Q Series User Manual page 33

Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

(4) Arrangement of read/write data
The following explains the transmission method and placement of the bit device data and word device data
handled by device read/write operation.
The data is handled in word units during device read/write operation on the sample screen.
(a) When reading/writing the bit device memory
In the bit device memory, one word is expressed in 4-bit units sequentially from upper bits in hexadecimal.
Ex.
To write data to 32 points from the internal relay M16
(In the case of data read operation, the content of data (ON/OFF status) when 32 points are specified from the
internal relay M16 is shown.)
Specify each setting item as follows:
• Device code: Select "M".
• Start device: Specify "16".
• Number of device: Specify "2".
• Write data: Specify "AB1234CD".
The following data will be written. (In the case of device read operation, the following data will be read.)
A
B
B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0 B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
1 0 1 0 1 0 1 1 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 1 1 0 0 1 1 0 1
M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
CHAPTER 4 VERIFYING OPERATION OF WEB FUNCTION USING SAMPLE SCREEN
Data
Data
A B 1 2 3 4 C D
1
2
3
4
C
D
1: Indicates ON.
0: Indicates OFF.
4
31

Advertisement

Table of Contents
loading

Table of Contents