This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Modbus TCP connection datakom d-200 mk2
#5
I checked with the debug code, previously I tried several times to connect and disconnect the modbus pull application (all timeouts by default), everything worked correctly, and I also ran the 'ping 10.36.0.25 -t' command on the laptop to track the network connection. I ran the script on logic machine, the script gave the following log:

DGU_modbus_tcp 24.02.2021 22:56:59
* arg: 1
* string: voltage values
* arg: 2
* number: 242.7
* arg: 3
* number: 242.8
* arg: 4
* number: 241.8
* arg: 5
* number: 0
DGU_modbus_tcp 24.02.2021 22:56:59
* string: [00][01][00][00][00][06][FF][03][28][00][00][08]
Waiting for a confirmation...
<00><01><00><00><00><13><FF><03><10><09><7B><00><00><09><7C><00><00><09><72><00><00><00><00><00><00>

DGU_modbus_tcp 24.02.2021 22:57:10
* string: modbus read failed Invalid data
DGU_modbus_tcp 24.02.2021 22:57:20
* arg: 1
* string: voltage values
* arg: 2
* number: 244.1
* arg: 3
* number: 241.1
* arg: 4
* number: 242.2
* arg: 5
* number: 0
DGU_modbus_tcp 24.02.2021 22:57:20
* string: [00][01][00][00][00][06][FF][03][28][00][00][08]
Waiting for a confirmation...
<00><01><00><00><00><13><FF><03><10><09><89><00><00><09><6B><00><00><09><76><00><00><00><00><00><00>

DGU_modbus_tcp 24.02.2021 22:57:30
* string: modbus read failed Invalid data
DGU_modbus_tcp 24.02.2021 22:57:41
* string: modbus read failed Operation timed out
DGU_modbus_tcp 24.02.2021 22:57:51
* arg: 1
* string: voltage values
* arg: 2
* number: 243.7
* arg: 3
* number: 243
* arg: 4
* number: 241.2
* arg: 5
* number: 0
DGU_modbus_tcp 24.02.2021 22:57:51
* string: [00][01][00][00][00][06][FF][03][28][00][00][08]
Waiting for a confirmation...
<00><01><00><00><00><13><FF><03><10><09><85><00><00><09><7E><00><00><09><6C><00><00><00><00><00><00>

DGU_modbus_tcp 24.02.2021 22:58:01
* string: modbus read failed Invalid data
DGU_modbus_tcp 24.02.2021 22:58:11
* string: modbus connect failed Operation in progress
DGU_modbus_tcp 24.02.2021 22:58:22
* string: modbus connect failed Operation in progress
DGU_modbus_tcp 24.02.2021 22:58:32
* string: modbus connect failed Operation in progress
DGU_modbus_tcp 24.02.2021 22:58:43
* string: modbus connect failed Operation in progress
DGU_modbus_tcp 24.02.2021 22:58:53
* string: modbus connect failed Operation in progress
DGU_modbus_tcp 24.02.2021 22:59:04
* string: modbus connect failed Operation in progress
DGU_modbus_tcp 24.02.2021 22:59:14
* string: modbus connect failed Operation in progress

ping was without a single timeout. But after stopping the script, I was no longer able to connect through the modbus poll program, the following error is returned: "Modbus/TCP Connection Failed.Connect Timeout.Open Command Prompt and ping the slave/server to verify the connection"

There were no ping problems during the entire check

after running the script again, the connection was also not restored and the device stopped responding to the ping command.
Reply


Messages In This Thread
RE: Modbus TCP connection datakom d-200 mk2 - by m.j.sorokin - 24.02.2021, 20:25

Forum Jump: