![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Haas Mills Discuss Haas machinery here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I've been reading the manual and trying to figure out what the M-FIN switch does. Right now, M21 is hooked up to the outside M function connector on the side of the haas. If I issue: M51; Then the M21 relay is closed. If I use M61; then M21 relay is turned off. Questions: 1) What does M-FIN do? In the technical manual it says it is normally open (connected to +12V) and closed if connected to gnd. 2) Does the issue of "M51;" wait until it receives a closing of "M-FIN" before processing the next line OR does one need to poll read M-FIN somehow in a loop? 4) How does one "read" M-FIN? Like how would one write the following in G-Code: -turn on M21 relay -if M-FIN is closed then turn off M21 relay -else wait and continuously recheck M-FIN 3) Why is M51 mapped to turn on M21 instead of M21 directly? What does "M21;" do if issued in MDI mode? Thanks in advance for any help! |
|
#2
| ||||
| ||||
| 51 61 do not wait for the mfin and basically stay where you put them until you reset 21 wairts for the m fin you would wire a switch to the m fin and when you close the switch the machine will open the contact basically m21 close contact wait for m fin mfin received open contact m51 close until reset or 61
__________________ REYTECH Machine Service Corp. CNC repair NY, NJ http://www.reytechmachine.com |
|
#3
| |||
| |||
| When the MFin circuit is closed then the machine will continue and you have to program the M code to open the relay contacts.(I forget which it is)
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
|
#4
| |||
| |||
| M51 turn M21 Relay On M61 Turn M21 Relay Off (reset or m30 will also do this) M121 Turn M21 Relay On and Wait for M-fin Input before continuing the program I use the M121 Input with a Robot I/O sending the M-fin signal. Edit* There is also a M-fin Parameter so the M/C will always wait for M-fin at all M21-28 codes. I personally Use M121 so i control when the M/C needs to wait and when it does not. |
|
#5
| |||
| |||
| Ok, as I read this (and please correct me if I'm wrong) you are trying to use an M21 (or 22 or.. ) in combination with a robot system. The way this works in the company I work at is as follows: The M21 calls the robot system, making it load a product. When the robot is done it calls off the M21, making the machine continue it's cycle. So the machine will be stuck in M21 until it get's a signal from the outside to continue. |
| Sponsored Links |
|
#6
| |||
| |||
It's not the same application you're using, but it's similar. We use a limit switch as a broken tool detector. We program the VF5 to drive to the switch, and depress it. Then we fire the M21. We have the switch wired into the M21 relay and the M-fin circuit. That way, if the switch (normally open) is closed by the tool, as soon as we fire the M21, it reads the signal and goes on. If the tool is broke, no switch closes, so the machine sits there and waits. Here's my question. Does anyone know of a way to make the machine alarm out (blink red) is the M-fin isn't made after a certain amount of time? As to the robot, if you fired the M21, the machine would wait for a signal. Once the robot does it's thing, fire an output from it to the M-fin circuit, and the machine would then continue. |
|
#7
| |||
| |||
M96 Jump if no Input (your program here) N50 M21 (m21 for tool check) N60 M96 P100 Q27 (Loop to N100 if spare input [#27] is 0, 0=open) . M30 N100 #3000=1(TOOL BROKEN), programmable alarm that should work for you, Just have to change the Q27 to whatever spare input your M21 is on in diagnostic screen.think its 27 :P Cheers |
![]() |
| 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 |
| Haas Quick Codes | MetalMolder | Haas Mills | 3 | 04-27-2008 08:16 PM |
| Nc PLot and Haas G71 G72 codes | PaintItBlue | NCPlot G-Code editor / backplotter | 10 | 12-08-2007 12:42 PM |
| M-codes and G-codes 4 Matsuura ES-1000V | maximusek | G-Code Programing | 2 | 11-27-2007 06:41 AM |
| custom toolholders for Haas lathes ? | Mike Braddock | Haas Lathes | 4 | 10-02-2007 08:56 AM |
| Haas HL-4 ERROR Codes | altcan | Haas Mills | 27 | 09-13-2005 09:33 AM |