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 ]}, |
|
220 {"name" : "Additionnal function blocks", "list": |
219 ## {"name" : "RTC", "type" : "functionBlock", "extensible" : False, |
221 ## {"name" : "RTC", "type" : "functionBlock", "extensible" : False, |
220 ## "inputs" : [("EN","BOOL","none"),("PDT","DATE_AND_TIME","none")], |
222 ## "inputs" : [("EN","BOOL","none"),("PDT","DATE_AND_TIME","none")], |
221 ## "outputs" : [("Q","BOOL","none"),("CDT","DATE_AND_TIME","none")], |
223 ## "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.", |
224 ## "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}, |
225 ## "generate" : generate_block, "initialise" : initialise_block}, |
224 {"name" : "INTEGRAL", "type" : "functionBlock", "extensible" : False, |
226 [{"name" : "INTEGRAL", "type" : "functionBlock", "extensible" : False, |
225 "inputs" : [("RUN","BOOL","none"),("R1","BOOL","none"),("XIN","REAL","none"),("X0","REAL","none"),("CYCLE","TIME","none")], |
227 "inputs" : [("RUN","BOOL","none"),("R1","BOOL","none"),("XIN","REAL","none"),("X0","REAL","none"),("CYCLE","TIME","none")], |
226 "outputs" : [("Q","BOOL","none"),("XOUT","REAL","none")], |
228 "outputs" : [("Q","BOOL","none"),("XOUT","REAL","none")], |
227 "comment" : "Integral\nThe integral function block integrates the value of input XIN over time.", |
229 "comment" : "Integral\nThe integral function block integrates the value of input XIN over time.", |
228 "generate" : generate_block, "initialise" : initialise_block}, |
230 "generate" : generate_block, "initialise" : initialise_block}, |
229 {"name" : "DERIVATIVE", "type" : "functionBlock", "extensible" : False, |
231 {"name" : "DERIVATIVE", "type" : "functionBlock", "extensible" : False, |