F_BACnet_GetObjectIdString : STRING
Application
Function for outputting the object ID of a BACnet object as a short string. The output includes the object type (short form) and the instance number of the object. The following short object names are supported:
AI | AnalogInput | AO | AnalogOutput | AV | AnalogValue | BI | BinaryInput |
BO | BinaryOutput | BV | BinaryValue | CAL | Calendar | CMD | Command |
DEV | Device | EE | EventEnrollment | FILE | File | GROUP | Group |
LOOP | Loop | MI | MultiStateInput | MO | MultiStateOutput | NC | NotificationClass |
PROG | Program | SCHED | Schedule | AVG | Averaging | MV | MultiStateValue |
TLOG | TrendLog | LP | LifeSafetyPoint | LZ | LifeSafetyZone | ACC | Accumulator |
PC | PulseConverter |
|
|
|
|
|
|
For unknown object type the placeholder "???" is set instead of the type ID.
VAR_INPUT
tObjectID : T_BACnet_ObjectIdentifier:=16#FFFFFFFF;
tObjectID: Object ID (Object_Identifier: object type and object instance) to be represented as a string.
Example
AnalogInput object number 0 → "AI:0"
MultiStateValue object number 10 → "MV:10"
Accumulator object number 5 → "ACC:5"
Unknown object number 40 → "???:40"