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 2007-04-17 13:11:43

machzero2003
Member
From: Middletown, CT
Registered: 2006-10-11
Posts: 5

Simulate logic using system variables - DPRNT

Has anyone a good way to simulate logic using system variables?

:?:

In this case I am trying to do a comparison using #4000 [#_MAINO] on a fanuc control.  This stores the 4-digit number of the main program number.   Also using #4115 [#_BUFO] (modal information of blocks up to the immediately preceding block (program number).

example:

IF[#4000NE#17]GOTO14

Now... can Vericut keep track of this kind of thing?  Is it capable or do I just have to fill these kinds of systems variable checks with dummy code?

Another one is [#_CLOCK1] which is #3001.  Vericut keeps track of cutting time during cutting, but could it keep track of time using a system variable for time?

Oh, one more... also, is it possible to simulate DPRNT output?  Can a running .txt file be created for output from a control?


“By perseverance, study, and eternal desire, any man can become great.”
-General George S. Patton, Jr.

Offline

#2 2007-04-18 21:35:20

vhubbard
Beta User
From: Dallas, TX
Registered: 2004-11-11
Posts: 222
Website

Re: Simulate logic using system variables - DPRNT

The #4000 values can be defined when the G,M, T or O value related to them are called.  This has to be defined in the control files.

Example

    WORD_VALUE "G" "40" {
        VARIABLE "4007"
        MACRO "CutterCompOff"
    }
This will set #4007 to 40.

For the clock look at TurnOnOffRealTimeClock in the Help files.

DPRNT and related not supported.  Turn it in as an enhancement to customer support if you need it.  The more requests, the better I think.

Offline

Board footer