FB_BACnet_File_EX
Application
The function block FB_BACnet_File can be used for reading access to a BACnet object of type File (FILE).
VAR_OUPUT
bReady : BOOL;
nFileSize : UDINT;
tObjectID : T_BACnet_ObjectIdentifier:=16#FFFFFFFF;
bError : BOOL;
nErrorId : UINT;
bReady: Notification of general readiness. If this output is set, the remaining status outputs are valid (FileSize and ObjectID). If the output is FALSE, the corresponding function block FB_BACnet_Device does not report "Operational", or the block instance was not linked correctly in the TwinCAT System Manager.
nFileSize: Current file size in bytes (see also BACnet specification DIN EN ISO 16484-5 re. BACnet object File and property File_Size).
tObjectID: Object ID of the BACnet object (object type and object instance).
bError: An error is pending.
nErrorId: see global constants (BACnet_Globals).
VAR_IN_OUT
Device : FB_BACnet_Device;
Device: Specification of the instance of the local corresponding BACnet server block. For each BACnet adapter one BACnet server is possible. See FB_BACnet_Adapter and FB_BACnet_Device for further information.