CONSTANTS (GVL)

InOut:

Scope

Name

Type

Initial

Comment

Constant

CMPID_IEClibCmpBACnet2

UDINT

16#10D1

PROP_IS_ARRAY_FLAG

UDINT

16#1

Property description flags

If this bit is set in the structFlags member, the property is an array.

PROP_IS_LIST_FLAG

UDINT

16#2

If this bit is set in the structFlags member, the property is a list (add/remove list element possible).

PROP_IS_CONSTRUCTED_FLAG

UDINT

16#4

If this bit is set in the structFlags member, the property has a structured value (choice, date+time …).

PROP_HAS_CONST_ARRAY_SIZE_FLAG

UDINT

16#8

If this bit is set in the structFlags member, the property has an constant array size (weekly schedule…).

PROP_IS_OPTIONAL_FLAG

UDINT

16#10

If this bit is set in the structFlags member, the property is optional.

PROP_IS_REQUIRED_READABLE

UDINT

16#20

If this bit is set in the structFlags member, the property has conformance ‘R’ for required listed in standard.

PROP_IS_REQUIRED_WRITEABLE

UDINT

16#40

IF THIS BIT is set in the structFlags member, the PROPERTY has conformance ‘W’ for writable listed in standard.

PROP_IS_PROPERTY_HIDDEN_FLAG

UDINT

16#80

If this bit is set in the structFlags member, the property is hidden and will not be shown in any lists.

PROP_HAS_VARIABLE_SIZE_FLAG

UDINT

16#100

If this bit is set in the structFlags member, the property has variable size flag (no limit checking).

PROP_IS_REQUIRED_INTRINSIC_FLAG

UDINT

16#200

If this bit is set in the structFlags member, the property is required for intrinsic reporting.

PROP_IS_REQUIRED_INTRINSIC_R13_FLAG

UDINT

16#400

If this bit is set in the structFlags member, the property is required for intrinsic reporting.

PROP_IS_REQUIRED_COV_FLAG

UDINT

16#800

If this bit is set in the structFlags member, the property is required for COV reporting.

PROP_IS_REQUIRED_COMMANDABLE_FLAG

UDINT

16#1000

If this bit is set in the structFlags member, the property is required for object to be commandable.

PROP_IS_WRITABLE_ON_OOS_TRUE_FLAG

UDINT

16#2000

If this bit is set in the structFlags member, the property is writable if out-of-service is true.

PROP_IS_NOT_WRITABLE_ON_EAIRV_FLAG

UDINT

16#4000

If this bit is set in the structFlags member, the property is not writable if event-algorithm-inhibit-ref is valid.

PROP_HAS_NO_RP_AND_RPM_ACCESS_FLAG

UDINT

16#8000

If this bit is set in the structFlags member, the property is not accessable with read-property(-multiple).

PROP_IS_NO_COVP_PROPERTY_FLAG

UDINT

16#10000

If this bit is set in the structFlags member, the property is not supported for subscribe-cov-property.

PROP_VALUE_GENERATED_ON_DEMAND_FLAG

UDINT

16#20000

If this bit is set the property content is generated on demand and is not stored in memory.

PROP_VALUE_RESTRICT_8

UDINT

16#40000

If this bit is set the property content value is restricted to 8 bit values.

PROP_VALUE_RESTRICT_16

UDINT

16#80000

If this bit is set the property content value is restricted to 16 bit values.

PROP_VALUE_RESTRICT_32

UDINT

16#100000

If this bit is set the property content value is restricted to 32 bit values.

PROP_ANY_WRITE_TRIGGERS_ACTION

UDINT

16#200000

If this bit is set any write access triggers action callbacks also if the contents has not been changed since last write access.

APDU_MAX_LENGTH_FLAG

UDINT

16#1

Flag which indicated that the nMaxLength member of struct ::BACNET_APDU_PROPERTIES is valid

APDU_SEGMENTATION_FLAG

UDINT

16#2

Flag which indicated that the eSegmentation member of struct ::BACNET_APDU_PROPERTIES is valid

APDU_MAX_SEGMENTS_FLAG

UDINT

16#4

Flag which indicated that the nMaxSegments member of struct ::BACNET_APDU_PROPERTIES is valid

APDU_WINDOW_SIZE_FLAG

UDINT

16#8

Flag which indicated that the nWindowSize member of struct ::BACNET_APDU_PROPERTIES is valid

APDU_SEGMENT_TIMEOUT_FLAG

UDINT

16#10

hich indicated that the nSegmentTimeout member of struct ::BACNET_APDU_PROPERTIES is valid

