# Modbus RTU to IEC104 protocol conversion ## Setup This article describes WCC Lite configuration steps to enable Modbus TCP protocol conversion to IEC 104. [![image-1602846671040.png](https://wiki.elseta.com/uploads/images/gallery/2020-10/scaled-1680-/image-1602846671040.png)](https://wiki.elseta.com/uploads/images/gallery/2020-10/image-1602846671040.png) Before you begin, make sure you have completed all physical installation work according to the manufacturer's installation instructions. Set up your computer and connect the Ethernet cable to the WCC Lite ETH0 port. Log in with default credentials and set up basic required settings (name, network, users, etc. ). You can find configuration tutorials in [How to](https://wiki.elseta.com/books/how-to) articles. After setup, download the configuration template from the device (Protocol Hub → Configuration → Template configuration Download) Or download the configuration example from this article. To prepare the configuration, fill in the information in both the [Devices ](#bkmrk-configure-devices)and [Signals](#bkmrk-configure-signals) sheets: ## Configuring Devices ##### Add a connected ABB meter with the Modbus RTU protocol required information:
**name****description****device\_alias****enable****protocol****id****device****baudrate****databits**
From ABB MeterABB B21B211Modbus RTU1PORT296008
**stopbits****parity****flowcontrol****scan\_rate\_ms****serial\_delay****retry\_count**
1nonenone50002003
##### Add SCADA working on IEC104 protocol required information:
**name****description****device\_alias****enable****protocol****bind\_address****host****port**
To SCADA iec1041IEC 60870-5-104 slave0.0.0.0192.168.1.10 192.168.71.12404
**asdu\_size****cot\_size****ioa\_size****rwt****swt****t1****t2****t3****time\_sync****message\_size****cache\_size**
22381245302001249100
You can find more options and descriptions of the settings in the [Device configuration](https://wiki.elseta.com/books/excel-configuration/page/device-configuration "Device configuration") article. ## Configuring Signals Add connected meter measurements information. Use the meter manual for information and addresses (**tag\_job\_todo).**
**signal\_name****device\_alias****signal\_alias****enable****multiply****log****job\_todo****tag\_job\_todo****number\_type**
VoltageB21U10.113;23296;23;23296;2UNSIGNED32
CurrentB21I10.0113;23308;23;23308;2UNSIGNED32
Active powerB21P10.0000113;23316;23;23316;2SIGNED32
FrequencyB21F10.0113;23340;13;23340;1UNSIGNED16
Power factorB21Cos10.00113;23354;13;23354;1SIGNED16
Active importB21E10.0113;20480;43;20480;4FLOAT

**job\_todo** -Request to send according to Modbus specification without device address and checksum;

**tag\_job\_todo** - a subset of the **job\_todo** field, exact address of measurement (tag)

Add **IEC104** master signals information:
**signal\_name****device\_alias****signal\_alias****source\_device\_alias****source\_signal\_alias**
Voltageiec104tag-iec104-1001B21U
Currentiec104tag-iec104-1002B21I
Active poweriec104tag-iec104-1003B21P
Frequencyiec104tag-iec104-1004B21F
Power factoriec104tag-iec104-1005B21Cos
Active importiec104tag-iec104-1006B21E
**enable****log****units****multiply****gi****common\_address****info\_address****data\_type**
11V1.011100113
11A1.011100213
11kW1.011100313
11Hz1.011100413
11 1.011100513
11kWh1.011100613
## Other examples with the Rail350 meter

The video covers only 1.5 firmware version.

## Uploading the Configuration After configuring all devices and signals, follow these steps to check and upload the configuration using the WCC Excel Utility: 1. [Download ](https://wiki.elseta.com/books/wcclite-downloads/page/firmware-and-tools)and run WCC Excel Utility. 2. Select the firmware version from the drop-down menu. 3. Select the Excel file from your computer and click *Convert*. 4. Check if no events in red color occur. If so, edit the Excel file according to the event text and repeat Step 2. 5. Enter the Host and credentials of WCC Lite, click connect and then *Upload configuration.* [![image-1744036903331.png](https://wiki.elseta.com/uploads/images/gallery/2025-04/scaled-1680-/image-1744036903331.png)](https://wiki.elseta.com/uploads/images/gallery/2025-04/image-1744036903331.png) Another method to upload the configuration is via the web interface:
1. Access the WCC Lite interface via your browser. The default IP address is 192.168.1.1. Enter credentials: [![image-1733135286847.png](https://wiki.elseta.com/uploads/images/gallery/2024-12/scaled-1680-/image-1733135286847.png)](https://wiki.elseta.com/uploads/images/gallery/2024-12/image-1733135286847.png) 2. Upload the Excel configuration: [![image-1733135363443.png](https://wiki.elseta.com/uploads/images/gallery/2024-12/scaled-1680-/image-1733135363443.png)](https://wiki.elseta.com/uploads/images/gallery/2024-12/image-1733135363443.png) 3. After a successful upload, the configuration will appear under the **DOWNLOAD CONFIGURATION** tab: [![image-1733135451404.png](https://wiki.elseta.com/uploads/images/gallery/2024-12/scaled-1680-/image-1733135451404.png)](https://wiki.elseta.com/uploads/images/gallery/2024-12/image-1733135451404.png) 4. If any errors occur during the upload, follow the error messages, fix them according to Excel utility guidelines. ## Files 1. ABB meter manual [Download](https://search.abb.com/library/Download.aspx?DocumentID=2CMC485004M0201&LanguageCode=en&DocumentPartId=&Action=Launch) 2. WCC Excel Utility [Download](https://wiki.elseta.com/attachments/657) 3. Example of configuration file [Download](https://wiki.elseta.com/attachments/658)