Programming Example For Standard Function Blocks; General Information; Device Configuration - Siemens SIMATIC S7-400 Equipment Manual

Hide thumbs Also See for SIMATIC S7-400:
Table of Contents

Advertisement

Programming Example for Standard Function Blocks

9.1

General Information

Introduction
The project example given here and contained in the CP440_PtP_Com project describes the
standard functions for operating the CP 440 communication processor.
The example can be executed with the minimum hardware equipment. The STEP 7 function
monitor/modify variables is also used (e.g. to modify transmitted data).
Objective
The project example is intended to do the following:
• aims to show the most important functions,
• to enable the correct functioning of the connected hardware to be checked (the example is
therefore simple and easy to follow)
• can easily be extended for your own purposes.
The project example consists of the following five separate components:
• CP440 SEND RECV: Interconnection with SEND and RECV for ASCII/3964(R)
• CP440 1CYC: Interconnection with SEND and RECV for ASCII/3964(R), cyclic job processing
• CP440 ASCII BCC: Interconnection for ASCII with block check formation
• CP440 MASTER: Master station for interconnection with ASCII protocol
• CP440 SLAVE: Slave station for interconnection with ASCII protocol
The CP 440 is assigned parameters by the CPU when the latter is started up (system service).
9.2

Device Configuration

Application
To try out the program example, you could use the following devices:
• One S7-400 PLC (mounting rack, power supply, CPU)
• One CP 440 module with a communications partner (e.g. a second CP), or you could plug in
a "short-circuit connector", i.e. the send line is bridged to the receive line
• A programming device (e.g. PG 740)
Point-to-point connection CP 440 Installation and Parameter Assignment
Equipment Manual, 03/2022, A5E00057742-AE
9
107

Advertisement

Table of Contents
loading

Table of Contents