ST_BACnet_Info

Structure with general information on the BACnet task.

nAmsAllocCnt: DINT; (* LONG *)
nAmsAllocCntMax: DWORD; (* ULONG *)
nAmsAllocFailCnt: DWORD; (* ULONG *)
nAvailPhysMemBytes: DWORD; (* ULONG *)
nAvailFlashMemBytes: ARRAY[0..1] OF DWORD; (* ULONGLONG *)
nRecvFrameFifoSize: DWORD; (* ULONG *)
nEmptyFrameFifoSize: DWORD; (* ULONG *)
nRecvSegmUDPFramesListSize: DWORD; (* ULONG *)
nRecvSegmFramesListSize: DWORD; (* ULONG *)
nSendSegmFramesListSize: DWORD; (* ULONG *)
nClientScanListSize: DWORD; (* ULONG *)
nAdsRequestListSize: DWORD; (* ULONG *)

nAmsAllocCnt: Number of reserved router memory blocks (1 block= 1024 bytes). The number should not increase continuously (a maximum of 2000 blocks=2 MB are available by default). Otherwise increase the router memory in the System Manager (see Fig. 1).

nAmsAllocCntMax: Peak value of the simultaneously allocated router memory blocks.

nAmsAllocFailCnt: Number of failed router memory reservations (allocation fails if no more blocks are available).

nAvailPhysMemBytes: Free physical memory of the operating system in bytes.

nAvailFlashMemBytes: Free hard disk space of the operating system in bytes.

nRecvFrameFifoSize: Number of frames currently in the receive frame queue (for receive queue see "Network adapter settings")

nEmptyFrameFifoSize: Available memory for buffering received frames (frame is copied and then copied to RecvFrameFifo)

nRecvSegmUDPFramesListSize: Number of currently received buffered IP segments (name is wrong, not UDP but IP)

nRecvSegmFramesListSize: Number of currently received buffered BACnet frame segments

nSendSegmFramesListSize: Number of current BACnet frame segments that were buffered before sending

nClientScanListSize: Number of currently known BACnet devices in the network (DeviceAddressBinding in the device object is formed from this)

nAdsRequestListSize: Number of currently open internal ADS requests for reading/writing of files (stack accesses local files via ADS)

ST_BACnet_Info 1:
Fig. 1: AMS router memory setting