Thus, in the “device configuration” tab, 2 I/O modules should be added to the PLC, one for the inputs and the other for the outputs as it is shown in the pictures below. For example in this system, the sensor 2 is in the bit 1 of the inputs module. In the “port” tab is shown the addresses of the inputs and outputs. The PLC built in Simumatik OEP has an I/O module of 1 byte (0-7) for the inputs called “inputs” and an I/O module of 1 byte (0-7) for the outputs called “outputs”. PLC / Properties / Profinet interface / Advanced options / Real time settings / IO communication PLC / Properties / OPC UA / Server / Options / Subscriptions
In order to achieve a better response from the changes in the inputs and outputs you can change the following parameters:
In the structure on the left, scroll down until the end where you will find the “Runtime licenses” tab, click on “OPC UA” and select the type of purchased license as “Medium”. In the “General” tab of the pop-up window, choose “OPC UA” in the structure on the left and enable the option “Activate OPC UA server”. Remember to do this in every I/O module you have in the PLC. Thus, you have to set “none” in 4 different squares. In the structure on the left, you can find the I/O modules added previously, click on I/O addresses for each module and set the process image of inputs and outputs to none in both modules. In the project tree, right click on the PLC, and select “Properties” In the “Protection” tab of the pop-up window, enable the option “Support simulation during block compilation” In the project tree, right click on the title of the project, and select “properties”.
Some configuration needs to be done in TIA Portal in order to enable OPCUA features. 'outputs': A PLC output byte addressed to %QB6.Ĭreate a project in TIA Portal and configure the hardware.'inputs': A PLC input byte addressed to %IB10.In this example the data that will be transfered is: Make sure the choosen PLC is compatible with OPCUA + Download Siemens STEP7 V5.Tutorial 5 - Electric and pneumatic circuits
+ Download Siemens STEP7 V5.7 / Professional 2021
+ Devices diagnostic and operation control function > Link Download Software (GoogleDrive – Easy for Download) + Programming, testing, debugging and launching programs of individual automation systems, as well as their local or remote maintenance + Configure industrial communication systems and set data transmission parameters + Configure and define settings for hardware This version of V2021 supports many popular operating systems such as Windows 10, Windows 11, Windows Sever. A distinctive feature of the STEP 7 package is the ability to develop complex automation projects with a variety of PLC programmable controllers, industrial computers, man-machine interface devices and systems, I /O and industrial communication network structure. STEP 7 V5.7 Professional 2021 is programming and configuration software for Siemens PLC S7-300/S7-400.