beremiz

fix LINT and ULINT ranges

2017-09-13, Andrey Skvortsov
74a3f4d5f407
Parents 58ff55053518
Children da138c5a3063
fix LINT and ULINT ranges
--- a/plcopen/definitions.py Tue Sep 12 18:32:13 2017 +0300
+++ b/plcopen/definitions.py Wed Sep 13 10:18:04 2017 +0300
@@ -114,11 +114,11 @@
("SINT", (-2**7, 2**7 - 1)),
("INT", (-2**15, 2**15 - 1)),
("DINT", (-2**31, 2**31 - 1)),
- ("LINT", (-2**31, 2**31 - 1)),
+ ("LINT", (-2**63, 2**63 - 1)),
("USINT", (0, 2**8 - 1)),
("UINT", (0, 2**16 - 1)),
("UDINT", (0, 2**32 - 1)),
- ("ULINT", (0, 2**32 - 1))
+ ("ULINT", (0, 2**64 - 1))
]
ANY_TO_ANY_FILTERS = {