Factory talk Connection Issue = 0

kevilay

Member
Join Date
Feb 2009
Location
Ontario
Posts
174
Hello, I am looking to use visibility to hide a button based on an Enable bit from my PLC. However if I lose connection to the PLC I want it to hide. Right now when I lose connection it will hide the buttons but leave this outline box around it. Instead of hiding it as if it were receiving a 0.

DO you guys have a solution for this?

Thanks
Kevin
 
SE or ME? In SE, add the following function in the Visibility:

COMM_ERR(tag)
1 (True) if a read or write operation for the specified tag produced a communication failure. You cannot examine the status of more than one tag with this function.
 
If NOT COMM_ERR({[plc1]#2.En}) THEN {[plc1]#2.En} ELSE 0

I am trying this buy getting a syntax error at line 1, column 19: THEN missing from expression

Sorry I am not very good with expressions
 
If NOT COMM_ERR({[plc1]#2.En}) THEN {[plc1]#2.En} ELSE 0

I am trying this buy getting a syntax error at line 1, column 19: THEN missing from expression

Sorry I am not very good with expressions

IF I try

COMM_ERR({[plc1]HMI.ManualPB[0].4})

I am still getting a syntax Error. Line 1 Column 10
 
thats cool, is there a way to do that on a tag level. Something like

{[[plc1]#1.En]@ConnectionsActive}

#1 is just a tag name. Ive tried this and it passes syntax but it just doesn't display even tho the bool tag is positive.

For a quick explanation of what I am trying to do. I have 4 ON OFF buttons. Each connected to a tag. Depending on the program use, they tag may be there or may not be there. If there is no connection to the tag, i just want to hide the buttons. As a visibility it hides the buttons, but with an annoying box around them because it is not seeing a 0 but rather a lost connection.
 
Last edited:

Similar Topics

The problem below is what I am getting. Not sure of the fix. Connection lost. the connection from the alarm and event server...
Replies
0
Views
793
Hello, I am working with Factory Talk View 8.2 SE (Local). I am having an issue with the client viewer “holding connection” with the tags. I open...
Replies
1
Views
1,923
Dear all, I am trying to connect Factory Talk View version 7 with compact Logic , My Rslinx connection is ok, but when i open the communication...
Replies
1
Views
5,057
Good day all. I am having a problem with a client node GUI losing track of data from the server. It is just a small workgroup that contains a...
Replies
0
Views
5,240
In the ladder logic there appears N7:83. Using Find all... that is the only occurence of N7:83. The only other place that I can see that it...
Replies
4
Views
1,762
Back
Top Bottom