BACnetFile (FB)
FUNCTION_BLOCK PUBLIC BACnetFile EXTENDS BACnetStaticObjectBase IMPLEMENTS IBACnetFile, IBACnetEventConsumer
FB reflecting a BACnet-File-Object. All Properties of this FB give access to the client writeable BACnet-Properties of the reflected BACnet-Object, although the access is done not client sided (without checking access restrictions). The additional Property PLCLocalFileName is initialized using the corresponding parameter of the CODESYS-BACnet-File-Device and used for sotrage. This means when ever it is written to this file or read from it via a client side access, this FB is readily registered as Event-Hook for the CB_READ_FILE- and CB_WRITE_FILE-Hook. In these Hooks it is written to the PLCLocalFileName-File on the PLC specified file after a client side access (see BACnetEventCallback function). Additionally see documentation of BACnetObjectBase.
BACnetFile.Archive(PROP)BACnetFile.CheckIfFileIsAvailableAtAll(METH)BACnetFile.Description(PROP)BACnetFile.FileAccessMethod(PROP)BACnetFile.FileSize(PROP)BACnetFile.FileType(PROP)BACnetFile.ModificationDate(PROP)BACnetFile.PLCLocalFileName(PROP)BACnetFile.ProfileName(PROP)BACnetFile.ReadFileModificationTime(METH)BACnetFile.ReadOnly(PROP)BACnetFile.RecordCount(PROP)