Mitsubishi Electric MELSEC iQ-R Series User Manual page 534

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

Advertisement

• For conversion "HEX  ASCII decimal", "ASCII decimal  HEX"
C24
(Delimiter)
Data
transmission
a delimiter
"-_ _12.34,"
When "Delimiter" is ' , '
"-_ _12.34, "←"-_ _12.34"
(Delimiter)
No delimiter
Data
reception
Deleting
a delimiter
Comma,
"-_ _12.34,"
space
When "Delimiter" is ' , '
"-_ _12.34, "→"-_ _12.34"
APPENDICES APPENDIX
532
Appendix 5 Operation Image and Data Structure of Predefined Protocol
(Number of digits)
(Blank-padded character)
Digits are filled
No delimiter
Variable number of digits
Adding
Adding
blank-padded
Comma,
characters
space
When "Number of digits"
is '6'
and "Blank-padded
character" is 'Space'
"-_ _12.34" ← "-12.34"
* "_" indicates a blank.
(Number of digits)
(Blank-padded character)
No blank-padded character
Variable number of digits
Deleting
blank-padded
Blank-padded
characters
characters are
included
When "Number of digits" is '6'
and "Blank-padded character" is 'Space'
"-_ _12.34"→"-12.34"
* "_" indicates a blank.
(Number of decimals)
No decimal point
Adding
a decimal point
1 to 10
Digits are not filled
Variable point
(Blank-padded
character : 0)
When "Number of decimals" is '2'
Digits are not filled
(Blank-padded
character : space)
"-12.34"←"-1234"
(Number of data/Maximum number of data)
(Number of decimals)
ASCII decimal
(Unsigned)
No decimal point
Deleting
a decimal point
1 to 10
ASCII decimal
Variable
(Signed)
point
When "Number of
*Signed: When setting other
decimals" is '2'
than "Unsigned"
"-12.34"→"-1234"
(Number of data/Maximum number of data)
(Sign)
(Fixed number of data/
(Sign character)
Variable number of data)
(Conversion)
(Conversion unit)
Bin → ASCII
ASCII decimal(Unsigned)
conversion of
CPU device
send data
G device
BIN→ ASCII
Send data
conversion of send data
(numeric data)
ASCII decimal
Adding a sign character
(Signed)
When "Conversion unit" is 'Word',
and "Sign" is "Signed*"
-1234
D0
(FB2EH)
"-1234"← -1234
*Signed: When setting other
than "Unsigned"
(Sign)
(Fixed number of data/
(Sign character)
Variable number of data)
(Conversion)
(Conversion unit)
ASCII → BIN
conversion of
CPU device
received data
G device
Deleting a sign character
Received data
ASCII → BIN
(numeric data)
conversion of received data
When "Conversion unit" is 'Word',
and "Sign" is "Signed*"
-1234
"-1234"→-1234
D0
(FB2EH)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents