Length - Mitsubishi MELSEC iQ-F FX5 User Manual

Hide thumbs Also See for MELSEC iQ-F FX5:
Table of Contents

Advertisement

Length

Use this element when an element indicating the data length is included in a packet.
• When sending: Calculates the data length of a specified range, and adds the result to a send packet.
• When receiving: Verifies the data (value) corresponding to the length in the received data as the data length of the specified
range.
For data examples of length, refer to Page 241 Data examples of Length.
Window
Item
Element Name
Code Type
Data Length
Data Flow
Calculating
Start
Range
End
Considerations for configuring packet element
• Only one terminator can be used in a packet.
• To configure the length, one or more other elements are needed.
7 PREDEFINED PROTOCOL SUPPORT FUNCTION
202
7.7 Packet Setting
Description
Set the name of the element.
Select a format of the data length.
• ASCII Hexadecimal
• ASCII Decimal
• HEX
Select the data length on the line.
The range is 1 to 4.
Forward Direction
When
(Upper Byte→Lower Byte)
sending
When
receiving
Reverse Direction
When
(Lower Byte→Upper Byte)
sending
When
receiving
Byte Swap
When
(by Word)
sending
When
receiving
Select the start packet element numbers for the calculating range.
The range is 1 to 32.
Select the last packet element numbers for the calculating range.
The range is 1 to 32.
Sends a calculated length from the upper byte.
Receives data from the upper byte.
Sends a calculated length from the lower byte.
Receives data from the lower byte.
Sends a calculated length swapping the upper byte and
lower byte by word.
Receives data swapping the upper byte and lower byte
by word.
Remarks
Data flow setting is
invalid when data length
is 1 byte.
Data flow setting is
invalid when data length
is 1 to 3 byte.
Refer to Page 243.

Advertisement

Table of Contents
loading

Table of Contents