Wainlux JL7 - Homing Issue

Hello, I am a Newbie and I have a Wainlux JL7. It works very erraticaly, and the homing is impossible, I always receive the error message:"
“Homing fail. Cycle failed to clear limit switch when pulling off. Try increasing pull-off setting or check wiring.”
The pull off are set at 20 mm on each axis

When asking to home, it drags a few millimeters with a scratching sound and just stop
with the message ALARM:8

Homing fail. Cycle failed to clear limit switch when pulling off. Try increasing pull-off setting or check wiring.

ok

Grbl 1.1h [‘$’ for help]

[MSG:‘$H’|‘$X’ to unlock]

[MSG:Caution: Unlocked]

ok

And almost all jobs I sent to the console are not possible

ALARM:2

G-code motion target exceeds machine travel. Machine position safely retained. Alarm may be unlocked. (Right-click the ‘Devices’ button to reset the connection)

On or near line 4:

Job halted

Stream completed in 0:00

ok

Grbl 1.1h [‘$’ for help]

[MSG:‘$H’|‘$X’ to unlock]

[MSG:Caution: Unlocked]

ok

Please help, I get very frustrated :frowning:

This seems unusually high. Did you change this value?

Can you confirm that your laser has homing switches?

Can you see the X and Y motors actually turning? If they are, try to sort out where the chain of motion is being broken.

Can you run these commands in Console and return output?

$I
$$
$#
?

Hello, thanks for answering my post :blush:

I changed the pull off to 20 mm because i saw the recommendations from another topic with similar homing issues, but it did not help. What should be a better figure?

It has homing switches

The motors seem to be turning, but the laser just stops its course

I ran your commands after i got the error message, as follow:

Homing fail. Cycle failed to clear limit switch when pulling off. Try increasing pull-off setting or check wiring.

<Idle|MPos:1.000,1.000,0.000|FS:0,0|Pn:PYZ|Ov:100,100,100>

[VER:1.1h.2020081702:]

[OPT:VZ,15,128]

Target buffer size found

[MSG:Using machine:JL7]

ok

$0=10

$1=255

$2=0

$3=0

$4=0

$5=0

$6=0

$10=1

$11=0.010

$12=0.002

$13=0

$20=1

$21=1

$22=1

$23=3

$24=500.000

$25=2000.000

$26=250.000

$27=1.000

$28=1000.000

$30=1000.000

$31=0.000

$32=1

$38=1

$40=1

$100=80.000

$101=80.000

$102=520.000

$103=100.000

$104=100.000

$105=100.000

$110=10200.000

$111=10200.000

$112=6000.000

$113=1000.000

$114=1000.000

$115=1000.000

$120=2200.000

$121=1800.000

$122=500.000

$123=200.000

$124=200.000

$125=200.000

$130=404.000

$131=404.000

$132=404.000

$133=300.000

$134=300.000

$135=300.000

ok

[G54:0.000,0.000,0.000]

[G55:0.000,0.000,0.000]

[G56:0.000,0.000,0.000]

[G57:0.000,0.000,0.000]

[G58:0.000,0.000,0.000]

[G59:0.000,0.000,0.000]

[G28:0.000,0.000,0.000]

[G30:0.000,0.000,0.000]

[G92:0.000,0.000,0.000]

[TLO:0.000]

[PRB:0.000,0.000,0.000:0]

ok

ok

The laser otherwise works well if i ask for small size pattern that starts from current position
I am unable to get him homing or consider absolute coords.

Thanks for any advice :pray: :pray: :pray:

1 Like

The $24 and $25 parameters setting the homing speeds seem extraordinarily fast. Reduce them to 25 and 250, respectively, to slow it down. If that works, you can increase $25 until it fails again, then cut that speed in half.

Thank you for your answer.
I changed both as per your suggestion, it move more slowly, but it did not solve the homing issue :slightly_frowning_face:

i think i may have to change the coordinates for the homing and delimitate the areas the laser can move - but i did not figure out how to achieve that successfully that from the tutorials :sleepy:

