Siemens CP 343-1 manual Principle of Data Exchange over Profinet IO, B3L−21

Page 21

6Configuring and Programming the CP as a PROFINET IO Device

6.2Principle of Data Exchange over PROFINET IO

Data Exchange between controller and CP as PROFINET IO device

Data exchange between a PROFINET IO controller and PROFINET IO device involves the following procedure:

SOn the PROFINET IO controller

Data exchange is initiated by the PROFINET IO controller that writes output data to the configured output area (O addresses) and fetches input data from the configured input area (I addresses).

SOn the PROFINET IO device

Data is processed by the CP in the PROFINET IO device on the interface to the PROFINET IO controller.

Communication within the PROFINET IO device involves calling the FCs PNIO_RECV and PNIO_SEND in the user program of the CPU.

 

PROFINET IO device

 

CPU

CP

 

STEP 7

CP

 

user program

 

database

 

 

 

PROFINET IO

 

Process

data areas (DB,

 

bit memory)

 

outputs

Receive

PNIO_RECV

 

 

 

PNIO_SEND

Send

 

 

Process

 

 

inputs

 

 

PROFINET IO

Configured O addresses

Configured I addresses

PROFINET

IO controller

Figure 6-1 Interaction between PROFINET IO Device and PROFINET IO controller

Note

In the CPU of the device, the IO data areas for input data and output data are transferred as an entire area to or from one of the data areas (DB, bit memory) including any gaps.

CP 343-1 Lean for Industrial Ethernet / Manual Part B3L

B3L−21

Release 03/2007

C79000-G8976-C198-04

Image 21
Contents CP 343-1 Lean S7-CPs for Industrial EthernetProduct Names Address label Unique MAC address preset for the CPPrinted Product Information Supplied with the Product Compatibility with the Previous VersionContents B3L−44 B3L−33B3L−46 B3L−53Services Properties / ServicesApplication B3L−5Properties / Services Programming − Using Blocks ConfigurationVersion / NCM IE Functions of the CP B3L−7General Operation Requirements for UseB3L−8 Order NumberCPU 314 IFM B3L−9B3L−10 Step Explanation / Meaning Installation and Commissioning Procedure / StepsGround/Chassis Ground Concept B3L−13 Displays DC 5 V power supply via the backplane bus green = OKAcyclic data exchange, for example Send/Receive Not relevant for Profinet IO dataCP Operating Mode LEDs for displaying the modeSFred BF red GreenB3L−16 LEDs for displaying the CP communication statusDisplay Meaning RX/TX green P1 / P2Characteristic Explanation / Values Characteristic Data for S7 CommunicationPerformance Data Number of Possible Connections over EthernetCharacteristics of the SEND/RECEIVE Interface Execution Times of the FCs Agsend / AgrecvComponent Explanation / Values Characteristic Data for Profinet IO CP as Profinet IO deviceExecution times of the FCs Pniosend / Pniorecv ConfigurationProgramming Configuring and Programming the CP as a Profinet IO DeviceOverview of the Preparatory Steps Intelligent Profinet IO DevicePrinciple of Data Exchange over Profinet IO Installing the CP and Specifying it as Profinet IO Device ConfigurationB3L−23 Download the configuration data to the Simatic 300 stationRequirements for Configuration in Step Configuring the Profinet IO controllerProfinet IO Controller B3L−25 ResultProperties Dialog of the Device Assigning the Device Name Configuring the properties of the CP as Profinet IO deviceProgramming Interface for Programming on the Profinet IO DeviceFCs Initialization and Configuration Data consistencyInitialization Reasons for reinitialization WatchdogB3L−29 Pniorecv Pniosend Example of Configuration and ProgrammingB3L−31 Call interface Pniosend in the user programB3L−32 Call interface Pniorecv in the user programSettings for Access to Diagnostic Data Web DiagnosticsStarting and Working with Web Diagnostics Web diagnostics opens with the StartLayout of the Diagnostics Pages Diagnostics Pages of the CPParameter Function StartGeneral StatusParameter IdentificationIdentification VersionRack Configuration Rack name Rack ConfigurationB3L−38 Diagnostic Buffer EventsDetails no. of the event Parameters Tab Industrial EthernetNetwork attachment IP parametersStatistics Tab TCP Connections TabUDP Connections Tab Parameters of a Profinet IO Device Profinet IO ConfigurationAssigned Pnio controller B3L−43Use as a Replacement Replacing Older Modules / Replacing Faulty ModulesCompatibility with Predecessor Products Extended FunctionalityModule Replacement Originally configured module Configuration StepsB3L−45 How to Use the Function Memory ResetDefaults Further Notes on OperationBehavior after Memory Reset Working with Fast Ethernet − automatic switchoverHow Automatic Switchover of the Network Settings Works AutocrossingFurther Notes Automatic Setting or Individual Network SettingsSupported MIB Objects Snmp AgentInfluence of MPI on Connections via Industrial Ethernet Access Permissions using Community NameSpecial Features of IP Configuration Protocol Port number ServiceReserved Port Numbers Gsdml file Other information available about the CPHow to Download New Firmware How to Load New FirmwareLEDs to Indicate the CP Mode RequirementsB3L−54 Technical SpecificationsB3L−55 B3L−56
Related manuals
Manual 22 pages 56.26 Kb