Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: rainnea on January 25, 2009, 04:12:37 PM

Title: FileIn ?
Post by: rainnea on January 25, 2009, 04:12:37 PM
What's the correct usage of FileIn ?

I'd like to use this instead of calling a subprogram if that's possible?

thanks,
Rab
www.cnc-toolkit.com
Title: Re: FileIn ?
Post by: vmax549 on January 25, 2009, 05:35:19 PM
Hiya Rab, Are you working in VB or Gcode?

(;-) TP
Title: Re: FileIn ?
Post by: rainnea on January 26, 2009, 05:10:18 AM
This is in gcode.
I'm sure that I had this working a few years ago but can't remember the formating,
I'm currently using P1 to call subprograms (O1....M99) but these are getting very long.

Rab
Title: Re: FileIn ?
Post by: vmax549 on January 26, 2009, 10:32:06 AM
There is no FILEIN command that I am aware of in MACH Gcode. (;-) Just the old SUB routine M98P1 ---o1,M99.

Hope that helps,(;-) TP
Title: Re: FileIn ?
Post by: rainnea on January 26, 2009, 11:36:12 AM
It may have been a vb command but called from within a gcode file ?

Rab
Title: Re: FileIn ?
Post by: rainnea on January 26, 2009, 06:33:07 PM
Where can I download the latest Mach / VB documentation ?
thanks,
Rab
Title: Re: FileIn ?
Post by: vmax549 on January 26, 2009, 07:02:30 PM
THe mach manual is on the Documentaion page and the VB script manual is in the Mach WIKI. There is a link to the manual there.

I don't see mention of the command FILEIN in either. BUT I do recall the filein from another controller language , I think AHHA. I have seen it before somewhere other than in MACH.

(;-) TP