Categories

Entries for the 'PLC' Category

Webinar: Developing PLC and HMI Code Faster Through Use of the Siemens Open Library
Jessica Mlinaric

Webinar: Developing PLC and HMI Code Faster Through Use of the Siemens Open Library

Join John Sullivan of DMC and Carson Kennedy of Siemens for a 45-minute educational webinar on Wednesday, August 24 at 2 p.m. EST. John Sullivan will present on "Developing PLC and HMI Code Faster Through Use of the Siemens Open Library."             The Siemens platforms have always encouraged the use of modular, reusable, and object oriented code. Until recently, this meant that everyone was responsible for creating and maintaining ...

Continue reading →


Customizing HMI Alarm Text in TIA Portal
Jason Mayes

Customizing HMI Alarm Text in TIA Portal

Recently, I found the need to create customizable text for some alarms in a TIA Portal project. In this particular case, I needed to include the name of the operator that was monitoring the machine for traceability, as well as some specific machine information (process tag value) when the alarm occurred. Knowing this must be possible, I set off to Google, the Siemens forums, and the TIA Portal help files. Surprisingly, I was not able to find very good documentation or examples online. Howev...

Continue reading →


DMC's Siemens Automation Summit 2016 Highlights
John Sullivan

DMC's Siemens Automation Summit 2016 Highlights

This year's Siemens Automation Summit was as eventful as ever and full of excellent presentations, informative sessions, and advanced technology. Here are some of our favorite moments from the 2016 Automation Summit.   Virtual Reality at the Tech Café The Technology Café was well-attended and enjoyed by a variety of conference attendees. The Café consisted of four different stations with different Virtual Reality applications. Station One displayed a roller coaster application ...

Continue reading →


DMC Releases Free Siemens Open Library
John Sullivan

DMC Releases Free Siemens Open Library

DMC is excited to announce the release of the Siemens Open Library. The Siemens Open Library was developed by DMC, Inc. over several years. In partnership with Siemens Industry, we've improved, documented, and released this series of function blocks as an open source library for anyone to use and distribute.   By releasing the library via an open source license, we welcome users to contribute content to help enhance the overall availability of functionality to the greater Siemens Use...

Continue reading →


B&R Automation Studio Output Devices
Nikhil Holay

B&R Automation Studio Output Devices

