show the entry list
Industrial Ethernet S7-300/400 CPs -- Configuring and programming communication -- Using communication blocks
How do you copy the CFC chart "Modbus" from the sample project for OPEN MODBUS / TCP into your user project?
What is the difference between the initialization and runtime parameters on the blocks for Modbus TCP?
Why is the status value A090 (hex) output for Modbus TCP although you have entered the correct license?
What are the differences between the licensed version and the downloadable demo version of the blocks for Modbus TCP?
Why is the value A083 (hex) output permanently at the STATUS output parameter of the block for Modbus TCP when the ENQ_ENR=true input parameter has been set?
How is data with variable message length transferred via the TCP protocol and received by an S7-300 station via the Industrial Ethernet CP?
How do you program the function blocks FB14 "GET" and FB15 "PUT" in the S7 program of the S7-300 in order to transfer more than 160 bytes of data?
Where can you find sample programs and documentation for communication from SIMATIC S5 modules to SIMATIC S7 modules via Industrial Ethernet using the UDP protocol?
Where can you find sample programs and documentation for communication from SIMATIC S5 modules to SIMATIC S7 modules via Industrial Ethernet using the TCP protocol?
Where can you find sample programs and documentation for communication from SIMATIC S5 modules to SIMATIC S7 modules via Industrial Ethernet using the ISO transport protocol?
How do you program the FC10 "AG_CNTRL"?
Which commands (CMD) of the FC10 "AG_CNTRL" are supported by the IE CPs?
How many communication jobs may be used simultaneously in an S7-300 CPU for S7 communication via a CP343-1?
Which ports are released for Modbus/TCP communication and how many Modbus clients can communicate with a SIMATIC S7 CPU as Modbus server?
Notes on using an instance for multiple connection IDs
Internal call of FC5 (AG_SEND) with FTP client blocks (FC 40-44) for the CP343-1 IT (6GK7 343-1GX11-0XE0)
How do you program the communication blocks FB63 "TSEND", FB64 "TRECV", FB65 "TCON" and FB66 "TDISCON" in order to use the ISO-on-TCP protocol for data exchange by way of the integrated PROFINET interface of a CPU or by way of the CP443-1 Advanced?
How do you program communication blocks FC11 and FC12 for the PROFINET IO device?
Block calls for communications processors in multiple runtime layers
Changing the input parameter of the user blocks "AG_SEND" and "AG_RECV" during the runtime of a job
What should you watch out for if you transfer variables with the data type "REAL" when calling the communication blocks FC5/50 "AG_SEND/AG_LSEND" and FC6/60 "AG_RCV/AG_LRCV"?
What should you pay attention to when using the communication blocks FC53 "AG_SSEND" and FC63 "AG_SRECV"?
What points do you need to remember when calling communication blocks FC5/50 and FC6/60 in the STEP 7 user program of the CPU?
How do you program communication blocks FC11 and FC12 for the PROFINET IO controller?
How can you establish OPEN MODBUS / TCP communication from a SIMATIC S7 and where can you find further information?
How do you program the communication blocks FC50 and FC60?
Error STATUS "0x7000" on function block FC6 / FC60 (AG_SEND) with Send/Receive communication on the S7-400 controller
How do you program the communication blocks FC5 and FC6?
Sample program: S7 communication with the blocks SFB14 ("GET") and SFB15 ("PUT") with S7-400
Sample Program: S7 Communication with blocks FB14 ("GET") und FB15 ("PUT") of the CPU 317-2PN/DP
How do you program communication blocks FB8 "USEND" and FB9 "URCV" for data exchange on the S7-300?
"STATUS = 27" (0x001B) with the loadable S7 communication on the S7-300
How do you program communication blocks FB14 "GET" and FB15 "PUT" for data exchange in the S7 program of an S7-300 CPU?
How do you program communication blocks FB12 "BSEND" and FB13 "BRCV" for data exchange in the S7 program of an S7-300 CPU?
Repeating the "BSEND" job (SFB12) when the "BRCV" block (SFB13) is in the "disabled" state ("EN_R = 0")
Which commands (CMD) of the FC10 "AG_CNTRL" are supported by the IE CPs?
Part number:

Description
You can use the FC10 "AG_CNTRL" for connection diagnostics. If required, you can initialize a new connection setup via the FC10.


Fig. 01

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 "Functions (FC) and Function Blocks (FB) for SIMATIC NET S7-CPs Programming Manual" in Entry ID 30564821.

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 01

The following overview contains information about which commands are implemented on the IE CPs which support the FC10 "AG_CNTRL".
 
CMD Type order no. 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 02

 

 Entry ID:33414377   Date:2012-07-30 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour