EasyManuals Logo

Siemens SIMATIC CP 340 User Manual

Siemens SIMATIC CP 340
200 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #50 background imageLoading...
Page #50 background image
Basic Principles of Serial Data Transmission
2.5 Data transfer using the ASCII driver
PtP coupling and configuration of CP 340
50 Manual, 04/2011, A5E00369892-03
2.5.2 Sending Data with the ASCII Driver
Sending
When sending data, specify the number of bytes of user data to be transmitted as the "LEN"
parameter when you call the P_SEND function block. The user data must contain any
required start-of-text and end-of-text characters.
If you are working with the end criterion "character delay time expired" when receiving data,
the ASCII driver will pause between two frames, even when sending. You can call the
P_SEND FB at any time, but the ASCII driver does not begin its output until a period longer
than the parameterized character delay time has elapsed since the last frame was sent.
Note
When XON/XOFF flow control is parameterized, the user data must not contain the
parameterized XON or XOFF characters. The default settings are
DC1 = 11H for XON and DC3 = 13H for XOFF.
Sending data
The figure below illustrates a send operation.
:DLWLQJIRU
VHQGUHTXHVW
6HQGLQJXVHU
GDWD
7KHDPRXQWRIGDWDWR
EHVHQWLVWDNHQIURP
WKH/(1SDUDPHWHURI
WKH3B6(1')%
5HTXHVWSURFHVVHG
6HQGUHTXHVWDUULYHG
Figure 2-14 Flowchart of a send operation

Table of Contents

Other manuals for Siemens SIMATIC CP 340

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC CP 340 and is the answer not in the manual?

Siemens SIMATIC CP 340 Specifications

General IconGeneral
BrandSiemens
ModelSIMATIC CP 340
CategoryComputer Hardware
LanguageEnglish

Related product manuals