EasyManuals Logo
Home>Siemens>Computer Hardware>SIMATIC CP 340

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 #118 background imageLoading...
Page #118 background image
Communication using function blocks
6.5 Use of function blocks for reading and controlling the RS 2332C secondary signals
PtP coupling and configuration of CP 340
118 Manual, 04/2011, A5E00369892-03
6.5 Use of function blocks for reading and controlling the RS 2332C
secondary signals
Introduction
The functions available for reading and controlling the RS 232C secondary signals are
V24_STAT (FC 5) for checking the interface statuses and V24_SET (FC 6) for
setting/resetting the interface outputs.
Checking the interface states of the CP 340
The V24_STAT FC reads the RS 232C secondary signals from the CP 340 and makes them
available to the user in the block parameters. The V24_STAT FC is called statically (without
conditions) for data transmission in the cycle or alternatively in a time-controlled program.
The RS 232C secondary signals are updated each time the function is called (cyclic polling).
The CP 340 updates the status of the inputs/outputs in a timebase of 20 ms. The
inputs/outputs are constantly updated independently of this.
The binary result BR is not affected. The function does not issue error messages.
The LADDR parameter defines the CP 340 to be addressed.
Block call
STL representation LAD representation
CALL V24_STAT
LADDR: =
DTR_OUT: =
DSR_IN: =
RTS_OUT: =
CTS_IN: =
DCD_IN: =
RI_IN: =
(1 (12
/$''5 '75B287
 '65B,1
576B287
&76B,1
'&'B,1
9B67$7
5,B,1

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