9 - 7 9 - 7
9 DATA COMMUNICATION USING THE PREDEFINED PROTOCOL
9.3 Packet Elements
A packet consists of packet elements.
Up to 32 elements can be placed in a packet, and the maximum data length is 2048
bytes per packet.
The following shows the details of the packet elements. Also, refer to Appendix 5.3 for
an example of packet element data.
(1) Header
Use this element when a specific code/character string exists at the beginning of
a packet.
•
When sending: Sends a specified code and character string.
•
When receiving: Verifies a header and receive data.
The following table is the items.
Item Description Remark
Element Name
Set a name of the element.
-
Code Type
Select a data type of the setting value.
ASCII String/ASCII Control Code/HEX
-
Set data within 1 to 50 bytes.
Code type
Setting range
ASCII
String
20
H
to 7F
H
ASCII Control Code 00
H
to 1F
H
, and 7F
H
of control code
HEX
00
H
to FF
H
of hexadecimal data
Setting Value
(Setting example)
ASCII String
: "ABC"
ASCII Control Code: STX
HEX
: FFFF
POINT
y
Only one Header can be placed in a packet.
y
A Header can be placed only at the beginning of a packet.
Summary of Contents for MELSEC LJ71C24
Page 1: ......
Page 2: ......
Page 18: ...A 16 A 16 INDEX REVISIONS WARRANTY...
Page 22: ...A 20 A 20 2 LJ71C24 R2 LJ71C24 R2 Before Using the Product...
Page 23: ...A 21 A 21 MEMO...
Page 38: ...4 2 4 2 4 PROCEDURES PRIOR TO OPERATION MEMO 4...
Page 105: ...7 30 7 30 7 SETTINGS FOR THE C24 MEMO...
Page 425: ......
Page 426: ......
Page 427: ......