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 2014-06-27 03:07:07

mcam
Beta User
From: Planet Earth
Registered: 2007-06-10
Posts: 81

Okuma MSG Command... Simulate?

Okuma has the MSG command, of which the syntax is:

MSG (THIS IS A MESSAGE)

When the control reads this line, it would output THIS IS A MESSAGE in a popup on the screen, with the close option.

I'd like to simulate this by outputting the message in the message window at the base of the Vericut screen.

How do I define the string? $ doesn't work because (I assume) it should carry a value. whereas this is a string.


New Zealand Vericut Reseller

Offline

#2 2014-06-27 11:54:37

paehv
Senior Member
From: Eindhoven, Netherlands
Registered: 2005-01-17
Posts: 167
Website

Re: Okuma MSG Command... Simulate?

Configuration > Word Format
Define the word MSG as "Macro" > "Alpha-Numeric"

Configuration > G-Code processing
Add the register MSG and use Macro > MessageMacro ( override value = 3, override text = {$$} )
The override value 3 means that the message is an Info message. In the macro selection window select the word messagemacro and press F1 for all the options

Now to make sure that all messages get displayed in the logger window, goto Project > Output options > Messages > Send info maessages > To G-code log and logger


This method is also a good way to tell the vericut user whats going on.
For example: you can let vericut send a message to the logger:
- after a toolchange
- at a program stop (M0)
- to tell what type of measurement is done with the probe
- to inform when a tool breakage action is performend


Patrick Delisse
KMWE Aerospacehttps://www.kmwe.com
(Vericut V9.5, Siemens NX2206, Campost)

Offline

#3 2014-06-30 20:28:02

mcam
Beta User
From: Planet Earth
Registered: 2007-06-10
Posts: 81

Re: Okuma MSG Command... Simulate?

Thanks for the reply. I will try this out today smile


New Zealand Vericut Reseller

Offline

#4 2014-06-30 20:35:59

mcam
Beta User
From: Planet Earth
Registered: 2007-06-10
Posts: 81

Re: Okuma MSG Command... Simulate?

I tried your instructions above but it only returns what is typed in the Override text box ie {$$} in the logger window, not the actual text after the MSG command in the programme.


New Zealand Vericut Reseller

Offline

#5 2014-06-30 20:43:40

mcam
Beta User
From: Planet Earth
Registered: 2007-06-10
Posts: 81

Re: Okuma MSG Command... Simulate?

Got it sorted smile In Word Format, MSG needs to be defined as a text string, not alphanumeric smile

Thanks for your help!


New Zealand Vericut Reseller

Offline

#6 2014-07-01 06:02:10

paehv
Senior Member
From: Eindhoven, Netherlands
Registered: 2005-01-17
Posts: 167
Website

Re: Okuma MSG Command... Simulate?

Strange, I really have it set to alpha-numeric -for all my controllers-
Anyway...
Did you know you can format your message to make it jump out more, or to clearify things.


ex. "### The Following message gets displayed to the operator: {$$} ###"


Patrick Delisse
KMWE Aerospacehttps://www.kmwe.com
(Vericut V9.5, Siemens NX2206, Campost)

Offline

#7 2014-07-01 13:59:38

pawelwmn
Beta User
Registered: 2011-10-28
Posts: 17

Re: Okuma MSG Command... Simulate?

My 2 cents smile

If you have installed VERICUT 7.3.1 you can open a VcProject from Samples: C:\Program Files\CGTech\VERICUT 7.3.1\samples\Siemens\sin840d_prompt_message.vcproject

In this example, you can see an implementation of pop-up windows in VERICUT simulation, you can ask user a questions, or input values to simulation etc.

Maybe this functionality will also useful for You smile

Offline

#8 2014-07-01 23:07:00

mcam
Beta User
From: Planet Earth
Registered: 2007-06-10
Posts: 81

Re: Okuma MSG Command... Simulate?

Great! Thanks for the tips! I will look at these also smile

There really needs to be some updated documentation smile


New Zealand Vericut Reseller

Offline

Board footer