Basic Principles of Serial Data Transmission
2.8 Configuration data
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
88
Manual, 09/2008, A5E02191071-01
Protocol parameters
The table below describes the protocol parameters.
Table 2- 11 Protocol Parameters (ASCII Driver)
Parameters
Description
Range of values
Default value
Indicator for end of
receive message frame
Defines which criterion signals the
end of each message frame.
•
After expiration of the
character delay time
•
On receipt of end-of-text
character(s)
•
On receipt of a fixed
number of characters
After expiration of the
character delay time
2 ms to 65535 ms
The shortest character delay
time depends on the baud rate
Character delay time
The character delay time defines the
maximum permitted time between 2
consecutively received characters.
Baud
300
600
1200
2400
4800
9600
19200
38400
57600
76800
115200
Character
delay time
( ms )
130
65
32
16
8
4
2
2
2
2
2
4 ms
End-of-text character 1
2
Code of first end code.
•
With 7 data bits:
0 to 7FH (hex)
3
•
With 8 data bits:
0 to FFH (hex)
3
3 (03H = ETX)
End-of-text character 2
2
Code of second end code, if
specified.
•
With 7 data bits:
0 to 7FH (hex)
3
•
With 8 data bits:
0 to FFH (hex)
3
0
Message frame length
when received
1
When the end criterion is "fixed
message frame length", the number
of bytes making up a message frame
is defined.
1 to 4096 (bytes)
240
1
Can only be set if the end criterion is "Fixed message frame length".
2
Can only be set if the end criterion is "End-of-text character".
3
Depending on whether you assign 7 or 8 data bits for the character frame.
长沙工控帮教育科技有限公司
www.gkbpx.com