User Manual

KODA / FARGO Regular I/O Controllers

Wiring, web interface, automated tasks, settings and specifications for the FARGO R8/R4 G2 and KODA 100/200 Ethernet I/O controllers.

Updated April 22, 2026 22 min read Download PDF
Overview

01Overview

Figure 1KODA and FARGO controllers

This manual covers the models below. They are referred to as the SERVER throughout; differences and extra features are noted in the text.

Model Relays Inputs Form
FARGO R8 G2 8 (Form C) – Bare board
FARGO R4DI G2 4 (Form C) Digital Bare board
FARGO R4ADI G2 4 (Form C) Digital, analog, AC current Bare board
KODA 100 2 (normally open) 2 digital DIN-rail enclosure
KODA 200 4 (dry contact or 10 V output) 2 digital DIN-rail enclosure

This manual also supplements the documentation for the Netbell-2, Netbell-8, Netbell-K (and variants) and iTrixx-NHM, which use the same web interface.

02Getting Started

Warning

Although the relays are rated for higher voltages, these products are not designed for line voltage. Never use voltages above 48 V through the SERVER. It is not safe.

FARGO: Handling a Bare Board

The FARGO is a “bare board” product supplied without a housing. It runs on low voltage, but needs simple precautions to avoid damage:

  • Static: electrostatic discharge can permanently damage the board. Touch a grounded surface, such as a grounded workbench, before handling it, and hold it by its edges. Take extra care if your chair or clothes often cause static shocks.
  • Metal: the four rubber feet keep the bottom of the board off the surface. Don’t let screwdrivers or other metal objects touch the bottom of the board.
  • Mounting: the board can be panel-mounted on standoffs with #4 hardware. The mounting holes are connected to GROUND.

KODA: DIN-Rail Enclosure

The KODA is housed in a DIN-rail enclosure that snaps onto a DIN rail or attaches to any flat surface, such as a wall or under a counter. The KODA 100 has two relays; the KODA 200 has four relays that can also drive 10 V, 50 mA to external devices. Removable terminal connectors simplify installation and maintenance: the unit can be removed without disturbing the system wiring.

03Wiring the Server

For the location of each connector, see Board Layout Reference.

Caution

These units are ground-isolated. Connect so the power loop is connected only to the SERVER, and do not use external ground connections. Doing so may damage the SERVER or the PoE source device.

Power and Network

  1. FARGO only: place the board on a table or bench, keeping metal objects away from its underside.
  2. Plug the 12 VDC power supply into an AC outlet and its barrel connector into 12VDC/POWER, or use PoE instead.
  3. Plug an Ethernet cable into the RJ45/NET connector.
Warning

When using a PoE switch, do not also connect the 12 VDC power supply. It will damage the board.

LED Meaning
Green (Boot) flashing Bootload mode, right after power-on. In this mode the server software can be updated.
Red blinking once per second After about 5 seconds: Server mode. The SERVER is reachable on the network over TCP/IP.
Connection On when a 100 Mbps network is available.
Activity Blinks to show network activity.

FARGO G2 Relay Connections

The FARGO R8 has 8 relays and the FARGO R4 has 4. They are dry-contact relays for low-voltage control only: never apply more than 48 V. Each relay has three terminals: NO (Normally Open), C (Common) and NC (Normally Closed). When the relay activates, the connection moves from C–NC to C–NO.

  • To make a connection when the relay activates, wire between C and NO.
  • To break a circuit when the relay activates, wire between C and NC.
Figure 2FARGO relay wiring example

KODA Relay Connections

  • KODA 100: 2 normally-open relays, each on its own removable 2-position connector, numbered 1 and 2.
  • KODA 200: 4 relays on one removable 8-position connector. Each relay has a + terminal and a numbered terminal. Use the relay switch (see Board Layout Reference) to choose:
    • +V: about 10 VDC is supplied on the + terminal, with the numbered terminal as the return.
    • Dry contact: a normally-open dry contact across the + and numbered terminals.

KODA 100/200 are designed for low-voltage control only: never apply more than 48 V to a relay.

Figure 3KODA relay wiring example

Digital Input Connections (FARGO R4 and KODA)

Digital inputs detect the on/off state of an external sensor. The SERVER can show whether an input is on or off, count events (resettable or non-resettable counter), and calculate frequency (for example, as a tachometer) or period.

Each input has two modes, selected by the switch marked ISO (isolated) and PU (pull-up); see Board Layout Reference. They are set to ISO at the factory.

Mode How it works
PULL UP Connects a 1 kΩ resistor to an internal voltage, so you can use a simple switch (such as a magnetic door switch) across terminals 1 and 2. When the switch is activated, a signal is sent to the input.
ISOLATED You drive the opto-isolator directly with an external voltage through an internal 1 kΩ resistor. The voltage can be 5–24 V, supplying a minimum of 2 mA and a maximum of 30 mA. There is no other internal connection to this voltage.
Important

When connecting a 12–24 VDC circuit to an input, you must use an external resistor (2.2 kΩ, 0.5 W; provided on request). If you use isolated mode, check the switch is set to ISO before applying an external voltage, or you may damage the SERVER or the PoE source device.

Wiring a push button

For distances up to 500 ft, 20 AWG shielded wire is suitable. For distances up to 5,000 ft, use 16 AWG shielded cable instead. Longer cable runs are more susceptible to signal interference.

Analog Input Connections (FARGO R4ADI)

Analog inputs read values from external equipment. The R4ADI has 2 analog inputs:

  • AC current monitoring: connect a current sensor to one of the two 3.5 mm stereo inputs.
  • 0–5 V sensors: the 2 analog terminal blocks connect to non-isolated 0–5 V sensors, such as temperature or pressure sensors. The SERVER provides ground and power, so no external voltage reference is needed. Use an isolated sensor that makes no connection to a remote ground. See FARGO R4 in the Board Layout Reference.

04Accessing the Server

Once powered on and connected, the SERVER obtains an IP address via DHCP automatically, as long as your router is configured to provide one. Enter that IP address in your browser to open the landing page, then click Log In at the top right. The default username and password are both admin.

Finding the IP Address with Linortek Discoverer

Discoverer finds your SERVER automatically. It is a Java program, so it needs the Java Runtime. Download Discoverer from Support Programming.

  • Chrome and Firefox are recommended. Internet Explorer saves Discoverer as a .zip file by default; choose Save as and rename the file Linortek Discoverer.jar.
  • Depending on your browser’s security settings, you may be asked whether to keep or discard the file. Click Keep; it will not harm your computer.

Discoverer shows each device’s IP address, host name, MAC address, and other info: blue LED (if on), product name, server software revision and port number (if ported).

Figure 4Linortek Discoverer

Click your device in Discoverer to open its web pages, then click Login. The default username/password is admin/admin. You can change these, or turn off the login requirement, in the Settings menu.

Connecting Directly to Your PC

If no network is available, plug the SERVER into your PC’s Ethernet port. Unless you have set a static IP, it uses the default address 169.254.1.1. Enter that in your browser; no internet connection is needed. Once configured, install the SERVER where you want it.

05Web Interface: Home and Services

Logging In

Enter the IP address (and port number, if set) to open the login page. It shows the server’s name, which you can change in Network Configuration. The page has no background activity, so it’s a useful place to park when you don’t want to close the connection.

Figure 5Login page

Click LOGIN and enter your username and password. The browser keeps them until it is closed. You can turn off the password requirement on the Settings page.

Home Page

Figure 6Home page
Item Description
Time With the day of the week, in 12-hour (AM/PM) or 24-hour format.
Date Current date.
Volts Voltage at the board; useful if the SERVER shares power with other equipment.
Temperature Board temperature in °C or °F. Always slightly above ambient because of the SERVER’s own heat.
LEDs Red: system pulse, blinking about once per second while running. Green: bootloader; usually not shown. Blue: click to turn on or off. It lights on the physical unit, which helps you find it among similar devices (“Locate”). Discoverer also shows when it is on.

Services: In/Out or Relays Page

The Services tab changes with your SERVER’s configuration. Its first page is either In/Out (relays and inputs on one page) or Relays (relays only). Each relay is numbered and can have a name and names for its NO, C and NC connections.

Figure 7In/Out page
Indicator Meaning
State Green = on, red = off. Click it to switch the relay manually.
Email An email is sent when this relay switches on or off.
Pulse The relay has a pulse width and multiplier (duration); see Set Relay.
Sched. A task on the Tasks page triggers this relay automatically.
Timed Turns red while the relay is running on its pulse timer.

Click the Edit icon to open the Set Relay page for that relay.

Inputs

The In/Out or Inputs page shows each input. The FARGO R4DI has four digital inputs, the R4ADI has four digital and four analog inputs, and the KODA has two digital inputs.

  • The label at the top (for example DIN 1, AIN 2) shows the input type and number, and turns green when the input is enabled.
  • The box shows the display set up on the Set Input page.
  • The dot at the lower left shows the state of a linked relay (red, or green when active).
  • The Edit icon at the lower right opens Set Digital Input or Set Analog Input.

Set Relay Page

Field Description
Relay Select The relay you are editing.
Name Relay name, 15 characters.
NO / Com / NC Name 7-character names for the Normally Open, Common and Normally Closed connections.
Pulse Width Turn the relay on for a timed period. 0 = no timer; otherwise the duration, up to 4 digits (e.g. 1234).
Pulse Width Multiplier Unit for the pulse width: None, mS (milliseconds), Sec or Min.
Relay Type Normal (relay on this SERVER) · Latched (not supported) · Remote (relay on another SERVER over the network) · Zigbee (remote relay over RF) · Normal and Remote · Normal and Zigbee (both activated).
Location ID Number identifying a remote location.
Relay at Location The relay or device number at that location.
Send Email Send an email when the relay turns on or off.
Figure 8Set Relay page

Set Digital Input Page

Digital inputs can show their data in several display types, with a name and an associated relay (green/red, and clickable to control it).

Field Description
Digital Input Selected The input you are editing.
Name 15 characters; shown in the bar at the top of the display.
Label 7 characters; shown on the display itself.
Corrector Add, subtract, multiply or divide the value before it is displayed. Up to two operations separated by a space, using +, -, * or / (e.g. *3 +2).
USE Activates the input; its number turns green. Active inputs use CPU time, so turn on only the ones you need.
Type State (on/off, e.g. a door switch) · Counter-NR (non-resettable counter) · Counter-R (resettable counter) · Frequency (e.g. a tachometer; 1 Hz = 60 RPM) · Period (in milliseconds; for timing events).
Display Dot (value in a colored dot; good for State) · Values (value with the label below) · Meter (dial scaled by Min/Max, with colored arcs) · V-Bar (vertical bar scaled by Min/Max, colored by range).
Relay L/T A relay number to show and control from this display. Add L (e.g. 2L) to make the input follow the relay, or T to make the relay follow the input.
Command Z/N/I Z zero the resettable counter · N normal input · I invert the input.
Value Min/Max Display range, after the Corrector. Max must be at least 1.
Yellow / Red / Green Value ranges for each color, after the Corrector. For a State input, use Red 0–0, Green 1–1 and Yellow 2–2, so yellow is never used.
Figure 9Set Digital Input page

Set Analog Input Page

Analog inputs use the same Name, Label, Corrector, USE, Display, Relay, Value and color fields as digital inputs. The Type options differ:

Type Source
Analog 1 / Analog 2 Analog inputs, such as on the R4ADI.
AC Current 1 / AC Current 2 AC current sensor inputs, such as on the R4ADI. (AC Current 3 is not used.)
Volts Voltage powering the SERVER.
Current Current consumed by the SERVER (“S” models).
Int. Temp Board-mounted temperature sensor.
Ext. Temp / R. Humidity External temperature and relative humidity (“S” models).
MMA X / Y / Z Accelerometer axes (“S” models).
Figure 10Set Analog Input page

06Tasks (Automatic Events)

Tasks Page

The Tasks page lists up to 16 automatic events. Each is an IF … THEN statement whose IF part can have two terms: IF a AND/OR/NOT b THEN c. Click the dot in the State column to turn a task on (green) or off (red), and click the Edit icon to create or change it.

Figure 11Tasks page

Set Schedule Page

Field Description
Schedule Select The task line you clicked.
Schedule Name 15 characters.
USE Must be checked for the task to run. It unchecks itself if the data has an error.
LOG Write to the system log every time the task runs.
Email Send an email every time the task runs.
Device A / Data A The first IF condition (see the data formats below). On an error, USE unchecks and the faulty field is highlighted when you click Save.
Logic AND: A and B are both true · OR: A or B is true · NOT: A is true and B is not.
Device B / Data B The second IF condition.
Device C / Data C What to control (see below).
Action ON · OFF · TGL (toggle) · RESET (reset a resettable counter).

Data formats for Device A and B

Device Enter Example
Minute mm 30
Hour hh (24-hour) 14
Day dd 01
DayofWeek 1 Sun · 2 Mon · 3 Tue · 4 Wed · 5 Thu · 6 Fri · 7 Sat · 8 Weekday · 9 Weekend 8
Time hh:mm, 24-hour with leading zeros (seconds ignored) 07:30
Date yy/mm/dd with leading zeros 20/01/10 = January 10, 2020
Relay Relay number and + (on) or - (off) 01+
Button + or - +
Flag Flag number with optional + (on), or - (off) 3-
Temp >, = or < and a value, always °C >40
Volts >, = or < and a value <10
Analog Input number, comparison and raw value (before any Corrector) 3<123
Digital Input number, type, comparison and raw value. Types (case-sensitive): S state, C non-resettable counter, c resettable counter, F frequency, P period 1F>7500

Device C and Data C

Device C Data C
RELAY Relays on this SERVER, up to four, separated by commas, e.g. 1,2,3,4.
FLAG One of 8 storage flags, for building more complex schedules.
REMOTE A relay on another SERVER: remote unit number, remote relay, e.g. 3,5. Set up remote units in Remote Devices.
COUNTER Adds a count to a digital input counter: 1 or 2 for the counting input.
BLUE LED No data.
eMAIL Sends an email; no data.
NOTIFY Kodalert notification 1–8 (not implemented).
Figure 12Set Schedule page

07Logs and Settings

Logs Page

The Logs tab keeps over 10,000 entries of actions taken by the SERVER or by users.

  • Use the checkboxes above the date to filter log sources; uncheck a source to hide it.
  • Each entry has a reference number, date (yyyy/mm/dd), time (hh:mm:ss) and the event.
  • Scroll with the arrows on the right: bar-and-arrow to the start or end, double arrow by a page, single arrow by one entry.
  • Click REFRESH to update, or DOWNLOAD to save the log as a file.

User and Admin Credentials

Open this page from the Settings menu. You can set up to 3 users; by default only User 1 is active.

Setting Description
User Name and Password Defaults: admin/admin, user2/user2, user3/user3. Passwords are never displayed. A new password must be fewer than 13 characters.
Active Must be checked for the user to sign in. User 1 cannot be deactivated.
Admin Only admins can save data on most pages.
Timeout Not enabled at this time.
Figure 13User and Admin Credentials

Time/Date Page

Setting Description
Time / Date hh:mm:ss and yy/mm/dd.
Time Zone Offset from GMT, e.g. -5 EST, -8 PST. Add :mm for part hours, e.g. -5:30.
Use Daylight Savings Time Adjusts automatically on DST changeover days (not accurate in all time zones).
Use MIL Time 24-hour format.
Use NTP Update Synchronize time with an NTP server.
NTP Web Site / NTP Interval The NTP server, and minutes between updates.
Log NTP Event Log every NTP event, not just exceptions (useful for debugging).
Figure 14Time/Date page

Settings Page

Setting Description
Require Login If unchecked, anyone can access the SERVER without credentials.
Use RESTful Authentication Require username and password for RESTful commands.
Extend Relay Range Enables 8 relays.
Use Relay Radio Buttons Turning one relay on turns all others off.
Use System emails Enables additional email messages.
Use Fahrenheit Celsius or Fahrenheit.
PGM Dynamic Relays Changes relay properties in the task schedule.
CLR PGMs on Start Re-initialize tasks on start-up.
RTC Temperature Compensation All KODA boards can add a temperature and humidity sensor.
Use AM2302 Use the AM2302 temperature/humidity sensor (sold separately).
Java Report Send data to the HourCollector app over Ethernet (IoTMeter only).
UART Usage Audio for Netbell-NTG, Clock for the Netbell clock.
Switch Bypass (1/2) Ignore a physical input switch, e.g. on a KODA 200 check Switch Bypass 1 to ignore input 1.
Use Audio File System Activates the SD card reader on the Netbell-NTG.
WiFi Report Data transfer over Wi-Fi (Wi-Fi IoTMeter only).
Invert Relay Control Relays are NO by default; check to invert them to NC.
Use Active Main No longer used (select PAUSE to go inactive).
Not implemented / future use Use IP Ranges, Use RESTful IP Ranges, Use Remote IP Ranges, SSL Port No., Use Metric, Setting 19, Active Landing Page, Setting 24.
Figure 15Settings page

