Manual Connection
The Cut Through via Modbus TCP allows you to get data and even set it depending on the data types.
The example below illustrates how to use Modbus TCP communication for an inverter, but you may use this method for all devices connected via Modbus TCP.
Please note that before starting the process, you must verify whether the parameters you are interested in can be set.
Cut Through Progress
Open the Power Center >> Connect to the Elara gateway via serial/OTA connection >> Click on “Read Configuration” >> Click on “Status” >> Click on “Configuration” tab. Now you can see all the information about the inverter.
2. The next step is to locate and copy 2 different parameters in order to be able to make the "Cut Through":
Inverter IP & Device Port - Select the "Configuration" tab >> Open the "Group: Inverter” >> Double click on the “eth” >> Copy the “Device IP” and the “Device Port” of the inverter and save it for later.
3. Click on “Direct-Comm” >> Choose “Ethernet (Manual)” >> Fill in the information you obtained in the previous step >> Keep the “Direct-Comm” window open.
"Destination IP" = Inverter IP
“Port” = Device Port
4. This part allows you to choose whether you would like to "Get" or "Set” the parameters.
In order to “Get” or “Set” the parameters that you require from the inverter, you must enter a Modbus command in the "Data (HEX)" box. It is important to note that each Modbus command has a unique structure that will be derived from the parameters that will be taken from the inverter configuration settings.
Depending on how you write the command, you will either “get” or “set” parameters.
|
| Notes It is necessary to convert the data from decimal to hexadecimal format |
|
---|---|---|---|
|
| Convert the inverter physical ID to Hexadecimal and write it in two digits only 1 >> 01 |
The image is only for illustration purposes; please do not separate the numbers with |
|
| Convert the register command number to Hexadecimal and write it in two digits only 3 >> 03 | |
|
| Convert the register address number to Hexadecimal and write it in four digits only 512 >> 0200 | |
|
| Convert the amount of registers to Hexadecimal and write it in four digits only 2 >> 0002 |
5. To get the inverter data about this specific register, click "Send”
6. Data will appear in a unique structure that must be translated via the smart battery configuration parameters, For example:
As you can see in the picture below, we are able to get the value of the “Battery Voltage” via the Inverter. The value that we receive from the cut Through is "49820", now we need to take this value and convert it to the ratio given next to the type of register [1:1000], meaning that the battery voltage is 49.82 V.
Set Parameters
1. Complete all the steps in this article and proceed to the next step once you have read the parameters.
2. In order to set parameters, change the “Register command number” to “06” (Always) and the “Amount of Registers” to the value that you want to set.
Code Part |
Parameter | Notes It is necessary to convert the data from decimal to hexadecimal format |
Example |
---|---|---|---|
1 | Inverter physical ID | The physical ID of the inverter should remain unchanged |
|
2 |
Register command number | The register command number should be changed to 06 (always) 03 >> 06 | |
3 | Register address number | The register agrees number should remain unchanged | |
4 |
Value to set | Change the amount of registers parameter to the value that you wish to set in Hexadecimal and write it in four digits only. 0003 >> 0007 |
3. Click “Send”