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.
Содержание MELSEC LJ71C24
Страница 1: ......
Страница 2: ......
Страница 18: ...A 16 A 16 INDEX REVISIONS WARRANTY...
Страница 22: ...A 20 A 20 2 LJ71C24 R2 LJ71C24 R2 Before Using the Product...
Страница 23: ...A 21 A 21 MEMO...
Страница 38: ...4 2 4 2 4 PROCEDURES PRIOR TO OPERATION MEMO 4...
Страница 105: ...7 30 7 30 7 SETTINGS FOR THE C24 MEMO...
Страница 391: ...App 62 App 62 APPENDIXES 3 Refresh parameter setting In Refresh Parameter set the following network parameters...
Страница 425: ......
Страница 426: ......
Страница 427: ......