Knowledge base

PLC Server Installation Manual

This guide provides step-by-step instructions for installing the Haytek PLC Server on Windows systems.

Prerequisites

System Requirements

  • Windows Server 2016 or later (or Windows 10/11 for development)
  • Minimum 4 GB RAM (8 GB recommended)
  • 50 GB available disk space
  • Administrator privileges for installation

Installation Options

There are two installation packages available:

Option 1: Full Installer (with SQL Server)

Use this if you are installing on a new system without SQL Server already installed. This package includes:

  • Haytek PLC Server application
  • SQL Server Express Edition
Download from Downloads page →

Option 2: Standalone Installer (without SQL Server)

Use this if you already have SQL Server installed and configured. This package includes:

  • Haytek PLC Server application only
Download from Downloads page →

Post-Installation Configuration

1. Verify Service Status

To confirm the "Haytek PLC Server" service is running, navigate to http://localhost:8000/messages

2. Configure API Key

Set up your API key to enable communication with the Haytek platform:

  1. Navigate to https://haytek.org/control-panel (login if not logged in)
  2. At the top, on the right beside your name, click the menu icon and select My API Keys
  3. Copy the API key
  4. Navigate to http://localhost:8000/messages
  5. Click the Set API Key button
  6. Paste in the API Key you copied in the previous steps
  7. You should see an "API Key was added successfully" message

Troubleshooting

Common Issues

Service won't start

Check that the service account has proper permissions and SQL Server is accessible

Database connection errors

Verify SQL Server (HAYTEKSQL) is running

Installation fails

Ensure you have administrator privileges and no previous version is running

For additional help, see the Troubleshooting Guide or FAQs.