How Wincc two common ways of communication with PLC is introduced -

by:Coolmay     2020-07-05
Siemens WINCC and SiemensPLC connection has a variety of ways, here are two commonly used methods of communication.

a, using common card via TCP/IP communication with PLC, through the Ethernet and the basic condition of WICC connected to the PLC system is equipped with Ethernet module of PLC system or use PLC with PN interface, Ethernet module as the CP443 - 1 or CP343 - 1, PLC with PN interface such as CPU - 315 2 pn / DP。 The following is the ordinary card CP443 - 1 of the communication connection.

1。 STEP7 hardware configuration

use STEP7 programming software of PLC controller system hardware configuration, in the 'hardware' configuration window into the actual PLC hardware, as shown in figure 1:

figure 1 STEP7 hardware configuration

2. Double-click the CP443 - 1 slot CP443 - 1, pop-up properties dialog box, as shown in figure 2:

CP443 - figure 2 1 properties dialog

3. Click on the figure 2 properties dialog box, network parameter Settings dialog box, click the 'new' button, create a new Ethernet, Ethernet module CP443 - input The IP address of the 1, typically, do not need to enable a gateway. As shown in figure 3:

figure 3 parameter Settings

note: if the TCP/IP communication methods, must be started 'are using TCP/IP protocol', to download configuration good hardware to the CPU, the PLC setup complete!

4。 Set up the installation WINN ( Normally for the engineer station ES and operator station OS) Computer TCP/IP parameters of the Windows operating system, set the WINN configured the IP address of the computer as Ethernet communication module or PN interface with PLC controller address within a network segment. As shown in figure 4:

figure 4 set computer IP address

5. To add a new driver and setting up the system parameters, open the 'test', the newly created project in project management bar, choose 'variable management', right-click to choose 'add a new driver, as shown in figure 5.

figure 5 add driver

6. In to add a new driver folder option 'SIMATIC S7 Protocol Suite. CHN ', as shown in 6:

figure 6 drivers

7. Right-click on the TCP/IP, in the pop-up menu, click on the 'system parameter', as shown in figure 7. The pop-up '- system parameters TCP/IP 'dialog box, select the' unit 'TAB, check' logical device name ', generally after the default installation, logical device called CP - TCP/IP。

figure 7 - system parameters TCP/IP Settings

8. Add channel and connection Settings

add drive connection, set the parameters. Open the WINCC6. 0 engineering in the management of 'variable', right-click on the TCP/IP, the drop-down menu, click on the 'new driver connection ( N) ', as shown in figure 8:

add connection figure 8

9. In the connection properties dialog box pops up click 'properties' button, the pop-up 'connection parameters - TCP/IP properties 'dialog box, enter in STEP7 hardware configuration is set the IP address of the Ethernet module or with PN interface CPU, frame number, Ethernet network card slot number. As shown in figure 9:

figure 9 TCPIP parameter Settings

note:

IP address: the IP address of the communication module, such as CP443 - 1 to 192. 168. 0.

frame number: 100 CPU in frame, generally fill 0

slot number: CPU slot number of

note: if it is S7 - 300 PLC, then the parameters of the slot number is 2, if it is S7 - 400 PLC, so need according to the STEP7 project hardware configuration check CPU in which slot number, the possible parameters of 2, 3, 4, Mainly based on the size of the power to decide) , otherwise unable to establish communication.

WINCC6. 0 in Named connections used in more and S7 - The connection between the 400 h, is based on the PC station Configure mode; And other channels, such as MPI, PROFIBUS, and TCP/IP is based on the model of PG. Through introduces below Named connections with PLC communication:

1. Right-click the Named connections in the pop-up menu, click on the 'system parameter', as shown in figure 10. The pop-up '- system parameters Named connections 'dialog box, select the' unit 'TAB, check' logical device name ', generally after the default installation, logical device called/VM.

figure 10 - system parameters Named connections dialog

2. Add channel and connection Settings

add drive connection, set the parameters. Open the WINCC6. 0 engineering in the management of 'variable', right-click on the Named connections, in the drop-down menu, click on the 'new driver connection ( N) ', as shown in figure 11:

figure 11 add connection

3. In the connection properties dialog box pops up click 'properties' button, the pop-up 'connection parameters - Named connections properties 'dialog box, enter the S7 network addresses, specify the good name of' application 'and' connection name ', as shown in figure 12:

figure 12 - connection parameters Named connections attribute

click ok finally can!


Shenzhen Coolmay Technology Co., Ltd. in the right situation can streamline the entire process, enabling your team to deliver higher quality work in a shorter amount of time.
Dazzle your next event with plc controller price plc manufacturers and to buy best product, only trust Shenzhen Coolmay Technology Co., Ltd. .
In business, plc manufacturers means cultivating brand loyalty; once someone is working with a product or using a service, they are more likely to commit to paying for Coolmay again.
Consumers like these are interested not just in plc manufacturers they will spend their money on, but also in the human and environmental impact of the supply chain that produces those goods.
Custom message
Chat Online 编辑模式下无法使用
Chat Online inputting...