NEW - SeQent Partner Portal & Resources

Login

How to Troubleshoot OPC Gateway Connection Failures in SeQent

Short answer

A failed OPC gateway stops alarms reaching SeQent. First check the FPAM OPC Agent connection to FPAMGWOPC (default port 8024), then DCOM and the vendor side.

OPC gateway disconnections are among the most common causes of missed alarms in industrial environments. A failed gateway stops data flow from your SCADA or DCS system to SeQent, leaving operators blind to critical conditions. Rapid diagnosis and remediation are essential.

Most common root cause: verify the FPAM OPC Agent connection to FPAMGWOPC before deep-diving into DCOM or vendor-side issues. In FPAM Administrator, open the OPC Agent > Connections tab and confirm Host Name and Port (default 8024) match the FPAMGWOPC machine. Confirm Source Host on the Details tab.

Symptoms of Gateway Failure

A disconnected gateway shows offline in the FPAMGWOPC Administrator status bar on the gateway machine. There is no centralized web admin dashboard for gateway status. Typical error text: “Server unreachable” or “Connection timeout.” You may notice that alarms fire in your SCADA but never arrive in SeQent, or that historical data gaps align with gateway downtime. Some failures are intermittent, with reconnection attempts showing in logs but ultimately failing.

Common Root Causes

DCOM Permission Issues are the leading cause of OPC DA gateway failures, but only when the OPC server is on a different machine from FPAMGWOPC. For local OPC servers, DCOM is not required. Credentials are set via Control Panel > Administrative Tools > Services > FirstPAGE Alarm Manager Gateway for OPC: change the logon to a user account trusted between both machines. The remote OPC Server and the FPAMGWOPC machine must be in the same domain. This is especially common after server migrations or Windows domain changes.

Firewall Blocking often blocks OPC ports. OPC DA uses port 135 (RPC endpoint mapper) plus RPC dynamic ports in the range 49152-65535 on modern Windows (Vista, Server 2008 and later). The previous documentation “above 1024” is misleading and can lead a network admin to open the entire ephemeral range. Narrow the range via registry on the OPC server if firewall policy requires. OPC UA typically uses port 4840.

Missing OPC Core Components cause connection rejections. OPC DA requires OPC Core Components 2.00. These ship with the FPAMGWOPC installer in an OPCREDIST folder, containing OPC Core Components 2.00 Redistributable.MSI and OPC Core Components 2.00 Redistributable.MSM. In most cases you do not need to download anything from the OPC Foundation. If the OPC server software was uninstalled or the runtime corrupted, gateways cannot establish connections.

OPC Server Offline is simpler but often overlooked. Verify the OPC server process is running and accessible before diagnosing the gateway itself.

OPC UA Certificate Issues cause encrypted connections to fail. Expired or untrusted certificates block OPC UA connections even if network connectivity is sound.

Step-by-Step Diagnosis

Step 1: Verify the OPC Server is Running. Log into the SCADA/DCS system directly. Check that the OPC server process is active and responding to local clients (use an OPC client tool if available). If the server is down, restart it and observe whether the gateway reconnects automatically.

Step 2: Test Network Connectivity. From the SeQent gateway host, ping the SCADA server IP. Test connectivity to the OPC server. Telnet is deprecated on modern Windows; use PowerShell Test-NetConnection -ComputerName <host> -Port 135. For OPC UA test port 4840. Note that for OPC DA the endpoint mapper allocates an RPC dynamic port per connection, so a single port test is not conclusive. If blocked, work with your network team to add the gateway host to firewall rules.

Step 3: Check DCOM Permissions. On the SCADA server, open Component Services (dcomcnfg.exe). DCOM permissions must be aligned on both ends. On both the FPAMGWOPC machine and the OPC server, open dcomcnfg.exe, navigate to Component Services > Computers > My Computer > DCOM Config, and find the OPC server entry. The DCOM entry to find depends on the OPC vendor (Kepware, Matrikon, RSLinx each register their own). Grant Launch and Access permissions for the FPAM service account. Reset if uncertain.

Step 4: Review Gateway Logs. On the FPAMGWOPC machine, open the Gateway for OPC Administrator. From the menu bar select View > View Logs, then choose Server Log (for OPC server connection activity) or Admin Log (for config changes). There is no “Diagnostics > Gateway Logs” path in the product. Look for “permission denied,” “timeout,” or “component not registered” errors. These pinpoint the exact failure mode.

Step 5: Validate OPC Components. On the OPC server, check Control Panel > Programs > Programs and Features for OPC Core Components 2.00. If FPAMGWOPC connects to a remote OPC server, OPC Core Components must also be installed on the FPAMGWOPC machine. If missing on either side, reinstall from the OPCREDIST folder in the FPAMGWOPC installation directory. For OPC UA, verify the certificate chain in the OPC server settings.

Prevention

Configure gateway redundancy so a single point of failure doesn’t stop alarms. Use automated monitoring on gateway status and set alerts on disconnections lasting more than 5 minutes. Document DCOM permissions and firewall rules in a configuration management system to recover quickly after server updates.

OPC UA SeQent’s OPC solution delivers real-time alarm and data monitoring from any OPC DA, HDA, or UA-compliant system. Transform PLC and SCADA process data into…

Looking for more?

Licensed customers can log in to the Customer Care Portal for detailed troubleshooting guides, release notes, and product downloads.

Visit Portal