The OVERDIGIT package is a comprehensive collection of hardware and software products available to customers. A single setup file allows any one, or all, of the offered products to be installed on a PC. The package includes CODESYS packages, software tools, programming examples, and documentation covering the entire OVERDIGIT product catalog for the automation sector.

This document provides a quick and straightforward starting point for getting the most out of what OVERDIGIT has to offer.

Install the package

Download the OVERDIGIT_package_Setup package, then unzip and install it on a PC:

OVERDIGIT_package_Setup
CODESYS packages are add-ons for the widely used automation software development environment. Therefore, CODESYS must already be installed before installing them.
CODESYS V2.3 is available for download here, and CODESYS V3.5 here.

Select the desired components and proceed with the installation. Further information on each component is provided in the sections below.

Modbus-Tool software

This PC software tool simulates a Master device using the Modbus RTU communication protocol over a commercial USB-RS485 converter.
Its features include manual testing of I/O resources for a selected slave on the network, as well as manual testing of standard protocol function codes. In addition, the tool includes a powerful 32-channel analyzer for capturing and modifying Modbus register values across multiple slave addresses. Values can be displayed as a trend graph and stored in a log file.

The tool can also be used free of charge with Modbus slave modules from other brands, once licensed by using it at least once with any OVERDIGIT module.

The tool’s user manual, included in the package, is available here.

I/O modules documentation

OVERDIGIT produces innovative I/O modules based on the Modbus RTU protocol, offering:

  • A high number of I/O points while occupying only 17.5 mm of DIN rail space.

  • Performance that extends the serial Modbus protocol tenfold, thanks to a maximum baud rate of 1 Mbps and additional custom commands that can be used together with OVERDIGIT PLCs.

  • Digital outputs capable of directly driving contactors and heavy loads with maximum reliability and protection.

  • Analog modules with precision and resolution comparable to 4.5-digit multimeters, directly interfaceable with various types of sensors.

The package therefore includes all documents describing their features, enabling immediate use with both OVERDIGIT PLCs and any other Modbus master system. The specific software integrations for both the CODESYS V2.3 and V3.5 tools are included in the relevant package components.
Detailed documentation for all I/O modules is also available here.

CODESYS V2.3 package + WP240 PLC series

This component includes everything related to CODESYS V2.3 programmable PLCs. It replaces the former IEC-line package, integrating it into a single package that extends to other, newer components such as CODESYS V3.5. The two development environments have coexisted for many years, owing both to the widespread presence of CODESYS V2.3 systems worldwide and to the lower hardware and software costs of V2.3 systems, which have been OVERDIGIT’s flagship products since 2010.

CODESYS V3.5 package

CODESYS V3.5 represents a significant evolution of V2.3, while retaining many of its features and functionality. However, V3.5 systems require considerably more powerful hardware and larger amounts of memory. Thanks to the rapid growth in hardware performance, this development tool increasingly relies on PLCs and PCs capable of exploiting the full potential offered by CODESYS V3.5.
This package component mainly includes additional software libraries developed by OVERDIGIT for this programming tool. Many of these libraries are independent of OVERDIGIT PLCs and can be used with any CODESYS V3.5 system, making them an important part of the OVERDIGIT catalog.

WP360 CODESYS V3.5 PLC and Linux CPU

The WP360 is a powerful Linux CPU designed to be compatible with all other OVERDIGIT products, both PLCs and I/O modules.
Its high processing power and large memory capacity also allow this CPU to be used as a CODESYS V3.5 programmable PLC. The pre-installed software on the CPU therefore includes all the installation and configuration steps required for immediate and direct use with the CODESYS V3.5 tool.
Unlike similar Linux CPUs marketed as CODESYS PLCs, the WP360 is already a turnkey CODESYS PLC, integrating features such as retentive memory that are essential in a real PLC but are often overlooked in similar products.
Further details on the WP360 are available in the WP360 brochure and the WP360 user manual.

The Modbus-Tool software is a powerful tool for configuring and testing OVERDIGIT I/O modules.
The tool allows the Modbus configuration of a specific slave module to be read and written after the module has been placed into temporary communication mode (Address 248, Baudrate 9600, Even parity) using the PG button on the powered module.
Additional functionalities are available, such as manual testing of the individual I/O resources of a selected slave on the network and manual testing of individual protocol function codes, acting as a Modbus master simulator. The tool also includes a powerful 32-channel analyzer for acquiring and modifying the values of Modbus registers across multiple slaves. The acquired values can be displayed as a trend graph and stored in a log file.

Installation and setup of the program

To install the Modbus-Tool software, the Modbus-Tool_Vxxx_Setup.exe program must be run, following the on-screen instructions. After installation, launching the tool displays the main screen of the configuration mode:

Modbus-Tool setup

Before using the software, the PC serial communication port, baudrate, parity, and connection timeout must be configured from the Setup menu.

The functions performed by the tool require an RS485 serial interface to be installed on the PC, using a commercial USB/RS485 converter.

Configure module menu

The tool provides four modes of operation, selectable from the Setup menu.
The first mode, Configure module, allows configuration of the parameters of the module placed in programming mode. On OVERDIGIT I/O modules, the PG button on the front panel of the device must be pressed for 3" to temporarily activate the known communication parameters used for configuration.
Once activated, the module is ready to receive a new configuration. After the desired values have been set in the fields, writing is confirmed with the Write all button:

Modbus-Tool configure

The Read all button can be used to read the configuration currently stored in the module. The values read are inserted into the corresponding fields.
Once the writing and reading operations have been completed, the slave module is returned to normal operation by pressing the PG button again.

The configuration values transferred to the module are stored by the Configure module tool and are independent of the communication parameters selected in the Setup menu, which are used by the other tool functions.

Test module menu

The second mode of operation allows manual testing of all the I/O resources of a slave at a given address. Communication on the serial bus uses the parameters currently selected in the Setup menu, while the slave address must be set directly on this screen:

Modbus-Tool test

After selecting the slave address of the module to be tested, the selection is confirmed with the OK button. If the module is present on the network, it is identified using protocol function code 17:

Modbus-Tool test 1

The module is now ready to receive read and write commands on the addresses of the available I/O resources. This screen varies according to the module found at the selected address, and its layout adapts to the specific resources provided by the device.
To the right of each resource field, buttons for reading and/or writing individual values are available, while the Read all and Write all buttons below allow simultaneous reading and writing of the values of all resources.
Using the Read all button, the values read are displayed in the corresponding fields:

Modbus-Tool test 2

After the values have been entered in the fields of the module’s output resources, the Write all button writes them to the slave simultaneously:

Modbus-Tool test 3

The Auto Read button enables continuous reading of all resources, with a repetition period set by the Sampling time parameter in the Setup menu:

Modbus-Tool test 4

Minor adjustments to the sampling time can be made using the Time calibration parameter.

Selecting a different slave address clears the screen of the current module.

Communication for automatic module recognition with the selected slave address is performed only after confirming with the OK button.

Test function menu

The third mode of operation allows testing of individual protocol function codes on a slave at a given address. The last command code used is displayed, as shown in the following example:

Modbus-Tool function

After selecting the required slave address and function code, the selection is confirmed with the OK button. The layout of the window changes depending on the selected command. For example, selecting function code 1 produces the following layout:

Modbus-Tool function 1

Command code 1 allows the value of one or more memory bits (Coils) to be read. For this purpose, the start address and the number of bits must be specified before starting the reading with the Read button. The result received is displayed in the field on the right:

Modbus-Tool function 2

A similar procedure applies to the writing functions. After the values have been set in the fields, the Write command activates writing to the slave module via the corresponding protocol command. For example, for writing a single register, the screen layout is as follows:

Modbus-Tool function 3
Not all Modbus function codes are implemented in the tool. For commands that are not available, the text Test function: not implemented is displayed.

Analyzer menu

This tool is a flexible 32-channel acquisition system that can be used to view and edit Modbus register values of the Input register or Holding register type. Each channel can be associated with a specific register and slave address, allowing operations on a set of different devices connected to the network.
Each channel has a value field and three buttons:

