Skip to main content

Connecting IOMod 16DI to the WCC Lite

Description

This article describes how to connect and configure IOMod 16DI to the WCC Lite using IEC101, IEC103, and Modbus RTU.

image-1638361303133.png

Typical connection schematic for IOMod 16DI

WCC Lite can be connected to IOMod 16DI via PORT1 or PORT2.

Preparing the configuration

At first you need to make a configuration for the WCC Lite. This can be done using any spreadsheet editing program. Templates for configuration can be found on the WCC Lite web. Protocol Hub --> Configuration. On the bottom of the page there will be a Download button for template configurations.

image-1741951885771.png

You can download the example configuration for each firmware versions at the bottom of the article or create your own using these links:

You need to configure Devices and Signals sheets before continuing.  After downloading template configurations, open phub templates folder. You will see that there's different template folders for each IOMod:

image-1741952060514.png

To select correct configuration, check the sticker on the back of IOMod. There you will find which protocol to use according to Factory FW type. For example, if you have IOMod 16DI with IEC103 FW, select configuration iomod_16DI_IEC103_to_IEC104_DNP3_Modbus_SCADA.

Before connecting IOMods to WCC Lite you need to configure it via mini USB. This can be done following IOMod 16DI user manual.

You need to configure it, like it is done in the excel configuration. To do that, fist you need to open IOMod utility app and change these parameters: baudrate, parity, link address. It is important, that link addresses for both IOMods are different and parity and baudrate should be even. Other parameters such as databits and stopbits should be set to default. Signals sheet should be mapped according to functionality needed.

Uploading configuration

Template configurations can work with default settings without any further changes. These template configurations can also be used to configure protocols like Modbus-master and DNP3. Configuration can be modified according to functionality needed. For that you can rely on the examples given in the links above (Preparing the configuration). If you need to specify different IEC104 slave settings, you can do that by changing excel configuration.  By changing settings such as info_address or data_type you can adapt IEC104 slave to work as needed. To test this example you have to specify your computer's IP address in excel configuration for IEC104 slave.

After configuration is ready, upload it to WCC Lite (Configuration --> Choose file --> Import configuration):

image-1741952386931.png

After upload is done and no errors were detected, you should see all imported signals (Protocol Hub --> Imported signals):

image-1741955963485.png

Before doing anything further you should also check for protocol connections if IOMod 16DI is connected to WCC Lite via PORT1. Go to Protocol connections where you can see all the connected slave and master protocol devices:

image-1741956075977.png

You can also change signal names according to your needs:

image-1741958154237.png

image-1741958188810.png

In every signals sheet you can see a signal named COMMUNICATION STATUS. It is an indicator that shows whether the service is running and whether there is a connection with the device. 

image-1741961424044.png

If everything is connected and service is running, COMMUNICATION STATUS should display 1. Otherwise, if not it should display 2.

image-1741962018305.png

Simulating SCADA via Vinci software

After uploading Excel configuration, you can simulate SCADA using Vinci software. In order to simulate IEC104 slave you need to choose IEC 60870-5-104 protocol and Master(Client) mode and press start. In Settings tab, check Structure, Timeouts and Windows values to match Excel configuration. 

image-1741958787156.png

Then set correct IP address and Port at the top of the program page. Port for IEC104 should be 2404 and IP address should match your WCC Lite IP address (default address is 192.168.1.1 if it's connected to your computer via ethernet cable). 


image-1671616037090.png

After clicking start, you should check protocol connections tab again to see if IEC104 slave is connected.

image-1741959943539.png

Once IEC104 slave is connected, console tab in Vinci software should look something like this:

image-1741959869508.png


If you want to configure IOMod 16DI, you should refer to  -> IOMod 16DI User Manual.