Conversion
Sign
HEX ASCII hexadecimal
ASCII hexadecimal HEX
■Settable devices
Settable devices to data storage area is follows.
Device
Input
Output
Internal relay
Latch relay
Link relay
File register
Link register
Data register
Considerations for configuring packet element
To place a Conversion variable in a packet, the following requirements need to be met.
■To place Conversion variable in send packet
Multiple Conversion variable elements can be placed in one packet, and they can be placed in desired positions in the data
portion.
■To place Conversion variable in receive packet
Multiple conversion variable elements can be placed in one packet in the cases not corresponding to (1), (2) and (3).
• Variable number of data (Only one Conversion variable can be placed in one packet, and either of the following (1) or (2)
need to be met.)
(1)
For discerning the data length of a Conversion variable, any of the following items is placed immediately after the
conversion variable.
- Static data
- Terminator
- Check code + Static data
- Check code + Terminator
(2)
Length is placed before a Conversion variable. (The Conversion variable needs to be included in the calculating
range.)
• Fixed number of data
Variable number of digits
(3)
When the number of data is 2 or more, or the number of data is 1 with no delimiter, only one conversion variable
can be placed in a packet and it needs to be placed in the order mentioned in variable number of data.
(4)
When a Conversion variable (the number of data is 1, with delimiter, and variable number of digits) and the
following four elements are placed in the same packet, these four elements need to be placed behind the
Conversion variable (the number of data is 1, with delimiter, and variable number of digits).
- Conversion variable (variable number of data)
- Conversion variable (fixed number of data and variable number of digits) (The case of (3). Excluding the case
where Number of Send Data is '1' and Delimiter is not No Delimiter.)
- Non-conversion variable (variable length)
- Non-verified reception (variable number of characters)
Note that two or more of these four elements cannot be placed in the same packet.
Fixed number of digits (1 to 10)
(5)
When a Conversion variable (variable decimal point) and the four elements mentioned in (4) are placed in the
same packet, these elements need to be placed behind the Conversion variable (variable decimal point).
(6)
When a Conversion variable (unsigned) and the four elements mentioned in (4) are placed in the same packet,
these elements need to be placed behind the Conversion variable (unsigned).
Conversion unit
Word
Double word
Setting range
X
0 to 1023
Y
M
0 to 32767
L
B
R
W
D
0 to 7999
Range of value
0H to FFFFH
0H to FFFFFFFFH
Remarks
When the assignment has been changed, the devices including the
one having the maximum device number after the change can be
accessed.
6 PREDEFINED PROTOCOL SUPPORT FUNCTION
6
187
6.7 Packet Setting