Now the latest console output are as follow:

$0=10

$1=255

$2=0

$3=0

$4=0

$5=0

$6=0

$10=1

$11=0.010

$12=0.002<Idle|MPos:1.000,1.000,0.000|FS:0,0|Pn:PYZ|WCO:0.000,0.000,0.000>

$13=0

$20=1

$21=1

$22=1

$23=3

$24=25.000

$25=250.000

$26=250.000

$27=1.000

$28=1000.000

$30=1000.000

$31=0.000

$32=1

$38=1

$40=1

$100=80.000

$101=80.000

$102=520.000

$103=100.000

$104=100.000

$105=100.000

$110=10200.000

$111=10200.000

$112=6000.000

$113=1000.000

$114=1000.000

$115=1000.000

$120=2200.000

$121=1800.000

$122=500.000

$123=200.000

$124=200.000

$125=200.000

$130=404.000

$131=404.000

$132=404.000

$133=300.000

$134=300.000

$135=300.000

ok

[G54:0.000,0.000,0.000]

[G55:0.000,0.000,0.000]

[G56:0.000,0.000,0.000]

[G57:0.000,0.000,0.000]

[G58:0.000,0.000,0.000]

[G59:0.000,0.000,0.000]

[G28:0.000,0.000,0.000]

[G30:0.000,0.000,0.000]

[G92:0.000,0.000,0.000]

[TLO:0.000]

[PRB:0.000,0.000,0.000:0]

ok

ok

<Idle|MPos:1.000,1.000,0.000|FS:0,0|Pn:PYZ|Ov:100,100,100>

ok

Starting stream

Layer C00

ALARM:2

G-code motion target exceeds machine travel. Machine position safely retained. Alarm may be unlocked. (Right-click the ‘Devices’ button to reset the connection)

On or near line 8:

Stream completed in 0:00

ok

Grbl 1.1h [‘$’ for help]

[MSG:‘$H’|‘$X’ to unlock]

[MSG:Caution: Unlocked]

ok

I usually get this message when trying to do the homing:

ALARM:8

Homing fail. Cycle failed to clear limit switch when pulling off. Try increasing pull-off setting or check wiring.

ok

Grbl 1.1h [‘$’ for help]

[MSG:‘$H’|‘$X’ to unlock]

[MSG:Caution: Unlocked]

ok

20mm is overly large and unnecessary. And on most implementations this would be taking away from your addressable area of the laser.

I’d suggest putting this back to the original value.

From this is looks like your homing pull-off is set to 1mm which is fine. I’m curious then what you switched to 20.

I was under the impression that your laser was not moving at all. Can you describe in detail what happens when attempting to home? Does the laser head move toward the homing switches?

Based on what I’m seeing I don’t think this is the problem.

I think what’s happening is that your machine believes the switches are engaged.

Disregard the P but the Y and Z indicate that it believes Y and Z switches are on. I’m curious about this because I suspect you don’t have a Z switch at all. This makes me believe the unit may be wired incorrectly. Can you inspect the wiring and make sure you’re connected to the correct X and Y switch ports on your controller?

Hello Berainlb, Thank you so much for your reply.

I finally got an answer from wainlux support, they sent me the JL7 lbset to import and write on the machine settings.
It did not improve my issue and i keep getting the same

When asking to go ‘home’, the laser will just go ttowards the side switch and stay there. A few times it became erratic and crashed again the frame lenght (that has no switch) with a loud cracking sound.
To me it looks like it doesn’t know where it is and assume all job requests are beyond the working area (even when i request a tiny work starting as the current position).

I turned off and checked all plugs/ unplugged and replugged all that could be plugged as per user manual.
You are correct, there are only 2 switches

For your note on Pn:PYZ - it would mean that the laser only works on Y and Z, while it should be on X and Y?
How can I amend that if this is the case?

Thank you so much
Elodie

