Specifications
7. Application Instructions
© DELTA ELECTRONICS, INC. ALL RIGHTS RESERVED
7-45
character ‘ 0’ ‘ 1’ ‘ 2’ ‘ 3’ ‘ 4’ ‘ 5’ ‘ 6’ ‘ 7’
ASCII code 30H 31H 32H 33H 34H 35H 36H 37H
character ‘ 8’ ‘ 9’ ‘ A’ ‘B’ ‘ C’ ‘ D’ ‘ E’ ‘ F’
ASCII code 38H 39H 41H 42H 43H 44H 45H 46H
Start character (STX): ‘: ’ (3AH)
Communication Address:
‘ 0’ ‘ 0’: broadcast for all driver
‘ 0’ ‘ 1’: toward the drive at the 01 address
‘ 0’ ‘ F’: toward the drive at the 15 address
‘ 1’ ‘ 0’: toward the drive at the 16 address
and consequently, the Max. to be reached is 255 (‘ F’ ‘ F’ ).
Function code:
‘ 0’ ‘3’: read the contents of the register.
‘ 0’ ‘6’: write one WORD into the register.
‘1’ ‘0’: write contents of the register.
Data Characters:
The data characters that user transmits.
LRC check:
The LRC check is the added sum from “ Address” to “ Data Contents” . For
example, the 01H + 03H + 21H + 02H + 00H + 02H = 29H, then take the
complementary of 2, D7H.
End character:
END Hi = CR (0DH), END Lo = LF(0AH)
For example: when the address of the drive is set as 01H, read 2 data
contents that exist successively within the register, as shown follows: the
address of the start register is 2102H.
Inquiry message: Response message:
STX ‘:’ STX ‘:’
‘0’ ‘0’
Address
‘1’
Address
‘1’
‘0’ ‘0’
Function
‘3’
Function
‘3’
‘2’ ‘0’
‘1’
Number of data
(count by byte)
‘4’
‘0’ ‘1’
Start address
‘2’ ‘7’
‘0’ ‘7’
‘0’
Content of start
address
2102H
‘0’
‘0’ ‘0’
Number of data
(count by word)
‘2’ ‘0’
‘D’ ‘0’
LRC Check
‘7’
Content of address
2103H
‘0’
CR ‘ 7’
END
LF
LRC Check
‘1’
CR
END
LF
The RTU Mode (M1143=ON):
START Please refer to following explanation
Address Communication address: 8-bit binary
Function Function code: 8-bit binary
DATA (n-1)
…….
DATA 0
Data characters:
nͪ8-bit data
CRC CHK Low
CRC CHK High
CRC check:
16-bit CRC consists of 2 8-bit binary
END
Please refer to following explanation