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 > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-22-2007, 09:38 PM
 
Join Date: Nov 2006
Location: USA
Posts: 46
premier_industr is on a distinguished road
Mori Seiki MV45 Yasnac MX1 Help Please

Can anyone here please explain how to set work coorinadinants on this control ?

It has been kicking my ass for the last few days.

We bought this machine used with no manuals "yet".

I'm familiar with the Fanuc style programming using G54-G59 and I would like to stay with this format but I am not sure if the MX1 control supports it.

I think that at the time the machine was built it was an option and I am not positive that it is on the machine.

From what I can tell, you can load coordinants into the machine parameters #6516 etc. to tell the machine G54-G59 etc values.

What values do you load ? ( machine position values ? )

But how else would you tell the machine where the part is ?

G92 ? I'm not familiar with this code and have heard alot of bad things about it.

Please help.
Thank you.
Reply With Quote

  #2   Ban this user!
Old 01-23-2007, 10:34 PM
 
Join Date: Jan 2007
Location: USA
Posts: 355
Eurisko is on a distinguished road

Hi,

I have experience with a Mori MV-40 with a Yasnac control.

Our control provides only 3 different work offsets, G54 G55 G56.

Coordinate values can be preset by the program or input manually by repeatedly pressing the "Settings" button until the work offsets page is displayed.

Use the absolute/relative toggle button to switch between INPUT/INPUT+ (Fanuc style). Cursor to the desired offset/axis, type the new coordinate value and press WRITE (Enter).

It's easier to DO than describe


To change these values through the program:

We'll input the coordinate values X+1.0000 Y-2.0000 Z-3.000 into G54.
Here's the block of program code:

N1 G10 L2 P1 X+1.0000 Y-2.0000 Z-3.0000

(Note: The 'P1' in line N1 references G54.
Substituting P2 would reference G55, P3 would reference G56.)

Now, we'll make G54 active and rapid to our new zero point

N2 G90 G00 G54 X0 Y0


All work offsets are referenced from machine zero.

Hope this helps...
Reply With Quote

  #3   Ban this user!
Old 01-23-2007, 11:41 PM
 
Join Date: Nov 2006
Location: USA
Posts: 46
premier_industr is on a distinguished road

I thinkI got it to work, pretty much like you described.

The only thing I had to do before trying to run the program is send the machine to the G53 X0Y0 and type in G52, then start the program using G54.
The program would continue to run just fine after this.

This is the only way that I could get the machine to load the G54-G59 values.

Is this right ?

I have not tried the G10 code but I think that I will also give this a shot.

Thanks for the help !!
Reply With Quote

  #4   Ban this user!
Old 01-24-2007, 04:46 PM
 
Join Date: Jan 2007
Location: USA
Posts: 355
Eurisko is on a distinguished road

Glad to help.

Our controller is a Yasnac I80M, wasn't sure about that when I posted last night.

When using the program to set the work offset, you may have to put a G90 before the G10 (on the same line) .

I have NO idea why the G53 / G52 codes are needed on your control, but if it works, go for it. Probably resets the work coordinate system to the default condition.

Yasnac controls sometimes behave strangely. Such as jumping to a random spot in the program when the reset button is pressed. Not every time, just sometimes.

Makes it interesting when rerunning a tool.
Reply With Quote

  #5   Ban this user!
Old 01-24-2007, 10:17 PM
 
Join Date: Nov 2006
Location: USA
Posts: 46
premier_industr is on a distinguished road

Do you usuall y use the G10 code to load the offsets ??

Or do you type them into the parameters manually ??

Your previous answer brings up another question I have.

This control will not let me start a program unless it is from the very begining.

For instance, I have a 2 tool job, spot drill and then drill.

If I spot all the holes and then make a tool change to the drill, hit reset, check hole locations ect. It will not let me start at that point in the program.

I get an alarm something like "reset is not correct".

After hitting reset and scrolling back down to the drill portion of the program, hit cycle start, same alarm.

WHY ??
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-25-2007, 06:29 PM
 
Join Date: Jan 2007
Location: USA
Posts: 355
Eurisko is on a distinguished road

Do you usually use the G10 code to load the offsets ??
This machine uses a touchsetter to establish the work offset. The machined part has to be concentric within .004 TIR from the previous lathe operation.
The G10 code sets the work offset close enough for the touchsetter to find the bore. The touchsetter routines then 'tweak' the offset, usually within .001 TIR.

On rare occasions when the touchsetter isn't used I manually zero the fixture using the work coordinates screen.

