Basic Principles of Serial Data Transmission
2.8 Configuration data
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
Manual, 09/2008, A5E02191071-01
91
Receive buffer on CP
The table below describes the parameters for the CP receive buffer.
Table 2- 14 Receive buffer on CP (ASCII driver)
Parameters
Description
Range of values
Default value
Delete CP receive
buffer at startup
You can specify whether the CP receive buffer
should be deleted on startup or an existing (old)
frame should be sent to the CPU.
•
Yes
•
No
No
Buffered receive
message frames
You can specify the number of receive message
frames to be buffered in the CP receive buffer.
If you specify "1" here and deactivate the
following parameter "prevent overwrite" and
cyclically read the received data from the user
program, a current message frame will always
be sent to the CPU.
1 to 250
250
Prevent overwriting
You can deactivate this parameter if the
"buffered receive message frames" parameter is
set to "1". This authorizes the overwriting of the
buffered receive message frame.
•
Yes
•
No (only if "Buffered receive
message frames" = "1")
Yes
Extended error display
at the receive FB
Activate the parameter "Display receive error at
FB" to also display a message frame received
with errors at the status output of the function
block P_RCV_RK.
If the parameter is deactivated, an entry is only
created in the diagnostic buffer of the CP 341.
•
Yes
•
No
No
Further information
Additional information regarding handling of the receive buffer can be found in Section "Data
Transmission with the ASCII Driver (Page 62)" in "Receive buffer on CP 341".
长沙工控帮教育科技有限公司
www.gkbpx.com