beremiz

Parents 208103fd9ad0
Children 891b49d2752b
Fixed bug in PLC code generated with binary, octal and hexadecimal literals
--- a/PLCGenerator.py Tue May 28 22:40:44 2013 +0200
+++ b/PLCGenerator.py Wed May 29 00:11:27 2013 +0200
@@ -660,9 +660,9 @@
"D": "DATE",
"TOD": "TIME_OF_DAY",
"DT": "DATE_AND_TIME",
- "2": "ANY",
- "8": "ANY",
- "16": "ANY",
+ "2": None,
+ "8": None,
+ "16": None,
}
def ComputeConnectionTypes(self, pou):
body = pou.getbody()