Interface Status Of The Cp 341, Checking - Siemens Simatic S7-300 CP 341 User Manual

Point-to-point communication, installation and parameter assignment
Table of Contents

Advertisement

6.5.2

Interface status of the CP 341, checking

The FC V24_STAT reads the RS 232C accompanying signals from the CP 341 and makes
them available to the user in the block parameters. The FC V24_STAT is called cyclically or,
alternatively, statically (without conditions) in a time-controlled program.
The RS 232C accompanying signals are updated each time the function is called (cyclic
polling). The CP 341 updates the status of the inputs/outputs in a time grid 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 341 to be addressed.
What is to be done?
Block call
STL representation
CALL
Note
The parameters EN and ENO are only present in the graphical representation (LAD or FBD).
To process these parameters, the compiler uses the binary result BR.
Assignment in the data area
The FC V24_STAT function does not occupy any data areas.
Note
A minimum pulse duration is necessary to detect a signal change. Determining factors are
the CPU cycle time, the update time on the CP 341, and the response time of the
communication partner.
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
Manual, 09/2008, A5E02191071-01
www.gkbpx.com
V24_STAT
LADDR:
=
DTR_OUT:
=
DSR_IN:
=
RTS_OUT:
=
CTS_IN:
=
DCD_IN:
=
RI_IN:
=
Communication via Function Blocks
6.5 Using the System Function Blocks with the ASCII Driver
LAD representation
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/
161

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents