![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Okuma Discuss Okuma machines here. |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
Hi All, I have a Okuma MA600HB with a OSP-E100M controller. Have been trying to get a program running that will detect if the Thru-Spindle Coolant switch is ON or OFF. Looking at the Electrical book I can see an entry in the table listing the "Operation Panel Output List" call opOHLL. Using the I/O Monitor and searching for the above output, I can see that I am looking at the appropriate signal (turns on and off as the button changes state). The code listed in the manual shows ID106 Bit 2 as being the item I am looking for. In the box for this item it also states "Oil Hole opOHLL (OUT041)" On the I/O Monitor there is two states mentioned, Logical and physical. The data on the Logical condition is: ADDR 003 Bit 2 (as in Address Zero Zero Three) Physical Information is: ADDR 006 Bit 2 I have tried detecting the state of this bit by using the following code: IF [VORD[1062] EQ 0] N... This gave no alarm, nor did it work. Trying: IF [VORD[1049] EQ 0] N... Gave the same results... nada! Trying this: IF [VORD[opOHLL] EQ 0] N... gave an alarm in respect to the fact that it did not like the use of opOHLL. Can anyone tell me what code I need in order to check the state of this switch? Thanks Brian. |
|
#2
| ||||
| ||||
| Finally solved the problem, with some help from Okuma Australia! Ended up looking at the IO monitor on the system and searching for the "opOHLL" keyword. When displaying this value, you can choose to display either the Logical or Physical address of the data. For some reason, you need to use the Logical address information and not the Physical address. The Logical address of the button was Address 003 Bit 2... so translating into a VORD command I was able to use the following: OCLRS (CLEAR THRU SPINDLE COOLANT) (SETUP AS M209) M132 (IGNORE SINGLE BLOCK) IF [VORD[0032] EQ 0] NM9 (DETECT IF THRU SPINDLE COOLANT IS ON) M9 (TURN OFF MAIN COOLANT) M339 (CLEAR THRU SPINDLE) G4 F10.0 (WAIT FOR 10 SECONDS) NM9 M9 (TURN OFF M339) M133 RTS Saving this file as a Library file (*.LIB) and linking to the M209 command, I can now get an appropriate coolant off, where if no thru spindle coolant is used, a simple M9 is used or a flush of the spindle is used when Thru Spindle Coolant has been on. Now to just replace all the M9's in all the programs with M209 and whoohoo off we go! Brian. Last edited by broby; 04-08-2009 at 06:50 PM. |
|
#3
| ||||
| ||||
| Hi Brian Sorry couldn't assist with your prob. noticing you have a horz. pallet machine and just sharing this OKUMA MA40 HA variables post #6 the .ZIP attachment ( similar to your M209 , you may wish to poach other items for your .LIB file ) PS. I suppose it has the turn-cut function as well ? half your luck ! I assume Noel helped with the coolant issue ??? Cheers Steve |
|
#4
| ||||
| ||||
| reading and wondering ... why You need to check status of command given by You? in that case You can use separate variable, equal to coolant switched condition. Please, explain, how it happens, that You need to check if coolant through spindle is on? |
|
#5
| ||||
| ||||
| Hi Steve, No Noel did not assist me on this occasion... I spoke to Matt D. instead. NW can be a hard person to get hold of, being a man in demand all the time! Took a couple of goes to get the correct format of the VORD command correct, as availability of the machine was limited to early first thing in the mornings only. ![]() Do not have the Turn Cut function on this machine... unfortunately! Looks like it would be a great bit of functionality. Algirdas, The reason for wanting to detect the state of the button is so that all M9 commands can be replaced with the M209 custom macro command. Thus any time the coolant is turned off, the spindle will be cleared as appropriate. If the external coolant is on, then no air thru the spindle is used, only when coolant is going thru the spindle is there a need to use air thru the spindle to clear it. If I use internal air all the time, it can build up pressure behind the tool in the spindle and cause problems. (when a solid pull stud is used). In the past if a tool is in the spindle for a long time, doing much work, and has a solid pull stud and thru coolant is, or has been active, it can cause the tool to become jammed in the spindle... not good! Setting, or passing in a variable to a routine would not work either, as the button is either ON or OFF! If the button is ON and M209 is used, then spindle will be cleared automatically. Hope that clears up the reason. Regards Brian. |
| Sponsored Links |
|
#7
| ||||
| ||||
| There is not many "solid" pull studs, he's implying that thru coolant can't be used
|
|
#9
| ||||
| ||||
| When refering to a "Solid" pull stud, I mean a pull stud that has no hole through the centre for thru spindle coolant. Our old MC600H did not have thru spindle coolant and therefor no need to buy hollow pullstuds. |
![]() |
| 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 |
| Laser for detecting cracks | aceofbase | Mechanical Calculations/Engineering Design | 3 | 09-19-2006 09:32 AM |
| limit switch and home switch setup | Runner4404spd | General Electronics Discussion | 0 | 12-15-2005 08:58 AM |
| Is it possible to use the home switch as the limit switch as well? | Darc | Mach Software (ArtSoft software) | 2 | 10-23-2005 01:50 AM |
| Limit Switch / Home Switch in Software | Sanghera | General Electronics Discussion | 6 | 11-01-2004 06:58 PM |