Downloading programs to PLCs and HMIs
Let's begin with downloading a program to a PLC (Siemens S7-1200). In Chapter 9, Deep Dive into PLC Programming with TIA Portal, we learned how to download programs to PLCs. We are going to do the same thing here:
- Connect an Ethernet cable to the PLC and PC as shown:
Figure 10.67 – Connection of PC (laptop) to PLC (S7 1200) using an Ethernet cable. (Credit for this image goes to Showlight Technologies LTD. www.showlight.com.ng)
- At the left-hand side of the screen, expand the PLC folder, go to Program blocks, and double-click Main [0B1] to get your written program. Double-click Device configuration:
Figure 10.68 – Ladder logic program
- Click Properties | General | PROFINET Interface [X1]:
Figure 10.69 – Device configuration (PLC_1)
- Scroll down and enter an IP address and an appropriate subnet mask...