Page 1 of 1

Homing sequence changed

Posted: Wed May 12, 2021 11:48 am
by Exhibitology
This machine functioned normally. It had a Acorn Wizard generated
homing sequence. Homing executed correctly through numerous shut
down / start up cycles. All home switches are wired in series and are
normally closed. HomeAll is selected for input 2.

Yesterday, the homing routine changed for no apparent reason. I had
updated the software on one of the servo drives using a seperate
CPU over a CAT5 cable connected directly to the drive. This is the
only event that is concurrent with the change.

While Z axis homed normally, the Y axis trips the limit, moves off the
limit, but then moves back on. This results in input 2 staying tripped.
Then, the X axis moves in the positive direction even though it was
given an M91 command.

If I cycle start a homing command with the input 2 tripped by the
Y axis, I get a CNC12 screen that is all blue. The VCP remains
on screen as normal but the control screen is a blank blue field.
This persists for about 2 minutes and then the CNC12 screen info
returns with the homing sequence telling me that it cannot execute
because the home switches are tripped.

If I cycle start a home sequence with the Y axis switch NC (untripped)
homing starts normally with no blank blue screen but with the Y
axis hanging the home switch and the X axis executing a M1 in the wrong
direction.

I created a report. Renamed CNCM. Reloaded CNC12v4.64.
Reloaded the report. The problem persists.

Is it possible to edit the M91 command so that it moves off of the
home switch? Where does this code reside?

Is there some larger problem that is related to getting a blank blue
CNC12 screen?

I've included a photo of the blue screen with a window showing
the CPU usage percentage.

Below is a description of this machine.

Machine Chassis”
Multicam MG510

CPU:
Intel Core i3-3220 with 4GB RAM on a
Asus P8H61-I Desktop Motherboard - Intel H61(B3) Express Chipset
Windows 10

Motion Controller:
Centroid Acorn
CNC12 v4.64

Drives: (all axis)
Kollmorgen AKD-P00306-NBAN

Motors:
X - Allen Bradley N3412 with a 5000 Line Count Encoder
Y - Kollmorgen AKM41H with 5000 Line Count Encoder
Z - Allen Bradley N3412 with a 2000 Line Count Encoder

Limit Switches:
Y and Z axis - Balluf PNP Normally Closed Inductive Proximity Sensors
X axis - Telemecanique Normally Closed XCKY limit switch

E-Stop:
PILZ

Re: Homing sequence changed

Posted: Wed May 12, 2021 3:43 pm
by cnckeith
hello.

if you need to experiment with the homing routine, you can write out the M91 long hand your self

here is a video showing how to home without using M91 or M92


Re: Homing sequence changed

Posted: Wed May 12, 2021 3:47 pm
by cnckeith
example.

M106/Z P3 F30 ; move to Positive limit wired into input #3
G91 Z-.5 F30 ; move away to clear the switch
M106/X P1 F30 ; move to positive limit wired into input #1
G91 X-.5 F30 ; move away to clear the switch
M105/Y P2 F30 ; move to negative limit wired into input #2
G91 Y.5 F30 ; move away to clear the switch
M26/X/Y/Z ; set home

;Enable all limits
M95 /101 /102 /103 /104

from page 6 of this thread.
viewtopic.php?p=23339#p23339

Re: Homing sequence changed

Posted: Wed May 12, 2021 3:55 pm
by cnckeith
related issue explained when using custom home programs.