Modbus-Tool analyzer

The S button opens the channel configuration window, the R button performs a single reading of the value, and the W button writes the value previously entered in the field.
This tool also provides buttons for simultaneous reading (Read all) and writing (Write all) of all enabled channels. The Auto Read button enables continuous reading of the values according to the sampling time set by the Sampling time parameter under the Setup menu.

Channel configuration

Before using the tool, the desired channels must be configured. This is done using the S button next to each value field, which opens the channel setup window:

Modbus-Tool analyzer 1

It is important to enable (using the Enable option) only the channels that are needed, since this significantly reduces the update time. A channel can also be included in the graph (Trend) by enabling the Plot option. The Channel label field is used to describe the channel with a string that is displayed above the channel field and in the plot legend.

The channel must be associated with one specific Modbus register (Input register or Holding register) of a slave module with a given network address. Three fields are available for this purpose: Slave address, Word address and Register type. The Signed option allows the value to be treated as a signed integer, whereby, for example, a word value in the range 0 to 65535 is automatically converted to the range -32768 to 32767 when reading, and vice versa when writing.

The Mask, Right shift, Gain, Offset and Format parameters allow the word value to be processed appropriately before it is displayed in the field, using the following procedure:

Visualized value = ((Word AND Mask) >> Shift) * Gain + Offset

Some examples are shown in the following tables:

Word Mask = FFFF Right shift = 0 Gain = 0.01 Offset = 10 Format = 0.00

320

320

320

3.2

13.2

13.20

Word Mask = FF00 Right shift = 8 Gain = 0.33 Offset = 10.5 Format = 0.0

1025

1024

4

1.32

11.82

11.8

Word Mask = 0100 Right shift = 8 Gain = 1 Offset = 0 Format = 0

258

256

1

1

1

1

In the last example, the 0/1 status of bit 8 of the word is displayed, so the channel is used to display a Boolean value stored in a word register.
The same procedure used for reading the register word value is applied in reverse when writing a new value to the register:

Word = (((Set value - Offset) / Gain) << Shift) AND Mask

It should be noted, however, that in the reverse process the AND Mask operation does not take into account the value of the bits outside the mask (set to zero); as a result, the full value of the word to be written can only be reconstructed within the part covered by the mask. Furthermore, the operations performed by Mask and Shift are meaningful only when the Signed option is disabled.

The channel setup also allows customization of the colors of the value text, the display field, and the description label shown in the chart legend. For the graph, the pen thickness in pixels can also be set using the Plot pen width parameter.

Trend chart and logging file creation

The Auto Read button enables continuous reading of the values in the channel fields. Automatic reading is stopped by clicking the Auto Read button again. While being acquired in this way, the channel values can also be plotted in real time on a chart to show trends over time. For this function, the plotting window must be configured using the Plot Setup button:

Modbus-Tool analyzer 2

The Auto Start option enables automatic activation of the plot whenever continuous acquisition is started with Auto Read. Without this option, the chart can still be switched on and off manually, using the Plot Start/Stop button, at different points during continuous reading. Once created, the chart can be saved as a bitmap image to a selected file using the Save to bmp button, available on the main page of the tool.

The values acquired and displayed on the graph can also be saved to a file in CSV format for subsequent analysis, for example with Excel. This requires the Log enable option to be selected and a file name to be chosen using the Plot log files button, available on the main page of the tool. The Log overwrite option allows the values to always be saved to the same selected file; otherwise, a new file name is automatically generated for each chart created.

The Plot title field in the setup window is used to define the chart title. The Pixel size X/Y values define the size of the graphic window (in pixels), allowing graphs to be created at different resolutions, which is also useful when saving bitmap files. The Y-axis range is defined by the Value min/max fields, while the X-axis range is defined by the Time Max parameter. Other fields are used to select the main and secondary grid lines for both axes and the presence of axis labels.

The result of the Plot window, using the values from the configuration example, is shown below:

Modbus-Tool analyzer 3
Page 1
Page 2
Page 1
Page 2