EasyManua.ls Logo

Siemens SIMATIC NET S7-300 - Page 224

Siemens SIMATIC NET S7-300
317 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-224
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
CMD Meaning
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) Meaning
Parameter Hex value/range
RESULT1 0000 0001
H
The reset job was transferred to the CP
successfully. The connection abort and
subsequent connection establishment of all
connections were triggered.
RESULT1 0000 0002
H
The reset job could not be transferred to the CP
because the service has not started on the CP
(for example, CP in Stop).
RESULT2 0000 0000
H
Default
CMD Meaning
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) Meaning
Parameter Hex value/range
RESULT1 0000 0001
H
The clear job was transferred to the CP
successfully.
RESULT1 0000 0002
H
The clear job could not be transferred to the CP
because the service has not started on the CP
(for example, CP in Stop).
RESULT2 0000 0000
H
Default
FC10 AG_CNTRL - continued

Table of Contents

Other manuals for Siemens SIMATIC NET S7-300

Related product manuals