VMC related HAL questions.

More
6 years 10 months ago #151850 by CNCDoc
Replied by CNCDoc on topic VMC related HAL questions.
No I use M5 to abort only
Code:
M19 is cleared by any of M3,M4,M5.


linuxcnc.org/docs/2.8/html/gcode/m-code.html#mcode:m19

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #151852 by andypugh
Replied by andypugh on topic VMC related HAL questions.
Well, you do need to set spindle-oriented true or M19 will always time-out.

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #151855 by CNCDoc
Replied by CNCDoc on topic VMC related HAL questions.
Here are the current files.

File Attachment:

File Name: Modig_5000...2-03.hal
File Size:16.19 KB

File Attachment:

File Name: Modig_5000...2-03.ini
File Size:3.69 KB

File Attachment:

File Name: toolchange...2-03.hal
File Size:1.91 KB

File Attachment:

File Name: toolchange...03-2.ngc
File Size:3.59 KB


The error message comes when I load the file 1001.ngc into linuxcnc

Text "Tool in magazine! 03" Coming from my toolchange.ngc


I comment off the line N25 the file (1001.ngc) opens properly.
Code:
% (1001) (T1 D=6.5 CR=0. TAPER=118DEG - ZMIN=-17.153 - DRILL) (T2 D=10. CR=0. - ZMIN=-15.4 - FLAT END MILL) N10 G90 G94 G17 G91.1 N15 G21 N20 G53 G0 Z0. (DRILL2) N25 T1 M6 N30 T2 N35 S3500 M3


File Attachment:

File Name: 1001_2019-12-03-3.ngc
File Size:88.24 KB

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #151856 by CNCDoc
Replied by CNCDoc on topic VMC related HAL questions.

andypugh wrote: Well, you do need to set spindle-oriented true or M19 will always time-out.



forum.linuxcnc.org/24-hal-components/291...ons?start=160#144669


Although I have no Q?

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago - 6 years 10 months ago #151858 by andypugh
Replied by andypugh on topic VMC related HAL questions.
The error message you show is from here:
Code:
(MSG, Checking MagPos 02) M66 P5 L0 ; Check if mag pos is empty? o103 if [#5399 EQ 0] (abort, Tool in Magazine! 03) o103 endif (MSG, Moving arm 04)

So you see the error message because G-code digital input 5 is true.

So, why is that? Is it true?
Last edit: 6 years 10 months ago by andypugh.

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #151859 by andypugh
Replied by andypugh on topic VMC related HAL questions.

CNCDoc wrote: Although I have no Q?


The docs do not say what happens with no Q-word, but they seem to suggest it is not optional.
(but might default to zero)

Please Log in or Create an account to join the conversation.

Time to create page: 0.523 seconds
Powered by Kunena Forum