![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Parametric Programing (custom macro b, fadal macro, okuma user task) |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Gentlemen, I saw this macro statement in a renishaw probing macro #9733 for a mazak with a 640m fusion control and I was wondering if someone out there can explain this statement to me? Here are other statements that are like it in this macro: #50467=#50467OR32 #50467=#50467OR64 #50467=#50467OR128 #50467=#50467OR512 #50467=#50467OR256 #50467=#50467OR1024 #50467=#50467OR-65536 #50499=#50499OR1 And what are system variables #50467 and #50499? Thank You |
|
#2
| |||
| |||
| What you are looking at is part of the code used to update Mazatrol WPC values from ISO code. If you are using ISO probing macros you may wish to use the measured deviation of a feature to update the Active Mazatrol WPC rather than ISO WPCs (G54 etc...) I've recently been doing this on a couple of Mazaks and it works well - I have found one Mazak where it doesn't work. Even though the code is incorporated into the Renishaw macros - it's originally published by Mazak. PM me if you want some more info - I (sadly) have a video of the code in action. |
|
#4
| |||
| |||
|
"OR" is a bitwise operation seen here It basically combines the value of the two binary statement into one binary statement without loosing any of the active [value 1] bits.
__________________ Control the process, not the product! Machining is more science than art, master the science and the artistry will be evident. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |