--- a/plcopen/structures.py Thu Jul 26 17:23:21 2007 +0200
+++ b/plcopen/structures.py Fri Jul 27 10:03:24 2007 +0200
@@ -120,7 +120,33 @@
{"name" : "RATIO_MONITOR", "type" : "functionBlock", "extensible" : False,
"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")],
"outputs" : [("ALARM","BOOL","none"),("TOTAL_ERR","BOOL","none")],
- "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."},
+ "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."}
+ ]},
+ {"name" : "SVGUI function blocks", "list":
+ [{"name" : "Container", "type" : "functionBlock", "extensible" : False,
+ "inputs" : [("X","FLOAT","none"),("SetX","BOOL","none"),("Y","FLOAT","none"),("SetY","BOOL","none"),("Angle","FLOAT","none"),("SetAngle","BOOL","none")],
+ "outputs" : [("X","FLOAT","none"),("X Changed","BOOL","none"),("Y","FLOAT","none"),("Y Changed","BOOL","none"),("Angle","FLOAT","none"),("Angle Changed","BOOL","none")],
+ "comment" : "SVGUI Container"},
+ {"name" : "Button", "type" : "functionBlock", "extensible" : False,
+ "inputs" : [("Show","BOOL","none"),("Toggle","BOOL","none")],
+ "outputs" : [("Visible","BOOL","none"),("State","BOOL","none")],
+ "comment" : "SVGUI Button"},
+ {"name" : "TextCtrl", "type" : "functionBlock", "extensible" : False,
+ "inputs" : [("Text","STRING","none"),("Set Text","BOOL","none")],
+ "outputs" : [("Text","STRING","none"),("Text Changed","BOOL","none")],
+ "comment" : "SVGUI Text Control"},
+ {"name" : "ScrollBar", "type" : "functionBlock", "extensible" : False,
+ "inputs" : [("Position","UINT","none"),("Set Position","BOOL","none")],
+ "outputs" : [("Position","UINT","none"),("Position Changed","BOOL","none")],
+ "comment" : "SVGUI ScrollBar"},
+ {"name" : "NoteBook", "type" : "functionBlock", "extensible" : False,
+ "inputs" : [("Selected","UINT","none"),("Set Selected","BOOL","none")],
+ "outputs" : [("Selected","UINT","none"),("Selected Changed","BOOL","none")],
+ "comment" : "SVGUI Notebook"},
+ {"name" : "RotatingCtrl", "type" : "functionBlock", "extensible" : False,
+ "inputs" : [("Angle","FLOAT","none"),("Set Angle","BOOL","none")],
+ "outputs" : [("Angle","FLOAT","none"),("Angle changed","BOOL","none")],
+ "comment" : "SVGUI Rotating Control"},
]}
]