This should open a menu for the required Data block. At the bottom of the Instructions panel under Communications, expand the Others and Modbus TCP folders and drag MB_SERVER to the desired Network in your Main program block. On the right hand side should be the Instructions panel (if you do not see this, you can expand it by clicking Instructions on the right hand side near the top). In the Project tree on the left hand side, expand your PLC drop down menu, enter Program blocks, and double click your Main block. Once you have finished setting up your device, we can create the Modbus Server. This should pull up the Device view of your PLC, where you can add any additional signal boards and modules by right clicking their location in the device view, selecting Show catalog, and choosing the device that corresponds to your physical setup. In this case, we’ll select Controllers > SIMATIC S7-1200 > CPU > CPU 1212C AC/DC/Rly > 6ES7 212-1BD30-0XB0 and then click Add. From the Controllers menu, navigate the file browser and find your specific PLC by its name and MLFB (Article no.) as shown below. Open TIA Portal and create a new project, after which you should be directed to the First Steps screen.Ĭlick on Configure a device and then Add new device. This guide will use TIA Portal v15.1 and a Siemens S7-1200 PLC to serve as an example. If you have an existing project associated with the PLC you would like to configure, open it and skip to the Creating the Modbus Server section of this document. This guide assumes you already have TIA Portal and software support packages installed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |