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 2024-12-05 13:36:59

GrazianoF
Member
Registered: 2018-10-30
Posts: 6

Store variable "R"

Hi,
I have a line like this: N33002G201R33001 (TURN ON REPEAT G201 AND RETURN TO LINE N33001).
Does anyone know how I could read the numeric value after the "R" and then put it into a variable #18? Only in a string with G201.
The G201 code is a call (CallSubName) to a subroutine that uses this variable.

Offline

#2 2024-12-09 12:51:01

Tony
Moderator
From: Crewe, England
Registered: 2007-02-20
Posts: 181
Website

Re: Store variable "R"

Which control is this for?


Tony

Offline

#3 2024-12-19 08:31:56

GrazianoF
Member
Registered: 2018-10-30
Posts: 6

Re: Store variable "R"

Sorry, I did not see the reply,
Fanuc

Offline

#4 Yesterday 10:11:55

Tony
Moderator
From: Crewe, England
Registered: 2007-02-20
Posts: 181
Website

Re: Store variable "R"

You could maybe try something like this, though I'm not sure what else you may be doing.

Add a Condition under R for G201 > define Variable 18 with an override value of $


Tony

Offline

Board footer