G-Code

Morten

Member
Join Date
Nov 2004
Posts
1
Hello, PLC programmers!

I'd like to read about combining G-code with PLC Instruction List.

G-code is familiar to me,
it is standarized in ISO / DIS 6983.

possible in other standards.

But when I learn and program in PLC
very little about communicating between G-Code and IEC 1131-3 is published.

Please help,

best regards

morten
 
Hi Morten,
I'm not sure what you mean by "combining". There aren't PLCs programmed in G-code I know of. The only possibility I'm aware is interfacing between these two. And the way it's done is properytary to a manufacturer.
In IEC world there's someting called "motion control library". Set of definitions of functions blocks allowing PLC program to interact/interface with motion control platforms.
 
G code is the language used to program CNC machines.

Usually communication is done by some sore of manufacturer specific function block. Each is different.

M codes for example. Indramat has two FB's. One for recieving the M code where the number is a parameter, and one for acknowleging it.
 
The only PLC piece I can think of that has... no, not G-code, but something very syntaxically similar is one of the servo control modules for Omron C200 (don't remember the actual part number).

G-codes can do many things, but they were designed primarily for complex motion programming. Programming sequential operations with G-codes, although possible, is a royal pain. That's why most CNC controllers support some kind of sequential non-G-code programming - usually a primitive form of good old ladder logic.

PLCs, on the other hand, though capable of doing pretty complex coordinated motions, were never intended to replace CNC things. So it is very unlikely G-codes would ever be supported in a PLC. It is not worth it, IMHO.
 

Similar Topics

Hi All, Someone at work has put a PLC system on my desk, that's just been taken off an idle production line. He said "It's an S7 PLC. We don't...
Replies
10
Views
265
hello, I'm a student and for my final grade I have to repare a sepro robot. the only problem I have for now is that i have an error code 3...
Replies
0
Views
37
I received an email from a student with the following code attached. This is supposed to control a floodgate system, and supposed to be written...
Replies
23
Views
791
I have a machine which is undergoing upgradation. As part of the process two SEW drives are being replaced., existing Gen B with new Gen C. The...
Replies
3
Views
204
I want to set user security level based on the value of a tag in my PLC called "ActiveUser". That tag will contain the A-P code which we use for...
Replies
6
Views
224
Back
Top Bottom