Technical Articles

Download Centre Learning Centre FAQ Technical Articles

Technical Dry Goods | Deckwell Module and Siemens PLC EtherNETIP Bus Communication Steps

Today, Xiaode introduced how to use Dirkwell EtherNetIP bus module to communicate with Siemens PLC in TIA Portal software.

1 Hardware Configuration

https://img.welllinkio.com//upload/20231118/bc47a1758f91036d4ee87ce95b2b0df1.png


II. network topology diagram

https://img.welllinkio.com//upload/20231118/aaf2e5eff385284448be7fe5985a6e8f.png

3 Install library files

open TIA Portal V17, select "Library" and "Open Global Library", as shown in the figure.

https://img.welllinkio.com//upload/20231118/2468b3f25b15f0f669a174d1c6195ae9.png

the installation is successful as shown in the figure.

https://img.welllinkio.com//upload/20231118/51ec8d3520df38cb48c4303537b2cbce.png


4. Add data blocks

drag and drop the library file into the program block to form an FB block.

https://img.welllinkio.com//upload/20231118/78fc4c86c683cd4271ef209e6cf7f304.png

drag the FB block into the OB block.

https://img.welllinkio.com//upload/20231118/9b41dc88fb1a2052f46885ac62ee9cf7.png

A data block is then generated.

https://img.welllinkio.com//upload/20231118/a2d0473277dbd1aee53a03506e9f8a2f.png

then create a new data block.

https://img.welllinkio.com//upload/20231118/0c37509a7097bc826c26f8ee3edf7c75.png

create these two data types.

https://img.welllinkio.com//upload/20231118/8b04e8e329072e804c2c50d398975e0d.png

set the slave IP address.

https://img.welllinkio.com//upload/20231118/3f06be7d62e10e1fa3cb53e40151f382.png

fill in the slave equipment parameters.

https://img.welllinkio.com//upload/20231118/29079875af42d3634f4534eef318d96c.png

note: The equipment parameters can be found in the EDS file provided by the manufacturer.

View slave input and output addresses in this data type

fill in DB1 data

https://img.welllinkio.com//upload/20231118/731169f4abc5dcc03c734fbdf5f3615c.png


finally compiled and downloaded to the PLC.

https://img.welllinkio.com//upload/20231118/d5160ed68492076a2220d64f4157ea41.png