Parport to 7i92

More
17 Dec 2021 17:58 #229322 by tommylight
Replied by tommylight on topic Parport to 7i92
Shut down everything!
Find a power cable for the PC WITH and ground pin, this is a must.
-move spindle cables as far from 7i92 as possible
-use very short cabling on the 7i92 headers
-do not use a parallel cable from 7i92 to BOB if you have the M version, just plug the 7i92M to the BOB
-use a grounded cable for the spindle drive and the spindle, also not negotiable ! :)
The 9V peak-to-peak on the 5V supply is bad, very bad.

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

More
19 Dec 2021 11:07 - 19 Dec 2021 11:20 #229480 by looping
Replied by looping on topic Parport to 7i92
Yes as soon as I saw the scope I turned off everything.The VFD and the 40V power supply are grounded.The PC is powered with a laptop 19V adaptor + a PicoPSU, so I'm not shure how to do this.
But I ordered a those filters for the 5V to the 7i92 and for the VFD.
Attachments:
Last edit: 19 Dec 2021 11:20 by looping. Reason: typo

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

More
15 Jan 2022 19:21 #231912 by looping
Replied by looping on topic Parport to 7i92
Hello
I installed the 2 above filters and some ferrite as describe here
Now it's much better.
Thanks for your help
Attachments:
The following user(s) said Thank You: tommylight

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

More
04 Jun 2022 15:30 #244576 by looping
Replied by looping on topic Parport to 7i92
The 5v was better, but my probe could sometime trip without input.
So I ordered a Huanyang HY02D223B (2.2kw) and removed the yl620a. I switched to hy_vfd driver.

First tests with front panel commands are fine, 5V is completely clean.

Then switched to RS845 and set :
  • PD001 = 2 (set communication port as source of run commands)
  • PD002 = 2 (set communication port as source of operating frequency)
  • PD163 = 1 (slave address 1)
  • PD164 = 1 (baud rate 9600 bps)
  • PD165 = 3 (8N1 for RTU mode)
In LinuxCnc with debug enabled, I have errors on all messages. see attached  "debug_22kw.txt". It seems the received message is missing 1 byte

As I couldn't find the problem, I unplunged the HY02D223B (2.2kw) and switch to a spare HY01D523B (1.5kw).
Without any changes on LinuCnc config the comm is fine. see attached "debug_15kw.txt"

I reconnected the 2.2KW VFD and same problem again.
So the problem seems to be linked to the VFD
Factory reset for parameters and reprogramming didn't solve anything.
Both unit have the same software version : ASr 1.0  and  Vr 1.00
Attachments:

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

More
05 Jun 2022 13:39 - 05 Jun 2022 13:41 #244616 by looping
Replied by looping on topic Parport to 7i92
I downloaded and installed SpindleTalker2 on windows... ans I CAN control the VFD !!!
So the RS485 VFD is not broken
Last edit: 05 Jun 2022 13:41 by looping.

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

More
05 Jun 2022 14:40 #244617 by looping
Replied by looping on topic Parport to 7i92
The 2.2Kw is receiving commands, but responds it sends are gardbage
Attachments:

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

More
05 Jun 2022 14:47 #244619 by tommylight
Replied by tommylight on topic Parport to 7i92
Check the spindle talker how many data bits, stop bits and parity bits, then set the same on the Linux machine.

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

More
05 Jun 2022 14:59 - 06 Jun 2022 09:14 #244623 by looping
Replied by looping on topic Parport to 7i92
AS you can see in the log files:
spindle-vfd: device='/dev/ttyS0', baud=9600, bits=8, parity='none', stopbits=1, address=1, debug=1, PID=6030
and in the VFD:
PD164 = 1 (baud rate 9600 bps)
PD165 = 3 (8N1 for RTU mode)

The commands are understood and executed : I can make it run with by Spindle Taker 2. This validates the comms parameters on the VFD side.

But hy_vfd loops on his first read query as it gets an invalid response: only sending
hycomm query = [01][01][03][05][00][00][2C][4F]
to get the ACV from the inverter
Last edit: 06 Jun 2022 09:14 by looping.

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

More
06 Jun 2022 09:16 #244660 by looping
Replied by looping on topic Parport to 7i92
I saw people adding 120 ohms termination resistors on the RS485, between A and B.
Any hint on this ?

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

More
06 Jun 2022 15:35 #244677 by looping
Replied by looping on topic Parport to 7i92
Adding de resistor did not change anything :(

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

Moderators: cmorley
Time to create page: 0.105 seconds
Powered by Kunena Forum