Download CP 340 Manual
Transcript
Basic Principles of Serial Data Transmission Receive Buffer on CP 340 Table 2-9 The table below describes the parameters for the CP receive buffer. Receive Buffer on CP (ASCII Driver) Parameter Description Value Range Default Value Delete CP receive buffer at start-up1 Here you can specify whether the CP receive buffer is to be deleted during start-up, or whether an existing (old) message frame is to be passed on to the CPU. • yes • no • yes Buffered receive message frames1 Here you can specify the number of receive message frames to be buffered in the CP receive buffer. 1 to 250 250 • yes • no (only if ”buff- • yes 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. Prevent overwrite 1 You can deactivate this parameter if the parameter ”buffered receive message frames” is set to ”1”. This authorizes the buffered receive message frame to be overwritten. ered receive message frames” = ”1”) If several message frames are buffered, the CP 340 always sends only the oldest to the CPU (ring buffer) Further Information 2-48 In Section 2.2.3 you can find further information on handling the receive buffer under “Receive Buffer on CP 340”. CP 340 Point-to-Point Communication ASE00053578-05