Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

ip addressing for modbus driver

When using the modbus ethernet dirver. If your network uses a DHCP server to dynamically assign ip addresses,
How do you setup the IP address field in the driver dialog box?
Or do I need to have a static IP address for the target device?
0 Kudos
Message 1 of 2
(3,192 Views)
There are at least a couple options you have. You can use the host name if DHCP registers new assignments with DNS. Or you could use a static address. If you can’t/don’t want to change the PLC configuration, you can have DHCP assign the same IP address to the PLC every time. DHCP uses the MAC address of the PLC to dynamically assign the static IP address. The MAC address should be labeled somewhere on the PLC (or in the PLC configuration somewhere). If no label is found you can look at the ARP table on your PC (or the PLC’s gateway if routing is involved). Hope this helps.
0 Kudos
Message 2 of 2
(3,188 Views)