2 DATA COMMUNICATION USING PREDEFINED PROTOCOL
2.3 Packet
43
2
■Data storage area configuration per one data
The following shows the data storage area configuration per one data.
●"Conversion Unit": Word, "Number of Decimals": No decimal Point/Fixed point
●"Conversion Unit": Word, "Number of Decimals": Variable point
For 'Variable Point', the decimal point position is set in the data storage area.
In the decimal point position area, the decimal point position is set as follows.
●"Conversion Unit": Double word, "Number of Decimals": No Decimal Point/Fixed point
●"Conversion Unit": Double word, "Number of Decimals": Variable Point
For 'Variable Point', the decimal point position is set in the data storage area.
In the decimal point position area, the decimal point position is set as follows.
■Range of value that can be used in the data storage area
The following table shows the range of value that can be used in the data storage area.
Send/receive data (number of digits of
data is 5)
Numeric data Decimal point position
12345 12345 (3039H) 1 (1H)
1234.5 12345 (3039H) 10 (0AH)
123.45 12345 (3039H) 100 (64H)
12.345 12345 (3039H) 1000 (3E8H)
1.2345 12345 (3039H) 10000 (2710H)
Send/receive data (number of digits of
data is 10)
Numeric data Decimal point position
1234567890 1234567890 (499602D2H) 1 (1H)
123456789.0 1234567890 (499602D2H) 10 (0AH)
12345678.90 1234567890 (499602D2H) 100 (64H)
1234567.890 1234567890 (499602D2H) 1000 (3E8H)
:::
1.234567890 1234567890 (499602D2H) 1000000000 (3B9ACA00H)
Conversion Sign Conversion unit Range of value
HEX ASCII decimal
ASCII decimal HEX
Unsigned Word 0 to 65535 (0H to FFFFH)
Double word 0 to 4294967295 (0H to FFFFFFFFH)
Signed Word -32768 to 32767 (8000H to FFFFH, 0H to 7FFFH)
Double word -2147483648 to 2147483647 (80000000H to FFFFFFFFH, 0H to 7FFFFFFFH)
HEX ASCII
hexadecimal
ASCII hexadecimal
HEX
Word 0H to FFFFH
Double word 0H to FFFFFFFFH
0H
Data storage area
Numeric data
0H
1H
Data storage area
Numeric data
Decimal point position
0H
1H
(L)
(H)
Data storage area
Numeric data
0H
1H
(L)
(H)
2H
3H
(L)
(H)
Data storage area
Numeric data
Decimal point position