![]() | |
| 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
| |||
| |||
Does anybody know if there is a system variable assigned to the pallet that is in a machine? (Mori SH-500) We had an operator bone a spindle because "A" pallet was in the machine instead of the "B" pallet. I want to write a macro that would read the system variable for the pallet and throw an alarm if the wrong pallet was loaded.Thanks, Jason |
|
#2
| |||
| |||
| For the most part... No. You might have a variable that shows a pallet exists, but not which particular pallet. The control (if at all) will track A/B, 1/2 , etc. But its a simple toggle and for reference. A couple ways to do what you're looking for though. You could identify a variable to use that only looks for pallet numbers. Then, depending on how your pallet change program is written, or how you sequence your operations between multiple pallets, will determine how to set up the variable and integers. Another way is to use a machine probe. Do you have one? You can install a pin, bore a hole or use a unique feature for each pallet. By probing for the "identifier" first, the machine can confirm that the correct pallet and the correct program is being run.
__________________ It's just a part..... cutter still goes round and round.... |
|
#4
| |||
| |||
| I am fairly certain that this information is present in a data table address (D380?), but not written to a macro variable. In the drawings for a SH500 that I have, X12.0 and X12.1 are the inputs that show when the A or B pallet is in the machine. If you can edit the ladder, you could write these to macro addresses (G54) you could read in a part program.
__________________ Paul Sevin - Ovation Engineering, Inc. http://www.ovationengineering.com |
|
#5
| |||
| |||
These Macros run off the M60 but you could probobly figure out a way to check with just a sub Bluesman O9001(PALLET CHANGE V1.3) (VER 1.3 - FS/16IM,) IF[#1002EQ1]GOTO1 IF[#1003EQ1]GOTO2 GOTO3 N1 G65P9003 G53 #525=0 #524=0 #520=10000 M99 N2 G65P9002 G53 #525=0 #524=0 #520=10000 M99 N3#3000=10(PALLET CHECK ALARM) M30 O9002(LOAD PALLET #1) (VER 1.2 - FS/16IM ) #33=#4003 IF[#1002EQ1]GOTO10 IF[#1003NE1]GOTO20 M11 G91G30Z0.0 G30B0.0 M10 M61(PALLET 1) N10M11G#33 M99 N20#3000=10(PALLET CHECK ALARM) M30 O9003(LOAD PALLET #2) (VER 1.2 - FS/16IM ) #33=#4003 IF[#1003EQ1]GOTO10 IF[#1002NE1]GOTO20 M11 G91G30Z0.0 G30B0.0 M10 M62(PALLET 2) N10M11G#33 M99 N20#3000=10(PALLET CHECK ALARM) M30 |
| Sponsored Links |
|
#6
| ||||
| ||||
eg M71 pallet A M72 pallet B M84 Pallet A M95 pallet B eache machine builder uses different pallet recognition codes
__________________ If you can ENVISION it I can make it |
|
#7
| |||
| |||
| I agree with cnc-king, check for and use the M-codes the machine tool builder SHOULD have setup. But also keep in mind what psychomill said. It is possible to take the pallets out of the machine and swap them. Resulting in your pallet ID reversing. Dale |
|
#8
| |||
| |||
| Thanks everybody for the ideas. I went ahead and assigned a variable that is not used to the pallet change sub and then added two G codes for each pallet to be added to the tool safe line, similar to what Bluesman suggested. Here's what I did, it works: A pallet #519=1 Parameter #6055=100 G100 code B pallet #519=2 Parameter #6056=200 G200 code ***********Add the following to the Pallet sub after the M60 before M99 N10 IF[#519 EQ 1]GOTO20 GOTO30 N20 #519=2 GOTO50 N30 IF[#519 EQ 2] GOTO40 N40 #519=1 GOT050 N50 *********** G100 A pallet check O9015 N10 IF[#519 EQ 1] GOTO 40 N20 IF[#519 NE 1] GOTO30 N30 #3000=1(WRONG PALLET IN MACHINE) N40 M99 *********** G200 B pallet check O9016 N10 IF[#519 EQ 2] GOTO 40 N20 IF[#519 NE 2] GOTO30 N30 #3000=1(WRONG PALLET IN MACHINE) N40 M99 |
![]() |
| 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 |
| System variable for tool in ready position | Dana099 | Mazak, Mitsubishi, Mazatrol | 5 | 07-20-2007 03:30 PM |
| Multi pallet machining system...?? | REVCAM_Bob | General Metalwork Discussion | 0 | 02-08-2007 07:18 PM |
| System variable for spindle tool Fanuc 15m | pieface | Fanuc | 8 | 06-01-2006 06:37 AM |
| Map your location | Rekd | CNCzone Club House | 20 | 10-20-2005 09:49 PM |
| location? | fastolds | Surfcam | 11 | 12-02-2004 01:58 AM |