Now the parameters
Settings:

  • Status: Position reporting ($10): Machine Position
  • Status: Show buffer data ($10): false
  • Junction deviation (mm) ($11): 0.01000
  • Arc tolerance (mm) ($12): 0.00200
  • Report inches ($13): false
  • Soft limits ($20): true
  • Hard limits ($21): true
  • Homing cycle ($22): true
  • Homing feed rate (slow) (mm/min) ($24): 500
  • Homing seek rate (fast) (mm/min) ($25): 2000
  • Homing debounce (ms) ($26): 250
  • Homing pull-off (mm) ($27): 1
  • Max spindle speed (RPM), S-Value max ($30): 1000
  • Min spindle speed (RPM), S-Value min ($31): 0
  • Laser mode enable ($32): true
  • Step pulse (microseconds) ($0): 10
  • Step idle delay (ms) ($1): 255
  • Step enable invert ($4): false
  • Limit pins invert ($5): false
  • Probe pin invert ($6): false
  • X Step pin invert ($2): false
  • X Direction pin invert ($3): false
  • X Homing direction invert ($23): true
  • X Steps per mm ($100): 80
  • X Max rate (mm/min) ($110): 10200
  • X Accleration (mm/sec^2) ($120): 2200
  • X Max travel (mm) ($130): 404
  • Y Step pin invert ($2): false
  • Y Direction pin invert ($3): false
  • Y Homing direction invert ($23): true
  • Y Steps per mm ($101): 80
  • Y Max rate (mm/min) ($111): 10200
  • Y Accleration (mm/sec^2) ($121): 1800
  • Y Max travel (mm) ($131): 404
  • Z Step pin invert ($2): false
  • Z Direction pin invert ($3): false
  • Z Homing direction invert ($23): false
  • Z Steps per mm ($102): 520
  • Z Max rate (mm/min) ($112): 6000
  • Z Accleration (mm/sec^2) ($122): 500
  • Z Max travel (mm) ($132): 50
  • A Step pin invert ($2): false
  • A Direction pin invert ($3): false
  • A Homing direction invert ($23): false
  • A Steps per mm ($103): 100
  • A Max rate (mm/min) ($113): 1000
  • A Accleration (mm/sec^2) ($123): 200
  • A Max travel (mm) ($133): 300

Double-check that the cables are plugged into the correct ports. If you’re not sure about this or it appears to be plugged in properly then can you take some high quality photos of the cables at the switches and at the controller? Ideally any markings on the controller would be visible.

The other thing to try is to unplug the limit switches and then rerun this command in Console. I’d like to see if the status changes.

?

Hello again and thank you!
I unplugged and replugged except for the ones that were already mounted in factory, but i pushed gently again to ensure they are in
Pictures as follow:

Here is the ? before unplugging the limit switches
?
[MSG:Using machine:JL7]

Grbl 1.1h [‘$’ for help]

[MSGok

ok

[VER:1.1h.2020081702:]

[OPT:VZ,15,128]

Target buffer size found

[MSG:Using machine:JL7]

and after:

[MSG:Using machine:JL7]

Grbl 1.1h [‘$’ for help]

[MSGok

ok

[VER:1.1h.2020081702:]

[OPT:VZ,15,128]

Target buffer size found

[MSG:Using machine:JL7]
ok

Homing

ALARM:9

Homing fail. Could not find limit switch within search distance. Defined as 1.5 * max_travel on search and 5 * pulloff on locate phases.

ok

Grbl 1.1h [‘$’ for help]

[MSG:‘$H’|‘$X’ to unlock]

[MSG:Caution: Unlocked]

ok

Can you rerun this? I don’t see it in the output.

Can you please run it once before unplugging the limit switch connector and once after unplugging the connector?

Also, I’m trying to sort out the connectors on the board.


Yellow box - I assume goes to a stepper motor. Which one is it?
Red box - Looks like both switches converge to this connector. Can you confirm?
Green box - Where does this go to?
Blue box - This should lead to another stepper but not sure which one? Is this used?
White box - This also looks to be used for a stepper but unclear which one. Can you clarify?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.