Categories

Entries for 'Nikhil Holay'

5 Tips For Getting Started In PLCSIM Advanced
Nikhil Holay

5 Tips For Getting Started In PLCSIM Advanced

Siemens' S7-PLCSIM Advanced allows simulation of functions while configuring and engineering without a physical connection. Overall, PLCSIM Advanced implements many improvements over PLCSIM including simulation for the web server, OPC UA, distributed IO, and many more. Below are a couple tips and tricks I’ve used to get started with PLCSIM Advanced. Tip One: Downloading To PLCSIM Advanced Downloading to PLCSIM Advanced is a little different for a developer accustomed...

Continue reading →


Siemens S7 Graph Tips and Tricks
Nikhil Holay

Siemens S7 Graph Tips and Tricks

SIMATIC S7 Graph is used for programming sequence logic in a graphical, flow chart representation. For those of us who have been programming sequences in ladder logic or SCL, Graph presents an alternative method that includes some built-in functionality. For those that haven’t used Graph (and maybe those who have!), I’ve put together some tips and tricks to help you develop quickly and efficiently. Pre/Post Instructions Pre and post-instructions run cyclically, before and after...

Continue reading →


Siemens RFID Card Reader Setup, User Administration, and Auto-Login
Nikhil Holay

Siemens RFID Card Reader Setup, User Administration, and Auto-Login

This blog is an instruction guide to installing the necessary Comfort Panel HMI software for interfacing with a Siemens RFID card reader. Additionally, the guide will demonstrate the necessary setup elements in the PLC project, as well as instructions for getting started with user administration and auto-login. Definitions UID - Unique Identifier, tied to an individual card SOAP - Simple Object Access Protocol, Protocol specification for exchanging structured information in...

Continue reading →


7 Tips for Programming Beckhoff TwinSAFE Safety Logic
Nikhil Holay

7 Tips for Programming Beckhoff TwinSAFE Safety Logic

TwinSAFE is a module of Beckhoff’s TwinCAT programming software that allows a programmer to set up safety logic for Beckhoff Safety PLC’s. I've picked up a few tips and tricks in my time working with TwinSAFE, and I hope you will find them useful. 1. SafeAND – Use A Standard Bool As you develop your safety program, you’ll notice that most of your inputs will be required to safety bool input. However, when using a SafeAND block, your first input (and only your fi...

Continue reading →


How to Convert from ProTool to WinCC Flex
Nikhil Holay

How to Convert from ProTool to WinCC Flex

ProTool is an HMI software package from Siemens. Most people (myself included) are most familiar with WinCC Flexible and Portal as the two primary Siemens HMI software packages. ProTool is the predecessor to WinCC Flex, and was phased out in 2004. So, what do you do if you have an HMI stuck in ProTool? Luckily, the conversion to WinCC Flex is very straightforward. Why Convert? There are several good reasons to convert your project from ProTool to WinCC Flex.  Many current Siemen...

Continue reading →


Indusoft Tips and Tricks
Nikhil Holay

Indusoft Tips and Tricks

Indusoft is an HMI/SCADA platform that can be used with a variety of different PLCs. At DMC, we’ve used Indusoft with several PLC platforms, including Beckhoff, Omron, and Mitsubishi. Below, I’ve outlined a few tips and tricks that I’ve used to accelerate Indusoft development.   Indusoft Tip 1: Refer to the PLC Make sure that your driver sheet I/O addresses refer to something in the PLC. If you are using symbolic tags, the tag must exist in the PLC or Indusoft wil...

Continue reading →


Beckhoff TwinCAT3 Scope
Nikhil Holay

Beckhoff TwinCAT3 Scope

For anyone debugging a program, a scope can be an extremely efficient tool for determining the cause of an issue. A scope allows you to monitor a variable (or multiple) in real time, which is a great way of viewing and debugging specific parts of the machine process.  In Beckhoff, TwinCAT 3 offers a very straightforward built-in scope. In this article, I'll detail how to set up a scope to debug a program. Like TwinCAT 3, the TwinCAT 3 Scope is integrated into...

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 →


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 →


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 →


Connecting to a B&R device in B&R Automation Studio
Nikhil Holay

Connecting to a B&R device in B&R Automation Studio

Connecting to a B&R device over Ethernet or over a network is extremely helpful for updating and troubleshooting programs. Without a connection, a CompactFlash would have to be re-created for any small change that was made. In addition, it would be impossible to monitor the state of the program. This article details how to connect to your B&R device over Ethernet and over a network. Connecting to a Device over Ethernet Purpose: Allows file downloads/transfers to the B&R devi...

Continue reading →


Mapping Physical Keys in B&R Automation Studio
Nikhil Holay

Mapping Physical Keys in B&R Automation Studio

The ability to map physical buttons is a crucial element of fully utilizing B&R's Power Panel platform. Physical keys are a great way of making an HMI more user-friendly and robust. This article details the procedure to map physical keys in B&R Automation Studio. High Level Overview Physical button pressed on the HMI Virtual key is triggered Triggered virtual key performs action or sets variable Variable can be used as a trigger for other actions within the program ...

Continue reading →


Categories