You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
I'm trying to read 3 variables and an attribute from a Modbus TCP device.
The tb_gateway reads only the first variable. I think there is a timing issue because the slave device needs a delay of about 150ms between 2 readings.
I wrote a simple python code to read the 3 variables and it works.
Thank you for your support
Connector name (If you need help with some connector/converter):
MODBUS Connector (modbus.json)
Describe the issue
I'm trying to read 3 variables and an attribute from a Modbus TCP device.
The tb_gateway reads only the first variable. I think there is a timing issue because the slave device needs a delay of about 150ms between 2 readings.
I wrote a simple python code to read the 3 variables and it works.
Thank you for your support
Connector name (If you need help with some connector/converter):
MODBUS Connector (modbus.json)
{
"master": {
"slaves": [
{
"host": "192.168.0.233",
"port": 8899,
"type": "tcp",
"method": "socket",
"timeout": 1,
"byteOrder": "BIG",
"wordOrder": "BIG",
"retries": true,
"retryOnEmpty": true,
"retryOnInvalid": true,
"pollPeriod": 5000,
"unitId": 1,
"deviceName": "energy_meter_1",
"sendDataOnlyOnChange": false,
"connectAttemptTimeMs": 5000,
"connectAttemptCount": 5,
"waitAfterFailedAttemptsMs": 10000,
"attributes": [
{
"tag": "serial_number",
"type": "64uint",
"functionCode": 3,
"objectsCount": 4,
"address": 0
}
],
"timeseries": [
{
"tag": "L1_voltage",
"type": "32float",
"functionCode": 3,
"objectsCount": 2,
"address": 14
},
{
"tag": "L2_voltage",
"type": "32float",
"functionCode": 3,
"objectsCount": 2,
"address": 16
},
{
"tag": "L3_voltage",
"type": "32float",
"functionCode": 3,
"objectsCount": 2,
"address": 18
}
],
"attributeUpdates": [],
"rpc": []
}
]
Versions
The text was updated successfully, but these errors were encountered: