A PLC Ethernet IP address must identify the intended interface uniquely within its network, use the approved subnet mask and fit the plant’s routing and access design. Before connecting a cabinet, verify the controller identity, address assignment method, laptop interface and switch connection. A link light or successful ping is useful evidence, but neither proves that the correct PLC program, industrial protocol or machine behavior is working. Address changes should follow a recorded plan with a practical recovery path.
For cabinet acceptance, the task is larger than entering four numbers. The engineer must be able to explain which device owns each address, how the engineering station reaches it and what will happen after replacement or power restoration.
For the wider enclosure and control architecture, see what a PLC cabinet contains before assigning network acceptance responsibilities.
Start with the installed interface and network drawing
Identify the controller, communication module and physical port from the supplied equipment record. A cabinet can contain a PLC, HMI, remote I/O, switch and other Ethernet devices, each with its own role. Some controllers also have multiple interfaces or an internal switch arrangement. Do not assume two similar sockets represent independent configurable networks.
The LINECOME Industrial PLC Control Cabinet describes industrial Ethernet as one possible part of a distributed system. The enclosure photograph does not identify the supplied CPU, protocol, addressing method or switch configuration. These details must come from the approved bill of materials and network drawing for the actual order.
Mark the cabinet boundary, switch port, VLAN where applicable, routed interfaces and authorized engineering connection. Include the network owner responsible for assigning addresses. Do not connect a new cabinet to a live production segment just because its current address appears unfamiliar or unused.

Keep address, mask and gateway as separate checks
An IPv4 address identifies an interface in an IP network. The subnet mask determines which address bits describe the network and which describe the host. A default gateway provides a next hop for destinations outside the local network when the host’s routing configuration uses that route. These fields have related but different jobs.
Microsoft’s TCP/IP addressing guide explains how the mask separates the network and host portions. Its general networking principles are useful here; its historical class-based discussion is not a recommendation to design a modern plant by address class. Use the approved prefix and routing plan instead.
For a deliberately isolated example, assume a PLC is 192.168.50.20 and a laptop is 192.168.50.100, both using 255.255.255.0, or /24. Their network address is 192.168.50.0. A laptop at 192.168.51.100/24 is in a different subnet. Changing the last octet alone will not fix that mismatch, and copying the PLC’s full address would create a conflict.
These are hypothetical private addresses for explaining the calculation, not values to enter on a plant network. Under this /24 example, .0 identifies the subnet and .255 is the directed broadcast address; neither is a normal host assignment. Other prefix lengths have different boundaries. The Cisco subnetting guide provides the binary method for checking them.
Reserve addresses before configuring equipment
Build an address register containing device tag, equipment identity, interface, MAC address when available, IP address, prefix, assignment method and responsible owner. Record where the values are configured and whether they are expected to persist after a restart. A label on the cabinet door should agree with the approved register, but should not be the only record.
Distinguish a manually configured address from a DHCP reservation or another supported assignment mechanism. A device that receives an address during a workshop test may obtain a different one when connected elsewhere. Conversely, a replacement unit can retain a factory or previously configured address that conflicts with the operational system.
Coordinate static allocations with the network administrator’s dynamic pools and reservations. A quiet device, a powered-off machine or an address that does not answer ping can still own an allocation. Choosing a number by trial and error is especially risky where multiple machines were cloned from the same project.
Check the engineering computer’s actual path
Select the intended wired interface in the engineering software and confirm its current address and mask. Wi-Fi, VPN clients, virtual machines and additional Ethernet adapters can create alternative routes. The correct settings on one adapter do not prove the application is using it.
Use the authorized engineering connection and retain the plant’s access controls. Do not disable firewalls, bridge networks or connect the controller to the public internet as a troubleshooting shortcut. If a routed path is required, have the network owner verify the relevant route, access rules and supported engineering services.
For a direct isolated connection, establish that the test arrangement is allowed and does not remove essential communication from a running process. Some network changes can make remote I/O, HMI connections or supervisory systems unavailable. Treat that loss of communication as a machine-state issue before disconnecting a cable.
Diagnose connectivity in layers
Begin with device power, approved cable condition and the intended physical port. Link indication supports a physical connection, but does not establish the correct VLAN, addressing or protocol. Confirm the connected switch port and any relevant network diagnostics before editing controller settings.
Next compare the address and mask on both ends, then verify reachability using permitted tools. A ping response indicates that something at the target address answered ICMP. It does not independently identify the PLC or prove application communication. A missing response can result from filtering, routing, device settings or a physical problem; it is not proof of an unused address.
Finally verify the intended engineering session and application connection. Match the online device’s model and identity to the project, using read-only information first. Do not download a program merely because a device appears in a discovery list. Equipment discovery, online identity and permission to modify the machine are separate steps.
| Observation | Next evidence to collect | Premature conclusion to avoid |
|---|---|---|
| No physical link indication | Power, port identity, approved cable and switch status | The PLC IP address must be wrong |
| Link present, no reply | Address, mask, VLAN, route and permitted filtering | The target address is free |
| Reply received, engineering connection fails | Device identity, selected adapter and supported services | The responding device is the intended PLC |
| Intermittent access | Address register, conflict diagnostics and device identities | Repeated power cycling will fix the problem |
| PLC reachable, HMI disconnected | HMI target configuration and application diagnostics | All network functions passed because ping worked |
| Access fails after restart | Address persistence and assignment records | The hardware requires immediate replacement |
This table is a diagnostic sequence built from the addressing principles above. It does not prescribe universal PLC port numbers, scan rates or network timeouts.
Treat duplicate addresses as an identity problem
The IETF’s RFC 5227, published in 2008, describes IPv4 address conflict detection and explains why two hosts using the same address on one link cause problems. It discusses ARP-based mechanisms for detecting conflicts before and during use. Do not assume every installed PLC implements the same notifications or recovery behavior.
If access changes unexpectedly between devices or becomes intermittent when another cabinet powers up, preserve the observations. Compare device MAC addresses, approved switch information and the address register with the network owner. A changing response can be a useful clue, but should not be treated as a complete diagnosis without checking the physical and logical topology.
Resolve a confirmed conflict through controlled changes to the intended device. Identify every HMI, supervisory connection or remote client that depends on its address before changing it. Update the register and affected configurations together, and retain a way to reconnect if the new setting is incorrect.

Plan replacement and power-cycle acceptance
A satisfactory initial connection can hide an incomplete recovery plan. Record whether the address is stored in the device, loaded from the engineering project, assigned by a server or selected by physical controls. Follow the exact equipment instructions when several mechanisms can apply.
During an approved acceptance test, confirm the controller’s address after a normal power cycle and verify the required client connections again. Observe the process response to communication interruption and restoration under the machine test plan. Network reachability alone does not prove safe restart behavior or correct output states.
Keep the addressing record with the PLC backup and recovery package. The project archive should identify the expected hardware and communication settings, while the network register records the installed allocation. Neither document should silently contradict the other after a replacement.
Separate Ethernet acceptance from other cabinet tests
Ethernet uses a different physical interface and diagnostic approach from RS485 termination and biasing. Installing extra termination resistors or copying serial communication settings is not a remedy for an IPv4 subnet mismatch. Likewise, electrical noise in a sensor input requires the separate PLC analog-input investigation, even if the cabinet also has a network fault.
Use the PLC cabinet FAT checklist to connect these individual checks to the overall acceptance sequence. Record both passing observations and outstanding application tests. A network certificate should state which controller and clients were tested, under what connection arrangement, and which routes or services remain outside its scope.
Request a usable network handover
Ask the cabinet supplier for the actual controller and module identities, address table, network drawing, firmware and project references, assignment method and recovery instructions. Clarify whether the supplier or plant network team configures the final addresses. Any temporary workshop addresses should be clearly identified before shipment.
The handover should also identify how authorized personnel obtain engineering access without exposing credentials in labels or shared screenshots. Store necessary access information in the approved secure location. Address information is a maintenance aid; it is not an access-control system and does not replace plant network security.
Further learning: configure the computer side
The RealPars lesson below explains the computer-side IP addressing needed for Ethernet communication. It supports the subnet discussion and adapter checks in this article. It is not a device-specific PLC configuration procedure and does not authorize changing a production network.
Video by RealPars. Watch How to Set the IP Address of Your Computer on YouTube.
Frequently asked questions
Should my laptop use the same IP address as the PLC?
No. Each interface must have its own approved address. For a normal direct local connection, the laptop and PLC need compatible subnet settings while retaining different host addresses. The exact values must come from the network plan.
Does a successful ping prove that PLC communication is working?
No. It shows an ICMP response from the target address. Verify the responding device’s identity, the intended engineering session and the required application connections separately.
Can I use an address that does not answer ping?
Not without checking its allocation. The address may belong to a powered-off, isolated or filtered device. Confirm the address register and coordinate with the network owner before assigning it.





