File Transfer
With the operations AtomicReadFile and AtomicWriteFile a file Transfer via the Bacnet driver is possible. This also provides the functionality to generate and apply a backup.
The services are accessed via the internal datapoint _BacnetDevice.Command.Service
.
AtomicReadFile
Reading a file has the following syntax:
AtomicReadFile
<file object instance>
<file access method (0..record based, 1..stream based>
<full file name including path>
<start position/record where the file should be read from>
<byte/record count to read>
AtomicWriteFile
Writing a file has the following syntax:
AtomicWriteFile
<file object instance>
<file access method (0..record based, 1..stream based>
<full file name including path>
<start position/record where the file should be written to>
<record count to write (for stream access the whole file is always written>