beremiz

fix max value for UDINT and ULINT types

2017-09-12, Andrey Skvortsov
7ec48bdc7a57
Parents 40a5fbaf0038
Children 9fd7bbf6ec45
fix max value for UDINT and ULINT types
--- a/plcopen/definitions.py Tue Sep 12 14:13:39 2017 +0300
+++ b/plcopen/definitions.py Tue Sep 12 14:18:50 2017 +0300
@@ -117,8 +117,8 @@
("LINT", (-2**31, 2**31 - 1)),
("USINT", (0, 2**8 - 1)),
("UINT", (0, 2**16 - 1)),
- ("UDINT", (0, 2**31 - 1)),
- ("ULINT", (0, 2**31 - 1))
+ ("UDINT", (0, 2**32 - 1)),
+ ("ULINT", (0, 2**32 - 1))
]
ANY_TO_ANY_FILTERS = {