Siemens NCM S7 Manual De Usuario

Descargar
Página de 255
Programmed Communication Connections
146
SIMATIC NET NCM S7 for Industrial Ethernet
Release 6/2003
C79000–G8976–C129–07
5.1
Overview 
Area of Application
Communication connections can be freely configured controlled by the program.
Interplay between Programming and Configuration
Connections are either configured using STEP 7 or configured by the user program
while the S7 station is running. Mixing these variants on a CP is not possible!
Principle
Configuration data for communication connections can be transferred to the CPU
using the function block called in the user program.
FB55 CP_CONFIG
Configuration data block
Configuration data
transferred to the CP
Connection 1
Connection n *)
Connection 2
System data for CP
*) n
max
 = 64
The configuration DB can be loaded on the CP at any time. The previously valid
connections are then overwritten.
Based on the configuration data, the Ethernet CP recognizes that the
communication connections must be set up by the user program.
As soon as the user program transfers the connection data via FB55 IP_CONFIG,
the CPU switches the CP briefly to STOP. The CP receives the system data
(including the IP address) and the new connection data and processes them during
startup (RUN).
Configuration Limits
A maximum of 64 connections can be specified in FB55 CP_CONFIG. The most
important factor, however, is the maximum number of connections supported by
the CP type you are using (see /1/).