Mitsubishi Electric FX5 User Manual page 56

Melsec iq-f series, ethernet communication
Hide thumbs Also See for FX5:
Table of Contents

Advertisement

Non-conversion variable
Use this to send the CPU module device data as part of the send packet, or to store part of the received packet in the CPU
module device.
Multiple non-conversion variable can be arranged in one packet.
The following table lists the items.
Item
Description
Element Name
Set the element name.
Fixed Length/
Fixed Length
Variable Length
Variable Length
Data Length/
Set the data length of the send/receive data.
Maximum Data
(For a variable length, set the maximum data length that can be specified for the data length storage area.)
Length
The range is 1 to 2046.
Unit of Stored Data
Lower byte + Upper byte
Lower Bytes Only
Byte Swap
Disable (Lower -> Upper)/
Enable (Upper -> Lower)
Data Storage Area
Specify the start device for storing the variable value.
Specification
The settable devices are listed below.
User device
• Input (X)
• Output (Y)
• Internal relay (M)
• Latch relay (L)
• Link relay (B)
• Data register (D)
• Link register (W)
File register
• File register (R)
*1 Do not set local devices.
*2 Set within the device range specified with "Device/Label Memory Area Setting" in "Memory/Device Setting" under "CPU Parameters".
6 PREDEFINED PROTOCOL SUPPORT FUNCTION
54
6.3 Packet Elements
The data whose length is fixed is sent and received.
When sending: The data length is specified at the time of the protocol execution and the data is sent.
When receiving: The data whose length is variable is received.
When sending: Each one word (2 bytes) data in the data storage area is sent in the order of the lower
byte to the upper byte.
When receiving: The receive data is stored to the data storage area in the order of the lower byte to the
upper byte.
When sending: Each lower byte data in the data storage area is sent. The CPU module ignores the
upper byte data.
When receiving: The receive data is stored to each lower byte in the data storage area. The CPU
module stores 00H in the upper byte.
When sending: When "Enable (Upper -> Lower)" is selected, data in the upper byte and lower byte are
swapped by one word (2 bytes) and sent. When "Unit of Stored Data" is "Lower Byte + Upper Byte" and
"Data Length" is an odd number of bytes, the upper byte is sent at transmission of the last byte. When
"Unit of Stored Data" is "Lower Bytes Only" and "Data Length" is an odd number of bytes, data without
any byte swap is sent at transmission of the last byte.
When receiving: When "Enable (Upper -> Lower)" is selected, data in the upper byte and lower byte are
swapped by word and sent. When "Unit of Stored Data" is "Lower Byte + Upper Byte" and "Data Length"
is an odd number of bytes, the last byte is stored to the upper byte. When "Unit of Stored Data" is
"Lower Bytes Only" and "Data Length" is an odd number of bytes, the last byte is stored without any
byte swap.
*1*2
*2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents