13 SERIAL COMMUNICATION MODULE DEDICATED COMMANDS
13.1 User Frame
247
13
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.
■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).
For 3E8H
Number of registration data byte, number of frame byte
Specify the number of bytes of registration data.
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).
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
Type Setting value Registration destination Remarks
Default registration frame 1H to 3E7H ROM for C24 operating system Read only
User frame 3E8H to 4AFH Flash ROM of C24 Read, write, delete
8001H to 801FH Buffer memory of C24 (addresses 1B00H to 1FF6H) Read, write, delete
ASCII code Binary code
Function Setting value
Data registration,
read data
1H to 50H (1 to
80)
Deletion 0H
Item ASCII code Binary code
Number of registration data byte
Number of frame byte
05
H
00
H
04
H
00
H