---
title: Are Machine Diagnostics Overburdening Our PLCs?
description: n today’s world, we depend on the PLC to be our eyes and ears on the health of our automation machines.
image: https://blog.innovatingautomation.asia/hubfs/Blog/thumbnail/rfid-9.jpg
---

Document

[![](https://www.balluff.com.cn/img/nav-logo-big@2x.png) ![](https://blog.innovatingautomation.asia/hs-fs/hubfs/Balluff_Logo.png?width=230&name=Balluff_Logo.png)](https://www.innovatingautomation.asia/?hsLang=en)

[![](https://blog.innovatingautomation.asia/hubfs/Blog/earth.png) EN](https://blog.innovatingautomation.asia/)

- [![](https://blog.innovatingautomation.asia/hubfs/APac%20Flag/Rounded%20Square/china.png) 中文](https://blog.innovatingautomation.asia/cn/?hsLang=en)
- [![](https://blog.innovatingautomation.asia/hubfs/APac%20Flag/Rounded%20Square/japan.png) 日本語](https://www.innovatingautomation.asia/jp/?hsLang=en)
- [![](https://blog.innovatingautomation.asia/hubfs/APac%20Flag/Rounded%20Square/south-korea.png) 한국어](https://www.innovatingautomation.asia/kr/?hsLang=en)

- Product
  
  ![](https://app01.balluff.com/image-fit/497-254/fileadmin/user_upload/products/sensors/thumb_overview_sensors.jpg)
  
  [Sensors](https://www.innovatingautomation.asia/tag/sensors?hsLang=en)
  
  工业自动化全面解决方案 – 一站式服务。
  
  
  
  ![](https://app01.balluff.com/image-fit/497-254/fileadmin/user_upload/products/rfid/thumb_overview_rfid.jpg)
  
  [RFID](https://www.innovatingautomation.asia/tag/rfid?hsLang=en)
  
  在生产过程中实现自动识别和回溯。
  
  
  
  ![](https://app01.balluff.com/image-fit/497-254/fileadmin/user_upload/products/machine-vision_optical-identification/thumb_overview_machine-vision_optical-identification.jpg)
  
  [Machine Vision and Optical Identification](https://www.innovatingautomation.asia/tag/machine-vision-and-optical-identification?hsLang=en)
  
  基于摄像头的目标和过程控制以及光学识别，适用于自动化。
  
  
  
  ![](https://app01.balluff.com/image-fit/497-254/fileadmin/user_upload/products/human-machine-interface/thumb_overview_human-machine-interface.jpg)
  
  [Human Machine Interfaces](https://www.innovatingautomation.asia/tag/human-machine-interfaces?hsLang=en)
  
  利用我们的人机界面您可以一目了然地浏览各种运行状态。
  
  
  
  ![](https://app01.balluff.com/image-fit/497-254/fileadmin/user_upload/products/safety/thumb_overview_safety.jpg)
  
  [Safety](https://www.innovatingautomation.asia/tag/safety?hsLang=en)
  
  凸显巴鲁夫优异品质的安全性。
  
  
  
  ![](https://app01.balluff.com/image-fit/497-254/fileadmin/user_upload/products/industrial-networking/thumb_overview_industrial-networking.jpg)
  
  [Industrial Networking](https://www.innovatingautomation.asia/tag/industrial-networking?hsLang=en)
  
  横跨所有生产层面的信息交换确保在整个过程中获得最佳性能。
  
  
  
  ![](https://app01.balluff.com/image-fit/497-254/fileadmin/user_upload/products/power-supplies/thumb_overview_power-supplies.jpg)
  
  [Power Supplies](https://www.innovatingautomation.asia/tag/power-supplies?hsLang=en)
  
  既能配合防护等级达到IP20和IP67的Heartbeat®功能...
  
  
  
  ![](https://app01.balluff.com/image-fit/497-254/fileadmin/user_upload/products/connectivity/thumb_overview_connectivity.jpg)
  
  [Connectivity](https://www.innovatingautomation.asia/tag/connectivity?hsLang=en)
  
  非常适合于标准化及灵活地应用在工业环境中。
  
  
  
  ![](https://app01.balluff.com/image-fit/497-254/fileadmin/user_upload/products/accessories/thumb_overview_accessoires.jpg)
  
  [Accessories](https://www.innovatingautomation.asia/tag/accessories?hsLang=en)
  
  无论机械还是电子产品：巴鲁夫始终为您提供合适的附件。
- Industries
  
  ![](https://app01.balluff.com/image-fit/471-176/fileadmin/user_upload/industries/mobility/overview_industrie_mobility.jpg)
  
  [Automobile industry and suppliers](https://www.innovatingautomation.asia/tag/automobile?hsLang=en)
  
    - 铸造车间
    - 动力总成车间
    - 冲压车间
    - 焊装车间
    - 涂装车间
    - 总装车间
    - 新能源汽车
  
  
  
  
  ![](https://app01.balluff.com/image-fit/471-176/fileadmin/user_upload/industries/filling-packing/overview_packaging.png)
  
  [Packaging, Foods and Beverages](https://www.innovatingautomation.asia/tag/packaging-foods-and-everages?hsLang=en)
  
    - 应用案例
    - 料位探测
    - 高压清洗和卫生
    - 过程改进和诊断
    - 识别生产及加工过程中的错误
  
  
  
  
  ![](https://app01.balluff.com/image-fit/471-176/fileadmin/user_upload/industries/drive-technology_new/pic_overview_drive-technology.png)
  
  [Electric Drive Technology](https://www.innovatingautomation.asia/tag/electric-drive-technology?hsLang=en) 
  
    - 集成于线性和旋转驱动装置中
    - 力矩马达中的位置反馈
    - 用于线性直接驱动装置的反馈系统
    - 过程改进和诊断
    - 检测极限和特定位置
  
  
  
  
  ![](https://app01.balluff.com/image-fit/471-176/fileadmin/user_upload/industries/fluid-power-technolgy/overview_fluid-power-technology.png)
  
  [Fluid Power Technology](https://www.innovatingautomation.asia/tag/fluid-power-technology?hsLang=en) 
  
    - 使用IO-Link实现多样化性能
    - 在液压装置中探测活塞和阀门位置
    - 适用所有液压缸的精确反馈系统
    - 独立紧凑的液压驱动
    - 从液压系统到数字化动力解决方案
    - 智能化气动驱动
    - 安全关闭流体驱动
  
  
  
  
  ![](https://app01.balluff.com/image-fit/471-176/fileadmin/user_upload/industries/plastic_rubber_tires/overview_industrie_plastic-rubber-tires.jpg)
  
  [Plastic, Rubber and Tires](https://www.innovatingautomation.asia/tag/plastic-rubber-and-tires?hsLang=en) 
  
    - 塑料
    - 橡胶和轮胎
    - 系统 — Mold-ID
  
  
  
  
  ![](https://app01.balluff.com/image-fit/471-176/fileadmin/user_upload/industries/energie/overview_industrie_energy.jpg)
  
  [Energy](https://www.innovatingautomation.asia/tag/energy?hsLang=en) 
  
    - 石油和天然气开采
    - 传统发电厂
    - 太阳能
    - 水力发电
    - 风力发电
    - 液压系统
  
  
  
  
  ![](https://app01.balluff.com/image-fit/471-176/fileadmin/user_upload/industries/steel-industrie_new/overview-industry-steel.jpg)
  
  [Steel and Metallurgical Industry](https://www.innovatingautomation.asia/tag/steel-and-metallurgical-industry?hsLang=en) 
  
    - 炼焦机、炼焦炉组和输送设备
    - 高炉和电弧炉
    - 热轧和厚板的生产
  
  
  
  
  ![](https://app01.balluff.com/image-fit/471-176/fileadmin/user_upload/industries/semiconductor-industrie_new/overview-industry-semiconductor.png)
  
  [Semiconductor Industry](https://www.innovatingautomation.asia/tag/semiconductor-industry?hsLang=en) 
  
    - 填充液位和泄漏检测
    - 晶片加工
    - 真空应用
  
  
  
  
  ![](https://app01.balluff.com/image-fit/471-176/fileadmin/user_upload/industries/metallworking/overview_industrie_metalworking.jpg)
  
  [Metalworking](https://www.innovatingautomation.asia/tag/metalworking?hsLang=en) 
  
    - 车削
    - 铣削
    - 冲压
    - 主轴、夹盘、回转台
    - 处理、运输和过程监控
    - 刀具识别
  
  
  
  
  ![](https://app01.balluff.com/image-fit/471-176/fileadmin/user_upload/industries/life-science/overview-industry-life-science.jpg)
  
  [Life Science](https://www.innovatingautomation.asia/tag/life-science?hsLang=en) 
  
    - 检测和跟踪目标
    - 独特的完全定制产品
    - 流体处理
- About us
  
  Telephone
  
  上海
  
  86 21 5089 9970
  
  
  
  北京
  
  86 10 6378 9606
  
  
  
  天津
  
  86 22 8793 8661
  
  
  
  
  
  
  
  Location
  
  上海
  
  上海市浦东新区成山路800号云顶国际商业广场A座8层
  
  
  
  北京
  
  北京市丰台区富丰路2号星火科技大厦2112室
  
  
  
  
  
  
  
  See All

- PRODUCTS
  
    - Sensors
    - RFID
    - Machine Vision and Optical Identification
    - Human Machine Interfaces
    - Safety
    - Industrial Networking
    - Power Supplies
    - Connectivity
    - Accessories
- INDUSTRIES
  
    - Automobile industry and suppliers
    - Packaging, Foods and Beverages
    - Electric Drive Technology
    - Fluid Power Technology
    - Plastic, Rubber and Tires
    - Packaging, Foods and Beverages
    - Energy
    - Steel and Metallurgical Industry
    - Semiconductor Industry
    - Metalworking
    - Life Science
- EN
  
    - [![](https://blog.innovatingautomation.asia/hubfs/APac%20Flag/Rounded%20Square/china.png) 中文](https://www.innovatingautomation.asia/cn?hsLang=en)
    - [![](https://blog.innovatingautomation.asia/hubfs/APac%20Flag/Rounded%20Square/japan.png) 日本語](https://www.innovatingautomation.asia/jp/?hsLang=en)
    - [![](https://blog.innovatingautomation.asia/hubfs/APac%20Flag/Rounded%20Square/south-korea.png) 한국어](https://www.innovatingautomation.asia/kr/?hsLang=en)

[>> Back to homepage](https://blog.innovatingautomation.asia/)

# Are Machine Diagnostics Overburdening Our PLCs?

Posted by [Balluff](https://blog.innovatingautomation.asia/author/balluff) on Jun 18, 2020 7:35:08 AM

In today’s world, we depend on the PLC to be our eyes and ears on the health of our automation machines. We depend on them to know when there has been an equipment failure or when preventative maintenance is needed. To gain this level of diagnostics, the PLC must do more work, i.e. more rungs of code are needed to monitor the diagnostics supplied to the sensors, actuators, motors, drives, etc.

In terms of handling diagnostics on a machine, I see two philosophies. First, put the bare bones minimum in the PLC. With less PLC code, the scan times are faster, and the PLC runs more efficiently. But this version comes with the high probability for longer downtime when something goes wrong due to the lack of granular diagnostics. The second option is to add lots of diagnostic features, which means a lot of code, which can lessen downtime, but may throttle throughput, since the scan time of the PLC increases.

So how can you gain a higher level of diagnostics on the machine and lessen the burden on the PLC?

While we usually can’t have our cake and eat it too, with Industry 4.0 and IIoT concepts, you can have the best of both of these scenarios. There are many viewpoints of what these terms or ideas mean, but let’s just look at what these two ideas have made available to the market to lessen the burden on our PLCs.

##### Data Generating Devices Using IO-Link

The technology of IO-Link has created an explosion of data generating devices. The level of diversity of devices, from I/O, analog, temperature, pressure, flow, etc., provides more visibility to a machine than anything we have seen so far. Utilizing these devices on a machine can greatly increase visibility of the processes. Many IO-Link masters communicate over an Ethernet-based protocol, so the availability of the IO-Link device data via JSON, OPC UA, MQTT, UDP, TCP/IP, etc., provides the diagnostics on the Ethernet “wire” where more than just the PLC can access it.

##### Linux-Based Controllers

After using IO-Link to get the diagnostics on the Ethernet “wire,” we need to use some level of controller to collect it and analyze it. It isn’t unusual to hear that a Raspberry Pi is being used in industrial automation, but Linux-based “sandbox” controllers (with higher temperature, vibration, etc., standards than a Pi) are available today. These controllers can be loaded with Codesys, Python, Node-Red, etc., to provide a programming platform to utilize the diagnostics.

##### Visualization of Data

With IO-Link devices providing higher level diagnostic data and the Linux-based controllers collecting and analyzing the diagnostic data, how do you visualize it?  We usually see expensive HMIs on the plant floors to display the diagnostic health of a machine, but by utilizing the Linux-based controllers, we now can show the diagnostic data through a simple display. Most often the price is just the display, because some programming platforms have some level of visualization. For example, Node-Red has a dashboard view, which can be easily displayed on a simple monitor. If data is collected in a server, other visualization software, such as Grafana, can be used.

To conclude, let’s not overburden the PLC with diagnostic; lets utilize IIoT and Industry 4.0 philosophy to gain visibility of our industrial automation machines. IO-Link devices can provide the data, Linux-based controllers can collect and analyze the data, and simple displays can be used to visualize the data. By using this concept, we can greatly reduce scan times in the PLC, while gaining a higher level of visibility to our machine’s process to gain more uptime.

- [Tweet](https://twitter.com/share)

TAGS

[PredictiveMaintenance](https://blog.innovatingautomation.asia/tag/PredictiveMaintenance) [ConditionMonitoring](https://blog.innovatingautomation.asia/tag/ConditionMonitoring) [RFID](https://blog.innovatingautomation.asia/tag/rfid) [MachineVision](https://blog.innovatingautomation.asia/tag/machinevision) [SmartCamera](https://blog.innovatingautomation.asia/tag/smartcamera) [IO\_Link](https://blog.innovatingautomation.asia/tag/io_link) [intralogistics](https://blog.innovatingautomation.asia/tag/intralogistics) [Automobile](https://blog.innovatingautomation.asia/tag/automobile) [IIoT](https://blog.innovatingautomation.asia/tag/iiot) [high temperature](https://blog.innovatingautomation.asia/tag/hightemperature) [industry\_4.0](https://blog.innovatingautomation.asia/tag/industry_4.0?hsLang=en)

### Subscribe for more

[![New Call-to-action](https://no-cache.hubspot.com/cta/default/7010809/43c13478-58e0-42a3-af82-b5e6159d8af8.png)](https://cta-redirect.hubspot.com/cta/redirect/7010809/43c13478-58e0-42a3-af82-b5e6159d8af8)

Document

© Balluff Automation

- [![](https://app01.balluff.com/image-fit/30-30/fileadmin/user_upload/germany/icons/fb-icon.png)](http://www.facebook.com/Balluffworldwide)
- [![](https://app01.balluff.com/image-fit/30-30/fileadmin/user_upload/germany/icons/linkedin-icon.png)](http://www.linkedin.com/company/5340578?trk=prof-exp-company-name)
- [![](https://app01.balluff.com/image-fit/30-30/fileadmin/user_upload/germany/icons/tweet-icon.png)](http://twitter.com/balluff?lang=de)
- [![](https://app01.balluff.com/image-fit/30-30/fileadmin/user_upload/germany/icons/youtube-icon.png)](http://www.youtube.com/user/BalluffSensors)

[General Terms and Conditions](https://www.balluff.com.cn/en/cn/documents/general-sales-terms-and-conditions/) [Contact](https://www.balluff.com.cn/en/cn/contacts/contact/) [Imprint](https://www.balluff.com.cn/en/cn/documents/imprint/) [Privacy Statement](https://www.balluff.com.cn/en/cn/documents/privacy-statement/)