214 {"name" : "TOF", "type" : "functionBlock", "extensible" : False, |
214 {"name" : "TOF", "type" : "functionBlock", "extensible" : False, |
215 "inputs" : [("IN","BOOL","none"),("PT","TIME","none")], |
215 "inputs" : [("IN","BOOL","none"),("PT","TIME","none")], |
216 "outputs" : [("Q","BOOL","none"),("ET","TIME","none")], |
216 "outputs" : [("Q","BOOL","none"),("ET","TIME","none")], |
217 "comment" : "Off-delay timer\nThe off-delay timer can be used to delay setting an output false, for fixed period after input goes false.", |
217 "comment" : "Off-delay timer\nThe off-delay timer can be used to delay setting an output false, for fixed period after input goes false.", |
218 "generate" : generate_block, "initialise" : initialise_block}, |
218 "generate" : generate_block, "initialise" : initialise_block}, |
219 {"name" : "RTC", "type" : "functionBlock", "extensible" : False, |
219 ## {"name" : "RTC", "type" : "functionBlock", "extensible" : False, |
220 "inputs" : [("EN","BOOL","none"),("PDT","DATE_AND_TIME","none")], |
220 ## "inputs" : [("EN","BOOL","none"),("PDT","DATE_AND_TIME","none")], |
221 "outputs" : [("Q","BOOL","none"),("CDT","DATE_AND_TIME","none")], |
221 ## "outputs" : [("Q","BOOL","none"),("CDT","DATE_AND_TIME","none")], |
222 "comment" : "Real time clock\nThe real time clock has many uses including time stamping, setting dates and times of day in batch reports, in alarm messages and so on.", |
222 ## "comment" : "Real time clock\nThe real time clock has many uses including time stamping, setting dates and times of day in batch reports, in alarm messages and so on.", |
223 "generate" : generate_block, "initialise" : initialise_block}, |
223 ## "generate" : generate_block, "initialise" : initialise_block}, |
224 {"name" : "INTEGRAL", "type" : "functionBlock", "extensible" : False, |
224 {"name" : "INTEGRAL", "type" : "functionBlock", "extensible" : False, |
225 "inputs" : [("RUN","BOOL","none"),("R1","BOOL","none"),("XIN","REAL","none"),("X0","REAL","none"),("CYCLE","TIME","none")], |
225 "inputs" : [("RUN","BOOL","none"),("R1","BOOL","none"),("XIN","REAL","none"),("X0","REAL","none"),("CYCLE","TIME","none")], |
226 "outputs" : [("Q","BOOL","none"),("XOUT","REAL","none")], |
226 "outputs" : [("Q","BOOL","none"),("XOUT","REAL","none")], |
227 "comment" : "Integral\nThe integral function block integrates the value of input XIN over time.", |
227 "comment" : "Integral\nThe integral function block integrates the value of input XIN over time.", |
228 "generate" : generate_block, "initialise" : initialise_block}, |
228 "generate" : generate_block, "initialise" : initialise_block}, |
244 {"name" : "HYSTERESIS", "type" : "functionBlock", "extensible" : False, |
244 {"name" : "HYSTERESIS", "type" : "functionBlock", "extensible" : False, |
245 "inputs" : [("XIN1","REAL","none"),("XIN2","REAL","none"),("EPS","REAL","none")], |
245 "inputs" : [("XIN1","REAL","none"),("XIN2","REAL","none"),("EPS","REAL","none")], |
246 "outputs" : [("Q","BOOL","none")], |
246 "outputs" : [("Q","BOOL","none")], |
247 "comment" : "Hysteresis\nThe hysteresis function block provides a hysteresis boolean output driven by the difference of two floating point (REAL) inputs XIN1 and XIN2.", |
247 "comment" : "Hysteresis\nThe hysteresis function block provides a hysteresis boolean output driven by the difference of two floating point (REAL) inputs XIN1 and XIN2.", |
248 "generate" : generate_block, "initialise" : initialise_block}, |
248 "generate" : generate_block, "initialise" : initialise_block}, |
249 {"name" : "RATIO_MONITOR", "type" : "functionBlock", "extensible" : False, |
249 ## {"name" : "RATIO_MONITOR", "type" : "functionBlock", "extensible" : False, |
250 "inputs" : [("PV1","REAL","none"),("PV2","REAL","none"),("RATIO","REAL","none"),("TIMON","TIME","none"),("TIMOFF","TIME","none"),("TOLERANCE","BOOL","none"),("RESET","BOOL","none"),("CYCLE","TIME","none")], |
250 ## "inputs" : [("PV1","REAL","none"),("PV2","REAL","none"),("RATIO","REAL","none"),("TIMON","TIME","none"),("TIMOFF","TIME","none"),("TOLERANCE","BOOL","none"),("RESET","BOOL","none"),("CYCLE","TIME","none")], |
251 "outputs" : [("ALARM","BOOL","none"),("TOTAL_ERR","BOOL","none")], |
251 ## "outputs" : [("ALARM","BOOL","none"),("TOTAL_ERR","BOOL","none")], |
252 "comment" : "Ratio monitor\nThe ratio_monitor function block checks that one process value PV1 is always a given ratio (defined by input RATIO) of a second process value PV2.", |
252 ## "comment" : "Ratio monitor\nThe ratio_monitor function block checks that one process value PV1 is always a given ratio (defined by input RATIO) of a second process value PV2.", |
253 "generate" : generate_block, "initialise" : initialise_block} |
253 ## "generate" : generate_block, "initialise" : initialise_block} |
254 ]}, |
254 ]}, |
255 ] |
255 ] |
256 |
256 |
257 |
257 |
258 #------------------------------------------------------------------------------- |
258 #------------------------------------------------------------------------------- |