# HG changeset patch # User Andrey Skvortsov # Date 1505287084 -10800 # Node ID 74a3f4d5f407cc3bf9664fc0f7b183d8e65fba83 # Parent 58ff550535188c27a1b5a16b03fc81246702acc3 fix LINT and ULINT ranges diff -r 58ff55053518 -r 74a3f4d5f407 plcopen/definitions.py --- 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 = {