Fixed bug in PLC code generated with binary, octal and hexadecimal literals
authorLaurent Bessard
Wed, 29 May 2013 00:11:27 +0200
changeset 1183 a01618805821
parent 1182 208103fd9ad0
child 1184 891b49d2752b
Fixed bug in PLC code generated with binary, octal and hexadecimal literals
PLCGenerator.py
--- 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()