Siemens SIMATIC CP 340 User Manual page 119

Ptp coupling and configuration
Hide thumbs Also See for SIMATIC CP 340:
Table of Contents

Advertisement

Note
The EN and ENO parameters are only present in the graphical representation (LAD or FBD).
To process these parameters, the compiler uses the binary result.
The binary result is set to signal state "1" if the block was terminated without errors. If there
was an error, the binary result is set to "0".
A minimum pulse time is necessary for a signal change to be identified. Significant time
periods are the CPU cycle time, the updating time on the CP 340 and the response time of
the communication partner.
Assignment in the data area
The function V24_STAT FC does not occupy any data areas.
V24_STAT (FC 5) parameters
The table below lists the parameters of the V24_STAT function (FC 5).
Table 6- 5
V24_STAT (FC 5) parameters
Name
Type
LADDR
INPUT
DTR_OUT
OUTPUT
DSR_IN
OUTPUT
RTS_OUT
OUTPUT
CTS_IN
OUTPUT
DCD_IN
OUTPUT
RI_IN
OUTPUT
PtP coupling and configuration of CP 340
Manual, 04/2011, A5E00369892-03
6.5 Use of function blocks for reading and controlling the RS 2332C secondary signals
Data type
INT
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
Comment
CP 340 base address
Data terminal ready,
CP 340 ready
Data set ready,
Communication partner ready
Request to send,
CP 340 ready to send
Clear to send,
Communication partner can
receive data from the CP 340
(response to RTS = ON of the
CP 340) (see Chapter RS 232C
accompanying signals
(Page 46)")
Data Carrier detect,
receive signal level
Ring Indicator,
Indication of incoming call
Communication using function blocks
Permitted values, remark
The base address is taken from
STEP 7.
(CP 340 output)
(CP 340 input)
(CP 340 output)
(CP 340 input)
(CP 340 input)
(CP 340 input)
119

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents