CI867 - Modbus TCP error code -7006 (slave is a PC software)
Hello all
We have problem with a Modbus TCP connected through CI867.
1. When we connect the CI867 DIRECT to the slave, it indicate error -7006
2. We try to troubleshoot by connect slave to modscan32, the modscan32 can read the data from slave
3. When we connect the CI867 to a Modbus ETh TCP-IP PLC Simulator, it also can read the data from the simulatior
Please see attachment for detail and advise the solution.
Thanks and Kind Regards
Quang BV
Voted best answer
Hi Mr Quang.
You don't need to have port number in IP Address setting. :502 should be removed.
Enabled should be changed to True.
Regards,
Answers
Hi Tùng
Thanks for your kind support!
- The IP adress is 172.21.102.25 (the 502 port is just a trial)
- The program work fine with With Modbus ETh TCP-IP PLC Simulator (see attached video) but it did not with real slave.
Thanks
Quang
Hi Quang,
the Control Builder help for MBTCPRead says:
"There is no response from the slave. The parameter by the name "timeout time" is configured in the Control Builder. The range is 500 to 6000 ms."
for -7006 status code.
Please check if the timeout time on Modbus TCP Slave->timeout time is enough to the Modbus TCP Server respond the query. Try to increase it.
Dear All
Please find atatchment for programe / hardware configuration and troubleshuting with Mod sim.
I still do not know what's wrong with this application.
Thanks
Quang
Add new comment