Siemens SIMATIC S7 CP340 Programming Manual page 23

Table of Contents

Advertisement

4 ASCII protocol communication
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
CP340/CP341/CP440/CP441 Communication and Programming
Entry-ID: 88867653,
V1.0,
Data
02/2014
comments
23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7 cp341Simatic s7 cp441Simatic s7 cp440

Table of Contents