Mitsubishi Electric MELSEC iQ-R Series User Manual page 40

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Non-conversion Variable
Use this element to send the data in the device memory of a CPU module or buffer memory as a part of a send packet, or
store a part of a receive packet to the device memory of a CPU module or buffer memory.
Item
Element Name
Fixed Length/Variable
Length
Data Length/
Maximum Data Length
Unit of Stored Data
Byte Swap
Data Storage Area
Specification
*1 Do not set local devices.
*2 Set within the device range specified in the following screen.
Project window  [Parameter]  CPU module type  [CPU Parameter]  [Memory/Device Setting]
2 DATA COMMUNICATION USING PREDEFINED PROTOCOL
38
2.3 Packet
Description
Set a name of the element.
Fixed Length
Sends and receives the data whose length is fixed.
Variable Length
• When sending: Specifies the data length at the time of the protocol execution and sends data.
• When receiving: Receives data whose data length is variable.
Set the length of data to be transmitted and received.
(For the variable length data, set the maximum data length that can be specified to the data length storage area.)
The range is 1 to 2048.
Lower Byte + Upper Byte
• When sending: Sends each one word (2 bytes) data in the data storage area in the order of the lower
byte to the upper byte.
• When receiving: Stores the received data to the data storage area in the order of the lower byte to the
upper byte.
Lower Bytes Only
• When sending: Sends only lower byte of data in the data storage area. C24 ignores data in the upper
byte.
• When receiving: Stores the received data in the only lower byte of the data storage area. C24 stores
00H in the upper byte.
Disable (lower -> upper)/
• When sending: When "Enable" is selected, sends data swapping the upper byte and lower byte by
Enable (upper -> lower)
word (2 bytes).
When "Unit of Stored Data" is "Lower Byte + Upper Byte" and "Data Length" is an odd number of bytes,
sends the upper byte at transmission of the last byte.
When "Unit of Stored Data" is "Lower Bytes Only" and "Data Length" is an odd number of bytes, sends
data without any byte swap at transmission of the last byte.
• When receiving: When 'Enable' is selected, receives data swapping the upper byte and lower byte by
word (2 bytes).
When "Unit of Stored Data" is "Lower Byte + Upper Byte" and "Data Length" is an odd number of bytes,
stores the last byte to the upper byte.
When "Unit of Stored Data" is "Lower Bytes Only" and "Data Length" is an odd number of bytes, stores
the last byte without any byte swap.
Specify a start device to store variable value.
■Settable devices
*1*2
Internal user
• Input (X)
• Output (Y)
• Internal relay (M)
• Latch relay (L)
• Link relay (B)
• Data register (D)
• Link register (W)
*2
File register
• File register (R,ZR)
Buffer memory
• G device (G)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents