![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Fanuc Discuss Fanuc controllers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
Can anyone please explain some things about Fanuc Ladders... Are they what I would normally call Microcode? Where are they stored in a 0M controller? Can they be seen? Can they be called from a macro to do certain small functions like move an axis? Can they be saved to a PC like the parameters? Is there another way to make a backup copy to prevent a disaster? Thanks in advance. |
|
#2
| ||||
| ||||
| Depends on the model the early 0 models could not display it, the parameter to turn it on in the later ones is P0060 bit #2 set to 1. They are commonly stored in eprom, the ladder is written in a display format based on Boolean logic. All the M,S,T codes are decifered in the ladder logic. There is a bus called the BMI, Basic Machine Interface which has registers, Gxxxx and Fxxxx, to allow the CNC side to communicate back and forth with the ladder (PMC). Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#4
| ||||
| ||||
| You can read and write on some PMC variable via a macro but it is limited. system variable #1000 to #1015 are used to read some PMC data and system variable #1100 to #1115 are used to write on PMC data but they have to be already linked in the ladder logic. #1000 to #1015 are linked to G130.0 to G131.7 in the ladder. #1100 to #1115 are linked to F162.0 to F163.7 in the ladder. On my machining center, in the ladder logic machine lock button (MLK) wich is G117.1 activate G131.7. So I can read the state of the machine lock button via a macro with the system variable #1015 and use it in conditional sentence like IF[#1015 EQ 1] GOTO 50. But it is the only thing that is linked in the ladder logic so i cannot read or write anything else without altering the ladder. All this info is for a 0M-D control. If you can see your ladder, look for G130.0 to G131.7 and F162.0 to F163.7 and you will know wath you are able to do from macro. |
|
#5
| |||
| |||
| I am going to correct you, Al. The BMI is not a bus but a simple standard interface using pre-assigned i/o that corresponds to another control, such as FS3, FS6 for those machine toll builders who want to maintain consistent interfaces between the various Fanuc controls. To my knowledge, the BMI was not available on the '0' series. |
| Sponsored Links |
|
#6
| ||||
| ||||
| In some controls it could conceivably be other than common bus registers, I am going by my Fanuc course notes for the 15 where it was taught that the BMI is a communication bus between CNC and PMC co-processors using G and F registers. The 15 Connection manual is also labelled BMI interface and is a list of the pre-assigned registers. The important thing is the concept as to my knowledge there is not many commercial CNC's that do not have co-processors for CNC and PMC. I realize that before the 0 the CNC communication consisted of pre-assigned inputs/outputs and the MTB was free to use relay logic or any 3rd party PLC to integrate the machine control. Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#7
| ||||
| ||||
| Right, so what I understand then is that there are 16 General registers and 16 Floating-point ones? Or is it just 16 G-bits and 16 F-bits? Are they bi-directional or is it e.g. F in and G out? Samu, how do you get from "(MLK) wich is G117.1" to "activate G131.7" pls? Do you have any docs? |
|
#8
| ||||
| ||||
| G = PMC > CNC , F = CNC > PMC. 8 bit registers, Not bi-directional. It is a long time since I integrated a 0, I have since gone over to Mitsubishi, they use exactly the same concept. Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#9
| ||||
| ||||
|
It is in the FANUC 0 series maintenance manual that all the PMC signal are listed. It is FANUC that linked MLK to G117.1 but it is the machine tool builder that wrote the ladder to activate G131.7 by the MLK button. |
|
#10
| ||||
| ||||
| OK, great info, I have a less-dim idea of it now. To complete a little more info... Can they be backed up to the PC and restored when needed? Or is it only by copying the physical EPROM(s) to (an)other EPROM(s) or to a file using an EPROM Programmer? |
| Sponsored Links |
|
#11
| |||
| |||
|
According to Fanuc CNC America, They are not able to download the ladder program from the older machines, (example: 0M controls 1986 but they can copy the Eprom if your willing to send it to Chicago). And Hardinger LLC. UK. If you need the ladder program you have to get in contact with them, it is preparatory information. They will if they can provide the EPROM. for a price. I know because I'm negotiating with for the Eprom for my machine. Due to a E01 error. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GE Fanuc & FANUC proprietary posts | CNCadmin | Fanuc | 44 | 01-05-2012 08:54 AM |
| FANUC & GE FANUC Repairs | RRL | Product Announcements & Manufacturer News | 1 | 04-17-2011 11:50 AM |
| can fanuc ac digital servo amplifiers be run by a controller other than fanuc? | js412000 | Servo Motors and Drives | 5 | 03-09-2011 09:11 AM |
| Fanuc & GE Fanuc Repairs | RRL | Product Announcements & Manufacturer News | 0 | 10-01-2008 12:42 PM |