Laser head with 10 laser diodes
- Gus71
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
17 May 2022 04:36 #243129
by Gus71
Laser head with 10 laser diodes was created by Gus71
Hi...
I need help:
-I have an axis driven by a stepper motor
-This axis has a head with 10 laser diodes that I want to turn on and off independently
-I have expanded the digital outputs and would like to switch them while the axis is moving
Grid mode:
- E.g:
- G90
- G0 x10 M64 (P1...P10) ; Laser ON
- G0 x20 M65 (P1...
P10) ; Laser OFF
- G0 x30
The problem is the axis stops at the M command!
Question:
1) How to solve the problem?
2) Is it even possible?
Thanks in advance...
I need help:
-I have an axis driven by a stepper motor
-This axis has a head with 10 laser diodes that I want to turn on and off independently
-I have expanded the digital outputs and would like to switch them while the axis is moving
Grid mode:
- E.g:
- G90
- G0 x10 M64 (P1...P10) ; Laser ON
- G0 x20 M65 (P1...
P10) ; Laser OFF
- G0 x30
The problem is the axis stops at the M command!
Question:
1) How to solve the problem?
2) Is it even possible?
Thanks in advance...
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
17 May 2022 10:27 #243136
by andypugh
Replied by andypugh on topic Laser head with 10 laser diodes
Try M62 / M63 instead.
(I don't guarantee that it will work, but it might)
Also try using G1 with a high feed rate rather than G0.
(I don't guarantee that it will work, but it might)
Also try using G1 with a high feed rate rather than G0.
The following user(s) said Thank You: Gus71
Please Log in or Create an account to join the conversation.
- Gus71
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
17 May 2022 12:16 #243142
by Gus71
Replied by Gus71 on topic Laser head with 10 laser diodes
Thanks for the info, but I've already tried... unfortunately it doesn't work either...
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
17 May 2022 12:29 #243146
by andypugh
Replied by andypugh on topic Laser head with 10 laser diodes
Which LinuxCNC version?
It might be worth experimenting with G61 / G64 etc:
linuxcnc.org/docs/stable/html/user/user-...#_trajectory_control
It might be worth experimenting with G61 / G64 etc:
linuxcnc.org/docs/stable/html/user/user-...#_trajectory_control
The following user(s) said Thank You: Gus71
Please Log in or Create an account to join the conversation.
- Gus71
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
17 May 2022 12:31 #243148
by Gus71
Replied by Gus71 on topic Laser head with 10 laser diodes
LinuxCNC2.8.2 / Debian10.10
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
17 May 2022 12:51 #243151
by andypugh
Have you checked the G64 / G61 settings?
Replied by andypugh on topic Laser head with 10 laser diodes
You have the latest trajectory planner, then.LinuxCNC2.8.2 / Debian10.10
Have you checked the G64 / G61 settings?
The following user(s) said Thank You: Gus71
Please Log in or Create an account to join the conversation.
- Gus71
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
17 May 2022 13:29 #243156
by Gus71
Replied by Gus71 on topic Laser head with 10 laser diodes
That works: many many thanks
How did you know?
F1000
M62 P1 ; (laser ON)
G1X10
M63 P1 ; (laser off)
G1X20
..etc...
G30
How did you know?
F1000
M62 P1 ; (laser ON)
G1X10
M63 P1 ; (laser off)
G1X20
..etc...
G30
Please Log in or Create an account to join the conversation.
- Gus71
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
17 May 2022 13:38 #243160
by Gus71
Replied by Gus71 on topic Laser head with 10 laser diodes
how can I check the G64 / G61 settings?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
17 May 2022 14:16 #243162
by andypugh
Replied by andypugh on topic Laser head with 10 laser diodes
Most of the GUIs report it in a Status window. It's on the MDI tab in Axis, for example. (Active G-codes)how can I check the G64 / G61 settings?
The following user(s) said Thank You: Gus71
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Away
- Platinum Member
Less
More
- Posts: 4957
- Thank you received: 1441
17 May 2022 18:12 #243185
by Todd Zuercher
Replied by Todd Zuercher on topic Laser head with 10 laser diodes
It is best never to assume the status of important g-codes like G64. Best practice is to always explicitly set them at the beginning of every g-code file. (This is what is called having a good "Preamble" for your g-code.) Usually it is simple to set up your CAM software or post processor so that they will all ways be inserted at the start of each file. Then you never have to worry about them again.
The following user(s) said Thank You: Gus71
Please Log in or Create an account to join the conversation.
Time to create page: 0.073 seconds