fbpx

CS-Lab Support Forum for CNC Community

Help to run this brand-new forum and stay with us.
Ask your questions, we are here to help! 

 

Please or Register to create posts and topics.

CSMIO IP motion controller PID Fault when homing the Spindle Axis?

@ CS-Lab Support:

This request is about a smallish table-top Mill:

Retrofitted Emco VMC100 3 axis Mill with tool change carousel.
Mach4 Hobby v. 4.2.0.4405 and CSMIO IP-S v. 3.412.
Spindle servo motor powered by an Argon drive (Granite Devices) with step/dir control and encoder feedback.
The index signal of the encoder is also, optically isolated, used as home signal for the spindle position.

Before a tool change procedure, M6 Macro, the spindle axis needs to be homed. After the spindle axis homing is completed a fault status appears:

CSMIO/IP motion controller(0) PID Fault
mkit: 5 error: 139322

The number after "error:" varies with the time the spindle has been running. If homing the spindle is done before any spindle running the fault does not appear! This can be seen by looking at the CSMIO-IP registers. After running the spindle the register "Feedback Ch[5]" and "Spindle Axis Position" show the number of degrees rotation. During homing the "Feedback Ch[5]" runs to zero and thereafter the "Spindle Axis Position" returns to zero and then the fault appears. If the spindle didn't run before homing both register indications are still zero and the homing completes without fault indication. The fault appears when homing by Gcode "G28.1 P6", but also by API Call mcAxisHome.

I did try to home the spindle after writing both registers to value "0", but also in that case the fault appears.

My question is how to home the spindle axis without causing this fault. Or is this fault a CSMIO firmware property? Like item 9 in this page?

https://en.cs-lab.eu/e-pid-error-in-the-case-of-csmio-ip-controllers-and-mach3-mach4-control-software-reasons-advices/

I'm using a workaround for this problem by switching the spindle step/dir control to motor[4] output of the CSMIO and then home it as B axis. After the tool change procedure the spindle is switched back to motor[5] output.

Hello,

The spindle motor homing bug is known to us and should be fixed soon.

Currently, the only method is positioning a spindle using the CSMIO-ENC module and a macro written by us.
When our developers make the fixes in the plugin, we will provide detailed information along with the macro.

Regards,
Wojtek

PARTNERS:

 

USA

Germany

Slovenia / Bosnia

Spain

South Africa

UNI-CAM

The Netherlands

Portugal

Greece

  Distrib milionis logo

Hungary

Distrib logot

Bulgaria

Master

Kenya

Proteq Automation

Egypt

Germanelectronix

China

Jun Ma

Serbia

ALCO

Italy

LVL tech r

Denmark

Varntoft Dania

Finland

×

Hello!

Click one of our contacts below to chat on WhatsApp

× How can I help you?