EasyManua.ls Logo

Siemens SIMATIC S7 CP340 - Page 23

Siemens SIMATIC S7 CP340
70 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...
4 ASCII protocol communication
CP340/CP341/CP440/CP441 Communication and Programming
Entry-ID: 88867653, V1.0, 02/2014
23
Siemens AG 2014 All rights reserved
Fig. 38: Configuration interface parameters
6. After configuration completes, compile and save the hardware configuration,
and download it after it is confirmed correct.
4.3.3 Write communication program
1. Double-click OB1 to open programming screen. Invoke Send Function Block
FB10 SEND_400 from Libraries->CP PtP->CP440 and distribute instance data
block DB10 to it. Set the parameter LADDR as the start logic address 512 in
hardware configuration.
Fig. 39: Logic address of CP440
2. Create a Send Data block DB1
Fig. 40: Send Data block DB1
3. Invoke Send Data block
The parameters of the send function block FB10 SEND_400 of CP440 are set as in
the table below:
Name
Data
comments

Table of Contents

Related product manuals