Kepware KEPServerEX Configuration Guide

Kepware Server (formerly KEPServerEX) is one of the most widely deployed OPC servers, providing connectivity to over 150 industrial protocols and device drivers. It serves as the communication bridge between PLCs, DCS controllers, sensors, and higher-level systems such as SCADA, MES, historians, and cloud platforms.

Prerequisites

Before installing KEPServerEX, verify the following requirements:

  • Windows Server 2016/2019/2022 or Windows 10/11 (64-bit)
  • .NET Framework 4.8 or later
  • Minimum 4 GB RAM, 2 GHz dual-core processor
  • Administrative privileges for installation
  • Network access to target devices (PLCs, instruments)
  • Valid Kepware license (demo mode allows 2-hour sessions with up to 100 tags)

Installation Steps

  1. Download the Installer — Obtain the latest KEPServerEX installer from the PTC/Kepware support portal. Verify the SHA-256 checksum before execution.
  2. Run as Administrator — Right-click the installer and select "Run as administrator." Accept the UAC prompt.
  3. Accept License Agreement — Review and accept the end-user license agreement (EULA).
  4. Choose Installation Directory — The default path is C:\Program Files\Kepware\KEPServerEX 6. Change only if required by your organization standards.
  5. Select Drivers — Choose the device drivers you need. Common selections: Allen-Bradley ControlLogix, Siemens S7 Ethernet, Modbus TCP/IP Ethernet, Mitsubishi Ethernet.
  6. Complete Installation — Click Install and wait. The KEPServerEX service starts automatically.
  7. Apply License — Launch KEPServerEX Administration, navigate to Help then License, and activate your product key.

Creating Channels and Devices

KEPServerEX organizes communication in a hierarchy of Channels (protocol-level connections) and Devices (individual controllers on a channel):

Step 1: Create a Channel

  1. Right-click "Connectivity" in the project tree and select New Channel.
  2. Enter a descriptive channel name (e.g., Plant01_ModbusTCP).
  3. Select the device driver (e.g., Modbus TCP/IP Ethernet).
  4. Configure network adapter and communication parameters.
  5. Click Finish to create the channel.

Step 2: Add Devices

  1. Right-click the new channel and select New Device.
  2. Enter the device name (e.g., PLC_MixingTank01).
  3. Enter the IP address or hostname of the target PLC.
  4. Configure device-specific parameters.
  5. Click Finish to add the device.

Configuration Parameters

ParameterModbus TCPAllen-Bradley EtherNet/IPSiemens S7 Ethernet
Default Port50244818102
Timeout (ms)300030003000
Retry Count333
Scan Rate (ms)10005001000
Max Tags per Request125 (read), 123 (write)Varies by processorVaries by PDU size
Communication ModeMaster/SlaveClass 1 MessagingS7 Basic Communication
Auto-DemotionRecommended: ONRecommended: ONRecommended: ON

Tag Configuration

Tags represent individual data points. Configure tags carefully to ensure accurate data mapping:

  1. Right-click the device and select New Tag.
  2. Enter the tag name using a consistent naming convention (e.g., Tank01_Level_PV).
  3. Set the Address — the register location in the PLC (e.g., 40001 for Modbus Holding Register 1).
  4. Select the Data Type (Boolean, INT16, INT32, FLOAT, STRING, etc.).
  5. Configure Scaling if raw values need engineering unit conversion (e.g., raw 0–27648 to 0.0–100.0%).
  6. Set the Scan Rate — override the device default for tags requiring faster or slower polling.

Security Settings

KEPServerEX supports multiple layers of security:

  • User Manager — Create local user accounts with specific permissions (read-only, read-write, admin).
  • OPC UA Security — Configure X.509 certificates for OPC UA connections with Sign or SignAndEncrypt mode.
  • Application Authentication — Restrict which OPC client applications are allowed to connect by whitelisting trusted application URIs.
  • Encryption — Enable TLS for HTTPS-based connections.
  • Audit Logging — Enable audit trails to record all configuration changes and user login events.

Diagnostics and Troubleshooting

KEPServerEX includes built-in diagnostic tools:

  • OPC Diagnostics — View real-time statistics per channel: message count, error count, throughput, and last error code.
  • Event Log — Access via View then Event Log. Filter by severity (Info, Warning, Error).
  • Device Status — Green icon means connected, Yellow means warnings, Red means communication failure.
  • Packet Trace — Capture raw protocol packets for detailed communication analysis.

ASP OTOMASYON A.Ş. and its subsidiaries OPCTurkey and ASP Dijital provide end-to-end industrial engineering solutions for process automation, data operations and AI.


References & Further Reading

  1. PTC Kepware KEPServerEX Connectivity Platform — Official product page with documentation, driver list, and system requirements for the KEPServerEX industrial connectivity platform.
  2. PTC Kepware Technical Support and Knowledge Base — Official support portal with configuration guides, troubleshooting articles, and best practices for KEPServerEX deployments.
  3. Modbus Organization — Modbus TCP/IP and RTU Specifications — Official Modbus protocol specifications maintained by the Modbus Organization, covering function codes, addressing, and data encoding.
  4. ODVA — EtherNet/IP and CIP Protocol Specifications — Official specifications for EtherNet/IP and the Common Industrial Protocol used by Allen-Bradley/Rockwell Automation devices.
  5. PTC Kepware Advanced Features — Alarms, Logging, Redundancy — Official documentation for KEPServerEX advanced capabilities including alarm configuration and ODBC data logging.