08-16-2020 10:34 AM
08-16-2020 11:23 AM
Hello,
The idea was to understand both the VFD Manual and how Modbus works.
So as I said the VFD manual has the addresses in Hexadecimal, but you need only few of them.
What I changed was that I didnt put the 06H, because this is the <<Code>> to write the Modbus, but by having the ModBus <<Write Register Holding>> it do it automatically.
So inside the While Loop you just need to add the address to run the motor which for my case was 2000H and 0002H.
Again Thank you!!
-Alexis
08-18-2020 06:44 AM
Dear GerdW,
I have another question, if its possible to answer. The VI that I created for the motor, I added it inside on another VI which is used to get data from sensors via a NI USB.
There are now two while loops, one to get the data via NI USB and another which is to control the motor.
My problem is that when I am running the VI, I am not getting anymore the data from the sensors, and only the motor is working.
Also another issue is that I cant stop/abort the VI..
Any thoughts on that?
Regards,
Alexis
08-18-2020 06:52 AM
Hi Alexis,
@Alexis_Koul wrote:
Any thoughts on that?
Sure: when your code does not work as per your requirements then your code implementation is most probably wrong!
Unfortunately you forgot to attach your code…
(I guess the main reason is you forgot to "THINK DATAFLOW!" - it's explained in the "starter" section of the LabVIEW help.)
08-18-2020 07:22 AM
Ok problem fixed.
Was not <<Think Dataflow>> issue.
-Alexis
05-19-2023 02:32 AM
can you please share your VI file? please
05-23-2023 12:00 AM
Hi, please send you vi file.