A free connection can only be used if your S7-300 or S7-400 system is to be operated
as a server. Free connections do not have to configured in STEP 7. Standard
S7-300 and S7-400 systems are set up to communicate via free connections.
If you would like to make use of the mechanism for free connections in your S7-300
or S7-400 system, the client side for each of these connections must still be configured.
In STEP 7 Micro/WIN 32, there is not difference between use of these
connections and communicating via connections that were configured in the S7-
300 or S7-400 system. For free connections, you must merely ensure that the first
byte of the TSAP over which these connections pass to the S7-300 and S7-400
systems is always assigned a value of 0x03. The second byte of the TSAP is derived,
as described above, from the rack and position number of the CPU used in
your S7-300 or S7-400 system.
Note
S7-200 systems do not support free connections. This means that you must configure
each connection in an S7-200 system, regardless of whether your system is
to be operated as a client or server.
4.6 Behavior of CP 243-1 in the event of configuration errors
If the CP 243-1 recognizes an invalid configuration, it attempts to retrieve its
TCP/IP address parameters (IP address, subnet mask, IP address of Gateway) via
a BOOTP service. The CP 243-1 continues the attempt for approx. 1 minute. If it
does not receive a response from a BOOTP service within this time or if the response
is invalid or faulty, the red LED (“SF“) flashes for approx. 30 seconds. This
procedure is cycled through until the CP 243-1 either finds a valid configuration in
the S7-200 CPU memory or receives a valid response from a BOOTP server.
If the CP 243-1 receives a valid BOOTP response, it configures itself as follows:
• IP address, subnet mask and IP address of the Gateway are taken over from
the BOOTP response
• The transmission type is set to “Auto Negotiation” (Auto Detect Communications).
• The Keep Alive time for connections is set to 30 seconds.
When configured in this way, the CP 243-1 is able to access the S7-200 CPU from
STEP 7 Micro/WIN 32 through Ethernet. A new valid configuration can now be
loaded in this way. Communication with other controllers is not possible under
these conditions. After a reset, the CP 243-1 configures itself in accordance with
the new configuration.
Note
The Auto Negotiation mode (Auto Detect Communications) only operates if all connected
network components support this mode.
4 组态
4.1组态选项
一个S7-200系统可以通过CP 243-1A和另论文网一个S7-200系统进行通信,也可以和一个S7-300系统,S7-400系统或者基于OPC的系统进行通信。
在一个S7-200系统中有两种方法组态这种通信方式:
使用STEP 7 Micro/WIN 32 v3.2.1或者更高的版本的组态方式
使用S7-200用户程序的组态方式
注意
如果CRC进程被关掉,那系统只能通过S7-200用户程序进行组态。
在CP 243-1的CRC检查被关掉后,组态数据就不再能以关于预期和意想不到的变化的一致性进行检查,在CP 或者说是组件与网络连接的情况下,无法保证它将正确运行。
在这两种情况下,组态数据都存储在S7-200的CPU 的数据块中。
每当CP243-1重启一次是,数据就从那个地方读取一次。
注意
为了保护CP243-1中的组态数据,如果系统进入中频状态,那么这些数据将被存储在S7-200的非易丢失的数据存储区域中。