APDU_TIMEOUT_FLAG

UDINT

16#20

Flag which indicated that the nTimeout member of struct ::BACNET_APDU_PROPERTIES is valid

APDU_NUM_RETRIES_FLAG

UDINT

16#40

Flag which indicated that the nRetryCount member of struct ::BACNET_APDU_PROPERTIES is valid

APDU_MAX_SEGMENTS_TO_SEND_FLAG

UDINT

16#80

Flag which indicated that the nMaxSegmentsToSend member of struct ::BACNET_APDU_PROPERTIES is valid

APDU_ROUTE_RESOLVE_TIME_FLAG

UDINT

16#100

Flag which indicated that the nRouteResolutionTimeout member of struct ::BACNET_APDU_PROPERTIES is valid

APDU_MAX_ROUTE_RETRIES_FLAG

UDINT

16#200

Flag which indicated that the nRouteResolutionRetries member of struct ::BACNET_APDU_PROPERTIES is valid

BACNET_EF_ENROLLMENT

UDINT

16#1

Event Notification Enrollment Filter Flag - if specified, the recipient process filter is active and present.

BACNET_EF_EVENT_STATE

UDINT

16#2

Event Notification Enrollment Filter Flag - if specified, the event-state filter is active and present.

BACNET_EF_EVENT_TYPE

UDINT

16#4

Event Notification Enrollment Filter Flag - if specified, the event-type filter is active and present.

BACNET_EF_PRIORITY

UDINT

16#8

Event Notification Enrollment Filter Flag - if specified, the notification-class filter is active and present.

BACNET_EF_NOTIF_CLASS

UDINT

16#10

Event Notification Enrollment Filter Flag - if specified, the notification-class filter is active and present.

ACTION_DEVICE_ID_FLAG

UDINT

16#1

Action Command Flag - indicates that the device identifier is valid and present.

ACTION_POST_DELAY_FLAG

UDINT

16#2

Action Command Flag - indicates that the post delay parameter is valid and present.

BACNET_INST_NUMBER_MIN

IEC_BACNET_INST_NUMBER

0

Smallest BACnet object instance number

BACNET_INST_NUMBER_MAX

IEC_BACNET_INST_NUMBER

4194303

Maximum possibble BACnet object instance number. ATTENTION: In some service requests this intance nummber is used as a wildcard so this value shall not be used as an instance for construction of a real object.

BACNET_FILTER_MIN

IEC_BACNET_INST_NUMBER

BACNET_INST_NUMBER_MIN

Smallest possibble BACnet object instance number for an Who- is request

BACNET_FILTER_MAX

IEC_BACNET_INST_NUMBER

BACNET_INST_NUMBER_MAX

Maximum possibble BACnet object instance number for an Who- is request

BACNET_NO_FILTER

IEC_BACNET_INST_NUMBER

4294967295

Unspecified range for the Who-is request

BACNET_ENTIRE_ARRAY

IEC_BACNET_ARRAY_INDEX

4294967295

Definition for accessing the whole array in BACnet requets and not only one entry of an array

BACNET_VOID_INDEX

IEC_BACNET_ARRAY_INDEX

BACNET_ENTIRE_ARRAY

This Definition is an alias for BACNET_ENTIRE_ARRAY. It invalidates the index too.

BACNET_ARRAY_COUNT

IEC_BACNET_ARRAY_INDEX

0

