ST_BACnet_Info

Structure with general information on the BACnet task.

TYPE ST_BACnet_Info :
STRUCT
  nAmsAllocCnt                : DINT;
  nAmsAllocCntMax             : DWORD;
  nAmsAllocFailCnt            : DWORD;
  nAvailPhysMemBytes          : DWORD;
  nAvailFlashMemBytes         : ARRAY[0..1] OF DWORD;
  nRecvFrameFifoSize          : DWORD;
  nEmptyFrameFifoSize         : DWORD;
  nRecvSegmUDPFramesListSize  : DWORD;
  nRecvSegmFramesListSize     : DWORD;
  nSendSegmFramesListSize     : DWORD;
  nClientScanListSize         : DWORD;
  nAmsRecvMissCount           : DWORD;
END_STRUCT
END_TYPE

 

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)

ST_BACnet_Info 1:
Figure 1: AMS router memory setting