Rsview Studio Se Derived Tags

careed_25

Member
Join Date
Jul 2007
Location
KY
Posts
57
I am needing a way to produce an alarm when the connection to a plc is lost from inside the studio program. I tried to create a derived tag that uses the COMM_ERR(tag) function to do this and I can't get it to work. I have a hmi tag named cocomm which is also the name of the derived tag. In the tag editor cocomm is a digital tag with data source memory and intial value off. In the derived tag editor i put the expression comm_err(rslinx:tagname)--generic tag. I have stopped the derived tag file and restarted it to pick up the changes I msde but I get the error: item cocomm does not exist on any server. And I also get can not write value to derived tag cocomm. Any suggestions on how to get an alarm from a loss of communications to the plc either tell me what I am doing wrong with the derived tag or is there any other way to achieve this through events or macros?
 
Are you typing the expression, or are you letting the expression editor generate it for you?

If I remember correctly, the derived tag window doesn't have an editor. I opened an event, and used the editor in it to develope the expression using the pull-down choices. One the expression was formated, then you just copy/paste it into the expression window of your derived tag. Once your done close the event, but don't save your changes since it was just a workspace.

The reason I asked ws because you showed dashes (--) for what I think should be equal signs (==). If you can copy/paste your expressions into the topic here, it would help.
 
The -- was just to show that the rslinx:tagname was generic and not the actual tag that is being used. The derived tag editor does have an expression editor where you can browse to the function commands and also bring up the tag browser that has all the topic I have configured. So to answer your question no I did not type it in I used the browsers.
 
I have taken it that the COMM_ERR(tag) is the only builtin way to tell if you have a comm fault to a plc. Please tell me if I am wrong.
 

Similar Topics

Hello to all the knowledgeable people inside the computer screen, my problem at the moment is like the title says, l can't open projects in...
Replies
1
Views
1,325
Hi Working with some project guys who have replaced a controllogix processor previously using RSLogix 5000 V11 for a controllogix 5588E using...
Replies
10
Views
4,015
We have an older laptop here at work that has RSView Studio on it that isn't used for anything. They only use Red Lion HMI's now. I was thinking...
Replies
2
Views
1,514
I have an RSView SE 3.0 distributed application running on a Client/Server. Can I use FTView 7.0 to develop some new screens and or modify...
Replies
1
Views
3,907
Hello I am trying to get certain screen components to be visible unless an h/o/a switch is turned to manual I:0/8 being the input for the...
Replies
1
Views
1,344
Back
Top Bottom