Download Print this page

B3L−30; Example Of Configuration And Programming - Siemens CP 343-1 User Manual

S7-cps for industrial ethernet
Hide thumbs Also See for CP 343-1:

Advertisement

6 Configuring and Programming the CP as a PROFINET IO Device
6.5

Example of Configuration and Programming

The configured input/output modules must be accessed in the user program of the
PROFINET IO device using FCs. The FCs provide the process data preprocessed
in the user program of the PROFINET IO device on the interface to the PROFINET
IO controller (PNIO_SEND) or fetch the data provided by the PROFINET IO
controller for further processing in the user program of the PROFINET IO device
(PNIO_RECV).
The following example shows the configuration in HW Config and excerpts of the
user program of the CPU.
I addresses and O addresses configured on the PROFINET IO controller
The schematic shows the CP configured as a PROFINET IO device in the
PROFINET IO system with three modules for process inputs and process outputs.
S
Input area:
− Length: 20 bytes
− available in DB10
− transferred with FC11 PNIO_SEND
Figure 6-6
Configuration of a PROFINET IO device in HW Config
B3L−30
PNIO_SEND
S
Output area:
− Length: 7 bytes
− available in DB11
− transferred with FC12 PNIO_RECV
CP 343-1 Lean for Industrial Ethernet / Manual Part B3L
PNIO_RECV
Release 03/2007
C79000-G8976-C198-04

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Simatic net cp 343−1 lean