![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#16 |
Lifetime Supporting Member
|
I would imagine it might be possible to construct one with open sockets wouldn't it? Not that I would know how, but I thought Open Sockets opened all possibilities...[/QUOTE]
It is possible, but takes a bit of time and generally not something most PLC programmers have experience doing. We have done communication via custom protocols in the PLC & via the SCADA. There are so many protocols and most PLC's only speak a few out of the box. The SCADA has many built in. Of course controls from hardware via SCADA to PLC are not Safety rated and only for general use. |
![]() |
![]() |
#17 | |
Lifetime Supporting Member + Moderator
|
Quote:
I could see a value in RTU's that might have a handful of Ethernet connectable instruments but use a different subnet back through telemetry. It might be useful to have the PLC ping the local devices once in a while to make sure they are alive for when they are needed. Granted there are often other ways to accomplish this with a heartbeat, but not always.
__________________
. . .Nostalgia used to be so much better . . . |
|
![]() |
![]() |
#18 |
Lifetime Supporting Member
|
On most SCADA's
We ping every IP address on the PLC network for troubleshooting. Ping = ethernet is live CPU usage = computer is booted up Process name = software is up and running Heartbeat = device is properly updating Depending on it the device is a computer, flow meter, PLC different combinations of this data pinpoint problems |
![]() |
![]() |
#19 |
Member
![]() ![]() Join Date: Apr 2021
Location: Alaska
Posts: 33
|
Ping is usually implemented with ICMP, and to my knowledge there is no way to trigger an ICMP ping from a CLx. However, there is such a thing as a UDP ping, which is more common on Unix based systems. You can create a UDP datagram with the Open Socket messages in CLx. You may be able to implement a UDP ping using those. However, it will be complicated and there are probably better options such as creating a CIP connection between the PLC and the computer using a CIP server. Many CIP server options exist in phython that can be used to build something simple like what you need.
|
![]() |
![]() |
#20 |
Member
|
One possibility is to run a small program in python to read a random or counter data tag , if the data from the plc does not change or it is impossible to read, that means that the comm between the pc and the plc has been interrupted.
The OP mentioned a compact logix so pylogix can come to the rescue, DMROEDER is in front of pylogix, you can contact him here.
__________________
My two cents. |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can I periodically ping a PC then view in PLC? | g20kid | LIVE PLC Questions And Answers | 17 | June 20th, 2017 02:54 AM |
PLC Update - Back Issues Collection Now Available! | Phil Melore | LIVE PLC Questions And Answers | 11 | October 22nd, 2015 04:17 AM |
Siemens PLC won't auto-run after power-up | Lamboom | LIVE PLC Questions And Answers | 5 | August 19th, 2014 06:32 PM |
VMware-can ping but rslinx cannot detect the PLC | Nigasai | LIVE PLC Questions And Answers | 20 | June 29th, 2012 01:50 PM |
PC to PLC Protocol | TheRixta | LIVE PLC Questions And Answers | 13 | December 17th, 2008 02:56 PM |