G-code (also RS), which has many variants, is the common name for the most widely used For example, DIN is used in Germany, and PNM- and PN/M were formerly used in Poland. Extensions and variations. NC Programming as per ISO (DIN ) and RS Learn with flashcards, games, and more — for free. NC Programming as per ISO (DIN ) and RSG-Codes simple definitionG00 Rapid traverseG01 Linear interpolation with feedrateG02 Circular.
|Country:||Papua New Guinea|
|Published (Last):||4 September 2013|
|PDF File Size:||3.77 Mb|
|ePub File Size:||15.72 Mb|
|Price:||Free* [*Free Regsitration Required]|
Login to Your Account. Page 1 of 2 1 2 Last Jump to page: Results 1 to 20 of I’ve had this lathe for a few years but mostly have used it as a manual machine, or with the built in cycles.
Din 66025 NC Programming Codes
I would now like to transfer external data from my PC to it either from CAM or by hand writing programs via text editor and transferring them via RS The problem is, the manual is extremely vague as to what this machine accepts as formatting of that code.
I don’t really know if there are special “start” characters, what the position numbers might look like ie X I don’t know if the control accepts spaces What is specified in the dih is that it accepts DIN and that I should have a “DASI ” transfer program assumably just a serial data program. I lucklily have the baud rate and parity and such at least. My experience with Euro machines mostly Deckels is that the formats can be pretty similar and called the same, but a single missing character can error you out.
Grundlagen der CNC-Programmierung (nach DIN ) pdf – CNC Manual
Finding this info through Siemens or Weiler could be a daunting task experience speaking. Many Many Thanks Sean P. I will be cross posting this to the “other” CNC related forum as well. Join Date May Location Ft. Should be able to get some of the context from this manual http: I’ll keep looking for specific program snippets and some of the communication protocols for thier rs interface.
I am posting this for a friend Anthonythat hasn’t been enabled for posting yet. The great control for the dayuses a pretty much generic transfer model: There is no visible closing character. Any readily available teminal software should work for transfer, including hyperterminal. You do need Step 5 software to transfer the PLC.
I was starting to feel pretty stranded. I’ve gotten the SM programming manual from the Siemens site, and it’s useful but like all Siemens and Heidenhain things, seems to be translated from German somewhere and hence leaves out a few details.
For instance, it does not state if spaces are allowed or notor if there is a closing character just doesn’t say, but experience says it still can. In the whole manual they have broken up examples ie [start]MPF[program] but not one single example of complete code.
When it goes wrong, you start grasping at straws like actually typing “[start]MPF[Program]” The incredibly vague 2 pages of Weiler manual doesn’t help either also no complete code example. It states all programs must be called “MPF 1”. Because I have Weiler modules “memory modules” plugged into theI don’t know if this control can actually accept more than one program called exactly “MPF 1” or what? It also doesn’t state things like if the control reports that it accepted the program or not, or just sits there there is no edit screen AFAIK There doesn’t seem to be provision to enter a program number for upload, nor to select one for download.
It just has a softkey to start up or start down. I am now at the point that I was able to download some “data”. It is code of sorts in that it has the subroutine header Not much of a program, but that’s all I can get. While I can download some data, I cannot upload anything so far. It just times out after 30 seconds or so. Since it didn’t work with any of the obvious communication setting combinations, I’ve gone ahead and tried dozens of others. The data output connector of the Weiler is 25 pin, which I have adapted to 9 pin serial, going to COM1 of the computer.
It is the same setup I use for my Deckel NC which is about the same era, and works, but who knows? It’s good at least to know that somebody has one that’s working, and I look forward to Anthony being able to post here. Many Many Thanks Sean. Can you get data out of the control onto your PC?
Which PC operating system are you using? I’m asking so we can fidn out what communication software might be best for your application. Hyperterminal should work and in my limited experience anyway can usually be dialed in a few tries.
Din DASI Siemens Sinumeric Weiler
Do you have Hyperterminal installed on your pc? How is your RS connection made physically? My issue turned out the be the specific settings I was using in Hyperterminal and once I got it figured out, it worked like a charm. If you have hyperterminal as your connection and you have the baud, parity, stop bit, handshake, flow control correct do you have each of those settings documented?
I’d reccomend writing a small program on the lathe.
Grundlagen der CNC-Programmierung (nach DIN 66025)
Will it let you teach in some sequences? If it will, then you should be able to send that program to the PC through the hyperterminal program which will show the basic format. From there, post a code that the machien puts out and we should be dim to parse out the pieces that you need to reverse engineer and be able to write more, expanded code and return it to the xin.
The first thing I’d try if you are at the point of sending code back to the machine is: If that doesn’t do it, I’m sure that there are a few other things that we can try.
First off, the syntax for the header is as follows: I 660255 it cin a difference. First with 4 digit program number: The first mode will display position, etc. The second will display a second set of soft key menu’s. You should have a “program” soft key along with “parameter”, etc then “Main”, “Sub”, and a couple of other item soft keys will appear after the “program” soft key is pressed.
However, it is possible that the customer module has modified this entirely. The customer module is what you refer to the “Weiler Module”. The Siemens controls are very customizeable, one thing that I love about them. We still have many machines with controls in production. It can be used to set defaults, or for the custom screens. Do not delete that file. I can’t remember the settings for the transfer off the top of my head, as we have many, many different controls that I work with.
It will be after the first of the year, but I can check and see what the settings I use are. If I can get the palm I use to transfer programs charged up and it hasn’t forgotten everything I might be able to see what they are sooner.
I do remember there are two settings, one is RTS, I can’t remember what the other one is, but One of them is used for downloading programs and parameters, the other is for downloading the PLC ladder and associated files when using S5. It’s a free one I think, or a demo. It does work though as I can use it on my Deckel NC’s That arrangement is a 6602 pin adapter to what I believe is a standard serial cable, to the OEM 9 pin serial port on the computer.
I have done this with USB before, but too many variables to put that in the chain right now. I will try hyperterminal and check the results.
Thus far, I have now been able to get the control to at least initiate the transfer from the computer. In other words, the PC will “hold” if the control is not in “ready to accept” mode. There is no mention of any kind of “data accepted” dialog or even a “counter” as the data is being received. It doesn’t even say “select program” or even what mode you should be in!
As Anthony mentions in the post below yours, the “Customer Module” may be affecting this heavily. Maybe because it is a hybrid, Weiler removed much of the CNC capability of this control Anthony, thanks for the program. It looks pretty basic. Am I understanding that the number after “MPF” needs to be 4 places spaces for null? You’d think they’d mention that.
The manual states that it must be called exactly “MPF 1”, no mention of substituting 1 for anything, or any mention of using a program ddin other than “1”.
Because the manual nor actually using the control reveals any means to select a program to run, nor load, nor download, I think this control version or module might only have the provision for a single externally written program. I’m unsure about this, but it does seem like a giant step backwards since the T itself appears to allow multiple programs.
Here’s the other funny thing, to load a program, the control asks prior to going into acceptance mode “Do you want to delete the cycles and flowlists” Of course I don’t, but guess what, there is no other choice. The soft keys under that dialog are “Delete” and “cancel”.
Cancel just goes back rin the prior screen. Delete brings up a window that says “Deleting cycles”, followed by the availability of a “start input” softkey. Pushing this brings “control ready to accept data”.