08Configure Menu

Dynamic DNS

With proper port forwarding on your router, Dynamic DNS gives global access to a SERVER behind a NAT router or firewall. Assign a static IP address and port (see Network Configuration), forward the port on your router (see its manual), and use a hosted internet address. The only service supported is DynDNS (dyn.com).

Setting Description
Use DDNS Enables the service.
DDNS Service DynDNS (the only supported service).
User Name / Password Your DDNS account login.
Host The name registered with the DDNS service for this SERVER.
Figure 16Dynamic DNS page

Email Setup

Set up the email account the SERVER uses to send messages.

Important

The SERVER is not compatible with SSL/TLS. Use a third-party SMTP delivery service that doesn’t require SSL; see Appendix: Sending Email Through SMTP2GO.

Setting Description
SMTP Server The outgoing mail server.
Port The server’s port (look it up with your mail service).
Use SSL Leave unchecked with a third-party SMTP server.
User Name / Password Email account login.
To Address Up to 3 addresses: To, CC and BCC.
Subject Email subject line.
Figure 17Email Setup page

Network Configuration

Caution

Incorrect settings can make the board lose network connectivity. To reach a device remotely, you must forward (port) it on your router.

Setting Description
MAC Address Unique, set at assembly; cannot be changed.
Host Name NetBIOS name; also shown in your router’s lease list, on the Home page and in Discoverer. A good place to name your SERVER.
Port Number Needed for internet access. Defaults to 80.
IP Address Usually only the last group changes. Reserve the address on your router and make sure no other device uses it, or you may lose access and need a factory reset.
Gateway Usually your router.
Subnet Mask Leave at 255.255.255.0.
Primary / Secondary DNS DNS servers.
Figure 18Network Configuration page

Remote Devices

Lets this SERVER control relays on up to 8 other SERVERs, using a REMOTE relay type or a REMOTE task. The IP Range Configuration page next to it is not implemented on this SERVER.

Setting Description
Device Name A name for your reference.
IP Address The remote device’s IP address, including port number.
User Name / Password For basic authentication on the remote device.
Caution

Incorrect settings will make the board lose its remote connections.

Figure 19Remote Devices page

Kodalert (Not Yet Implemented)

Kodalert is a planned cloud-based monitoring and alert platform for internet-connected devices. Anything that can send email or TCP messages, including SERVERs, other manufacturers’ devices and people, could trigger alerts to multiple users by text, email, app push notification or audible alarm.

Figure 20Kodalert page

09Specifications

Specification FARGO R8 G2 FARGO R4 G2 KODA 100 KODA 200
Relays 8 × Form C, 48 V max (5 A / 3 A NO/NC @ 24 V) 4 × Form C, 48 V max (5 A / 3 A NO/NC @ 24 V) 2 × Form A, 48 VAC @ 8 A max 4 × Form A, 30 V max 1 A dry contact, or drive 10 V ±10% 50 mA
Digital inputs – 2 optically isolated, 12 V 1 mA or pull-down switch selectable
Analog inputs – R4ADI only: 2 × 0–5 VDC (30 mA 3.3 VDC source, PTC protected) and 2 × current sensor (3.5 mm jack) –
Dimensions 74 × 100 × 20 mm; mounting holes 64 × 92 mm, Ø 3.2 mm (4 places) 70 × 100 × 25 mm

All Models

Specification Value
Network 10/100M RJ45 with connection and activity LEDs
Power PoE or 12 VDC @ 500 mA (nominal)
Status LEDs Pulse, bootloader and locate
Firmware Ethernet bootloader for software upgrades
Interface Web interface with basic authentication
Sensors On-board temperature and voltage sensors
Buttons Reset / Locate push-button (blue LED)
Operating temperature 0 to +70 °C
Storage temperature −40 to +125 °C
Humidity 10% to 80% non-condensing
Protocols HTTP, SMTP, SNTP

