Number Of Bytes; Read Data, Write Data - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Number of bytes

Specify the number of bytes of data to be read or written as one address/one byte.
Setting method
■Data communication in ASCII code
Convert the numerical value to 4-digit ASCII code (hexadecimal), and send it from the upper digits.
■Data communication in binary code
*1
Send 2-byte numerical values
from the lower byte (L: bits 0 to 7).
*1 For C24, the additional code may be added. (Page 35 Additional code (10H))
12
Ex.
Number of bytes is 780H(1920)
ASCII code
Binary code
0
7
8
0
30
37
38
30
80
07
H
H
H
H
H
H

Read data, write data

This is a content of file to be read/written. The data for 1 address is handled as 1-byte.
Read data
The data which have been read is stored.
The "Read data" is variable length. The length of data is specified with "Number of bytes read".
Write data
The data to be written is stored.
The "Write data" is variable length. The length of data is specified with "Number of bytes written".
The order of data must be the same as the read data.
■Data communication in ASCII code
Convert the 1-byte data (1 address) to 2-digit ASCII code (hexadecimal) ,and send it from the upper digits.
■Data communication in binary code
Send 1 address as 1 byte.
12 FILE CONTROL
209
12.3 Data to be specified in commands

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents