Blog

Entries for 'function blocks'

Using XML Templates in TIA Openness

In my previous post, we looked at how Openness formats the XML files that it uses to create objects in TIA Portal. After reviewing some examples, we concluded that creating code in XML can be very complicated and that it is best to use existing block...


Sending Emails with a Siemens 1500 PLC

Out of the box, Siemens 1500 PLCs can send emails through a third-party email service provider. This interface supplies a mechanism for alerting relevant personal of faults, warnings, and other status information. The following guide outlines the ...


How to Read an Openness XML File

In my previous post, I explained what TIA Openness is and how using it can streamline your development process. Since Openness uses XML files as the basis for its import and export functions, knowing how to understand these XML files is vital for cre...


Linking PLC UDT Tags to HMI Faceplates and Pop-ups in TIA Portal V13 SP1

PLEASE NOTE: This blog was written using features available in TIA Portal V13 SP1 Update 1. Some of the functionality shown was removed in Update 3, specifically the ability to multiplex UDTs. Hopefully the rest of the information will be still be he...


Source Code Protection For Your SIMATIC S7-1200 PLC in TIA Portal

From time to time, we'll run across situations where a client believes it is necessary to lock down code on a PLC. In some cases, there may be valuable intellectual property they would like to protect. In others, its purpose may be to prevent una...


PID with a Siemens S7-1200 PLC

A few weeks ago I had the chance to experiment with serial communications using a Siemens S7-1200 PLC outfitted with a CM1241 (RS-485 module). Due to the limited number of projects we've had using the 1200 line of PLCs, this was an office first. ...


Siemens S7-1200 Serial Communication

Today, I found myself setting up some simple point-to-point serial communication on a Siemens S7-1200. For the current application, I was writing a simple function block to broadcast data to a Red Lion serial slave display, but there are a varie...


Siemens vs Allen-Bradley: Function Blocks

Siemens and Rockwell Automation are two giants competing in industrial automation technology today. Rockwell (aka Allen-Bradley) seems to be more popular in the US market, but Siemens has a larger international customer base. A cursory Google search ...