102
(2) Length
This element is used when an element indicating the data length is included in a packet.
• When sending: The data length of the specified range is calculated and the result is added to a send packet.
• When receiving: The data (setting value) corresponds to the Length in the receive data is verified as the data
length of the specified range.
Length elements can be placed anywhere in the data part.
The following table lists the items.
*1 Available only when the Data Length is 4 bytes.
Item Description Remark
Element Name Set name of the element.
Code Type
Select a format of the data length.
ASCII Hexadecimal/HEX
Data Length
Select the data length on the line.
The range is 1 to 4.
Data Flow
Forward Direction
(Upper ByteLower Byte)
When sending: The calculated Length is sent from the
upper byte.
When receiving: The data is received from the upper byte.
Not settable when Data
Length is 1 byte
Reverse Direction
(Lower ByteUpper Byte)
When sending: The calculated Length is sent from the
lower byte.
When receiving: The data is received from the lower byte.
Byte Swap (by Word)
*1
When sending: The calculated Length is sent swapping
the upper byte and lower byte by word.
When receiving: The data is received swapping the upper
byte and lower byte by word.
Calculating
Range
Start
Select the start element number of the calculating range.
The range is 1 to 32.
End
Select the end element number of the calculating range.
The range is 1 to 32.