This document describes using Crimson software to set up a tag using a crimson function that will help in detecting whether the communication between the Red Lion device and another redlion device/ third party device/PLC is online or offline.
Red Lion Controls CR1000 Human Machine Interface (HMI), CR3000 HMI, Data Acquisition (DA10, DA30), Data Station Plus, FlexEdge™ (DA50A, DA70A), G3 HMI, G3 Kadet HMI, Graphite® Controller, Graphite HMI, Modular Controller, and Productivity Station™
Detect whether comms is online or offline.
Crimson 3.0, Crimson 3.1 & Crimson 3.2
You an use the command Isdeviceonline() to determine the comms status.
This function will return a OFF or ON depending on whether you have comms or not.
Isdeviceonline() function will work only for Master drivers. It will work regardless of whether comms is over serial or Ethernet.
In my example below I have used Modbus RS485, the device number(Index) is 2 It could be a different number in your crimson database.
You will go to the data tags section, create a new flag tag -> source -> data source -> General -> Isdeviceonline(2)
Tag 2 will show ON when comms is online and OFF when comms is offline.
It is the customer's responsibility to review the advice provided herein and its applicability to the system. Red Lion makes no representation about specific knowledge of the customer's system or the specific performance of the system. Red Lion is not responsible for any damage to equipment or connected systems. The use of this document is at your own risk. Red Lion standard product warranty applies.
Red Lion Technical Support
If you have any questions or trouble contact Red Lion Technical Support by clicking here or calling 1-877-432-9908.
For more information: http://www.redlion.net/support/policies-statements/warranty-statement