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.
Typical connection schematic for IOMod 16DI
WCC Lite can be connected to IOMod 16DI via PORT1 or PORT2.
Preparing the configuration
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. At the bottom of the page, there will be a Download button for template configurations.
You can download the example configuration for each firmware version at the bottom of the article, or create your own using these links:
You need to configure the Devices and Signals sheets before continuing. After downloading template configurations, open the phub templates folder. You will see that there are different template folders for each IOMod:
To select the correct configuration, check the sticker on the back of the 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 the IOMod 16DI user manual.
You need to configure it, as is done in the Excel configuration. To do that, first you need to open the 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 the default. The signals sheet should be mapped according to the 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 the 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 the Excel configuration. By changing settings such as info_address or data_type, you can adapt the IEC104 slave to work as needed. To test this example, you have to specify your computer's IP address in the Excel configuration for the IEC104 slave.
After the configuration is ready, upload it to WCC Lite (Configuration --> Choose file --> Import configuration):
After the upload is done and no errors were detected, you should see all imported signals (Protocol Hub --> Imported signals):
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:
You can also change signal names according to your needs:
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.
If everything is connected and service is running, COMMUNICATION STATUS should display 1. Otherwise, if not, it should display 2.
Simulating SCADA via Vinci software
After uploading the Excel configuration, you can simulate SCADA using Vinci software. To simulate an IEC 104 slave, you need to choose the IEC 60870-5-104 protocol and Master(Client) mode and press start. In the Settings tab, check Structure, Timeouts and Windows values to match the Excel configuration.
Then set the 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 an Ethernet cable).
After clicking start, you should check the protocol connections tab again to see if the IEC104 slave is connected.
Once the IEC104 slave is connected, the console tab in Vinci software should look something like this:
If you want to configure IOMod 16DI, you should refer to -> IOMod 16DI User Manual.