BACnetCommand.AddActionList (METH) ¶ METHOD AddActionList : CmpBACnet.IEC_BACNET_STATUS Adds a action list and action list text to the Action-BACnet-Propetrty and Action_Text-BACnetProperty of this BACnet-Command-Object at the same time. So both description and action are added simultaneously (inputs actionList with corresponding description actionListText). The entries of the action list (actionList) may be initialized using the helper functions InitializeActionCommandBACnetBinaryPV,… of this FB. InOut: Scope Name Type Comment Return AddActionList CmpBACnet.IEC_BACNET_STATUS Input actionList CmpBACnet.IEC_BACNET_ACTION_LIST The action list to add to the Action-Property. actionListText WSTRING(255) The action text to add to the Action_Text-Property.
BACnetCommand.RemoveActionList (METH) ¶ METHOD RemoveActionList : CmpBACnet.IEC_BACNET_STATUS Removes a action list and action list text at index nIndex from the Action-BACnet-Propetrty and Action_Text-BACnetProperty of this BACnet-Command-Object at the same time. So both description and action are removed simultaneously. InOut: Scope Name Type Comment Return RemoveActionList CmpBACnet.IEC_BACNET_STATUS Input nIndex CmpBACnet.IEC_BACNET_ELEMENT_COUNT The 1 based index of the action list (and text) to remove.
Device ¶ The BACnet Device object. BACnetDevice (FunctionBlock) APDUSegmentTimeout (Property) APDUTimeout (Property) AlignIntervals (Property) ApplicationSoftwareVersion (Property) BackupAndRestoreState (Property) BackupFailureTimeout (Property) BackupPreparationTime (Property) DatabaseRevision (Property) DaylightSavingsStatus (Property) Description (Property) FirmwareRevision (Property) GetActiveCOVSubscriptions (Method) GetActiveVTSessions (Method) GetAutoSlaveDiscovery (Method) GetConfigurationFiles (Method) GetConfigurationFilesCount (Method) GetDeviceAddressBinding (Method) GetManualSlaveAddressBinding (Method) GetRestartNotificationRecipients (Method) GetSlaveAddressBinding (Method) GetSlaveProxyEnable (Method) GetStructuredObjectList (Method) GetStructuredObjectListCount (Method) GetTimeSynchronizationRecipients (Method) GetUTCTimeSynchronizationRecipients (Method) GetVTClassesSupported (Method) IntervalOffset (Property) LastRestartReason (Property) LastRestoreTime (Property) LocalDate (Property) LocalTime (Property) Location (Property) MaxAPDULengthAccepted (Property) MaxInfoFrames (Property) MaxMaster (Property) MaxSegmentsAccepted (Property) ModelName (Property) NumberOfAPDURetries (Property) ProfileName (Property) ProtocolObjectTypesSupported (Property) ProtocolRevision (Property) ProtocolServicesSupported (Property) ProtocolVersion (Property) RestoreCompletionTime (Property) RestorePreparationTime (Property) SegmentationSupported (Property) SerialNumber (Property) SetActiveCOVSubscriptions (Method) SetActiveVTSessions (Method) SetAutoSlaveDiscovery (Method) SetConfigurationFiles (Method) SetDeviceAddressBinding (Method) SetManualSlaveAddressBinding (Method) SetRestartNotificationRecipients (Method) SetSlaveAddressBinding (Method) SetSlaveProxyEnable (Method) SetStructuredObjectList (Method) SetTimeSynchronizationRecipients (Method) SetUTCTimeSynchronizationRecipients (Method) SetVTClassesSupported (Method) SystemStatus (Property) TimeOfDeviceRestart (Property) TimeSynchronizationInterval (Property) UTCOffset (Property) VendorIdentifier (Property) VendorName (Property)
BACnetCommand.GetActionList (METH) ¶ METHOD GetActionList : CmpBACnet.IEC_BACNET_STATUS Gets a action list and action list text at index nIndex from the Action-BACnet-Propetrty and Action_Text-BACnetProperty of this BACnet-Command-Object at the same time. So both description and action are aquired simultaneously (outputs pActionList and sctionListText). InOut: Scope Name Type Comment Return GetActionList CmpBACnet.IEC_BACNET_STATUS Input nIndex CmpBACnet.IEC_BACNET_ELEMENT_COUNT The 1 based index of the action list to get. Output pActionList POINTER TO CmpBACnet.IEC_BACNET_ACTION_LIST The returned Pointer gets filled with the data of IEC_BACNET_EVENT_PARAMETER AND (!) the data referenced within evtParams. After usage, use FreeStackAllocatedMemory , to free the used memory. The pointer only points to a single action list. actionListText WSTRING(255) The corresponding action text describing the aquired action list.
BACnetCommand.GetActionListCount (METH) ¶ METHOD GetActionListCount : CmpBACnet.IEC_BACNET_STATUS Gets the count of action list and action list text entries in the Action-BACnet-Property and Action_Text-BACnetProperty of this BACnet-Command-Object. Both the count of action lists and action texts have to be the same, so can be aquired at once. InOut: Scope Name Type Comment Return GetActionListCount CmpBACnet.IEC_BACNET_STATUS Output count CmpBACnet.IEC_BACNET_ELEMENT_COUNT The count of action list in the Actio-Property of this object.
BACnetCalendar.RemoveEntry (METH) ¶ METHOD RemoveEntry : CmpBACnet.IEC_BACNET_STATUS Removes the calendar entry in the Date_List-Property of this BACnet-Calendar-Object, which has index nIndex. Use the function GetEntryCount, to be able to get valid indices for removing. InOut: Scope Name Type Initial Comment Return RemoveEntry CmpBACnet.IEC_BACNET_STATUS Input nIndex CmpBACnet.IEC_BACNET_ELEMENT_COUNT 0 The 1 based index of the entry to remove.
Command ¶ The BACnet Command object. BACnetCommand (FunctionBlock) AddActionList (Method) AllWritesSuccessful (Property) Description (Property) GetActionList (Method) GetActionListCount (Method) InProcess (Property) InitializeActionCommands InitializeActionCommandBACnetBinaryPV (Method) InitializeActionCommandBACnetBoolean (Method) InitializeActionCommandBACnetReal (Method) InitializeActionCommandBACnetUnsigned (Method) PresentValue (Property) ProfileName (Property) RemoveActionList (Method)
BACnetCommand.InProcess (PROP) ¶ PROPERTY InProcess : BOOL
InitializeActionCommands ¶ Methods that can be used to initialize and get action command structures to be added to the action list of this object. InitializeActionCommandBACnetBinaryPV (Method) InitializeActionCommandBACnetBoolean (Method) InitializeActionCommandBACnetReal (Method) InitializeActionCommandBACnetUnsigned (Method)
BACnetCommand.PresentValue (PROP) ¶ PROPERTY PresentValue : CmpBACnet.IEC_BACNET_UNSIGNED If the present value is set to a specific unsigned value, the actions in the Action-BACnet-Property of this BACnet-Object with the index of this value are executed.