For my very first project at DMC, I was tasked with setting up a file handling system through B&R Automation Studio 3. The application was to create a CSV file, populate the file with the revelant information, and then move the file to a new folder. As a new engineer, setting up a brand new system architecture can be a little daunting, so I was happy to find that Automation Studio makes it extremely straighforward to set up paths to different folders on your local storage (in this case, a co...

Continue reading →


Deluxe Drink System
Frank May

Deluxe Drink System

For one of our office parties, DMC's Boston office made an automatic bartender by utilizing industrial automation equipment. Before we disassembled it, we made a '90s style infomercial. The blog linked above has much more detail on how we built the automatic bartender, but here's a short list of some of the tech used: Siemens S7-1500 PLC Siemens S7-1200 PLC configured using I-Device Siemens KP8 key panel Philips Hue lightbulbs And of course, here is our infomercia...

Continue reading →


Beckhoff Drive Diagnostics
Nikhil Holay

Beckhoff Drive Diagnostics

Recently, I was working with a client that was using TwinCAT 3 and Beckhoff drives to control machinery. One night, as they were running this machine, the drive faulted. Without any diagnostic message visible on the HMI, they were completely in the dark as to why the drive failed. Typically, as a programmer, I'll diagnose this by opening up Drive Manager and taking a look at the diagnostic message.     As this is useful information for an operator to see, this led m...

Continue reading →


The Force Awakens Your PLC
Boris Cherkasskiy

The Force Awakens Your PLC

It seems like lately the Force has awakened everywhere. The only corner of the universe that was still dark and quiet was the PLC and factory automation galaxy. To fill the gap I decided to show PLCs the way of the Force. And what could be better than to teach it some forceful music? The obvious PLC choice for this mission was a Siemens S7-1200 PLC that we happened to have in the lab. I quickly realized that Force is not very strong in PLCs, and they are not very musical. Since they weren'...

Continue reading →


Sharing Tags between Beckhoff PLCs Using ADS Read
Nicklas Thystrup

Sharing Tags between Beckhoff PLCs Using ADS Read

Often it becomes necessary to read a few tags from another Beckhoff PLC without setting up a full publisher subscriber EAP system. Automation Device Specification (ADS) reads and writes can be used to do this with very minimal setup, as long as both PLCs are on the same network. Setup consists of mapping the variable in the source PLC at a static memory location, and then reading it from the destination PLC using an ADS Read command. Steps Define the variable in the source PLC...

Continue reading →


Connecting to a Siemens PLC with Access Address
Leon Grossman

Connecting to a Siemens PLC with Access Address

There are occasions when a Siemens PLC may need to be commissioned with a different IP address than the one assigned in the project. In the case of a single PLC, this is no big deal and it is a simple matter to update the project to match the IP address of the PLC as installed in the final location.   There are several ways this might happen: The PLC IP address was changed from the value set by the original builder. There is a managed switch performing 1-to-1 NAT between the PLC ...

Continue reading →


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

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 helpful to you! Here at DMC, we spend a lot of time programming PLCs and HMIs. While we program systems of all types and flavors, I'm personally most experienced with Siemens (TIA Portal) and Rockwell (RSLogix5000/FactoryTalk View). Th...

Continue reading →


Comfort Panel HMI Faceplate Programming with a Siemens PLC
Otto Gottlieb

Comfort Panel HMI Faceplate Programming with a Siemens PLC

Recently I was working on an S7-300 PLC project that required a fairly advanced HMI, so we chose the Comfort Panel to use Faceplates for the many pop-ups and identical controls required. Creating these Faceplates was a great way to increase our productivity in development, and I would like to share one very important lesson that we learned in the process. The test project I created uses an S7-300 PLC and a Comfort Panel HMI. The HMI control that I created is a Start-Stop HMI pushbutton...

Continue reading →


Connecting Custom Applications to the Factory Floor
Jon Carson

Connecting Custom Applications to the Factory Floor

DMC has expertise in both industrial and PC-based software development. In other words, we do a great deal of projects involving PLCs; but we also write plenty of complex PC-based apps. But my personal favorites are projects that combine the two. We’re seeing them more and more. Don’t get me wrong, off the shelf solutions are great, and should be used wherever they make sense. But sometimes they don’t fit all of the requirements our customers need. Here are some examples I&r...

Continue reading →


Read the Serial Number or MAC Address of your Siemens PLC
Ryan Landwehr

Read the Serial Number or MAC Address of your Siemens PLC

A recent DMC project for an OEM machine builder involved automatically generating log files for each machine. The twist? Each log file needed to be unique and easily traceable to the machine that generated it. This can be achieved using the PLC serial number and/or MAC address, and Siemens has a built-in System Function Block (SFB52 - RDREC) that can be used to extract this data. First let's take a look at the block and its inputs. REQ: Boolean input to request a Read. ...

Continue reading →


UDP Communication on Beckhoff’s TwinCAT 3
Sudeep Gowrishankar

UDP Communication on Beckhoff’s TwinCAT 3

Have you ever received a tweet from a machine on the factory floor? These days, modern PLCs interact with the typical PC and Information Technology world (Ethernet, SMTP/emails, SMS/text messaging, cloud technologies), but there often are caveats. You might need an OPC server to talk to the PLC and then a separate web service to interface with the your intranet. You might need to send messages out from the PLC to a PC-based server, specially configured to listen and interpret. You might need ...

Continue reading →


Data Logging with Siemens S7-1200 PLCs
Otto Gottlieb

Data Logging with Siemens S7-1200 PLCs

The creation and maintenance of data records for machines is a very important part of keeping machines running efficiently. For example, tracking downtime and uptime is crucial to provide proper maintenance on the machine, while logging stoppages and other events can help provide insight into troubleshooting any system. Maintaining these data logs sometimes requires purchasing additional software and hardware, as well as some programming to integrate everything together. Siemens has been prov...

Continue reading →


Using a Script to "Multiplex" Boolean Tags in Siemens Portal
Nikhil Holay

Using a Script to "Multiplex" Boolean Tags in Siemens Portal

After spending some time working with multiplexed tags in Siemens Portal, I found that I was unable to set boolean values through a multiplexed tag. Instead of using a multiplexed tag, a simple script can help achieve the same function. The function of the script is to take the input parameters and set the proper boolean tag based on those parameters. Example: Controlling Multiple Motors with One Pop-up In this example, multiple motors need to be controlled from an HMI. Without a script, e...

Continue reading →


B&R Automation - Changing Automation Runtime Configurations
Nikhil Holay

B&R Automation - Changing Automation Runtime Configurations

Within the Configuration view, ArConfig contains the Runtime Configuration. The Runtime configuration includes all sorts of useful information, including the unit's assigned IP address, host name, subnet mask, and much more. These functions serve to be extremely useful when configuring a device.  However, if you want to change these setting from the HMI of a unit, there are a few more steps involved.  In the Logical view, add the AsARCfg library to your global librarie...

Continue reading →


WinCC Comfort/Advanced V13 SP1: Pop-Up Screens and Slide-In Screens
Jeff McCormick

WinCC Comfort/Advanced V13 SP1: Pop-Up Screens and Slide-In Screens

Earlier this year (January 2015), Siemens released their latest service pack for the TIA Portal V13. This included updates to Step7 V13 SP1 and WinCC Comfort/Advanced V13 SP1, along with several others. Along with the WinCC V13 SP1 pack came the addition of the Pop-Up Screen and Slide-In Screen features. It is important to note that this is only available for HMIs running WinCC Comfort/Advanced V13 SP1 and WinCC Runtime Advanced V13 SP1. Currently, these features are only available for Comfort a...

Continue reading →


MS SQL Stored Procedures Directly from Beckhoff TwinCAT PLC
Nicklas Thystrup

MS SQL Stored Procedures Directly from Beckhoff TwinCAT PLC

Beckhoff TwinCAT 2 and 3 PLCs have the ability to execute SQL stored procedures to read or write data without the need for an HMI. This is achieved by setting up TwinCAT Database Server on the PLC to manage the database connections, and using functions from the TcDatabase library to execute stored procedures. This blog will go through the steps to setup the TwinCAT Database Server and execute a pre-existing stored procedure. 1. Setup your SQL database and write your stored procedure. 2....

Continue reading →


Page 3 of 7First   Previous   1  2  [3]  4  5  6  7  Next   Last   

Categories