User manual
Chapter 8 MODBUS Communications ASDA-A User Manual
4th Edition 2005/11/30, HE03 © DELTA ELECTRONICS, INC. ALL RIGHTS RESERVED
8-10
Command code: 06H, write 1 word
For example, writing 100 (0064H) to starting data address 0200H of ASDA-A series with address 01H.
ASCII Mode:
Command message: Response message:
STX ‘:’ STX ‘:’
‘0’ ‘0’
ADR
‘1’
ADR
‘1’
‘0’ ‘0’
CMD
‘6’
CMD
‘6’
‘0’ ‘0’
‘2’ ‘2'
‘0’ ‘0’
Starting data
address
‘0’
Starting data
address
‘0’
‘0’ ‘0’
‘0’ ‘0’
‘6’ ‘6’
Content of data
‘4’
Content of data
‘4’
‘9’ ‘9’
LRC Check
‘3’
LRC Check
‘3’
End 1 (0DH)(CR) End 1 (0DH)(CR)
End 0 (0AH)(LF) End 0 (0AH)(LF)
RTU Mode:
Command message: Response message:
ADR 01H ADR 01H
CMD 06H CMD 06H
02H (Upper bytes) 02H (Upper bytes) Starting data
address
00H (Lower bytes)
Starting data
address
00H (Lower bytes)
00H (Upper bytes) 00H (Upper bytes)
Content of data
64H (Lower bytes)
Content of data
64H (Lower bytes)
CRC Check Low 89H (Lower bytes) CRC Check Low 89H (Lower bytes)
CRC Check High 99H (Upper bytes) CRC Check High 99H (Upper bytes)
CHK (check sum)
LRC (ASCII Mode):
LRC (Longitudinal Redundancy Check) is calculated by summing up, module 256, the values of the bytes
from ADR to last data character then calculating the hexadecimal representation of the 2’s-complement
negation of the sum.
For example, reading 1 word from address 0201H of the ASDA-A series AC servo drive with address 01H.
STX ‘:’
‘0’ADR
‘1’
‘0’CMD
‘3’
‘0’
‘2’
Starting data address
‘0’