Modbus treadmil #2253
Unanswered
carozoynarizota
asked this question in
Q&A
Modbus treadmil
#2253
Replies: 3 comments 29 replies
-
hi @carozoynarizota the mod is branch has a static dictionary for a modbus device. if you need a specific modbus dictionary share the specs of your device let me know |
Beta Was this translation helpful? Give feedback.
29 replies
-
ok i will implement this in the next days!
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno gio 28 mar 2024 alle ore 01:18 carozoynarizota <
***@***.***> ha scritto:
… Hi Roberto, my AC motor controller is a VFD-M model. Documentation can be
found by Delta or Danfoss as its brand, model 176F7300.
On the attached pdf, appendix D there is detailed information about modbus
communication.
Danfoss VLT Micro - 176F7330.pdf
<https://github.com/cagnulein/qdomyos-zwift/files/14782286/Danfoss.VLT.Micro.-.176F7330.pdf>
For modbus communications I been doing tests with this settings:
00: MODBUS ASCII mode, <7,N,2>
03: MODBUS RTU mode, <8,N,2>
With manufacturer specific software I was able to read all the registers
(and get the query also). Some of them are to control specific parameters,
like setting the AC motor frequency, and at specific addresses toggling
certain bits I remember you can for example start, stop or reverse the
motor.
With all this information I was able to run with an arduino a code that
start the treadmill and make it increase speed every certain time. Of
course code is not mine but copied from the internet, just with a few
modifications to match the documentation. For example no one uses on their
VFDs those parity settings, most of them has modes that are supported on
software serial library and for mine it has to be hardware serial.
Well thats all I can say now, I don't know if its usefull or if it
justifies the effort to get you involved.
As final examples I put here the output I get through reading all the
registers in ASCII or RTU. I also have examples setting frequency, or
running/stopping the treadmil.
2022-06-19 VFDC Read Parameter ASCII Log.txt
<https://github.com/cagnulein/qdomyos-zwift/files/14782404/2022-06-19.VFDC.Read.Parameter.ASCII.Log.txt>
2022-06-19 VFDC Read Parameter RTU Log.txt
<https://github.com/cagnulein/qdomyos-zwift/files/14782405/2022-06-19.VFDC.Read.Parameter.RTU.Log.txt>
—
Reply to this email directly, view it on GitHub
<#2253 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWA3ZXEVMIOCEPWST7TY2NOT7AVCNFSM6AAAAABFGJJO2KVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DSMZUGUYDK>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
amazing! i will implement this in the next days!
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno sab 13 apr 2024 alle 23:35 carozoynarizota <
***@***.***> ha scritto:
… Roberto I've being doing some tests to get the right commands. I think we
only need Start, Stop and Send Frequency.
Frequency is from 0 to 60, with two decimals but is sent in HEXA. So ie to
set 24,44Hz, then you have to send 2444 as an integer. In HEXA 0988 will be
our value.
Then to set a new frequency 01 for device ID,06 write operation, 2001 the
expected address, an 0988 our value without CRC should be :010620010988
In the attached file you have the Start, Stop, and Freq commands from 0 to
20Hz. Both ASCII and RTU.
If it happens to be usefull to read frequency, then command is
:010321020001
If a communication error occurs, you won't receive an answer or maybe an
error response. The display will show you an error like "C-##", that error
is cleared by the reset command also in the table.
Let me know if you need further details or tests.
Lecturas.xlsx
<https://github.com/cagnulein/qdomyos-zwift/files/14968701/Lecturas.xlsx>
—
Reply to this email directly, view it on GitHub
<#2253 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWF4CASWBWLUZNVLV63Y5GQK3AVCNFSM6AAAAABFGJJO2KVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMBWGI3DK>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I installed the app on a Raspberry pi 3b+ just to see how it goes. All of what a read within the guides or youtube makes me think that the app act just as a bridge between zwift and bluetooth enabled devices. These can be FTMS treadmils or BLE sensors.
What I am trying to figure out if it will help me control my AC motor through the VFD using modbus. Despite being a modbus branch, I see no option to set for example how the Pi should connect to an external device through an RS485 adapter.
My setup is just this basic treadmill controlled by buttons that goes directly to the VFD. To know my pace I put a hall sensor and with an ESP32 over BT I have that on zwift. Setting different speeds or intervale training is a nightmare with the buttons, as every push is a 0.1Hz step in the AC motor.
Beta Was this translation helpful? Give feedback.
All reactions