TITAN-SVX Software Manual
page 16
Rev 4.01
4.1. MODBUS-ASCII
MODBUS ASCII uses all ASCII characters in the message.
Start
Address
Function
Data
LRC
End
#
Char
1
2
2
n
2
2
:
[01 to 99]
[FF]
[…n]
[CC]
CR/LF
Table 4.3
Note that all messages are ASCII characters. For example, slave of the address
of 3 will have a hex value of 0x03 and will be represented by two ASCII
characters of “03”.
Example 1:
Command from Master to TITAN-SVX for Coil Request
Start
:
(start character)
Address
01
(slave address 1)
Function
01
(function 1 – Coil Request)
Data
00
(High Byte - Coil Address)
00
(Low Bye - Coil Address)
00
(High Byte - Number of Coil)
01
(Low Byte - Number of Coil)
LRC
FD
(LRC)
End
CR
(Carriage Return)
LF
(Line Feed)
Reply from TITAN-SVX to Master
Start
:
(start character)
Address
01
(slave address 1)
Function
01
(function 1 – Coil Request)
Data
01
(Coil Data of 1)
00
(Coil Data)
LRC
FD
(LRC)
End
CR
(Carriage Return)
LF
(Line Feed)