EasyManua.ls Logo

Siemens SIMATIC CP 340 - Page 158

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
Loading...
Programming Example for Standard Function Blocks
9.7 Activation, Start-Up Program and Cyclic Program
PtP coupling and configuration of CP 340
158 Manual, 04/2011, A5E00369892-03
Data is sent to the communication partner on a signal change from "0" → "1" at input I 0.6
(PRINT REQ).
A RESET PRINT can be sent to the CP 340 when the signal at input I 0.2 is at "1". If the
signal state is statically "1", the sending of data has been deactivated.
In the example, the standard function V24_STAT is also still being called cyclically. The state
of the CP 340 inputs/outputs is displayed at output byte QB 5.
Example
Example of a printout with the example program for the CP 340:
SIMATIC S7/CP 340
Example for print mode
At 23:32:07.754 hours: Level reaches upper limit
At 23:32:16.816 hours: Level exceeds upper limit
At 23:32:21.681 hours: Level falls below upper limit
The level 200 l was reached at 23:32:26.988 hours
Copyright © Siemens AG 1996. All rights reserved

Table of Contents

Other manuals for Siemens SIMATIC CP 340

Related product manuals