plcopen/structures.py
changeset 431 c1c92d068ac5
parent 405 2c598d24205f
parent 427 22d16c457d87
child 483 779a519f78f2
equal deleted inserted replaced
411:9ab97d517ae8 431:c1c92d068ac5
   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},