What's new
What's new

Fanuc OM control parameter backup

alienturtle

Aluminum
Joined
Sep 7, 2018
Hey guys. I have a makino leblonde rmc55 mill that i am getting running again. It has fanuc OM controls. I have done a lot of research on getting all the parameters backed up and it seems i can do it. I purchased one of those titan dnc boxes that magnet to the machine. It uses the rs232 port and basically converts to a usb stick. When i tell it to receive it gives me some different options to save the received data as. .txt is one of them. When i tell the cnc to output it goes to the usb on the dnc in a . Txt format or what ever format i tell it. When i put it on the computer and open the . Txt file its just a bunch of mumbo jumbo. My worry is im not saving them correctly and i dont have a backup. Am i doing something wrong. Do i save as a . Txt? Thanks guys.
 

Attachments

  • IMG_20190114_150052.jpg
    IMG_20190114_150052.jpg
    101.7 KB · Views: 373
When i put it on the computer and open the . Txt file its just a bunch of mumbo jumbo. My worry is im not saving them correctly and i dont have a backup. Am i doing something wrong. Do i save as a . Txt? Thanks guys.
Hello alienturtle,
Post an example of what's being displayed when you open the file.

Regards,

Bill
 
Is the box set to 9600,e,7,2?

The box is set to 9600 baud. im not sure about the remaining options. I just got it delivered the same day this post was written.

I did have to change parameter 552 on the fanuc from 10 to 11 which if i read it right 11 is for 9600. Are there any other parameters i need to double check? This machine was purchased used so im not sure what or how they did things. Thanks for the help

Hello alienturtle,
Post an example of what's being displayed when you open the file.

Regards,

Bill

hey bill. i forgot to take a pic before i took off for work. i will post one later tonight but i do remember it lookling like this

f x ~ f ~ ,
x f ~ f x ~ ~ f

just a ton of lines of spaces some x's and random lines. i will get you a picture later tonight.

Is the output something i am supposed to be able to open up read and even edit to throw back in the machine?

Thanks for the help guys
 
Check your I/O settings, found on the parameter page just before the pwe page.

if I/O is set to 0, p552=11 for 9600 baud, p2=1 for 2 stop bits
if I/O is set to 1, p553=11 for 9600 baud, p12=1 for 2 stop bits
if I/O is set to 2, P250=11 for 9600 baud, p50=1 for 2 stop bits.

Also check if your machine is set for ISO (same page as the I/O setting)

I don't know anything about your device there, you will want 9600 baud, 2 stop bits, even parity, data bit 7, as settings in your device.

I doubt the file extension you choose will have any affect on what the text you get out looks like.

When you back up parameters, you should get a text file that looks something like this:

&HE:%
N0001 P 01001100
N0002 P 10000011
N0003 P 00000001
N0004 P 01110100
N0005 P 01110100
N0006 P 01110100
N0007 P 01110001
N0008 P 10000011
....


Here is some reference information:

QVmK35g.png
 
Check your I/O settings, found on the parameter page just before the pwe page.

When you back up parameters, you should get a text file that looks something like this:

&HE:%
N0001 P 01001100
N0002 P 10000011
N0003 P 00000001
N0004 P 01110100
N0005 P 01110100
N0006 P 01110100
N0007 P 01110001
N0008 P 10000011
....

thank you for the help. I will take a look at what my fanuc is set to tonight.

What you have posted above is definitely not what is being sent out in the .txt file so i know something is not right. Im glad i asked! Ill let you guys know thank you!
 
It might be simpler to match the DNC box settings to whatever the machine is already expecting.

In addition to the baudrate, data and stop bits, and parity, there is also flow control to set. Usually Xon/Xoff (software flow control) is used, but hardware (RTS/CTS) is fine if the cable supports hardware flow control.

The RS232 port on the DNC box may or may not be a crossover port- this should be in the documentation. If the port is a crossover port, a pass through cable is needed. If it's a standard RS232 port, a crossover cable is used.
 
Another common way to designate a crossover cable is "Null Modem Cable." You are using the correct cable as far as crossover or pass through goes, otherwise you would get nothing at all.
 
So i found the manual for the titan dnc box i am using. (i am at work so i dont have it in front of me) Here are the setting that i have available to me

1. Flow control
- Software
- hardware

2. Code
- ASCII / ISO
- EIA

3. Baudrate

- 7 options 1200 through 11500. (i have 9600 selected)

4. Data Bits

- 7
- 8

5. Parity

- none
- even
- odd

6. Stop Bits

- 1
- 2

7. line delay (EOL)

- can select 0 through 255 miliseconds

8. protocol

- rs232
- parallel

Just some info before i get home and take a look at the Fanuc settings
 
1. Flow control
- Software
- hardware

2. Code
- ASCII / ISO
- EIA

3. Baudrate

- 7 options 1200 through 11500. (i have 9600 selected)

4. Data Bits

- 7
- 8

5. Parity

- none
- even
- odd

6. Stop Bits

- 1
- 2
Stop bits are actually time delays equaling the length of time of the number of Stop Bits at the Baud Rate being used. 2 Stop Bits at 9600 Baud Rate would equal 2/9600 seconds.

7. line delay (EOL)

- can select 0 through 255 miliseconds

You can play around with this, but has nothing to do with the current output shown in your earlier Post. Set at the lowest value where you consistently get no error in data transfer.

8. protocol

- rs232
- parallel

Just some info before i get home and take a look at the Fanuc settings

