[ Vfdmod ] An easy VFD control over MODBUS RTU

More
5 years 7 months ago #201538 by aekhv
Hi!

Let me guess communication settings are wrong...Check twice ModbusMAT settings (baud rate, data bits, stop bits, parity) and copy them to vfdmod config file. Be sure you are using RTU mode, not ASCII.

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #201581 by Zbysob1
I am sure about the modbus communication settings. Checked both ModbusMAT and in the Clasicladder configuration file - the inverter works with both programs. There is a command execution delay of 1-2 seconds. I have 9600, 8N1 and RTU speed set everywhere and a converter connected to / dev / ttyUSB0. I'm running out of ideas :)

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #201644 by aekhv
Yes, it's really strange. Could you show your debug output? And what is the last error code you see? 110 or anything else?

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #201732 by Zbysob1
On one USB-RS485 converter I have a constant error 112345679 and on the other it almost always 110, sometimes it shows 112345695 but for a short time and 110 returns.
How to show debug output?

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #201860 by Zbysob1
ok one step more :)
it's look like :

Opening /dev/ttyUSB0 at 9600 bauds (N, 8, 1)

vfdmod: reading 'spindle.rpm-out' from address 8203 (0x200B)...
[01][03][20][0B][00][01][FE][08]
Waiting for a confirmation...
<00>
vfdmod: setting command speed value to 5 (0x0005)...
[01][06][20][01][00][05][13][C9]
Waiting for a confirmation...
<00>
vfdmod: reading 'spindle.rpm-out' from address 8203 (0x200B)...
[01][03][20][0B][00][01][FE][08]
Waiting for a confirmation...
<00>
vfdmod: setting command speed value to 5 (0x0005)...
[01][06][20][01][00][05][13][C9]
Waiting for a confirmation...
<00>
and so on ...
but the minimum speed is correctly written to the inverter - it changes from zero to 5

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #201917 by aekhv
Try to increase ProtocolDelay to 5...15 and watch to debug, is something changes?

Please Log in or Create an account to join the conversation.

Time to create page: 0.155 seconds
Powered by Kunena Forum