This control will not let me start a program unless it is from the very begining.

For instance, I have a 2 tool job, spot drill and then drill.

If I spot all the holes and then make a tool change to the drill, hit reset, check hole locations ect. It will not let me start at that point in the program.

I get an alarm something like "reset is not correct".

After hitting reset and scrolling back down to the drill portion of the program, hit cycle start, same alarm.

WHY ??
That's a tough one to answer. All of the Fanuc controls I've seen (& the Yasnac) operate similarly. Very easy to start from ANY point in the program.
Unfortunately, a reset will set the control to a default state. It's hard to determine what the 'default' state is without documentation. If a tool is cycled after a reset, you can't assume that your cutting parameters haven't changed.

We use 'safe start' lines for each tool. These lines of code initialize the control to a known state ( inch system, xy plane selection, work offset, etc) before the tool is used. In your case, you may have to copy the initialization code at the beginning of the program and paste it at these 'safe start' points.

Personally, when rerunning a tool, I press the 'EDIT' button, page down or cursor down to the safe start line, then press 'EDIT' again to go into 'AUTO" mode. I press reset, make sure that the control hasn't randomly jumped to the wrong line, then 'CYCLE START' .

If your control has a 'mid-auto manual' feature ( Okumas do ), you can interrupt the program, jog the table, move the spindle, etc., and continue on with a press of the 'sequence restart' button. Very handy.

I wish I could be more help! These controls really require the 'hands on, trial-and-error' approach. There are many ways of getting the job done, even if you have to use subroutines or GOTO blocks to jump around.

Your machine wouldn't happen to be in Ohio or Michigan, would it? It sounds like a challenge...
Reply With Quote

  #7   Ban this user!
Old 10-21-2011, 04:59 AM
 
Join Date: Nov 2006
Location: U.S.A.
Posts: 3
danohpsp is on a distinguished road

I have and MX1 and two Yasnac 3000G's.

The MX1 does have the G54-G59 command. With this, you just put the coordinates of the fixture in particular parameters in the machine. Once the coordinates are entered in the parameters, when you use G54 or similar, the machine switches to the new coordinate system.

You can also use the G92 code, which I think is easier. On the Yasnac 3000G's you do not have the G54-G59 codes available so you must do it this way. I normally start my programs like the following:

G17G40G80G90G49G98
(this is just some setup stuff)
/G91G28X0Y0
(go in incremental mode so that a motion does not occur before return to zero G28 is issued, then go back to the machine's zero in X and Y)
/G91G0X-10Y-3 (run to the zero of the fixture. Here we assume that X-10 and Y-3 is where the fixture is.)
/G92X0Y0 (once you are at the fixture location, use G92 to make this the new zero point, similar to doing an ORG)
G90 (go back into absolute mode)

The / command is in front of these codes is in order to allow you to not have to run back to the machine home every time you press start to run a new part. If you flick up the block skip switch on the machine, the machine will just skip this zero fixture point setup on the next run, since it is already positioned on the new coordinate system. Be very careful in the rest of your code if you use this block skip feature, especially if you stop the machine mid-cycle and manually ORG something out. It does not hurt as a safety feature to run to leave the block skip off and run to home every time especially if the program is large or being drip-fed. If you forget to flip off the block skip feature at first power up of the machine, most likely you will hit an axis limit on your first run of the program.

By the way, on the 3000G's, don't include comments in the code because the control does not support comments. Otherwise these are all good easy to use controls.

Hope this helps. By the way, Yasnac manuals for the old controls are available from Yaskawa's website at www.yaskawa.com
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
Mori-Seiki SL-0 / Yasnac LX1 Alarm Code 332 Help!?! larrynsr Machine Problems, Solutions , Wireless DNC, serial port 2 07-25-2011 10:59 PM
Mori Seiki MV45 Yasnac MX1 Help Please premier_industr General CNC (Mill and Lathe) Control Software (NC) 2 12-05-2008 09:14 AM
Hitachi Seiki with Yasnac LX1 besc General Metalwork Discussion 14 12-20-2007 08:35 PM
Cnc Milling Problem (mitsui Seiki- Yasnac Mx1) le_hungvn General CNC (Mill and Lathe) Control Software (NC) 0 11-16-2006 01:44 AM
Hitachi Seiki with Yasnac LX-3 Error dannyboysd89 General CNC (Mill and Lathe) Control Software (NC) 7 08-08-2006 07:54 AM




All times are GMT -5. The time now is 08:17 PM.





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