Hello alienturtle,
The output you're seeing is typical mismatch settings for:

Baud Rate (Settable at the Control)
Data Bits (Not Settable at the Control
Stop Bits (Settable at the Control)

between the Control Parameters and your External Device. It has Zero to do with the Editor/Word Processor that's being used to open the file. Once you get viable data being received, you may have to play around with Word Wrap setting of the software used to open the file, but you're not at that point yet.

When sending to an external device, an error at the control won't be raised. If you were to attempt to send to the control, its likely that a Framing Error will be raised.

Of the options above shown for your device, use those shown in RED, then set the control parameters to match. You won't be able to change the number of Data Bits used at the Control, so just set Data Bits as 7 at your device. You can change the Flow Control (Hardware - Software) at the control, but you won't find the parameter in most Fanuc Manuals for Flow Control. Its Parameter Bit 391.6, but by default it will be set to use DC Codes (Software).

Regards,

Bill
 
Hello alienturtle,
The output you're seeing is typical mismatch settings for:

Baud Rate (Settable at the Control)
Data Bits (Not Settable at the Control
Stop Bits (Settable at the Control)

between the Control Parameters and your External Device. It has Zero to do with the Editor/Word Processor that's being used to open the file. Once you get viable data being received, you may have to play around with Word Wrap setting of the software used to open the file, but you're not at that point yet.

When sending to an external device, an error at the control won't be raised. If you were to attempt to send to the control, its likely that a Framing Error will be raised.

Of the options above shown for your device, use those shown in RED, then set the control parameters to match. You won't be able to change the number of Data Bits used at the Control, so just set Data Bits as 7 at your device. You can change the Flow Control (Hardware - Software) at the control, but you won't find the parameter in most Fanuc Manuals for Flow Control. Its Parameter Bit 391.6, but by default it will be set to use DC Codes (Software).

Regards,

Bill

Awesome thanks for the help Bill. I will take a look tonight and report back.

If i do get something to output that looks correct i will take a look at the word wrap setting in notepad (i think iv used it before)

Thanks for all the help guys, i will let you know!
 
Well guys with all your help we have output that looks correct! I first checked the dnc box for the correct setting posted above and it all looked correct. The real fix was my i\o setting was a 1 not a 0. So that made my baud rate parameter a 553 not a 552. I changed the 552 back to a 10 and changed 553 to an 11. I changed param 10 bit 4 to a 0 (i guess that unlocks hidden params so they all output?). I went to param screen and hit eob and output start at the same time. After it finished i hit the diag button and hit output start and that finished. Below are my files.

Do they look correct? Does it matter how the lines are split up?

The diag output seemed super short. Is that normal?

I just want to make sure i have a correct backup. I also changed the batteries on the side of the machine while it was on

Anything else i should backup that im not aware of?

I want to thank everyone who posted above for the help!
 

Attachments

  • IMG_20190115_181812.jpg
    IMG_20190115_181812.jpg
    101 KB · Views: 317
  • IMG_20190115_181948.jpg
    IMG_20190115_181948.jpg
    97.4 KB · Views: 214
First 20 lines of my 0M parameters. Follows this format all the way through. I'm guessing that there is some setting in your box that needs to be changed. FWIW, copied and pasted from notepad.

N0001 P 11000100
N0002 P 11000011
N0003 P 00000000
N0004 P 01111001
N0005 P 01111001
N0006 P 01111001
N0007 P 00000000
N0008 P 10000011
N0009 P 01000100
N0010 P 10000000
N0011 P 00000000
N0012 P 00110001
N0013 P 00000000
N0014 P 00000000
N0015 P 00011001
N0016 P 00000000
N0017 P 00000000
N0018 P 00000000
N0019 P 00010000
N0020 P 00000000
 
First 20 lines of my 0M parameters. Follows this format all the way through. I'm guessing that there is some setting in your box that needs to be changed. FWIW, copied and pasted from notepad.

N0001 P 11000100
N0002 P 11000011
N0003 P 00000000
N0004 P 01111001
N0005 P 01111001
N0006 P 01111001
N0007 P 00000000
N0008 P 10000011
N0009 P 01000100
N0010 P 10000000
N0011 P 00000000
N0012 P 00110001
N0013 P 00000000
N0014 P 00000000
N0015 P 00011001
N0016 P 00000000
N0017 P 00000000
N0018 P 00000000
N0019 P 00010000
N0020 P 00000000

Interesting. Thanks for the example. I guess at least i have all the numbers. It just looks like i might have to go through and hit enter to space them all on the correct lines. I wonder if i ever had to reload the params the machine would care at all?
 
..... I wonder if i ever had to reload the params the machine would care at all?

It would load fine, but is hard to read. For your parameters that's probably not an issue, but if you are going to use this to save programs it could be an issue.

On your comms device there may be a setting to ad the LF character after CR.

Check parameter 70 bit 7. I think it will be 1. Changing it to 0 will ouput LF,CR at the end of each line.
 
It would load fine, but is hard to read. For your parameters that's probably not an issue, but if you are going to use this to save programs it could be an issue.

On your comms device there may be a setting to ad the LF character after CR.

Check parameter 70 bit 7. I think it will be 1. Changing it to 0 will ouput LF,CR at the end of each line.

ok i will go ahead and check that. can you explain exactly what that param will do? that is lf? cr? I plan to use fusion 360 for the cad/cam and have that output the g code. i will then put them on a usb stick and use my dnc box to either load to machine memory or drip feed from the dnc box is its too large for memory.
 








 
Back
Top