Andy,

Siemens high level is much like fanuc macro logic and LinuxCNC o code. It
works within a g code environment while offering more a more in depth
scripting language than fanuc macro b can offer.

A comparison would be:

fanuc:
G0 G90 G54 X#100

Siemens
G0 G90 G54 X=R0

Fanuc:
#100=0
While [#100LE10.]Do1
(Code)
#100=#100+1
End1

Siemens
R0=1
While(R0<=10)
(Code)
R0=R0+1
Endwhile

Or

For R0 = 0 to 10
(Code)
Endfor

Siemens offers gud variable tables to be used instead of R variables and
local variables are defined in a def statement at the top of the program as
well as the ability to use arrays.

I don't think this would require a different interpreter, just providing
some information on other control logic technologies 😊

Phil T.
The Feral Engineer

Check out my LinuxCNC tutorials, machine builds and other antics at
www.youtube.com/c/theferalengineer

Help support my channel efforts and coffee addiction:
www.patreon.com/theferalengineer

On Tue, Jul 27, 2021, 11:14 AM andy pugh <[email protected]> wrote:

> On Tue, 27 Jul 2021 at 16:03, Feral Engineer <[email protected]>
> wrote:
>
> > In fact, anyone that prefers programming languages over G code would love
> > Siemens high level because it's fairly close to a programming language in
> > functionality. No other control I've been on let's you define string,
> > integer and real number multi dimensional arrays. It's great for creating
> > point clouds with a probe.
>
> LinuxCNC supports pluggable interpreters. It is entirely possible to
> run it with code other than conventional G-code.
> There is only one example pluggable interpreter in the standard
> distribution, and that uses input files looking like:
>
> https://github.com/LinuxCNC/linuxcnc/blob/master/configs/sim/axis/canterp_example.can
>
> There has been sporadic interest in writing a STEP-NC interpreter, but
> I don't think it has ever got very far.
>
> It is easy to imagine writing interpreters for Gerber or position
> (pick and place) files, though.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to