Skip to main content

Modules and licensing

Open System Configuration → Modules. Its sections Connectors, Services and Historian list every module of this WiConnector node and let you start, stop, restart and terminate them. Licensing (the last Modules section) is where licence files from Altrex are added.

What is a module​

SectionModulesLicence type
ConnectorsEach connector you created on the Connectors pageIts connector type: ModbusTcp, ModbusRtu, Serial, S7, OpcUa, OpcDa, Mqtt (each MQTT broker or OPC server counts as a device)
ServicesWebSocket data service, each MQTT publisher and each OPC UA serverWebSocketService, MqttPublisher, OpcUaServer (each publisher or server is one instance)
HistorianStoring tag history in the history databaseHistorian

Devices inside a connector need no licence of their own. A connector licence is either unlimited (covers every device, such as every PLC in your S7 connectors) or limited to 1, 2, 4, 8, 16, 32 or 64 devices per connector. The Licence column then shows, for example, "Licensed · 4 devices". Tag management, the web UI, logs and diagnostics need no licence.

Licence usage​

Above the Connectors, Services and Historian tables, a card per module type shows what your licences allow and what this node uses: Connectors used / allowed, Devices per connector allowed, and Devices in use (with the largest connector when there are several). A card turns orange, with the reason in red, when devices or connectors are over the licence; a type without a licence shows Demo. Each connector's Licence column has a Devices column with its devices out of the licence's devices per connector, for example "3 of 4" with a bar (red when over), or "3 (no limit)". Expand a connector to see each device: Included in the licence, Over licence limit, or Demo. The WiConnector version and build date are shown once at the top right, since every module is part of the same build.

Licence usage cards and the Modules table

Demo mode​

A module whose type has no licence runs in demo mode. It stops by itself after 3 hours of running, and its tags go to Bad quality (reason ModuleStopped). Its status shows Demo ended. Press Start or Restart for another 3 hours, or add a licence. While a demo module runs, the Licence column counts down the time left. Changing the computer's clock does not change the demo time.

When you add a licence, modules that the demo limit stopped and are now licensed start again by themselves.

The Modules table​

ColumnMeaning
ActionsAfter the name and type: Start (green), Stop (amber, closes connections cleanly), Restart (blue), Terminate (red, stops at once without waiting; use it when Stop does not finish). Buttons that do not apply are greyed out
StatusRunning, Starting, Stopped, Faulted (see the tooltip for the error), Disabled (switched off in its settings), Demo ended
LicenceLicensed, Licensed (grace), Demo with the time left, or Unlicensed (demo)
DevicesConnectors only: devices used out of the licence's devices per connector
TagsTags read by the module (on a device row: by that device)
RuntimeHow long the module has been running since its last start
Started / StoppedLast start and last stop

Stop, restart and terminate ask for confirmation first. A stopped module stays stopped when you change its settings, until you press Start. When WiConnector itself restarts, every enabled module starts again.

The process figures at the top right (PID, CPU, memory) are for the whole WiConnector process: all modules run inside it.

Devices​

Click the arrow beside a connector to see its devices. Each device can be stopped, started and restarted. A stopped device is left out of the connector (no connection is made to it) and its tags go to Bad quality (reason DeviceStopped). The connector restarts briefly to apply this, so its other devices pause for a moment.

Devices over the licence limit​

If a connector has more devices than its licence allows, the first devices by name run and the rest show Over licence limit. They make no connection and their tags are Bad (reason LicenceDeviceLimit); the device page says so too. The connector's Licence column shows devices used and allowed, for example "Licensed · 2 / 1 devices". Remove devices from the connector, or ask Altrex for a licence with more devices (see Getting a licence): when you add it, the held devices start by themselves.

Licensing​

Getting a licence​

The licence request form

  1. Open System Configuration → Modules → Licensing.
  2. In Request a licence, enter your company, site and a contact.
  3. Tick the modules you need. They are grouped as Connectors, Services and Historian, and the form starts with what this installation uses (press Fill from this installation to go back to that, or Clear to start empty). For each ticked module:
    • Connectors: how many connectors of that type (blank = any number) and Devices each: 1, 2, 4, 8, 16, 32, 64 or Unlimited.
    • Instances for MQTT publishers and OPC UA servers (blank = any number).
    • The Historian needs only the tick.
  4. Add notes for Altrex if needed (order number, licence period) and press Create request file. The file downloads, and the request appears under Licence requests.
  5. Send the file to Altrex. The licence you get back is made from it.
  6. Press Add licence file at the top and choose the .wclic file.

You can still just copy the Installation code and send it, if you agree the modules with Altrex another way.

Installed licences​

Each licence is a card with its ID, state, customer and site, issue and expiry dates, and the request it was made for. Its modules are shown in three boxes, Connectors, Services and Historian, each module with its limits: for example Siemens S7 · 2 connectors · 8 devices each, or Modbus TCP · Any number of connectors · Unlimited devices. A box shows Not included when the licence has nothing of that kind. Press the bin to remove a licence; keep the file, because you can add it again on the same installation later.

Licence requests​

Every request made with the form is listed, newest first, with its ID, date and time, who made it, the modules and quantities asked for, and its status:

StatusMeaning
RequestedWaiting for the licence from Altrex
Licence appliedA licence that covers everything in the request is installed (its ID and issue date are shown)
Partly appliedThe licence for this request gives less than was asked for; the missing parts are listed under it
SupersededNot answered, and you made a newer request after it

Use the download button to get the request file again, or the bin to delete a request from the list.

One licence, one installation​

A licence works only on the installation whose code it was made for:

  • Another WiConnector on the same computer (a second Windows install, another Docker container, a VM) has its own installation code, so the licence is refused there.
  • Copying the data folder to another computer does not move the licence: the code includes the computer's machine ID.
  • Upgrading WiConnector, or recreating its Docker container with the same data volume, keeps the code. The Docker Compose file mounts the host's /etc/machine-id for this.
  • If the computer's hardware changes so its machine ID changes, the licence keeps working for 72 hours (state Grace period) so the plant keeps running. Ask Altrex for a licence for the new code in that time.

Licence states​

StateMeaning
ValidIn use
Grace periodThe computer changed; works until the date shown
ExpiredA time-limited licence ended
Other installationMade for another installation code
Clock moved backThe licence has an end date and the system clock is behind the time WiConnector last saw. Correct the clock
Build too newThe licence covers WiConnector builds up to an earlier date (updates period ended)

Licence files and the installation identity are in the license folder of the data folder. Don't edit installation.json: WiConnector notices changes and makes a new installation code, and your licences then stop working.