NetworkPortObjects (FB)¶
FUNCTION_BLOCK NetworkPortObjects EXTENDS BACnet.BACnetServerPluginBase
This default implementation is about to configure NetworkPort objects connected to BACnetIPdatalink / BACnetMSTPdatalink.
NetworkPortObjects allows to pair / Connect a NetworkPort object with a BACnetIPdatalink / BACnetMSTPdatalink, and set the properties of the NetworkPort objects according to the information provided by the Datalink. Most properties related to information provided by the Datalink are set to read-only, some exceptions are kept writable. Optional properties are disabled, if the Datalink can not provide the related information.
Caveat emptor: the CODESYS Ethernet (device) interface IIoDrvEthernet.INetworkInterface used within BACnet.BACnetIPdatalink doesn’t provide information regarding the DNS server(s). If needed the IP_DNS_Server property can be set to the value of IP_Default_Gateway - set SetDNSserverToGateway to TRUE to enable this feature.
Properties:
Methods:
Structure: