CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > Fanuc


Fanuc Discuss Fanuc controllers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-29-2009, 07:53 AM
Zoner's Avatar  
Join Date: Nov 2009
Location: Cyprus
Posts: 41
Zoner is on a distinguished road
Fanuc 0M Ladders

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.
Reply With Quote

  #2  
Old 11-29-2009, 09:56 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

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.
Reply With Quote

  #3   Ban this user!
Old 11-30-2009, 10:05 AM
Zoner's Avatar  
Join Date: Nov 2009
Location: Cyprus
Posts: 41
Zoner is on a distinguished road

Thank you Al.

Any more info on this subject?
Reply With Quote

  #4   Ban this user!
Old 11-30-2009, 11:20 AM
samu's Avatar  
Join Date: Feb 2007
Location: quebec
Posts: 216
samu is on a distinguished road

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.
Reply With Quote

  #5   Ban this user!
Old 11-30-2009, 04:17 PM
 
Join Date: Apr 2009
Location: Canada
Posts: 363
memoryman is on a distinguished road

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.
Reply With Quote

Sponsored Links
  #6  
Old 11-30-2009, 04:55 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

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.
Reply With Quote

  #7   Ban this user!
Old 11-30-2009, 06:17 PM
Zoner's Avatar  
Join Date: Nov 2009
Location: Cyprus
Posts: 41
Zoner is on a distinguished road

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?
Reply With Quote

  #8  
Old 11-30-2009, 06:41 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

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.
Reply With Quote

  #9   Ban this user!
Old 12-01-2009, 07:28 AM
samu's Avatar  
Join Date: Feb 2007
Location: quebec
Posts: 216
samu is on a distinguished road

Originally Posted by Zoner View Post
Samu, how do you get from "(MLK) wich is G117.1" to "activate G131.7" pls? Do you have any docs?
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.
Reply With Quote

  #10   Ban this user!
Old 12-02-2009, 09:15 AM
Zoner's Avatar  
Join Date: Nov 2009
Location: Cyprus
Posts: 41
Zoner is on a distinguished road

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?
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-13-2010, 09:13 PM
 
Join Date: May 2009
Location: USA
Posts: 25
DougWoz is on a distinguished road

Originally Posted by Zoner View Post
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?
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.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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




All times are GMT -5. The time now is 01:51 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361