Siemens SIMATIC NET S7-300 Manual page 224

Cps for industrial ethernet
Hide thumbs Also See for SIMATIC NET S7-300:
Table of Contents

Advertisement

7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
FC10 AG_CNTRL - continued
CMD
4
CN_RESET_ALL – all connections reset:
This command resets all connections.
The ID parameter must be set to "0" (checked for 0).
The CP is selected in the LADDR parameter.
Resetting the connections means that connections are aborted and established again
(active or passive depending on the configuration).
An entry is also generated in the diagnostic buffer in which the job result can be found.
RESULT (for CMD = 4)
Parameter
RESULT1
RESULT1
RESULT2
CMD
5
CN_CLEAR_RESET – Clear the reset ID
This command resets the reset ID (bit 15 in RESULT1) for the connection selected with ID.
The CP is selected in the LADDR parameter.
This job executes automatically when the connection status is read (CMD=1); the separate
job described here is therefore only required in special situations.
RESULT (for CMD = 5)
Parameter
RESULT1
RESULT1
RESULT2
A -224
Meaning
Hex value/range
0000 0001
H
0000 0002
H
0000 0000
H
Meaning
Hex value/range
0000 0001
H
0000 0002
H
0000 0000
H
S7-CPs for Industrial Ethernet Configuring and Commissioning
Meaning
The reset job was transferred to the CP
successfully. The connection abort and
subsequent connection establishment of all
connections were triggered.
The reset job could not be transferred to the CP
because the service has not started on the CP
(for example, CP in Stop).
Default
Meaning
The clear job was transferred to the CP
successfully.
The clear job could not be transferred to the CP
because the service has not started on the CP
(for example, CP in Stop).
Default
Release 01/2007
C79000-G8976-C182-07

Advertisement

Table of Contents
loading

Table of Contents