VMC related HAL questions.

More
03 Dec 2019 12:18 #151843 by CNCDoc
Replied by CNCDoc on topic VMC related HAL questions.
It's just a copy error on my part. If you look in the attached ngc file it is correct Not what is the error here.

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

More
03 Dec 2019 12:44 #151845 by andypugh
Replied by andypugh on topic VMC related HAL questions.

Is this the cause of the error message above?


Nobody but you can know that.

You say that the error message is generated by your tool change remap code. So what causes that error to be printed?

(Does your system actually set spindle-oriented true once the spindle is oriented?)

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

More
03 Dec 2019 12:46 #151846 by andypugh
Replied by andypugh on topic VMC related HAL questions.
If you have already posted your HAL, INI and remap files, then can you give a link to the message (of these 18 pages of messages) where the files are?

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

More
03 Dec 2019 12:47 - 03 Dec 2019 12:48 #151847 by tecno
Replied by tecno on topic VMC related HAL questions.
.
Last edit: 03 Dec 2019 12:48 by tecno.

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

More
03 Dec 2019 13:07 #151850 by CNCDoc
Replied by CNCDoc on topic VMC related HAL questions.
No I use M5 to abort only
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
03 Dec 2019 13:11 #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
03 Dec 2019 13:19 #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 KB

File Attachment:

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

File Attachment:

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

File Attachment:

File Name: toolchange...03-2.ngc
File Size:4 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.
%
(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 KB
Attachments:

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

More
03 Dec 2019 13:26 #151856 by CNCDoc
Replied by CNCDoc on topic VMC related HAL questions.

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
03 Dec 2019 13:34 - 03 Dec 2019 13:34 #151858 by andypugh
Replied by andypugh on topic VMC related HAL questions.
The error message you show is from here:
	(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: 03 Dec 2019 13:34 by andypugh.

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

More
03 Dec 2019 13:38 #151859 by andypugh
Replied by andypugh on topic VMC related HAL questions.

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.598 seconds
Powered by Kunena Forum