Safely wiring tool setter with Mesa 7i96

More
12 Nov 2023 12:46 #285160 by jaco
Owkay ... thanks for pointing that out ... That works now :-)

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

More
12 Nov 2023 17:18 #285183 by jaco
Hmm, i got a lot of EMI issues now. I wonder if there is a correlation with changing the COM of the inputs to 24V from the GND what it was before ? Or is it probably unrelated and just a time-wise coincidence ?

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

More
13 Nov 2023 13:30 #285253 by jaco
Hmm, just a few tests. It seems that with the 24V in the input COM the NPN NO 'inductive limit sensors' get triggered when spinning up the spindle ...

What wires are the ones that need to be really well isolated ? to prevent EMI.

Is it because the 7i96 board is now controlling the spindle using the analog pwm ? (Before conversion the chinese nc board just requested low, high, off from the vfd)

What is generating the EMI noise ? The pwm signal from 7i96 to the vfd or something else ?

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

More
13 Nov 2023 15:00 - 13 Nov 2023 15:01 #285266 by PCW
Is this a 7I96 or 7I96S?

If a 7I96, how is the PWM connected to the spindle drive?

VFDs tend to be very noisy so need careful isolation from logic signals
 
Last edit: 13 Nov 2023 15:01 by PCW.

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

More
13 Nov 2023 19:04 - 13 Nov 2023 19:05 #285301 by jaco
Sorry it is a 7i96s indeed.Is it the VFD itself, or the power going in, or the wires with going to the spindle?This was the original layout from china. Now i have replaced the small breakout board with a  mesa 7i96s and had to add a 5V PSU.If you look at this enclosure. where would you place the new controller, or does that not matter much ? 

cloud.jaco.tech/index.php/s/xtSbtZYgAEBc445
Last edit: 13 Nov 2023 19:05 by jaco.

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

More
13 Nov 2023 19:59 - 13 Nov 2023 20:00 #285311 by PCW
The VFD power wiring should be kept away from all low voltage wiring.
( The motor leads are especially nasty with ~350V square wave signals )

You can try debouncing the limit switch signals by setting the "slow" attribute
for those pins in the hal file:

setp hm2_7i96s.0.inm.00.input-03-slow true

( input 03 used as example )
Last edit: 13 Nov 2023 20:00 by PCW.

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

More
14 Nov 2023 17:20 #285396 by Plasmanfm
These motor cables should definitely be shielded
As an electrician, I know this from FU motor controls


King regarde
Juergen

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

More
17 Nov 2023 15:39 #285749 by jaco
The input debouncing indeed helped a lot. But 'a lot' is not enough when i still get limits triggered.

How comes this was not the case with the small chinese 'nc studio' breakoutboard with the cable to the pci card ...

2 main things that i see that changed are, that the chinese solution used to be setting the VFD not with pwm but with preprogrammed speeds 'off, low speed, high speed' each triggered with just one of the VFD ports.

And on the other side, the mesa card that is now inside the cabinet.


I did some testing, with disconnecting the limit sensors after homing, so no limits are triggered by EMI. But now i notice some glitches in the Y axis. There are jumps, where both Y axis get out of sync. steppers skipping a beat i guess. So this is probably also caused by EMI.

I bought a line filter for mains. (But not really sure in front of which component i need to put it) and some Ferrite rings.

Will also make a routing map of all the wires to make it more clear for myself and as a guide for rerouting.

@plasmanfm with motor cables, do you mean (1) the part going from the mesa board to the stepper driver, (2) the power cables to the stepper drivers or (3) the part from the stepperdriver to the actual stepper motor,

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

More
17 Nov 2023 16:25 #285754 by Plasmanfm
Hallo jaco
Best of all
By Fu Systems
the cable from the Fu to the motor

King regarde
Juergen

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

Time to create page: 0.221 seconds
Powered by Kunena Forum