ngoodman Posted February 15, 2010 Share Posted February 15, 2010 I have a process variable called B3bz5pv and a set point called b3bz5sp I have created a variable offset called B3alarm max all as channels. If i want to trip my alarm at set point + offset could i use in the alarm condition B3bz5pv[0]>(b3bz5SP[0]+b3alarmmax[0]) ? If not what can I use ? Link to comment Share on other sites More sharing options...
AzeoTech Posted February 16, 2010 Share Posted February 16, 2010 Absolutely. Except you don't need [0] after variables, just channels. This is because variables typically don't have history. Unless you create an array with them explicitly, they are just scalars, so [0] is assumed. With channels, the history gets generated automatically, so [0] is needed to say you just want the most recent point. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.