Chapter 5 Parameters
|
VFD-S Series
Revision August 2006, SE08, SW V2.61
5-65
Start
bit
0
1
2
3
4
5
6
Stop
bit
Stop
bit
8-bit character
11-bit character frame
( 8.N.2 )
Start
bit
0
1
2
3
4
5
6
Even
parity
Stop
bit
11-bit character frame
( 8.E .1 )
Start
bit
0
1
2
3
4
5
6
Stop
bit
11-bit character frame
( 8.O.1 )
Odd
parity
7
7
7
8-bit character
8-bit character
3. Communication Protocol
3.1 Communication Data Frame:
ASCII mode:
STX
Start character ‘:’ (3AH)
ADR 1
ADR 0
Communication address:
8-bit address consists of 2 ASCII codes
CMD1
CMD0
Command code:
8-bit command consists of 2 ASCII codes
DATA (n-1)
…….
DATA 0
Contents of data:
n x 8-bit data consist of 2n ASCII codes.
n <= 25
,
maximum of 50 ASCII codes
LRC CHK 1
LRC CHK 0
LRC check sum:
8-bit check sum consists of 2 ASCII codes
END1
END0
End characters:
END1= CR (0DH), END0= LF (0AH)
RTU mode:
START
A silent interval of more than 10 ms
ADR
Communication address: 8-bit address
CMD
Command code: 8-bit command
DATA (n-1)
…….
DATA 0
Contents of data:
n x 8-bit data, n<= 25
CRC CHK
Low
CRC CHK
High
CRC check sum:
16-bit check sum consists of 2 8-bit characters
END
A silent interval of more than 10 ms