
Search for “Siemens PLCSIM Virtual Adapter”. Next, click on “Network and Sharing Center” Create an instanceįirst, you have to know the IP of your PLC in TIA Portal, go to the PLC properties panel and click on “Ethernet addresses” and there you have all the data needed. This section details the steps to be performed in the PLCSIM Advanced simulator. The addresses of I/O list must be equal in the hardware (I/O modules).Then, individual signals can be declared to be used in the program, each one properly mapped according to the connections in the model: Open the tag table and declare the variables 'inputs' and 'outputs' in the corresponding addresses. 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:
#What is siemens step 7 plcsim license
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.