Definition for accessing the array count (number of entries in an array instead of accessing one of the elements inside the array.

BACNET_INVALID_SEQUENCE_NUM

IEC_BACNET_UNSIGNED

0

Definition for an invalid sequence number for log record entries IEC_BACNET_LOG_RECORD or IEC_BACNET_TIME_STAMP

BACNET_INFINITE_TIMEOUT

IEC_BACNET_UNSIGNED

0

Definition for an infinite timeout value.

YEAR_UNSPECIFIED

IEC_BACNET_WORD

65535

BACNET_DATE_TIME constants for unspecified elements

DAY_OF_MONTH_UNSPECIFIED

IEC_BACNET_BYTE

255

HOUR_UNSPECIFIED

IEC_BACNET_BYTE

255

MINUTE_UNSPECIFIED

IEC_BACNET_BYTE

255

SECOND_UNSPECIFIED

IEC_BACNET_BYTE

255

HUNDREDTHS_UNSPECIFIED

IEC_BACNET_BYTE

255

BACNET_PRI_MANUAL_LIFE_SAFETY

IEC_BACNET_INT

1

BACNET_PRI_AUTO_LIFE_SAFETY

IEC_BACNET_INT

2

BACNET_PRI_AVAILABLE_3

IEC_BACNET_INT

3

BACNET_PRI_AVAILABLE_4

IEC_BACNET_INT

4

BACNET_PRI_CRITICAL_EQUIP_CTRL

IEC_BACNET_INT

5

BACNET_PRI_MINIMUM_ON_OFF

IEC_BACNET_INT

6

BACNET_PRI_AVAILABLE_7

IEC_BACNET_INT

7

BACNET_PRI_MANUAL_OPERATOR

IEC_BACNET_INT

8

BACNET_PRI_AVAILABLE_9

IEC_BACNET_INT

9

BACNET_PRI_AVAILABLE_10

IEC_BACNET_INT

10

BACNET_PRI_AVAILABLE_11

IEC_BACNET_INT

11

BACNET_PRI_AVAILABLE_12

IEC_BACNET_INT

12

BACNET_PRI_AVAILABLE_13

IEC_BACNET_INT

13

BACNET_PRI_AVAILABLE_14

IEC_BACNET_INT

14

BACNET_PRI_AVAILABLE_15

IEC_BACNET_INT

15

BACNET_PRI_AVAILABLE_16

IEC_BACNET_INT

16

BACNET_DEFAULT_PRI

IEC_BACNET_INT

BACNET_PRI_AVAILABLE_16

BACNET_VOID_PRI

IEC_BACNET_INT

-1

BACNET_DCC_INDEFINITE

IEC_BACNET_UINT

0

Defines the value used to indicate an indefinite time for automatic reenabling the device communication.

BACNET_AUDIT_NOTIF_SOURCE_TIME_FLAG

IEC_BACNET_UINT

16#1

Audit Notification Flag - indicated that the sourceTimeStamp member of struct ::BACNET_AUDIT_NOTIFICATION_INFO is valid

BACNET_AUDIT_NOTIF_TARGET_TIME_FLAG

IEC_BACNET_UINT

16#2

Audit Notification Flag - indicated that the targetTimeStamp member of struct ::BACNET_AUDIT_NOTIFICATION_INFO is valid

BACNET_AUDIT_NOTIF_SOURCE_OBJECT_FLAG

IEC_BACNET_UINT

16#4

Audit Notification Flag - indicated that the sourceObject member of struct ::BACNET_AUDIT_NOTIFICATION_INFO is valid

BACNET_AUDIT_NOTIF_SOURCE_COMMENT_FLAG

IEC_BACNET_UINT

16#8

Audit Notification Flag - indicated that the sourceComment member of struct ::BACNET_AUDIT_NOTIFICATION_INFO is valid

BACNET_AUDIT_NOTIF_TARGET_COMMENT_FLAG

IEC_BACNET_UINT

16#10

Audit Notification Flag - indicated that the targetComment member of struct ::BACNET_AUDIT_NOTIFICATION_INFO is valid

BACNET_AUDIT_NOTIF_INVOKE_ID_FLAG

IEC_BACNET_UINT

16#20

Audit Notification Flag - indicated that the invokeId member of struct ::BACNET_AUDIT_NOTIFICATION_INFO is valid

BACNET_AUDIT_NOTIF_SOURCE_USER_ID_FLAG

IEC_BACNET_UINT

16#40

Audit Notification Flag - indicated that the sourceUserId member of struct ::BACNET_AUDIT_NOTIFICATION_INFO is valid

BACNET_AUDIT_NOTIF_SOURCE_USER_ROLE_FLAG

IEC_BACNET_UINT

16#80

Audit Notification Flag - indicated that the sourceUserRole member of struct ::BACNET_AUDIT_NOTIFICATION_INFO is valid

BACNET_AUDIT_NOTIF_TARGET_OBJECT_FLAG

IEC_BACNET_UINT

16#100

Audit Notification Flag - indicated that the targetObject member of struct ::BACNET_AUDIT_NOTIFICATION_INFO is valid

BACNET_AUDIT_NOTIF_TARGET_PROPERTY_FLAG

IEC_BACNET_UINT

16#200

Audit Notification Flag - indicated that the targetProperty member of struct ::BACNET_AUDIT_NOTIFICATION_INFO is valid

BACNET_AUDIT_NOTIF_TARGET_PRIORITY_FLAG

IEC_BACNET_UINT

16#400

Audit Notification Flag - indicated that the targetPriority member of struct ::BACNET_AUDIT_NOTIFICATION_INFO is valid

BACNET_AUDIT_NOTIF_TARGET_VALUE_FLAG

IEC_BACNET_UINT

16#800

Audit Notification Flag - indicated that the targetValue member of struct ::BACNET_AUDIT_NOTIFICATION_INFO is valid

BACNET_AUDIT_NOTIF_CURRENT_VALUE_FLAG

IEC_BACNET_UINT

16#1000

Audit Notification Flag - indicated that the currentValue member of struct ::BACNET_AUDIT_NOTIFICATION_INFO is valid

BACNET_AUDIT_NOTIF_ERROR_FLAG

IEC_BACNET_UINT

16#2000

Audit Notification Flag - indicated that the error member of struct ::BACNET_AUDIT_NOTIFICATION_INFO is valid

BACNET_AUDIT_LOG_QUERY_PARAM_ADDRESS_FLAG

IEC_BACNET_INT

16#1

Audit Log Query Parameters Flag - indicated that the deviceAddress member of struct ::BACNET_AUDIT_LOG_QUERY_PARAMETERS is valid

BACNET_AUDIT_LOG_QUERY_PARAM_OBJECT_FLAG

IEC_BACNET_INT

16#2

Audit Log Query Parameters Flag - indicated that the objectId member of struct ::BACNET_AUDIT_LOG_QUERY_PARAMETERS is valid

BACNET_AUDIT_LOG_QUERY_PARAM_PROPERTY_FLAG

IEC_BACNET_INT

16#4

Audit Log Query Parameters Flag - indicated that the propertyId member of struct ::BACNET_AUDIT_LOG_QUERY_PARAMETERS is valid

BACNET_AUDIT_LOG_QUERY_PARAM_ARRAY_FLAG

IEC_BACNET_INT

16#8

Audit Log Query Parameters Flag - indicated that the arrayIndex member of struct ::BACNET_AUDIT_LOG_QUERY_PARAMETERS is valid

BACNET_AUDIT_LOG_QUERY_PARAM_PRIORITY_FLAG

IEC_BACNET_INT

16#10

Audit Log Query Parameters Flag - indicated that the priority member of struct ::BACNET_AUDIT_LOG_QUERY_PARAMETERS is valid

BACNET_AUDIT_LOG_QUERY_PARAM_OPERATION_FLAG

IEC_BACNET_INT

16#20

Audit Log Query Parameters Flag - indicated that the operation member of struct ::BACNET_AUDIT_LOG_QUERY_PARAMETERS is valid

LIGHTING_COMMAND_LEVEL_PRESENT_FLAG

IEC_BACNET_INT

16#1

Lighting Command Flag - indicated that the targetLevel member of struct ::BACNET_LIGHTING_COMMAND is valid

LIGHTING_COMMAND_RAMP_PRESENT_FLAG

IEC_BACNET_INT

16#2

Lighting Command Flag - indicated that the targetLevel rampRate of struct ::BACNET_LIGHTING_COMMAND is valid

LIGHTING_COMMAND_STEP_PRESENT_FLAG

IEC_BACNET_INT

16#4

Lighting Command Flag - indicated that the targetLevel stepIncrement of struct ::BACNET_LIGHTING_COMMAND is valid

LIGHTING_COMMAND_FADETIME_PRESENT_FLAG

IEC_BACNET_INT

16#8

Lighting Command Flag - indicated that the targetLevel fadeTime of struct ::BACNET_LIGHTING_COMMAND is valid

LIGHTING_COMMAND_PRIORITY_PRESENT_FLAG

IEC_BACNET_INT

16#10

Lighting Command Flag - indicated that the targetLevel priority of struct ::BACNET_LIGHTING_COMMAND is valid

INT

100

**Some other constants for internal use in BACstack, needed for size calculation of data types. **

DINT

100

DINT

100

TARGET_USES_API_IMPLEMENTED_VENDOR_PROPERTY_EXTENSIONS

DINT

50000

MAX_MAC_IP

INT

6

MAX_MAC_ETHER

INT

6

MAX_MAC_PTP

INT

1

MAX_MAC_MSTP

INT

1

BACNET_MAX_BIT_STRING_BUF

INT

16

BACNET_MAX_PRI_ARRAY

INT

16

BACNET_MAX_MAC_ADDRESS

INT

8

BACNET_MAX_SESSION_KEY

INT

8

BACNET_MAX_WSSC_URI_LENGHT

DINT

128

TARGET_USED_MAX_ENUM_SIZEVALUE

DINT

16#7FFFFFFF

BACNET_MAX_IP_HOST_NAME

DINT

64

MAX_MAC_WSSC

DINT

6