Data To Be Specified In Command - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Data to be specified in command

This section explains the contents and specification methods for data items which are set in each command related to the
user frame.
Frame No.
Specify the number of target user frame.
Type
Setting value
Default registration frame
1H to 3E7H
User frame
3E8H to 4AFH
8001H to 801FH
■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
Send 2-byte numerical values from lower byte (L: bits 0 to 7).
Ex.
For 3E8H
ASCII code
0
3
E
8
30
33
45
38
H
H
H
H
Number of registration data byte, number of frame byte
Specify the number of bytes of registration data.
Function
Setting value
Data registration,
1H to 50H (1 to
read data
80)
Deletion
0H
For the number of registration data byte, calculate the variable data as 2 bytes.
For the number of frame byte, calculate the variable data as 1 byte.
For the variable data, refer to the following manuals.
 MELSEC-Q/L Serial Communication Module User's Manual (Application)
 MELSEC iQ-R Serial Communication Module User's Manual (Application)
■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
Send 2-byte numerical values from lower byte (L: bits 0 to 7).
Ex.
When the registration data is ETX + variable data (sum check code) + CR + LF
Number of registration data byte = 1-byte (ETX) + 2-byte (variable data) + 1-byte (CR) + 1-byte (LF) = 5
Number of frame byte = 1-byte (ETX) + 1-byte (variable data) + 1-byte (CR) + 1-byte (LF) = 4
Item
Number of registration data byte
Number of frame byte
Registration destination
ROM for C24 operating system
Flash ROM of C24
Buffer memory of C24 (addresses 1B00H to 1FF6H)
Binary code
E8
03
H
ASCII code
0
0
0
5
30
30
30
35
H
H
H
H
0
0
0
4
30
30
30
34
H
H
H
H
13 SERIAL COMMUNICATION MODULE DEDICATED COMMANDS
Remarks
Read only
Read, write, delete
Read, write, delete
Binary code
05
00
H
H
04
00
H
H
13.1 User Frame
13
247

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents