Explainer
How a MicroLogix 1500 reaches WinCC through a local RSLinx OPC server
Short answer
The MicroLogix 1500 is never an OPC endpoint. WinCC reads it only through three links: the NET-ENI Ethernet path, a locally installed RSLinx Classic OPC DA server with a configured driver and topic, and the WinCC OPC channel. The deciding check is a good-quality read of one known PLC item with a local OPC test client before any WinCC tag is built.
On this page
- The chain has three links, and the PLC is not an endpoint
- Configure the driver first, then the OPC topic
- What the local installation removes, and what it leaves in place
- Sizing the NET-ENI connections for two HMI servers and one engineering PC
- The order that finds the break
- Runtime is the second acceptance test
- Questions asked
Yes, this arrangement works, and it is not complicated once you see that the MicroLogix 1500 itself never speaks OPC. WinCC 6.0 reads the controller through three links in a chain: the NET-ENI module that gives the PLC its Ethernet face, a locally installed RSLinx Classic that runs as the OPC DA server, and the WinCC OPC channel that acts as the client. Nothing in WinCC points at the PLC directly. The deciding check is a good-quality read of one known PLC item from a local OPC test client, done before a single WinCC tag is built; a ping response proves none of it.
The chain has three links, and the PLC is not an endpoint #
The 1761-NET-ENI module provides EtherNet/IP connectivity for MicroLogix controllers and other DF1 full-duplex devices, per the module's user manual. That is a network and protocol fact, not an OPC fact: the presence of an Ethernet interface does not make the controller an OPC server, and no setting inside the MicroLogix 1500 will ever turn it into one.
Above the module sits RSLinx Classic, which uses that path to reach the controller and exposes the data through its own OPC DA interface. WinCC sits above RSLinx and talks only to that interface. So when a value fails in WinCC, the fault is in exactly one of the three links, and each link has its own test. A ping only proves IP reachability; the same gap between ping success and working data is covered in why an HMI and PLC that ping each other may still not communicate.
Configure the driver first, then the OPC topic #
RSLinx reaches the controller in two stages, and the order matters. First, in the pull-down menu go to Communications and then Configure Drivers, and configure the Ethernet driver that will browse to the NET-ENI. When the intended controller is visible and browsable there, the network layer is proven.
Second, create the OPC topic: under DDE/OPC on the menu bar, select Topic Configuration, add a new topic and associate it with the processor you just browsed to, as the RSLinx Classic Getting Results Guide describes. The topic is the name an OPC client combines with a controller address to form an item. Record the topic name exactly as typed; a mistyped topic in WinCC reproduces every symptom of a dead network.
What the local installation removes, and what it leaves in place #
Classic OPC DA runs on Windows COM and DCOM. Because RSLinx is installed on the same machine as WinCC, the WinCC-to-RSLinx hop is local: there is no remote DCOM configuration, no distributed COM permissions and no second machine's firewall between the OPC client and server. That is the entire benefit of the local design and it is a real one.
What it does not remove: the OPC server must still be registered on that machine, its activation must be valid, and the process identity that WinCC runtime runs under must be allowed to activate it. Before commissioning, record the installed WinCC, RSLinx and Windows versions and compare the combination with the manufacturers' compatibility documentation; WinCC 6.0 is old enough that this check is not optional. If you run two HMI servers, each carries its own local RSLinx with its own driver, topic and activation to configure and maintain. Installing the software on both machines configures neither redundancy nor a shared topic.
Sizing the NET-ENI connections for two HMI servers and one engineering PC #
The module at the bottom of the chain has a hard limit, and it is worth one minute of arithmetic before commissioning.
Inputs:
- The NET-ENI module allows a maximum of 4 TCP connections (documented module limit; a power cycle is required to clear previously used connections).
- Two WinCC HMI servers, each running its own local RSLinx Classic; plan one TCP connection per RSLinx driver instance, and confirm the count in the module diagnostics if a driver opens more.
- One engineering PC that will run RSLinx and programming software against the same PLC.
The rule: the sum of simultaneous client connections to the module must not exceed the module limit.
Arithmetic: 2 RSLinx instances + 1 engineering client = 3 connections in use. 3 ≤ 4, so the design fits. Spare capacity: 4 − 3 = 1 connection.
Decision: two HMI servers plus one engineering session fit with one connection spare. A second simultaneous engineering session would hit the limit, so connect it only after another session disconnects, and remember that the disconnect does not always free the connection on its own — a power cycle of the module is the documented way to clear used ones, so schedule it in a maintenance window rather than during production.
The order that finds the break #
Work upward and stop at the first link that fails; changing settings in links above it is wasted motion. For the module-side detail of this path, the article on connecting MicroLogix 1200 PLCs to SCADA through a Net-ENI covers the interface configuration.
- Check the NET-ENI responds on the network: module indicators and its configured IP settings.
- Configure the RSLinx driver and browse to the controller. Resolve any route or communications error here, before opening WinCC configuration.
- Create the OPC topic and bind it to that controller.
- Read one known item with a local OPC test client, using the server's supported item syntax. Take the address and data type from the PLC project, and prefer a value you can observe without touching machine operation. Judge the result on value, quality and timestamp together: a plausible number with bad quality is a failed test.
- Only when step 4 passes, build the WinCC OPC connection, select the locally registered RSLinx server, and add one tag whose identifier and data type match the item you just tested.
- Compare the WinCC value against the OPC test client and the PLC monitor before importing the rest of the tags. The fault patterns on the WinCC side are the same family as in why WinCC Modbus TCP reads fail on an FX5U server: channel-level, not tag-level.
If step 4 fails, the fault is below WinCC and no tag rebuild will fix it. If step 4 passes and WinCC still fails, the fault is in the WinCC OPC channel or its tag configuration, and the network is proven good.
Runtime is the second acceptance test #
A good read in your engineering session is the first acceptance check, not the last. WinCC runtime may execute with a different Windows identity and startup sequence than the session you configured in, and OPC activation depends on both.
During commissioning, watch a value that changes safely on its own, such as a running clock or counter in the PLC, and confirm WinCC follows it with good quality. Then, in an approved test window, interrupt the communications path and confirm WinCC reports bad or unavailable data instead of presenting a stale value as current; restore the path and confirm automatic recovery. Finally, restart the HMI server under its intended production startup arrangement and repeat the one-item read under the runtime identity. Only then is the connection accepted.
Questions asked
Does the MicroLogix 1500 have a built-in OPC UA or OPC DA server?
No. Its Ethernet face is the NET-ENI module, which provides EtherNet/IP connectivity for the controller but no OPC service. An OPC UA client cannot connect to the controller at all on this hardware, and OPC DA exists only where RSLinx Classic runs as the OPC server. Every WinCC read goes through that software layer, never straight to the PLC.
Does every RSLinx Classic edition provide the OPC server?
No. The edition and its activation decide whether the OPC DA server runs at all, and being able to browse a controller in the communications window does not prove an OPC client can retrieve data. Before configuring WinCC, confirm on each HMI server, through the manufacturer's licensing tools, that the installed edition is activated for OPC serving.
What happens when one more client connects to the NET-ENI than it supports?
The module caps simultaneous TCP connections, so the extra client is refused or fails while existing sessions keep working, which looks like a license or permissions fault but is not. A power cycle of the module is what clears previously used connections, so plan that interruption in a maintenance window rather than rebooting the HMI servers one by one.
Why do good reads in the engineering session turn bad after the HMI server restarts?
WinCC runtime can execute under a different Windows identity and a different startup sequence than the session where you configured the connection, and classic OPC DA activation depends on both. Repeat the one-item test under the production runtime identity after a restart of the HMI server, before accepting the configuration.
Is one shared RSLinx installation enough for several HMI servers?
Not with this design. The whole point of installing RSLinx Classic locally on each HMI server is that WinCC reaches its OPC server without a remote DCOM link. Centralizing on one machine puts that remote link back into the chain, with its registration and access permissions to configure and to fault-find. With local installations, each server carries its own driver, topic and connection configuration to maintain.