Module Chart Checks : (C5111) Inconsistent range definition

(C5111) Inconsistent range definition

Error In:
Correctness
Description:
This test warns about user-defined type definitions where the sub-type ranges are inconsistent with the parent type definition.
Example:
INT_TYPE is an integer User Defined Type and has a defined minimum/maximum range of 10 - 100 (as shown in the first figure below). SUB_INT_TYPE is a User Defined Type of INT_TYPE and has a range defined outside of 10 - 100 (as shown in the second figure).

 

Erroneous Elements:
User-defined types