×
Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 33414377, Entry date: 07/30/2012
(1)
Rate

Which commands (CMD) of the FC10 "AG_CNTRL" are supported by the IE CPs?

  • Entry
  • Associated product(s)
You can use the FC10 "AG_CNTRL" for connection diagnostics.

If required, you can initialize a new connection setup via the FC10.


Fig. 1

The following actions can be executed via parameterizable commands:

  • Reading out connection data
    Based on the status data of all or individual IE CP connections you can decide whether or not it is useful to reset the connections.
  • Resetting configured connections
    You can reset individual or all the connections of an IE CP.

The FC10 "AG_CNTRL" commands are permissible for open communication services only with the following protocols:
ISO Transport, ISO-on-TCP (RFC 1006), TCP and UDP.

More information on the FC10 "AG_CNTRL" commands is available in the manual "SIMATIC NET Program blocks for SIMATIC NET S7 CPs - Programming Manual" in Entry ID 62543517.

The following commands for connection setup and clear-down are not supported by all IE CPs:
 

Command Description
CMD 6
"CN_DISCON"
connection disconnect:
This command resets the connection which has been selected with ID and LADDR. The resetting of the connection is prompted by a connection abort. Any data saved in the stack is lost without notice. The connection is then not established automatically. The connection can be re-established using the "CON_STARTCON" control command. An entry is generated in the diagnostics buffer from which you can read the result of the command.
CMD 7
"CN_STARTCON"
start connection:
This command establishes a connection which has been selected with ID and LADDR and which has been aborted beforehand with the control command "CON_DISCON". An entry is generated in the diagnostics buffer from which you can read the result of the command.

Table 1

The following overview contains information about which commands are implemented on the IE CPs which support the FC10 "AG_CNTRL".
 

CMD Type article number As of firmware version
0-5 CP343-1 Lean 6GK7343-1CX10-0XE0 2.1
0-5 CP343-1 6GK7343-1EX21-0XE0 1.0.17
0-5 CP343-1 6GK7343-1EX30-0XE0 2.0.16
0-5 CP343-1 Advanced 6GK7343-1GX21-0XE0 1.0.24
0-5 CP443-1 Advanced 6GK7443-1EX40-0XE0 2.2.35
0-5 CP443-1 Advanced 6GK7443-1EX41-0XE0 1.0.24
0-7 CP343-1 Lean 6GK7343-1CX10-0XE0 2.2
0-7 CP343-1 6GK7343-1EX30-0XE0 2.2
0-7 CP343-1 Advanced 6GK7343-1GX30-0XE0 1.0.23
0-7 CP343-1 Advanced 6GK7343-1GX31-0XE0 3.0
0-7 CP443-1 6GK7443-1EX20-0XE0 1.0.26
0-7 CP443-1 6GK7443-1EX30-0XE0 3.0
0-7 CP443-1 Advanced 6GK7443-1GX20-0XE0 2.0
0-7 CP443-1 Advanced 6GK7443-1GX30-0XE0 3.0

Table 2