Connecting IOMod 16DI to the WCC Lite
This article describes how to connect and configure IOMod 16DI to the WCC Lite using IEC101, IEC103, and Modbus RTU.
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.
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 templates for each IOMod:
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.
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):
After 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 IOMod16DI is connected to WCC Lite via PORT1. Go to Protocol connections where you can see all the connected slave and master protocol devices:
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.
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).
After clicking start, you should check protocol connections tab again to see if IEC104 slave is connected.
On the right side of the page you can find Tags and System tabs. In Tags you can create jobs which are specified in you excel configuration job_todo and tag_job_todo. To do so, click Add and choose Type. This type should match data_type described in excel configuration. If needed change asdu (in Excel configuration – asdu_address) and ioa (info_address). Create user friendly name for this job and click save. To execute when needed click send.
In System tab you can execute commands accordingly by setting ASDU, Type and IOA. To execute commands you need to specify Value and Cause. To execute these commands you need to click Execute.
After executing one of the commands you should see results on the web as well as Vinci software window.