jig grind dave
Plastic
- Joined
- Mar 5, 2015
hello, im new to macro programming and trying unsuccessfully, to get a simple "if-then" macro to work.
any helpful advice will be rewarded handsomely !!
im working on a jig grinder with a fanuc 180i mb control.
trying to adjust the feed at different intervals along the x axis utilizing variable #5041 (current position).
its not working.
it does not alarm out, it doesnt do anything.
im expressing the macro as follows at the beginning of the program.
if[#5041 is le xxxx] then f#xxxx
i have found, in the book, some narrative that may explain why it does not work, but not sure if this is the reason why, it does not work.
it states that "the read operation during movement is disabled" relative to variables #5041-#5048.
if this is the reason, can & how do i "enable" it, and will this affect anything else negatively ?
thank you all.
dave
any helpful advice will be rewarded handsomely !!
im working on a jig grinder with a fanuc 180i mb control.
trying to adjust the feed at different intervals along the x axis utilizing variable #5041 (current position).
its not working.
it does not alarm out, it doesnt do anything.
im expressing the macro as follows at the beginning of the program.
if[#5041 is le xxxx] then f#xxxx
i have found, in the book, some narrative that may explain why it does not work, but not sure if this is the reason why, it does not work.
it states that "the read operation during movement is disabled" relative to variables #5041-#5048.
if this is the reason, can & how do i "enable" it, and will this affect anything else negatively ?
thank you all.
dave