Analog input module ai 4xu/i/rtd/tc st (6es7531-7qd00-0ab0) (73 pages)
Summary of Contents for Siemens SIMATIC S5
Page 1
Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Siemens CP1543-1, CP1430 TCP Industry Online https://support.industry.siemens.com/cs/ww/en/view/109482475 Support...
The foregoing provisions do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens against existing or future claims of third parties in this connection except where Siemens is mandatorily liable.
Communication program SIMATIC S5 ..........21 2.2.4 Connection configuration in the SIMATIC S7-1500 ......24 2.2.5 Connection configuration in the CP1430 TCP (SIMATIC S5) .... 27 Scenario 2a – Communication via parameterized OUC (single instructions) and internal CPU interface ........... 33 2.3.1 Mode of operation ................
Page 4
2.8.3 Communication program SIMATIC S5 ..........78 2.8.4 Connection configuration in the S7-1500 CPU ......... 80 2.8.5 Connection configuration in the CP1430 TCP (SIMATIC S5) .... 81 Commissioning ................83 2.9.1 Overview of the communication relations ......... 83 2.9.2 Loading the S7-1500 programs ............84 2.9.3...
SIMATIC S7 station. However, the communication relations to other SIMATIC S5 stations have to be maintained. These examples shall demonstrate how to link a SIMATIC S5 station to a modern SIMATIC S7-1500 station via Industrial Ethernet. This example describes the scenarios for ISO on TCP protocol.
Page 6
(level 7 communication). Cross-communication between S5 substations is done via the SEND/RECEIVE service (level 4 communication). In the course of a partial migration, a SIMATIC S5 station is replaced by a SIMATIC S7-1500 station. The example projects/scenarios in this document show the options available to...
OUC: Open User Communication OUC programmed (compact) Setup In this example, a SIMATIC S5-115U is used exemplarily on the S5 end. Basically, however, the solutions presented here also work with S5-135U and S5-155U controllers. For these SIMATIC S5 controller families, the CP1430 TCP communication processor is available which implements the TCP/IP and ISO-on-TCP (RFC 1006) protocols as well as, based on this, the active/passive FETCH/WRITE service.
Page 8
S7-1500 data blocks via a WRITE job. The S7-1500 CPU does not contain any communication blocks. The SIMATIC S5 controller uses the handling blocks FETCH and SEND (RW). Parameterized OUC communication via the integrated PROFINET SS and single instructions – TSEND/TRCV...
Page 9
Programmed OUC communication via the integrated PROFINET SS and single instructions – TSEND/TRCV Via the CP1430 TCP, the SIMATIC S5 actively establishes an ISO-on-TCP connection to the S7-1500 CPU using the integrated PROFINET interface. On the S7-1500 CPU end, the connection is established via the OUC blocks TCON in the user program and the data are sent and received via TSEND and TRCV.
Page 10
Detailed knowledge on the SIMATIC S5 is not required. Topics not covered by this application This example includes • No detailed explanation of the SIMATIC S5 and SIMATIC S7-1500 and their communication options. • No introduction to the programming of SIMATIC S5 and SIMATIC S7 controllers.
File name Note Documentation 109482475_Comm_S5-S71500_DOC_v12_en.pdf STEP 7 Projekt für 109482475_S7-1500_Station_V15.1.zip S7-1500 STEP 5 Project and 109482475_Comm_S5_PROJ_v10.zip the NCM project file for CP 1430 TCP Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2, 07/2019...
S7-1500 CPU Hardware setup The description of the hardware installation is divided into setting up the SIMATIC S7-1500 and the SIMATIC S5 hardware. The example setup includes all example scenarios described in chapter 2. Prerequisites Two programming devices are used for the commissioning of this application example.
Page 13
OUC: Open User Communication The following table includes the overview of all IP addresses used in this example for the SIMATIC S7-1500 and the SIMATIC S5. A fixed configuration of the IP addresses is required. The subnet mask is 255.255.0.0 in all network components.
Plug a RAM module into the CP1430 TCP. • Connect the 15-pin Ethernet connection of the CP1430 TCP to the SCALANCE switch via a TP cord cable (15-pin/RJ45). Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2, 07/2019...
SIMATIC S7 station: • Programming device with TIA Portal • Operating system: Windows 7 The required SIMATIC S5 software can only be installed with the Windows XP Note operating system. 2.1.4 S7-1500 application software Overview of example scenarios in S7-1500 stations...
Table 2-4. The example program for the SIMATIC S5-CPU contains all user programs for all scenarios. The example scenarios listed in Table 2-4 can be enabled individually in the S5-CPU via the corresponding enable bits.
2.2.1 Mode of operation Overview Via the CP1430 TCP, the SIMATIC S5 is configured as an active FETCH/WRITE client. This communication type requires a CP1543-1 in the SIMATIC S7-1500 station which is configured as a passive TECH/WRITE server and which receives the connection and communication requests of the SIMATIC S5.
CP1430 TCP. Otherwise, the acknowledgment of the FETCH response by the CP1543-1 is negative. The data are transferred from the CP1430 TCP to the data block of the SIMATIC S5-CPU via the RECEIVE ALL handling block.
Page 19
SIMATIC S5 is copied to an output area (AB 0) of the S7-1500. The count value received by the SIMATIC S5 is in the first data word (DW1) of the WRITE data block ComWriteDB, is incremented by +1 and copied to the FETCH data area ComFetchDB.
Page 20
The data blocks for FETCH (ComFetchDB) and WRITE (ComWriteDB) access operations must not be configured to "Optimized block access” in the S7-1500. (Properties of the data block under Options > "Attributes”). Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Handling block SEND (-All A-NR:= 0) FB245 HTB_RECEIVE Handling block RECEIVE (-All A-NR:= 0) FB246 HTB_FETCH Handling block FETCH FB249 HTB_SYNCHRON Handling block SYNCHRON Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2, 07/2019...
Page 22
(DB113). This deletion identifier has the effect that a count value in the WRITE data area (DB 114) is reset. OB1 (cyclic OB) The following functions are processed in the cyclic OB1 of the SIMATIC S5-CPU: • Call of the user communication block FET_WRI (FB 40) containing the active FETCH and WRITE functions.
Page 23
(here DB 114, as of (here DB 114, as of byte 0, length of 50 byte 0, length of 50 bytes) bytes) Figure 2-1 Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2, 07/2019...
Ethernet/subnet. For this, open the "Device overview” in the TIA project and select the PNIO interface of the CPU. Under "General” > "Ethernet addresses”, enter the IP address and the subnet mask for your CPU. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 25
3. In the "General” tab, go to "Options” > "FETCH/WRITE configuration” to enable the "FETCH/WRITE configuration” option and disable the S7 addressing mode [S5 addressing mode] in the TSAP list. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 26
TSAP "CP1543-W”: TSAP for the S5 CP1430 TCP SEND (R/W) connection In the "Device view” of the S7-1500 station, select the CPU. The properties of the CPU are displayed in the inspector window. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
The "SINEC NCM COM 1430" configuration tool is an additional software that is integrated in STEP 5 to configure the CP1430 TCP. This software is not included in the standard STEP 5 package and must be installed additionally. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 28
Start the CP1430 TCP software NCM COM 1430 TCP via "Wechsel” ["Change”] > "weitere…” ["Further programs”] or by pressing the F9 key. 2. Start the configuration tool "NCM package COM 1430 TCP”. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 29
Here, enter the CP1430 TCP project file name "TCP1430A.TCP” (1) from the download of this project. Click on "OK” (F7) to confirm the settings. 3. Initialize the CP via the menu "Edit > CP_Init" (1) Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 30
6. Enter the local host name (ASCII) under (1), your own TCP/IP address (dec.) under (2), the default gateway under (3) and the netmask (dec.) under (4). Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 31
(5) the remote TSAP "CP1543-F”. Under the "Active/passive” parameter (6), set the way the connection is established to "A” (active). Click on "OK” (F7) to confirm the settings. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 32
Click on "OK” (F7) to confirm the settings. In the transport configuration, a "WRITE” connection is configured as job type Note "SEND” with the R/W identifier being set to "Y”! Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
On the S7-1500 CPU end, a parameterized connection configuration is used. The data are sent and received bidirectionally via the OUC blocks TSEND and TRCV. For this connection, the SIMATIC S5 uses the standard handling blocks (HTB) SYNCHRON/SEND/RECEIVE. In the CP1430 TCP, the ISO-on-TCP connection in the SIMATIC S5 is configured as a "passive”...
A SEND job is sent from the S7-1500 CPU to the SIMATIC S5 via the OUC block TSEND. In this scenario, the block sends a job to the SIMATIC S5 CP1430 TCP every second.
Page 35
OUC communication. FB 4 (TSEND/TRCV management) In FB4, the data are received by the SIMATIC S5 via the cyclically processed OUC block TRCV. To visualize the ongoing communication, a count value is copied to an output area (AB 0) of the S7-1500.
From there, this count value is mirrored and sent back. After the data have been received, this count value is increased by +1 and sent again. In case of the SIMATIC S5 CPU being restarted, a deletion identifier is sent and the count value is reset.
Page 37
After the data have been received, this count value is checked in the S7-1500, incremented by +1 and sent back to the SIMATIC S5 at the next send trigger of the S7-1500. The data received by the SIMATIC S5 are transferred to DB95.
3. In the "Device configuration” (1) of the "PLC_Sz2..”, open the "Network view” (2). In the "Connections” tab (3), select your CPU and use the "Insert” menu item or right-click to add a new connection. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 39
TCP_CPU15xx-S5” (2). Make sure that the standard PROFINET interface X1 of the S7-1500 CPU is set for the "Interface” parameter. Now, in the "Partner” section, enter the IP address (IP: 140.140.111.104) of the SIMATIC S5 CP1430 TCP (3). Ethernet Communication (ISO on TCP) between SIMATIC S5 and...
The "SINEC NCM COM 1430" configuration tool is an additional software that is integrated in STEP 5 to configure the CP1430 TCP. This software is not included in the standard STEP 5 package and must be installed additionally. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 41
TSAP "CPU_150a”, – under "Number of jobs per TSAP” (5) "1 of 2”, – under the "Active/passive” parameter (6) the connection establishment "P” (passive). Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2, 07/2019...
Page 42
(1) the job number ANR with "133”, – under (2) the job type: "SEND”. – Click on "OK” (F7) to confirm the settings. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2, 07/2019...
Mode of operation Overview In this scenario, the SIMATIC S5 actively establishes an ISO-on-TCP connection to the S7-1500 CPU via the CP1430 TCP using the internal PROFINET interface. On the S7-1500 CPU end, the programmed connection is set up passively via the OUC block TCON by the user program and is available for establishing the connection of the partner.
A SEND job is sent from the S7-1500 CPU to the SIMATIC S5 via the OUC block TSEND. In this scenario, the block sends a job to the SIMATIC S5 CP1430 TCP every second.
Page 45
(AB 0) of the S7-1500. The count value received by the SIMATIC S5 is located in the instance data block of FB5 in the static tag "statRcvData” and is copied to the send area of the instance data block "statSendData”...
After the data have been received, this count value is increased by +1 and sent again. In case of the SIMATIC S5 CPU being restarted, a deletion identifier is sent to the S7-1500 and the count value is reset.
Page 47
After the data have been received, this count value is checked in the S7-1500, incremented by +1 and sent back to the SIMATIC S5 at the next send trigger of the S7-1500. The data received by the SIMATIC S5 are transferred to DB101.
"CPU_150b” (ASC)) and the local TSAP (in this case: 43 50 55 5F 31 35 30 62 (hex) "CPU_150b” (ASC)) in the fields "RemoteTSelector” (6) and "LocalTSelector” (7), respectively. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
SEND type. In the subsequent mask of the job, the TSAP "CPU_150b” has to be entered. The job "2 of 2” must be set up as a RECEIVE job type. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 50
(1) the job number ANR with "143”, – under (2) the job type: "RECEIVE”. – Click on "OK” (F7) to confirm the settings. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2, 07/2019...
CPU uses the compact OUC block "TRCV_C” to receive data from the SIMATIC Via the CP1543-1, the SIMATIC S7-1500 CPU actively establishes an ISO-on- TCP connection to the SIMATIC S5 using the CP1430 TCP. The data are sent to the SIMATIC S5 via the standard OUC block TSEND.
NDR. Otherwise, a negative acknowledgment will be sent for the job. A SEND job is sent from the S7-1500 CPU to the SIMATIC S5 via the OUC block TSEND. In this scenario, the block sends a job to the SIMATIC S5 CP1430 TCP every second.
Page 53
OUC communication. FB 7 (TSEND/TRCV_C management) In FB7, the data are received by the SIMATIC S5 via the cyclically processed OUC block TRCV_C. To visualize the ongoing communication, a count value is copied to an output area (AB 0) of the S7-1500.
Via the connection actively established by the CP1543-1 in the S7-1500 station, data are sent bidirectionally with a count value from the SIMATIC S5 to the S7- 1500 every second. From there, this count value is mirrored and sent back. After the data have been received, this count value is increased by +1 and sent again.
Page 55
After the data have been received, this count value is checked in the S7-1500, incremented by +1 and sent back to the SIMATIC S5 at the next send trigger of the S7-1500. The data received by the SIMATIC S5 are transferred to DB101.
"CP1543-2” (ASC)) and the local TSAP (in this case: 43 50 31 35 34 33 2D 32 (hex) "CP1543-2” (ASC)) in the fields "RemoteTSelector” (6) and "LocalTSelector” (7), respectively. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
RECEIVE type. In the subsequent mask of the job, the TSAP "CP1543-2” has to be entered. The job "2 of 2” must be set up as a SEND job type. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 58
(1) the job number ANR with "122”, – under (2) the job type: "SEND”. – Click on "OK” (F7) to confirm the settings. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2, 07/2019...
The data then are sent and received bidirectionally via the blocks TSEND and TRCV. For this connection, the SIMATIC S5 uses the standard handling blocks (HTB) SYNCHRON/SEND/RECEIVE. In the CP1430 TCP, the ISO-on-TCP connection in the SIMATIC S5 is configured as a "passive” duplex connection.
A SEND job is sent from the S7-1500 CPU to the SIMATIC S5 via the OUC block TSEND. In this scenario, the block sends a job to the SIMATIC S5 CP1430 TCP every second.
OB 21 Startup OB 22 Startup SYNCHRON FB30 HTB SEND SEND_DB OB 1 HTB RECV Main RECV_DB SEND_ALL RECV_ALL User Handling Data blocks blocks blocks Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2, 07/2019...
Page 62
After the data have been received, this count value is increased by +1 and sent again. In case of the SIMATIC S5 CPU being restarted, a deletion identifier is sent and the count value is reset.
After the data have been received, this count value is checked in the S7-1500 and incremented by +1. At the next send trigger of the S7-1500, it is sent back to the SIMATIC S5. The data received by the SIMATIC S5 are transferred to DB50.
Page 64
(2). Make sure that the CP1543-1 Ethernet interface E1 of the CP1543-1 is set for the "Interface” parameter (3). Now, in the "Partner” section (4), enter the IP address (IP: 140.140.111.104) of the SIMATIC S5 CP1430 TCP (5). Ethernet Communication (ISO on TCP) between SIMATIC S5 and...
The connection configuration is largely identical to chapter 2.2.5. Follow the steps 1 to 8 described in that chapter and complete the configuration following the steps described below. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 66
(1) the job number ANR with "103”, – under (2) the job type: "SEND”. – Click on "OK” (F7) to confirm the settings. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2, 07/2019...
Mode of operation Overview In this scenario, the SIMATIC S5 actively establishes an ISO-on-TCP connection to the S7-1500 CPU via the CP1430 TCP using the CP1543-1. On the S7-1500 CPU end, the programmed connection is set up passively via the OUC block TCON by the user program and is available for establishing the connection of the partner.
A SEND job is sent from the S7-1500 CPU to the SIMATIC S5 via the OUC block TSEND. In this scenario, the block sends a job to the SIMATIC S5 CP1430 TCP every second.
Page 69
(AB 0) of the S7-1500. The count value received by the SIMATIC S5 is located in the instance data block of FB5 in the static tag "statRcvData” and is copied to the send area of the instance data block "statSendData”...
After the data have been received, this count value is increased by +1 and sent again. In case of the SIMATIC S5 CPU being restarted, a deletion identifier is sent to the S7-1500 and the count value is reset.
Page 71
After the data have been received, this count value is checked in the S7-1500, incremented by +1 and sent back to the SIMATIC S5 at the next send trigger of the S7-1500. The data received by the SIMATIC S5 are transferred to DB101.
"CP1543-1” (ASC)) and the local TSAP (in this case: 43 50 31 35 34 33 2D 31 (hex) "CP1543-1” (ASC)) in the fields "RemoteTSelector” (6) and "LocalTSelector” (7), respectively. Figure 2-2 Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
SEND type. In the subsequent mask of the job, the TSAP "CP1543-1” has to be entered. The job "2 of 2” must be set up as a RECEIVE job type. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 74
(1) the job number ANR with "2”, – under (2) the job type: "RECEIVE”. – Click on "OK” (F7) to confirm the settings. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2, 07/2019...
Page 75
This scenario presents a variant of the OUC communication, in which the S7-1500 station uses the compact OUC block "TSEND_C” to send data to the SIMATIC S5. In this case, the receipt of the data is implemented via the standard OUC block TRCV.
Page 76
SIMATIC S5. The connection remains established. The SIMATIC S5 transfers the SEND job to the CP1430 TCP via HTB SEND. The data are transferred from the SIMATIC S5-CPU (data block) to the CP1430 TCP via the SEND ALL handling block.
Page 77
Via the connection, data are sent bidirectionally with a count value from the SIMATIC S5 to the S7-1500 every second. From there, this count value is mirrored and sent back. After the data have been received, this count value is increased by +1 and sent again.
Page 78
From there, this count value is mirrored and sent back. After the data have been received, this count value is increased by +1 and sent again. In case of the SIMATIC S5 CPU being restarted, a deletion identifier is sent and the count value is reset.
Page 79
After the data have been received, this count value is checked in the S7-1500, incremented by +1 and sent back to the SIMATIC S5 at the next send trigger of the S7-1500. The data received by the SIMATIC S5 are transferred to DB101.
Page 80
"CPU_150c” (ASC)) and the local TSAP (in this case: 43 50 55 5F 31 35 30 63 (hex) "CPU_150c” (ASC)) in the fields "RemoteTSelector” (6) and "LocalTSelector” (7), respectively. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 81
STEP 5 package and must be installed additionally. The connection configuration is largely identical to chapter 2.2.5 Connection configuration in the CP1430 TCP (SIMATIC S5)”. Follow the steps 1 to 8 described in that chapter and complete the configuration following the steps described below.
Page 82
(1) the job number ANR with "153”, – under (2) the job type: "SEND”. – Click on "OK” (F7) to confirm the settings. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2, 07/2019...
S5 project. They can be enabled or disabled via enable bits. The following overview shows how all communication resources and the enable bits are assigned to the corresponding scenarios in the SIMATIC S5-CPU. Table 2-24 SIMATIC S5...
In the overview of the TIA project, select the S7 station the connection scenario of which you want to use (for the overview see Table 2-4). Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 85
Now, load the respective station into your hardware. Right-click to select (1) the selected S7 station. Select the "Download to device” menu item (2) and then "Hardware and software” (3) to get to the "Transfer” screen. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Prerequisite The instructions for commissioning always refer to a fully reset S5 station. A prerequisite for commissioning and loading the SIMATIC S5 is that the STEP 5 V7 software and NCM COM 1430 TCP are installed on the engineering station.
Page 87
(2), enter the interface you are using. In this case, the standard "COM 1” interface has been used. Then, click "Uebernehmen” ["Apply”] (3) to confirm your settings. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 88
"AG”. (2) Under "Auswahl” ["Selection”] > "Bausteinliste” ["Block list”], select type "B” (all blocks). (3) Start transfer to the S5-CPU by clicking "Uebertragen” ["Transfer”]. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 89
(1) Under "Database file”, navigate to your unzipped CP1430 TCP file "TCP1430A.TCP”. (2) Set the status to "online”. (3) Click "OK” to confirm the settings. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
Page 90
"RUN” again. The CP will change to the RUN mode (RUN LED) only, if synchronization occurs via a restart of the CPU. After the CPU and the CP have been loaded, the SIMATIC S5 can be started via the RUN/STOP switch of the CPU. Error-free startup and synchronization of the CP1430 TCP can be recognized from the CPU and the CP1430 TCP being in RUN mode.
The required S5 program blocks and the corresponding functions are enabled via enable bits after loading the S5 program. For successfully testing a scenario, • the corresponding enable bit in the SIMATIC S5-CPU must be set, • the corresponding SIMATIC S7-1500 station must be loaded, •...
Activate the corresponding enable bit in the SIMATIC S5-CPU via the "BB1” watch table. In this case, the SIMATIC S5 sets up the communication automatically. As, in this scenario, the SIMATIC S7-1500 station is absolutely passive, no explicit enable must be set there.
Page 93
2 Engineering Test and diagnostics of communication in the SIMATIC S5 To monitor the FETCH and WRITE functions in the SIMATIC S5-CPU, call the watch table "BB4” in STEP 5. The count value (4) is cyclically written in the S7-1500 CPU every second and the mirrored incremented value is read back via the FETCH connection (1).
PLC_Sz2_S-R_CPU_ID5_ID105 E 0.1 M 130.3 Activate the corresponding enable bit in the SIMATIC S5-CPU via the "BB1” watch table. As, in this case, the S7-1500 program contains the two example scenarios 2a and 2b, you can activate scenario 2a via the enable bit E 0.1.
Page 95
0A0A: Connection not established 0002: Job running 0004: Job completed without errors For further details und status displays, refer to the SIMATIC S5 documentation regarding the handling blocks. Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2,...
PLC_Sz2_S-R_CPU_ID5_ID105 E 0.2 M 130.4 Activate the corresponding enable bit in the SIMATIC S5-CPU via the "BB1” watch table. As, in this case, the S7-1500 program contains the two example scenarios 2a and 2b, activate scenario 2b via the enable bit E 0.2.
Page 97
2 Engineering Test and diagnostics of communication in the SIMATIC S5 To monitor the send/receive communication of scenario 2b in the SIMATIC S5- CPU, call the watch table "BB3” in STEP 5. The count value (3) is cyclically written in the S7-1500 CPU every second and the mirrored incremented value is received again (4).
(S5-CPU) PLC_Sz3_S-R_CP_TRCV_C_ID7 E 0.1 M 130.2 Activate the corresponding enable bit in the SIMATIC S5-CPU via the "BB1” watch table. For scenario 3, the corresponding S7-1500 program can be activated via the enable bit E 0.1. Now, the connection will be established by the SIMATIC S7 station.
Page 99
2 Engineering Test and diagnostics of communication in the SIMATIC S5 To monitor the send/receive communication of scenario 3 in the SIMATIC S5-CPU, call the watch table "BB33” in STEP 5. The count value (3) is cyclically written in the S7-1500 CPU every second and the mirrored incremented value is received again (4).
PLC_Sz4_S-R_CP_ID4_ID104 E 0.1 M 130.0 Activate the corresponding enable bit in the SIMATIC S5-CPU via the "BB1” watch table. As, in this case, the S7-1500 program contains the two example scenarios 4a and 4b, activate scenario 4a via the enable bit E 0.1.
Page 101
Test and diagnostics of communication in the SIMATIC S5 To monitor the send/receive communication of scenario 2a in the SIMATIC S5- CPU, call the watch table "BB12” in STEP 5. The count value (3) is cyclically written in the S7-1500 CPU every second and the mirrored incremented value is received again (4).
PLC_Sz4_S-R_CP_ID4_ID104 E 0.2 M 130.1 Activate the corresponding enable bit in the SIMATIC S5-CPU via the "BB1” watch table. As, in this case, the S7-1500 program contains the two example scenarios 4a and 4b, activate scenario 4b via the enable bit E 0.2.
Page 103
2 Engineering Test and diagnostics of communication in the SIMATIC S5 To monitor the send/receive communication of scenario 2b in the SIMATIC S5- CPU, call the watch table "BB13” in STEP 5. The count value (3) is cyclically written in the S7-1500 CPU every second and the mirrored incremented value is received again (4).
(S5-CPU) PLC_Sz5_S-R_CPU_TSEND_C_ID6 E 0.1 M 130.6 Activate the corresponding enable bit in the SIMATIC S5-CPU via the "BB1” watch table. For scenario 5, the corresponding S7-1500 program can be activated via the enable bit E 0.1. Now, the connection will be established by the SIMATIC S7 station.
Page 105
2 Engineering Test and diagnostics of communication in the SIMATIC S5 To monitor the send/receive communication of scenario 3 in the SIMATIC S5-CPU, call the watch table "BB55” in STEP 5. The count value (3) is cyclically written in the S7-1500 CPU every second and the mirrored incremented value is received again (4).
Industry Online Support Do you have any questions or need assistance? Siemens Industry Online Support offers round the clock access to our entire service and support know-how and portfolio. The Industry Online Support is the central address for information about our products, solutions and services.
Modifications V1.0 07/2016 First version V1.1 12/2018 Changed title and figure "Overview of the automation task" New Template V1.2 07/2019 Update TIA Portal V15.1 Ethernet Communication (ISO on TCP) between SIMATIC S5 and SIMATIC S7-1500 Controllers Entry-ID: 109482475, V1.2, 07/2019...