Details Of Setting Data; Header; Subheader - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

5.3

Details of Setting Data

This section explains how to specify the common data items and their content in each message.
For the setting data with 1E frame, refer to the following section.
Page 391 Details of Setting Data

Header

A header for TCP/IP and UDP/IP. A header of a request message is added on the external device side and sent. Normally, it
is added automatically by an external device. A header for a response message is set automatically by E71.

Subheader

The value to be set according to type of message is defined.
Setting method for 4E frame
Set the fixed value (request message: '5400', response message: 'D400') and a serial No. (0000H to FFFFH).
A serial No. is an arbitrary number that is added on the external device side for message recognition. When a request
message is sent with a serial No. added, the same serial No. is added to the response message. Use a serial No. when
transmitting more than one request messages from an external device to the same supported device.
Serial No. added on the external device side must be managed at the external device side.
■Data communication in ASCII code
It's 12 bytes in total.
A fixed value is set by 4-digit ASCII code.
For the serial No., convert the numerical value to 4-digit ASCII code (hexadecimal), and send it from the upper digits.
The 4-byte '0' (30H) is inserted after the serial No.
■Data communication in binary code
It's 6 bytes in total.
A fixed value is set in 2 bytes.
For the serial No., send 2-byte numerical value from the lower byte (L: bits 0 to 7).
The 2-byte '0' (00H) is inserted after the serial No.
Ex.
Request message (serial No. '1234')
ASCII code
5
4
0
0
1
35
34
30
30
31
H
H
H
H
H
(Fixed value)
Setting method for 3E frame
Set the fixed value (request message: '5000', response message: 'D000').
Request message
ASCII code
5
0
0
0
35
30
30
30
H
H
H
H
5 MESSAGES OF ETHERNET INTERFACE MODULE
42
5.3 Details of Setting Data
Serial number
2
3
4
0
0
0
32
33
34
30
30
30
H
H
H
H
H
H
(Free)
Binary code
Serial number
0
54
00
34
30
H
H
H
(Fixed value)
Binary code
50
00
H
H
12
00
00
H
H
H
H
(Free)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents