Machine Automation Forum
A forum addressing machine automation solutions for the complete machine lifecycle. Including offers like Machine Advisor, Modicon PLC/PacDrive, Lexium or Preventa. Discuss and share knowledge on offers relating to cloud-based service platforms, machine localization and monitoring, industrial operations control, motion products as well as safety function!
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-05-23 09:51 PM
Hi,
We are using M172 controller for our products that are installed in various locations having BACnet IP network.
Currently we have implemented static IP addressing in which we provide the ability to set the IP, Gateway, net-Mask from the PLC itself (during commissioning) with the intent that it shall stay the same throughout its lifetime, unless someone manually changes it again.
I realized that there is an "Enable DHCP_ETH_PI" BIOS parameter that is used to turn ON/OFF the DHCP capability (OFF by default).
If I change this to true for one of the controllers on site (already in the network) and run a power cycle, would it accept the IP address that was manually fed into the PLC (Ip_1_ETH_PI, Ip_2_ETH_PI, IP_2_ETH_PI, IP_4_ETH_PI) or the one assigned by the DHCP server upon bootup?
Also, are there any issues around using DHCP with BACnet?
Thank you.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 1 month ago
The DHCP feature should work proper. You have from Programming site the possibility to read back the actual IP Settings which receive the controller via DHCP through the bios values
I did not know any problems with DHCP and BACnet together with DHCP.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 1 month ago
Yeah, I tried it and realized if the PLC is booted up while connected to the network having a DHCP server, it gets assigned an IP through that.
If I reboot the PLC while keeping it disconnected from the network, then it accepts the static IP that was saved in the EEPROM.
I tried connecting to it through YABE using the IP address that was assigned by the DHCP and the connection was successful. I could read and write, from and to the BACnet objects.
That solves my doubts.
Thank you.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.