Third party software and hardware support forums. > CS-Lab

CSMIO-ENC Spindle Orientation

(1/18) > >>

LM941:
Trying to orient the spindle for tool changes.

CSMIO/IP-A, CSMIO-IO, CSMIO-ENC

Check box in "Align at stop" of csmio plugin is enabled. Spindle encoder is connected to ENC module. RPM and spindle orientation show in monitor.

Machine is Bridgeport VMC 760/22 with Siemens 911 drive control, analog +-10

Anyone know how this function in CSMIO-ENC works? Just found today that M19 exists but not at machine to try or see if it needs macro code.

I can read the position with a macro but the spindle needs to be < 5 rpms to catch 0(zero) degrees reliably.

First post on forum. New to Mach3 and CS-Lab controllers. All the retrofit has gone amazingly smooth and then this silly spindle orientation smacks me.

Thanks for any help..




Sent from my iPhone using Tapatalk

Hood:
Never tried it on the Chiron which is the machine with the IP-A as I do not need to orient the spindle for tool changes.

I did use it on the wee lathe to stop the spindle at the correct position for the chuck key and it worked well. The wee lathe however had an IP-S.

All I had to do was enter a value in the angle box and enable the option, no macro required.

If I get a chance and more importantly remember I will test it out on the Chiron when I get back to the workshop tomorrow.

Hood

LM941:
Thanks Hood! I have been reading your posts for the past month and you have helped tremendously with my questions during this project.

The encoder is off a 1:1 pulley with 1024 count. CSMIO was reporting 4 revolutions for 1 actual revolution so I had to set P/Rev to 4096 to sync. Not sure why this encoder has such low resolution unless controls in 1995 couldn't keep up at 6000 rpms?

Before purchasing the ENC module, I had the encoder connected to Channel 3 of CSMIO/IP-A.  The config screen (attached jpg) does not allow any Channel option for ENC-1 encoder port. I can only assume the plugin does it automatically. Besides it not stopping at angle set, there are some other odd things like Mach3 GUI speed controls doing nothing but S codes do.  RPM dro is being updated fine.

One area that might be problematic is the Mach3 [Spindle CW F5] button controls a relay that opens the SimoDrive 611 Spindle control enable signal,  immediately stopping the spindle and disabling (required for tool unclamping).   I am not sure how long CSMIO-ENC needs to orient it and if it is disabled too fast.  I have tried overriding the spindle enable but it didn't seem to resolve it.

http://www.machsupport.com/software/plugins/  - shows ENC in plugin list but the link is no good.  I hope this isn't me just missing a plugin. I have found nothing related to a separate ENC plugin on cs-lab website.

Hood:
Ok, just wondering if the demo version of Mach may have something to do with it.

Yes, encoder pulses per rev are 4x the encoder line count and yes, that is the reason machines of that vintage had low count encoders.

Enc1 input is dedicated to the spindle encoder, the other ports are dedicated to DROs so you can use them for other purposes, for example I use the second channel on the Enc module for a glass scale on my tool height setter.

You might have the problem with the disable set up that way, in fact if I understand the way it is working then I am certain it wont work.
The CSMIO needs to slow the spindle to a stop and then find the Index, occasionally I saw my spindle do almost a full revolution after it had basically stopped.

Hood

LM941:
That's funny you noticed the Demo in the title. I hadn't.  We bought the Mach3 License from CS-Labs and I went through the install of the plugin without paying attention to the Mach3 install. Had downloaded previous to play with and never got any nag screen. Definitely need to clear that up and be sure it is not causing any issue.  

I am am using brains to control that spindle enable output so maybe I can use some delay.  Brains are another subject of head scratching.  CS-Labs documentation on the ModBus integration is sparse.  I tried using some brain terminators to control a CSMIO output via ModBus but gave up and just configured the output through Mach3 ports and pins.

Heading to try some spindle disable delays and will let you know.  Thanks again.

Navigation

[0] Message Index

[#] Next page

Go to full version