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?