Tag value for off-line PLCs in Crimson 3

msi124

Member
Join Date
Mar 2014
Location
Touchet
Posts
5
Hi all. Is it possible in Crimson 3 to assign a value to a tag depending on if a PLC is off-line and unreachable or on-line and reachable. All of the PLCs are communicating by Ethernet with a Data Station Plus. Thanks.
 
Create a program. Use the "IsDeviceOnline()" function to tell if you can communicate with the external device.

For example (assuming the PLC is device 1):

Code:
if (IsDeviceOnline(1)) {   // communications ok
     myVar = 1;
}
else {                     // no communications with PLC
     myVar = 2;
}

The device number for the PLC can be found on the communications tab in the bottom left corner (I think) when you highlight the device name.

EDIT: Creating a program isn't necessarily required as it can be done a few ways without explicitly creating one.
 

Similar Topics

Hello everybody ! I run into small problem in my RsView 32 application . Here is what happening : The Trend reading Tag named “RPM” (0-200)...
Replies
5
Views
5,664
I want to set user security level based on the value of a tag in my PLC called "ActiveUser". That tag will contain the A-P code which we use for...
Replies
6
Views
211
hello. In Intouch, I want the color of the alarm window in the header menu to change depending on the priority value of the tag. To do this, I...
Replies
0
Views
82
Please help me, I have solve many week but still not solve it. I found trouble of factory talk studio when I set tag by browse address of OPC...
Replies
0
Views
118
Hi, I have a complex database in Crimson 3.0 and in one of the display pages I am trying to get a tag to show the sum of several other tags. The...
Replies
3
Views
166
Back
Top Bottom