Red Lion Crimson 3.0 check communication

einnh

Lifetime Supporting Member
Join Date
Mar 2014
Location
New England
Posts
275
I am working with a Red Lion graphite series hmi with multiple PLC's. I know how to setup an alarm to check for communication in general using a datatag to system variable CommsError. What function would I use to return the communcation status for a particular device.

In my device manager I have 'deviceA' and 'deviceB' in protocol 1, allen-bradley, ethernet/ip.
 
For each device that needs a communication failure alarm, I like to use a flag tag set to the value of "IsDeviceOnline(PLC_Name)"

I also tend to set an alarm for this tag with a delay time. In many cases I have found that the Red Lion device is up and talking before the PLC is fully awake, so a delay of 2 to 5 seconds is often called for to prevent nuisance alarms at power up.

You can use the name given to each PLC or you can use the device number as the argument for the IsDeviceOnline function. I tend to use the name, that way if I change communication channels or delete and add devices and get the device numbers mixed up, the alarm is still tied to the device by name.

The function will return a "1" when the device is communicating and a "0" when it isn't so set your alarm conditions accordingly.
 
Last edited:

Similar Topics

How do you install update on Red Lion Crimson ver 3.1. Do I just need to run the exe file on the host server?
Replies
1
Views
134
Hi, I am trying to increase the size of the user login pop up using a Red Lion CR1000 7” HMI with Crimson 3.1 software. The login pop up is very...
Replies
2
Views
701
Hello, We are currently running a bunch of g310's connected to their SLC5 PLCs through ethernet. I've attempted to upgrade the program from 2.0...
Replies
1
Views
1,150
Hi I have been using Red Lion products for some time, I had a thought over the bank holiday weekend, As you do. It would be nice if whenever a...
Replies
4
Views
1,034
Well, I have yet another question for the great minds on this forum! We have a red lion HMI for one of our machines and every time I hook my...
Replies
11
Views
1,710
Back
Top Bottom