# HG changeset patch # User Andrey Skvortsov # Date 1505215130 -10800 # Node ID 7ec48bdc7a57dff4c2911a349fb34e445246ec19 # Parent 40a5fbaf00387e45fb4418271dd831789005dff6 fix max value for UDINT and ULINT types diff -r 40a5fbaf0038 -r 7ec48bdc7a57 plcopen/definitions.py --- 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 = {