# Comlynx to Modbus TCP protocol conversion ## Description This article describes WCC Lite configuration steps to enable Comlynx protocol conversion to Modbus TCP [![image-1601994154261.png](https://wiki.elseta.com/uploads/images/gallery/2020-10/scaled-1680-/image-1601994154261.png)](https://wiki.elseta.com/uploads/images/gallery/2020-10/image-1601994154261.png) ## First steps 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 Ethernet cable to WCC Lite ETH0 port. Login with default credentials and setup 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 configuration template from device (Protocol Hub → Configuration → Template configuration Download) Or download configuration example from this article [Files](#h_52402507611602751244400). To prepare configuration fill information in both - [Devices](#bkmrk-configure-devices) and [Signals](#bkmrk-configure-signals) sheets: ## Configure devices Add connected inverter with ComLynx protocol required information:
**name****device\_alias****enable****protocol****timeout\_ms****device****baudrate****databits****stopbits****parity****flowcontrol**
InverterDanfoss\_INV\_11ComLynx2000000PORT11920081nonenone
**scan\_rate\_ms****retry\_count****network****subnet****address**
60000332163
Add Modbus Slave required information:
**name****device\_alias****enable****protocol****timeout\_ms****bind\_address**
Modbus SlaveModbus\_slave1Modbus TCP Slave5000000.0.0.0
**host****port****mode**
192.168.1.1502tcp
You can find more options and descriptions of the settings in [Device configuration](https://wiki.elseta.com/books/excel-configuration/page/device-configuration "Device configuration") article. ## Configure signals Add connected inverter signals information. Use inverter manual for information and addresses (**tag\_job\_todo).**
**signal\_name** **device\_alias** **signal\_alias** **enable** **tag\_type** **units** **multiply** **job\_todo** **job\_todo** **number\_type**
Total energy productionDanfoss\_INV\_1Danfoss\_11NormalkWh0,00108|01|02NAUNSIGNED16
...
Where in **job\_todo** *08* is "module id", *01* - "Index", *02* - "SubIndex" of measurements. **number\_type** can be found in manual as Data type id converted to data type as follow:
0x0: Not defined- Not supported 0x1: Boolean 0x2: Signed 8 0x3: Signed 16 0x4: Signed 32 0x5: Unsigned 8 0x6: Unsigned 16 0x7: Unsigned 32 0x8: Float 0x9: Visible string - Not supported 0xA: Packed bytes - Not supported 0xB: Packed words - Not supported 0xC - 0xF: Reserved- Not supported
Add Modbus slave signals information
**signal\_name** **device\_alias** **signal\_alias** **source\_device\_alias** **source\_signal\_alias** **enable** **tag\_type** **units** **multiply**
Total energy productionModbus\_slaveModbus\_1Danfoss\_INV\_1Danfoss\_11NormalkWh1.0
**common\_address** **function** **info\_address** **number\_type** **size**
131UNSIGNED161
Use measurements from inverter as a source to be forwarded. You can find more options and descriptions of the settings in [Signals sheet](https://wiki.elseta.com/books/excel-configuration/page/signals-sheet "Signals sheet") article. ## Upload configuration After configuring all devices and signals, follow these steps to check and upload configuration using WCC Excel Utility: 1. [Download ](https://wiki.elseta.com/books/wcclite-downloads/page/firmware-and-tools)and run WCC Excel Utility; 2. Select Excel file from your computer and click *Convert*; 3. Check if no events in red color occur. If so, edit Excel file according to event text and repeat Step 2; 4. Enter Host and credentials of WCC Lite and click *Upload configuration.* Another method to upload the configuration is via the web interface: 1. Access the WCC Lite interface via your browser: [![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 along Excel utility guidelines. ## Files 1. Danfoss inverter manual - Accessing Inverter Parameters via RS485 using the ComLynx protocol [Download](https://wiki.elseta.com/attachments/4) 2. WCC Excel Utility [Download](https://wiki.elseta.com/books/wcclite-downloads/page/firmware-and-tools) 3. Example of configuration file [Download](https://wiki.elseta.com/attachments/629)