We will now look at logging data with time and date in the Click PLC. The Click PLC can perform indirect addressing. This means that I can ask for information to be moved to and from locations in the PLC using a pointer that will indicate the address.
Stephen Covey in The 7 Habits of Highly Effective People said: “Begin With the End in Mind.” This is especially true when looking at storing or logging data within the programmable logic controller. (PLC) It is important to fully define what you want to accomplish with your program.
In our Click PLC example, we want to take a series of consecutive memory locations (DS1 to DS10) and store them in memory areas DS100 to DS4100 each minute. We will be able to store 400 entries (400 minutes) in our storage area. Every entry will include the real-time clock (RTC) of the Click. This will show the date and time of each entry. Let’s get started! Keep on Reading!
Tag Archives: plc data logging
BRX Do-More PLC Email – Text SMS Messaging Gmail
We will now send email and text messages using our BRX Do-More controller. Sending email messages from the PLC sounds like an easy task. However, very few applications do this on the production floor. This is probably due to the networks involved and user authentication can be complicated. In our example, we will use a restricted Gmail SMTP server so no authentication will be required. We will walk through sending email and text messages from the PLC to Google Gmail. Once in your Gmail account, the message can be automatically forwarded to another verified email or SMS text message address.
The BRX Series PLC also has this Email capability along with attaching files. We will also be looking at secure email services with the BRX Series PLC. Let’s get started. Continue Reading!
Now You Can Have Data Logging Free
A data logger is also known as a data recorder or data acquisition. It is a method to record data over a period of time and/or events.
The recorded information can come from sensors in the field. They can be digital or analog. With the analog (voltage or current) we can measure temperature, pressure, sound, weight, length, etc. Digital data can be used for counts, times, events (motor overload), etc.
A time or Event-Driven Data Logging
Data collecting can be time or event-driven. Time-based would be like collecting data every minute, shift, day, etc. An event-based collection would be from an error in the field such as an overload of a motor or a fault with a temperature controller.
Data mining / analysis is the most important part of the data logging.
Data mining/analysis is the way in which we look at the data and determine what to do. Clustering is a method to look at the data in similar groups for comparison. An example of this would be the amount of material made on individual shifts in the plant. Setting up the data logging in a way to examine the output over time is very helpful in determining methods to increase productivity in the manufacturing environment.
Time Studies with Free Data Logging
Time studies or observations are vital in the lean manufacturing world. Data logging can be useful in assisting with these studies. However, unlike the usual manual approach, this time study can be continuous.
Data logging does not have to be expensive. It is also not as intimidating as it may sound.
The ‘Robust Data Logging for Free’ eBook is available in a free download. Just subscribe to ACC Automation to get the link for the free download.
- Automation Direct – Do-More – H2-DM1E PLC (Ethernet Modbus TCP)
- Do-more Designer 1.3 (Simulator instead of PLC mentioned above)
- Windows-based computer running IIS
- Visual Basic 6
Additional information on Omron Host Link Protocol and Indirect Addressing can be found in the eBook.
The ‘Robust Data Logging for Free’ eBook is available for a free download. Just subscribe to ACC Automation on the left side menu of the website to get the link for the free download.
Watch on YouTube: Now You Can Have Robust Data Logging For Free
If you have any questions or need further information please contact me.
Thank you,
Garry
If you’re like most of my readers, you’re committed to learning about technology. Numbering systems used in PLCs are not difficult to learn and understand. We will walk through the numbering systems used in PLCs. This includes Bits, Decimal, Hexadecimal, ASCII and Floating Point.
To get this free article, subscribe to my free email newsletter.
Use the information to inform other people how numbering systems work. Sign up now.
The ‘Robust Data Logging for Free’ eBook is also available as a free download. The link is included when you subscribe to ACC Automation.