VERICUT Users' Forum

Due to relentless spammers, we are no longer automatically accepting new forum registrations. If you wish to register for this forum, please send an e-mail to: info@cgtech.com

You are not logged in.

#1 2008-09-29 12:20:20

arobustus
Member
From: Providence, RI
Registered: 2006-05-13
Posts: 18

Can I read an "A" value when it follows an "M" value?

I am trying to get a control to read the A value in the line
M221A1
but I never see the message that I have in

SUPERGROUP "Registers" {
WORD_VALUE "A" {
[snip]
COND_AND "M" "221"
COND_STATE_AND "SUBSYSTEM" "1" {
MACRO "MessageMacro" {
OVERRIDE_VALUE 3 TEXT_OVERRIDE_VALUE "Z1/A1 axis exchanging on"
}
}
Does not matter what I put under SUPERGROUP "M_Misc" for M221, IgnoreMacro, NullMacro, or nothing at all, it still never gets there.
I don't want to get into axis exchange or swapping just yet what I am trying to do is get it past this line without a move of the A axis (normally VAxisMotion) so I can proceed to other things.
Do M values automatically preempt reading of the rest of the line?
If I try it under SUPERGROUP "M_Misc" and include under "M221" COND_AND "A" "1" then is there a way to temporarily suspend the VAxisMotion movement called for in register A?:
SUPERGROUP "Registers" {
WORD_VALUE "A" {
[snip]
}
COND_STATE_AND "SUBSYSTEM" "1"
COND_VAR_AND "CGT_CLAMP_PART_SPINDLE1" "1" {
MACRO "VAxisMotion"
MACRO "ProcessMotion"
}


Thanx,
-plh


I keep pressing "Esc"...
but I'm still here!

Offline

#2 2008-09-29 15:29:50

MustaphaC
VERICUT Specialist
From: Le Mans, France
Registered: 2004-10-14
Posts: 130
Website

Re: Can I read an "A" value when it follows an "M" value?

Make sure that your condition A* with M221 is above the A* with nothing (A**)


Mustapha

Offline

#3 2008-09-29 17:15:24

arobustus
Member
From: Providence, RI
Registered: 2006-05-13
Posts: 18

Re: Can I read an "A" value when it follows an "M" value?

It is.


I keep pressing "Esc"...
but I'm still here!

Offline

#4 2008-09-30 06:58:48

MustaphaC
VERICUT Specialist
From: Le Mans, France
Registered: 2004-10-14
Posts: 130
Website

Re: Can I read an "A" value when it follows an "M" value?

To see "MessageMacro" OV = 3 you have to send the "Info messages" to the Logger.
To do so: Project > Processing Option > G-Code > Process Options... : Go to "Messages" tab, choose "To the Logger" to for "Send Info Messages".
Or change OV = 2 to get a warning


Mustapha

Offline

#5 2008-10-01 12:02:09

arobustus
Member
From: Providence, RI
Registered: 2006-05-13
Posts: 18

Re: Can I read an "A" value when it follows an "M" value?

MustaphaC wrote:

To see "MessageMacro" OV = 3 you have to send the "Info messages" to the Logger.
To do so: Project > Processing Option > G-Code > Process Options... : Go to "Messages" tab, choose "To the Logger" to for "Send Info Messages".
Or change OV = 2 to get a warning

It was already set that way.
Thank You,
-plh


I keep pressing "Esc"...
but I'm still here!

Offline

#6 2008-10-01 15:28:17

MustaphaC
VERICUT Specialist
From: Le Mans, France
Registered: 2004-10-14
Posts: 130
Website

Re: Can I read an "A" value when it follows an "M" value?

At this point I think the best way is to send your files to CGTech support (just control and sample G-code file)
Mustapha


Mustapha

Offline

Board footer