取消
显示结果 
搜索替代 
您的意思是: 

Leer Modbus RTU

已解决!
转到解答

Hola a tod@s, tengo el siguiente pgm intentando leer un equipo slave en modbus.

He comprobado el UnitID, starting adress y el number de holding register, es el correcto.

qrm77_0-1726558794046.png

Pero al ejecutar me da el siguiente error:

SubVIs.lvlib:RTU Data Unit.lvclass:Read ADU Packet.vi:5030001

qrm77_0-1726558930109.png

 

Alguna idea porqué me ocurre?

Gracias

 

0 项奖励
1 条消息(共 3 条)
762 次查看
解答
已被主题作者 qrm77 接受

@qrm77 wrote:

Hello everyone, I have the following pgm trying to read a slave device in modbus.

I have checked the UnitID, starting address and the holding register number, they are correct.

qrm77_0-1726558794046.png

But when I run it I get the following error:

SubVIs.lvlib:RTU Data Unit.lvclass:Read ADU Packet.vi:5030001

 


Error 56 is a generic timeout error. The master didn't get any response from the slave.

Try to run NI I/O Trace and see if the slave responses with any message. You can compare the result from a different master, like QModMaster

 

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 项奖励
2 条消息(共 3 条)
720 次查看

Thank you very much Kudos!! I'll try it.

0 项奖励
3 条消息(共 3 条)
694 次查看