Nakanishi spindle, 7i76, 24v encoder/pull-up io help

More
24 Aug 2020 04:47 - 05 Sep 2020 22:31 #179188 by cakeslob
I recently got a Nakanishi Spindle controller and am making an attempt to wire it up with my 7i76 and its not going well. The datasheet I was using was too recent, as my controller is slightly different, making my wiring not so straight forward. I need some help wiring my inputs from the spindle controller , which appear to be sinking outputs on the spindle side.

this is the schematic in question. I do not understand what the R with the circle is in the circuit and what the diode is for edit, it think it is suppossed to be similar to this forum.linuxcnc.org/38-general-linuxcnc-q...-output-to-mesa-7i76.
Right now I have common to ground, output pin to 7i76 input pin 24, with a 2k pullup resistor to +24 with no luck, I have also tried several different resistor sizes with no luck either
it appears ive blown one of the outputs on the spindle controller , when i try with others it is now working

This is also the circuit that the "encoder" uses, but with lower "working current" of 50mA. im not sure what this means in reguards to how I hook everything up. I am also not sure how I can wire this into an encoder spot, or if I need to wire it into the MPG spot instead of the 5v spindle encoder spot. Its not really and encoder exactly, but more of a tachometer

here is a picture of my machine with the spindle in question
Attachments:
Last edit: 05 Sep 2020 22:31 by cakeslob.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
26 Aug 2020 12:01 #179524 by tommylight
Replied by tommylight on topic Nakanishi High speed spindle, 7i76
This is the second time i am reading this and still wondering .........
Connect the analogue signals to the 7i76 and the start input of the VFD to one of the outputs on the 7i76, test if it works.
Only after getting that working properly, move on to adding features and encoder feedback.

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

More
28 Aug 2020 18:17 #179863 by cakeslob
Replied by cakeslob on topic Nakanishi High speed spindle, 7i76
thanks tommy, yeah it is a noodle scratcher. seems closer to the way external off sets work with mpg input., or something like spindle override with pulse
I do have it going with analog and everything, and she spins. Finally figured out why it wasnt sending the start commands and had no voltage across analog spindle control. not the first time Ive been had by this....

not even thinking, Ive wired everything with IDC pinout instead of DB25 pinout. luckily nothing blew up.

The reason I ask about the encoder signal, is because its hooked up to the same IO common as all the other 24v inputs and not actually hooked up to an encoder
Attachments:

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

More
29 Aug 2020 06:27 #179914 by cakeslob
Replied by cakeslob on topic Nakanishi High speed spindle, 7i76
since im having a hard time getting the digital inputs to work(output signal I fig 32 and output II fig 33)and , cant seem to figure out the wiring on them, or if i damaged something,, they jus either never low, they are on high the whole time if i wire them to +24 as common. if i wire gnd to common, they are always low
i am starting on the analog inputs (analog monitor signals or fig 38) , but im running into an issue


25 SPEED_V
Rotating Speed
Analog Monitor
Voltage
Output 10,000min-1 (rpm) / V
Output the rotation speed of rotating motor
with Analog Monitor Voltage.
10,000min-1 (rpm) / V
0V ≦ SPEED_V ≦ 10V
, which is great, i measue off the spindle controller .5v at 5000rpm, no problem.
when I plug in the analog in to mesa analogin0, and the ground to ground, I am now getting a reading of .284, and 10,000rpm is now .711
so i set my scale
uhhhh...  363000/.711 =258093, which gave me a reading of 5000rpm when its at 10,000, so ill *2 to get
.0.7i76.0.0.analogin0-scalemax 516186
so that worked fine for 10,000 rpm, but now something weird is happening. When i command it to 5000rpm to check the scaling, it can no longer go to 5000. it slides down to 4000. commanded speed is still 5000, the analog in reads 4000, and the spindle controller, which has its own feedback loop with readout, says 4000rpm. i can go 6000 and get 6000 on the controller and analog in. i can even command 5000 as the first spindle move, but after i got up or down i cannot get it to go back to 5000rpm

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

More
29 Aug 2020 19:53 #179963 by cakeslob
Replied by cakeslob on topic Nakanishi High speed spindle, 7i76


ok, here is how I am doing my wiring. with what works and what doesnt
Attachments:

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

More
05 Sep 2020 22:30 #180866 by cakeslob
Replied by cakeslob on topic Nakanishi High speed spindle, 7i76
Ok, input/out problem somewhat solved. My spindle is an older model, with all sinking outputs. I have tied them to a pullup resistor and it is now functioning. I am now trying to close the loop with my spindle and am running into 2 issues. 1 issue is related to my 24v spindle tachometer, which ive put into the first post. It is a 24v signal with the rest of the controller outputs. since this is a 1 pulse per revolution type signal, at 30k rpm, thats 500 per second. would this be slow enought to use with the rest of the IO? the "working current" of the encoder signal is 50mA, where as the rest of the outputs have 100mA working current. what does this mean and how does it change my wiring?

The second issue is related to the analog outputs from the spindle going into the 7i76. i have the scaling and everything done reading mostly the correct output of the spindle +/- 44rpm. I have not hooked this up as a pid or anything closed loop. the analog outputs have a separate/isolated ground to the controller. when I hook it to the common ground, it actively interferes with the spindle analog output and alters my spindle output by about 1000rpm. , the spindle and controller still report the proper rpm, but linuxcnc thinks its going 5000rpm when its going 4000rpm. is there something i need to connect between ground? like a diode or capacitor?

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

More
05 Jul 2022 23:17 #246684 by OT-CNC
Hi cakeslob,

Did you get it working properly?
What  drive and motor are you using? 

I was wondering if you had a pinout for the motor cable? NSK doesn't seem publish that. 

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

More
06 Jul 2022 04:45 #246696 by cakeslob
Hey, I have a E3000 controller with EM3060 motor and NR50-5100 atc spindle.

No, I havent got it working yet the way I want. I have analog interference when I try and use the analog feedback from the controller that is affecting the spindle output signal. I also cannot get the spindle index signal wiring correct.

I dont have the motor pinout, the resources I have on that are this guys site has a few things
sites.google.com/site/janbeck/nsk-nakani...s-cables-and-pinouts

the other is PocketNC uses these spindles and motors, the smaller 2000 series, and have the motor connected to their own driver.

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

Time to create page: 0.231 seconds
Powered by Kunena Forum