Infosys在阅读器中打开 / AI 翻译

TF8xxx - Industry specific · 0 次阅读

FB_BACnet_Device

This function block may be used to change settings of the device object at runtime.

Example:

VAR
    fbDevice : FB_BACnet_Device;
    bChangeDeviceObj : BOOL;
END_VAR
------------------------------------------------------------------
fbDevice();
IF bChangeDeviceObj THEN
    bChangeDeviceObj := FALSE;
    fbDevice.sObjectName := 'TEST_ObjName';
    fbDevice.sDescription := 'TEST_Description';
    fbDevice.sLocation := 'TEST_Location';
END_IF