plcopen/structures.py
changeset 427 22d16c457d87
parent 404 d5a5eaea7844
child 431 c1c92d068ac5
equal deleted inserted replaced
426:afe2488a4635 427:22d16c457d87
   217                     "inputs" : [("IN","BOOL","none"),("PT","TIME","none")], 
   217                     "inputs" : [("IN","BOOL","none"),("PT","TIME","none")], 
   218                     "outputs" : [("Q","BOOL","none"),("ET","TIME","none")],
   218                     "outputs" : [("Q","BOOL","none"),("ET","TIME","none")],
   219                     "comment" : _("Off-delay timer\nThe off-delay timer can be used to delay setting an output false, for fixed period after input goes false."),
   219                     "comment" : _("Off-delay timer\nThe off-delay timer can be used to delay setting an output false, for fixed period after input goes false."),
   220                     "generate" : generate_block, "initialise" : initialise_block},
   220                     "generate" : generate_block, "initialise" : initialise_block},
   221                 ]},
   221                 ]},
   222               {"name" : _("Additionnal function blocks"), "list":
   222               {"name" : _("Additional function blocks"), "list":
   223 ##                {"name" : "RTC", "type" : "functionBlock", "extensible" : False, 
   223 ##                {"name" : "RTC", "type" : "functionBlock", "extensible" : False, 
   224 ##                    "inputs" : [("EN","BOOL","none"),("PDT","DATE_AND_TIME","none")], 
   224 ##                    "inputs" : [("EN","BOOL","none"),("PDT","DATE_AND_TIME","none")], 
   225 ##                    "outputs" : [("Q","BOOL","none"),("CDT","DATE_AND_TIME","none")],
   225 ##                    "outputs" : [("Q","BOOL","none"),("CDT","DATE_AND_TIME","none")],
   226 ##                    "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."),
   226 ##                    "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."),
   227 ##                    "generate" : generate_block, "initialise" : initialise_block},
   227 ##                    "generate" : generate_block, "initialise" : initialise_block},