10Board Layout Reference

FARGO R8

Figure 21FARGO R8 board
  1. 8 relay outputs, Form C, 48 V max (5 A / 3 A NO/NC @ 24 V)
  2. RJ45 connector
  3. Power connector (12 VDC)
  4. Reset button
  5. Locate button

FARGO R4

Figure 22FARGO R4 board
Figure 23FARGO R4 inputs
  1. 3.5 mm inputs for AC current sensors (R4ADI only)
  2. Analog inputs (R4ADI only)
  3. 4 relay outputs, Form C, 48 V max (5 A / 3 A NO/NC @ 24 V)
  4. Digital inputs
  5. Digital input switches (input 1 on the right; up = pull-up, down = isolated)
  6. RJ45 connector
  7. Reset button
  8. Locate button
  9. Power connector (12 VDC)

KODA 100

  1. Digital inputs (#1 on the left), 5–48 VDC. 12–48 VDC requires the external resistor.
  2. Relay outputs (#1 on the right), 8 A @ 48 VAC max
  3. Digital input switches (IN 1 on the left; up = isolated, down = pull-up)
  4. Reset button
  5. Reload button (turns on the blue LED, which identifies the unit in Discoverer)
  6. RJ45 connector
  7. Power connector (12 VDC)
  8. USB mini connector for the temperature/humidity sensor (sold separately)

KODA 200

Figure 24KODA 200 board
  1. Digital inputs (#1 on the left), 5–48 VDC. 12–48 VDC requires the external resistor.
  2. Relay outputs (#1 on the left), 1 A @ 30 V max dry contact, or drive 10 V ±10% 50 mA
  3. Digital input switches (IN 1 on the left; up = isolated, down = pull-up)
  4. Relay switches (up = dry contact, down = 10 V/50 mA)
  5. Reset button
  6. Reload button (turns on the blue LED, which identifies the unit in Discoverer)
  7. RJ45 connector
  8. Power connector (12 VDC)
  9. USB mini connector for the temperature/humidity sensor (sold separately)

Factory Reset

  1. Press the Reset button.
  2. When the green LED turns on, press and hold the Reload button.
  3. Keep holding until the flashing red LED turns off and then turns on solid.

AAppendix: Sending Email Through SMTP2GO

KODA and FARGO devices only work with non-SSL SMTP servers, but most email providers now require SSL. A third-party SMTP delivery service that doesn’t require SSL solves this. This example uses SMTP2GO, which is free for up to 1,000 emails a month.

Step 1: Create an SMTP2GO Account

Click Sign up, choose 1K Emails on the scale and the Free plan (or a larger plan if you need more than 1,000 emails a month). You need a corporate email address; free services such as Gmail or Yahoo are not accepted.

Figure 25SMTP2GO sign-up

Step 2: Add an SMTP User

Log in to SMTP2GO and open Settings › SMTP Users, click Add SMTP user and fill in the form. This user is the outgoing mail account your device sends from. If you use a free address such as Yahoo or Gmail here, make sure your company mail server won’t block the messages.

Figure 26Adding an SMTP user

Once the user is added, SMTP2GO shows the details you need for the device:

Figure 27SMTP2GO connection details

Step 3: Configure the Device

On your device, open Configure › Email Setup:

Setting Value in this example
SMTP Server mail.smtp2go.com
Port 2525
Use SSL Unchecked
User Name / Password The SMTP2GO user from step 2
To Address Up to 3: To, CC and BCC
Subject Your subject line
Figure 28Email Setup for SMTP2GO

Click Save/Test; the device sends a test email straight away. If it’s not in your inbox, check the Junk or Other folder.

Step 4: Set Up Automatic Email Notifications

The device can now email you about various events. For condition-based reports, create a task on the Tasks page with Device C set to eMAIL; see Set Schedule Page. This example, from a Network Hour Meter, sends a report every day at 11:52 AM:

Figure 29Daily email task

When all the task’s conditions are met, you receive an email like this:

Figure 30Example notification email

Still stuck? Our support team can help with setup and configuration.

support@linortek.com