Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

mayu

Verified Members
  • Posts

    87
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

mayu's Achievements

Newbie

Newbie (1/14)

18

Reputation

  1. Yeah definitely an odd bird hah. Actually no I did not put the card in - I was told by a co-worker that it exists. Now that you mentioned I need to locate it. Still unsuccessful with DPRINT but managed to get a hold of a technician - they're looking into it. Also reaching out to Fanuc - fingers crossed. Also tried changing the IO4 bit to 1 on parameter 110, but no luck. Regardless its been fun experimenting with macros - that's the most important part. Below is a clip of a fun macro program. If you're experimenting with I/O settings, or any settings, you obviously don't want to wipe the existing ones. This program stores the current parameters - updates them - prints the new ones - and restores the originals. Obviously DPRINT needs to work. This is just a quick fun tip that you can build off of - nothing serious. You mentioned you hope your original post opens up some possibilities. It absolutely did! % O0666 (DPRINT TEST) ; (STORE CURRENT IO PARAMETERS) ; #199 = PRM[20] #198 = PRM[21] #197 = PRM[22] #196 = PRM[23] ; (UPDATE PARAMETERS TO DESIRED IO CHANNEL) ; G10 L52 N20 R17 N21 R17 N22 R17 N23 R17 G11 ; (PRINT UPDATED PARAMETERS) ; POPEN DPRINT[PARAMETER*OUTPUT*TEST] DPRINT[] DPRINT[-------------------------------------------------------] DPRINT[PARAMETER*0020*=*#199] DPRINT[PARAMETER*0021*=*#198] DPRINT[PARAMETER*0022*=*#197] DPRINT[PARAMETER*0023*=*#196] DPRINT[] PCLOS ; M00 ; (CHECK FLASH DRIVE) ; M00 ; (RESTORE ORIGINAL PARAMETERS) ; G10 L52 N20 R#199 N21 R#198 N22 R#197 N23 R#196 G11 ; M00 ; (VERIFY PARAMETERS ARE RESTORED) ; M30 %
  2. Yeah still the same error when 20 - 23 are changed to 17. PS 1860 DR off (modem card) Just for kicks I tried setting all of them to the memory card channel #4 and got a different alarm: PS 1961 MEMORY CARD NOT READY Just by random chance I discovered the data server - it's definitely connected over wifi because I created a folder on my PC and it showed up in the CNC controller memory, and there are no hard wires from my PC to the machine. Still waiting on some feedback from IT. I'm tempted to set the I/O channel to the data server #5, but not sure how and not sure how that will effect the company network. I'm looking into it as we speak. Thanks for the input - I'll keep updating the post.
  3. Sorry - it's a Fanuc 30i, and is also a custom whack job. I'm not accustomed to this type of controller. It has a built-in Windows PC interface, and appears to be connected to a data server over wifi that doesn't work. It also has some sort of internal DNC interface that is not hard-wired to any external devices. There are no RS-232 ports - only USB ports, and the data server (if that's what it is) seems to be connected to a 'Netgear Genie' dongle. This company is under massive transformations. We have remote/off-premise IT staff, and out-of-state technicians who don't respond for days or even weeks. They probably don't like bothering with crappy used machinery. Meanwhile we are loading programs with a USB flash drive. I was hoping to output text files to the flash drive with POPEN and DPRINT.
  4. Hey eM, Happy belated holidays. Just getting back into the swing of things. Your post inspired me to explore these functions. POPEN doesn't work on one machine. It throws an error: PS 1860 DR off (modem card) Sifting through the documentation as we speak but if you have any hints they would be much appreciated. The IO channel is set to 17 USB so I was expecting it to save the output to a USB drive.
  5. The current settings are Radio On - Radio Off/Spin Off I'm interpreting this as meaning that the switch-off method can be either radio-off or spin-off.
  6. Okay thanks. I used the Trigger Logic app to partner the probe with the receiver, but not for any other settings. I'll give that a shot today.
  7. The legacy O9833 above (the one I posted) just times out at the loop: IF[#4EQ4]GOTO4 Can't figure out what condition it is checking for - it's just a counter for #4. Don't understand what it's counting. The probe turns on successfully but will not turn off. I wrote a quick program that positions 500mm above Z0 in the WCS and turns the probe on and off. I put M00s in the program and wrote down the value every variable that's used in every affiliated macro. The math checks out to me. Just don't see what's missing here. These macros were installed years ago by a tech that is out of state and is MIA. Renishaw doesn't respond to my emails for over a week.
  8. So if a ring gauge location is X100. Y100. in the MCS, and the probe calibration results in X100.05 Y100.05, the macro stores .05 in both #502 and #503? That's it - that's the calibration?
  9. For the lag time is it #3001 time information variable that is being utilized? In what variables are the actual differences stored in, both for the lag time and the positional differences?
  10. By definition is calibration in XY really the difference between the true center of the ring gauge and the center of the probing points when running a calibration macro? That difference is then stored in the system variables, and our macros use those values to compensate their probing point positions?
  11. Thanks for sharing that. I guess I'm referring to the 9833 probe-off macro. You make a good point about Renishaw's expertise in the game. In my opinion they use too much branching (GOTO statements) and too many subs, even for simple tasks. Here's a legacy 9833 from a machine of ours. At the end you'll see a loop that tries to deactivate the probe, which always causes alarms. As far as I can see the probe is off, but still throws an alarm. All this just to turn the thing off? The newest version of 9833 may allow you to disable the loop but it doesn't appear possible with the older versions. Would you mind posting your 9833? Thanks again for your time. (REN SWITCH OFF) G65P9724 #148=0 #149=0 #2=#5043-#116 #4=0 #3=#2-[0.10*#129] N2 M97(* M CODE TO TURN OFF PROBE) G4X0.5 G31Z#3F[100*#129] IF[ABS[#5043-#116-#3]GT#123]GOTO5 G00Z#2 #4=#4+1 IF[#4EQ4]GOTO4 GOTO2 N4 #149=560(* PROBE SWITCH OFF FAILURE) G65P9700 N5 G00Z#2 M99
  12. Hah thanks. Apart from the installation, the 9833 probe off has alot of logic related to the active TLO and the current Z position, I think in both the WCS and MCS. It seems to throw off some machines for some reason, and appears to be related to the way that the macro uses the #116 parameter. Anyways it turns in to a real science project on some machines. I am currently in a position where I'm not approved to upgrade these legacy macros on some crappy machinery that has limited tech support. I have to sift through them and make them work. I'm tempted to start writing macros completely from scratch utilizing the G31 skip signal command. I also find Renishaw's coding style hard to read - that's just my opinion. Making things worse is that the technicians include their own macros, which build off of Renishaw's macros, and these are even harder to read. Of course the technicians say they're good-to-go.
  13. Hello eM, The Renishaw macros that turn the probe on and off (9832 and 9833) carry alot of cruft. Why not just turn the probe on and off with M96 and M97?
  14. Is it possible to run a Renishaw probing macro without locking the spindle? What type of errors would be potentially introduced. Some machines do not have an M19 command, or have it disabled for various reasons. In this situation, some people use hacky workarounds to lock the spindle for probing, such as an adapter plate that gets attached to the spindle, and a custom collar with a dowel pin on the probe. The probe (with its collar) gets inserted into the adapter plate on the spindle - locked into place by the pin - an accident waiting to happen. You have to remove the pin or collar if your tool change laser/macro spins the spindle.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...