Laptop to PLC heartbeat

LP123

Member
Join Date
Mar 2024
Location
Ontario
Posts
3
Hi everyone,

I have a task at work that I'm hoping someone will be able to help me find a solution for. Here is the background info: I have a laptop that is connected to a weld controller (Rexroth) and the sole purpose of this laptop is to collect weld graphs and store them on an external HD for future use. However, if the laptop is accidentally powered down, then the graphs are not collected. My task is to figure out a way to generate an alarm on the PLC (S7-300) if the laptop is powered down. I know a heartbeat is used for this purpose, but how can I set one up from a laptop then send it to the PLC? My first idea was to set up an OPC server on the laptop (kepware is my facility standard), but that seems like over kill for such a "simple" problem. Is there an easier way to do this? Has anyone done something similar to this? Any thoughts/ideas are appreciated.

Thanks!
 
What protocols are available to connect the laptop to the PLC? For example, how does the laptop "collect weld graphs" (data?) now?
 
How about using a USB watchdog card with a built-in relay? I have used PCI watchdog cards in the past to monitor a process on the PC, so if the process failed the relay would get de-energised.
You can then wire the relay into a standard digital input in your PLC.
 
Does the PLC attempt to send the data to the laptop when fresh data becomes available or does the laptop request data?. If the latter, what triggers the laptop to issue the request? If the PLC initiates the data transfer, you will need to add an acknowledgement from the laptop. A failure to acknowledge the the PLC's attempt to send the data will trigger the fault. If the laptop is in control of the communications, you will need to have it periodically increment a tag in the PLC and if the PLC doesn't see the value change within a reasonable time, it triggers the fault.
 
How about using a USB watchdog card with a built-in relay? I have used PCI watchdog cards in the past to monitor a process on the PC, so if the process failed the relay would get de-energised.
You can then wire the relay into a standard digital input in your PLC.

What I was going to recommend. I've used them for a medical device cart to power down a laser if the controlling PC is shut off.
 
What protocols are available to connect the laptop to the PLC? For example, how does the laptop "collect weld graphs" (data?) now?
The laptop to PLC connection will be profinet (its not currently setup at the moment?. It's a local ethernet ip connection to the Weld controller.
 
How about using a USB watchdog card with a built-in relay? I have used PCI watchdog cards in the past to monitor a process on the PC, so if the process failed the relay would get de-energised.
You can then wire the relay into a standard digital input in your PLC.
that's a good idea, I can get one cheap off amazon. Thank you for the idea!
 
How about using a USB watchdog card with a built-in relay? I have used PCI watchdog cards in the past to monitor a process on the PC, so if the process failed the relay would get de-energised.
You can then wire the relay into a standard digital input in your PLC.
Knowing how operators in factories love to alter and play with things to get more production bonuses while sacrificing quality, wouldn't they be able to put the USB watchdog in any device and not just the laptop doing the charting?

Also, if it's wired to a PLC input then it would have to be unplugged and stay at the machine if the laptop is taken elsewhere.

My suggestion is a dedicate logging computer in the control panel. A fanless PC can be bought for $49, used laptops for $89, 2TB USB SSD for $39
 
The laptop to PLC connection will be profinet (its not currently setup at the moment?. It's a local ethernet ip connection to the Weld controller.
CoDeSys for Windows has a PROFINET IO device that can be configured as a PROFINET IO device under the Siemens, but the license will set you back several hundred Euros. On the other hand, it would allow to do a lot more than the heartbeat application.
 

Similar Topics

Hi; I have Laptop Lenovo Thinkpad (W10) which don't have built-in Bluetooth. I have a PLC having Bluetooth communication device. I wanted to...
Replies
1
Views
132
Sorry for the basic question: At the moment, the PLC [S7-1200] is connected to a laptop (contains TIA Portal) via the ethernet port. When I add...
Replies
10
Views
1,509
I'm about to have a guy onsite (I'm trying to help troubleshoot remotely) and he doesn't have the proper software. Usually I have the guys install...
Replies
4
Views
1,742
Hi; I have a DUPONT brand machine having OMRON PLC CQM1-CPU21-E. I have CX Programmer installed in my Laptop having W1indow10. I want to go...
Replies
10
Views
3,605
Hi, I'm new to the forum, however, I have been reading it for a while. I have a good understanding of the PLC logic, but I'm very rookie when it...
Replies
3
Views
1,597
Back
Top Bottom