![]() | |
| 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
| |||
| |||
I'm having trouble with a few things on this control. My biggest frustration is I am unable to get the VUACM variable to work right. If I type Code: VUACM[1]=$434241 VDOUT[991]=1000 Also I can't find the macro registration screen in parameter set. I can write and call .SSB's using CALL but I would like to register some of these to G205 etc. Why can't I find this page? I'm not new to these machines, only this control and I'm starting to wonder if the registration is an add on option. And last but not least I would like to find out which bit is responsible for the chuck clamp/unclamp state. I would like to use VDIN[whatever] to check for unclamp to prevent an alarm which requires a total reset of the main program. Does anyone know this bit number or know where I may be able to find it? Thanks guys, I've been beating my head against the wall for days on this and I'm getting nowhere. |
|
#2
| ||||
| ||||
| Hi Compuslave, I use the following code chunk to refer to when programming user programmed alarms, has worked for me without any problems so far. The first part is a test program to see if all is working when trying to generate an alarm on the machine. The subprogram could be used as a generic alarm routine... Note the use of the single quote characters when defining the error message. Much easier to define the message like 'CHECK TOOL' than using hex codes to define the message. IF [VC1 EQ 1] NALMA IF [VC1 EQ 2] NALMB IF [VC1 EQ 3] NALMC IF [VC1 EQ 4] NALMD GOTO NEND NALMA VNCOM[1]=1 MSG(ALARM LEVEL "A") VDOUT[993]=1 NMSG VNCOM[1]=0 GOTO NEND NALMB VNCOM[1]=1 MSG(ALARM LEVEL "B") VDOUT[992]=1 NMSG VNCOM[1]=0 GOTO NEND NALMC VNCOM[1]=1 MSG(ALARM LEVEL "C") VDOUT[991]=1 NMSG VNCOM[1]=0 GOTO NEND NALMD VNCOM[1]=1 MSG(ALARM LEVEL "D") VDOUT[990]=1 NMSG VNCOM[1]=0 NEND M2 * * * * OALRM (ALARMOUT SUB) IF [ALRM EQ 1] NALM1 IF [ALRM EQ 2] NALM2 IF [ALRM EQ 3] NALM3 IF [ALRM EQ 4] NALM4 IF [ALRM EQ 5] NALM5 IF [ALRM EQ 6] NALM6 IF [ALRM EQ 7] NALM7 IF [ALRM EQ 8] NALM8 IF [ALRM EQ 9] NALM9 (******************) NALM1 (*ALARM 1*) VUACM[1]='MESSAGE...' (ALARM TEXT, MAX 16 CHARS) VDOUT[993]=1 (ALARM NUMBER AS SHOWN ON SCREEN) (993 WILL GENERATE A LEVEL "A" ALARM) ******************** NALM2 (*ALARM 2*) VUACM[1]=' ' VDOUT[993]=2 ******************** NALM3 (*ALARM 3*) VUACM[1]=' ' VDOUT[993]=3 ******************** NALM4 (*ALARM 4*) VUACM[1]=' ' VDOUT[993]=4 ******************** NALM5 (*ALARM 5*) VUACM[1]=' ' VDOUT[993]=5 ******************** NALM6 (*ALARM 6*) VUACM[1]=' ' VDOUT[993]=6 ******************** NALM7 (*ALARM 7*) VUACM[1]=' ' VDOUT[993]=7 ******************** NALM8 (*ALARM 8*) VUACM[1]=' ' VDOUT[993]=8 ******************** NALM9 (*ALARM 9*) VUACM[1]=' ' VDOUT[993]=9 ******************** RTS When trying to setup a user-defined G/M code macro you have to do three steps... 1. have your program in a file with the extension of .LIB 2. go to the parameters page on the controller and select the G/M Code screen and along side the code you want to use, type in the subprogram name you are using in the .LIB file. i.e. the "O" name, not the actual filename! 3. Go to the main program page and you should see a button on the screen for registering Library files, press this button and then select your Library file. The machine will then read in all the sub programs within the selected LIB file. Last and most important step, sit back and enjoy the ease of use with your new G or M code! If you need to change your subroutine, you need to delete the registration and then re-register the LIB file again. This process works on an old OSP5020M and also on a OPS-E100M controller! Much easier on the new controls! Cheers Brian. |
|
#5
| |||
| |||
| Unfortunately I have not had a chance yet. I've been to busy to stop. I did some tinkering and discovered that it didn't like my choice of apostrophes and that was causing some of my alarms. I am interesting in exploring this VCOM variable you use though. |
| Sponsored Links |
|
#6
| ||||
| ||||
| Yeah, you have to make sure you use the single apostrophe ' not the double quotes " when using the user alarm coding. Also make sure your alarm string is no longer than 16 characters. Best of luck, I know what you mean when trying to get time to try things on a machine! It can get frustrating trying to do both production and improve production at the same time by using smarter programs. Cheers Brian. |
|
#7
| ||||
| ||||
| Oh I have just realised that your controller is for a Lathe! I have noticed in the past that there was some subtle differences between Lathe and Mill controllers worked from Okuma. Like I found that the message command that worked fine on an OSP5020M did not work at all on the Lathes! Go figure! Anyway, I suppose that this controller being much newer it may well work now... will have to try it and see what happens I guess. Cheers Brian. |
|
#10
| |||
| |||
Any one familiar with this control? I will be getting one soon with IGF-L auto programming option. Just wondering what to expect. This is my first cnc lathe. Only other programming has been Proto-Track mills and a boatload of CMM software’s. What would be a reasonable learning curve for an experienced conventional lathe operator with some idea about what is supposed to happen? Will be getting training from Okuma. I know some people I can get some help from if I get really stuck. Am I looking at 2 weeks or two years before I can do anything on it? I guess I am a bit nervous about it. This lathe is a big step from were I am now, but I decided that by the time I got a Proto-Track or Chevralier or Mill-Tronics or other manual-cnc lathe (I know I looked at them all) I would have too much money out and still be changing tools, even with some of the turret set-up options they have. First run planed is 1600 parts and with 1” tools I could see myself getting tiered fast. apostille
__________________ [URL=http://apostilleinusa.com]apostille[/URL] Last edited by apostille; 04-08-2009 at 06:28 AM. Reason: signatuer |
| Sponsored Links |
|
#11
| ||||
| ||||
| to compuslave: please, take in consideration folowing: 1. user alarm lenght is limited. Only 16 or 20 characters. 2. there is a message position marked in part program line. First character of your message appears at this position in the line. You need to test that on your control and you will understand clearly, what happens and why with user alarm on this control :-) to apostille it's good choice, if You'll get training at Okuma. You'll need to setup Your IGF and to use M-codes also at the beginning. It's really efective and convenient. Congratulations. In case You'll get help here :-) |
|
#12
| |||
| |||
I've got an E series Lathe with OSP-U10L control. Here's the senario; There are two tools in the carousel. With tool #1 loaded and the tool data set showing 0.000 offset for tool #1 in both axis I touch off / take a cut, measure the diameter and use the "CAL" function to adjust the zero offset. I load tool #2, touch off the same diameter and use the "CAL" function to set the offset value for... criminallawyer
__________________ [URL=http://findcriminallawyer.com]criminallawyer[/URL] Last edited by criminallawyer; 04-20-2009 at 12:02 PM. Reason: signature |
![]() |
| 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 |
| What features would you like to see? | CNCadmin | SheetCam | 16 | 06-12-2011 10:06 AM |
| Okuma-U10L DNC | hense | Okuma | 4 | 04-25-2009 02:23 PM |
| new features | single phase | Hypermill | 5 | 11-21-2006 12:31 PM |
| Grouping features | camtd | EdgeCam | 3 | 07-06-2006 01:58 PM |
| Does OneCNC have these features? | Dan B | OneCNC | 8 | 01-27-2006 12:38 PM |