Data Sheet
16
3 Software
Thanks to opened design of the whole system user is not restricted to use just one specific software for
regulation and configuration. Overview and guides for all compatible software platforms is available on
www.unipi.technology, eventually on the website dedicated to each specific software platform.
As a basic provided software for simple implementation of user application is OS Linux and
communication interface Modbus on TCP protocol. This image can be freely downloaded from
downloads.unipi.technology. The application may run either on the Neuron controller itself or on another
device within the network. Both options may be freely combined which brings the advantage of
distributed system.
Important
1-Wire bus is not accessible through TCP Modbus as well as other serial lines. If you need to use these
it is necessary to implement it in the chosen software platform. For more see chapter 3.2.
Further extension of application interface is web portal (Evok) which serves for basic configuration of
the device available over HTTP protocol on port 8088.
3.1 Modbus register and coil mapping description
For accessing each of the registers and coils there are two possible methods. As each group features
its own processor, all the registers and coils of the given group are accessible through unit (address)
according to the Group number (i.e. 1 – 3) and at the same time through unit 0. If access through unit 0
is used register numbers are shifted according to 100*(group_number – 1) formule. Thus, it is possible
to use both methods.
Example
Register 1 of the Group 1 is accessible through the unit 1 on the address 1 and through the unit 0 on
the register 1 as well. Register 1 of the group 2 is accessible through the unit 2 on register 1 and through
the unit 0 on the register 101.
3.2 Serial buses
Application providing TCP Modbus server on the provided OS Linux automatically detects product
version in which it is used. Mainly it provides access to interface for available inputs / outputs. It is
necessary to solve serial buses (e. g. 1-Wire) and serial links in a different manner.
3.2.1 Serial links
TCP Modbus server creates virtual serial buses in the folder /dev/extcomm/ (pty – pseudodeterminal).
These are mapped in two ways (similarly to registers) through the folders:
/dev/extcomm/group_number/serial_bus_number
o Here the group numbers and serial numbers equals the physical description on the
cover
/dev/extcomm/0/0...X
o In this folder, all buses are numbered accordingly to serialization of all available serial
buses.
Example
Serial bus RS485 in product Neuron S103 is accessible through /dev/extcomm/0/0 and through
/dev/extcomm/1/0.
Opening the serial prevents the setting of parity. That and the other parameters of the serial bus are to
be configured using the variables of UART_config (see the section 3.4.4.2).