BACnetServerInit (FUN)ΒΆ
FUNCTION BACnetServerInit : IEC_BACNET_STATUS
BACnet Server API for starting a BACnet server including a device. Within THIS function call the whole BACnet API process is started. Note: Only one (server) device per Server (per PLC) is allowed/possible.
- InOut:
Scope
Name
Type
Comment
Return
BACnetServerInitInput
pInitPOINTER TO IEC_BACNET_SRVR_INIT
A Pointer to a Server-Init-Structure containing initialization details
pDevPOINTER TO IEC_BACNET_TEMPLATE_DEVICE
A Pointer to a Device-Template for the device created along with the server.
reservedPOINTER TO BYTE
Reserved parameter. Should be set to 0.
Output
bDemoModeBOOLReturns whether the started BACnet-Server is in Demo-Mode or not.