The data block DB1 "Data block 1" is used in this example. If you enable the "Automatic" option, the number of the data block is assigned automatically. Enter the name of the data block and enable the "Manual" option to assign the number of the data block manually. Figure 2-6Ĭlick the "DB Data block" button. In the device folder you navigate to the "Program blocks" subfolder and double-click the "Add new block" action. The device folder contains structured objects and actions that belong to the device. PC-Station ber OPC an S7-1200 anbinden Entry ID: 39960679, V1.1, 12/2013 10Īdd a data block In the project tree, navigate to the device folder of the S7-1200 CPU, "PLC_1 ", for example. The connection between the subnet, PN/IE_1, for example, and the S7-1200 is now displayed in the "Network View" of the devices and networks editor. Click the "Add new subnet" button to insert a new subnet. Then assign a subnet to the PROFINET interface. In this example you enter the IP address 172.16.43.1 and the subnet mask 255.255.0.0 for the PROFINET interface of the S7-1200 CPU. Select the "Ethernet addresses" item in the area navigation. In the inspector window you switch to the "Properties" tab. In the Network View or Device View of the devices and networks editor you click the PROFINET interface of the S7-1200 CPU. PC-Station ber OPC an S7-1200 anbinden Entry ID: 39960679, V1.1, 12/2013 7ĭefine IP address and assign subnet In the project tree, double-click the "Devices & networks" item. Click the "OK" button to add the selected S7-1200 CPU to your project. Go to "Controllers > SIMATIC S7-1200 > CPU" and select the required controller. Figure 2-1Ĭlick the "Controllers" button in the working area. Then you create the user program and define which data is to be monitored over the S7 connection of the OPC server.Īdd an S7-1200 Station In the project tree, double-click the "Add new device" item. PC-Station ber OPC an S7-1200 anbinden Entry ID: 39960679, V1.1, 12/2013 6Ģ Configuration of the S7-1200 You configure your S7-1200 station in the TIA Portal.
Switch to Project View Use the "Project View" link to switch to the Project View. Figure 1-1Ĭlick the "Create" button to create a new project. Enter the project name in the appropriate field. In the Portal view, select the "Create new project" action.
Note In the TIA Portal you need STEP 7 Professional, because with STEP 7 Basic you cannot configure a PC station, but only the SIMATIC S7-1200.Ĭreating a Project In Windows, select the command "Start > All Programs > Siemens Automation > TIA Portal V12" to start the TIA Portal.
PC-Station ber OPC an S7-1200 anbinden Entry ID: 39960679, V1.1, 12/2013 4ġ Introduction This entry shows you how to configure an S7-1200, a PC station and an S7 connection in the TIA Portal so that you can exchange data between the stations over Industrial Ethernet. 24 6 Compiling and Downloading the PC Station Configuration. 22 5 Compiling and Downloading the Configuration and User Program of 21 4.2 Displaying and Changing Properties of the S7 Connection in the
Further information can be found in Entry ID 50203404. Furthermore, please take into account that corresponding protective measures have to be taken in the context of Industrial Security when connecting your equipment to other parts of the plant, the enterprise network or the internet. The general terms of use () apply.Ĭaution The functions and solutions described in this article confine themselves predominantly to the realization of the automation task. This entry is from the Siemens Industry Online Support. Connecting a PC Station to an S7-1200 using OPC TIA Portal