6774
« on: May 25, 2010, 12:05:33 PM »
There are several ways.
1. Simply type in the VAR and value at the MDI line #1000=25 would set the #1000 var to 25
2. Set up a DRO on the main screen then ADD code to your macropump to update the VAR based on the DRO value
SetVar(1000,GetOemDro(500)) That would set the GcodeVar #1000 to equal the OemDro#500
In either case you would HAVE to set the NEW VAR before the code ran that would use it otherwise nothing would change in the actual program
Hope that helps
**********NOTE:
I just saw you post on Scam. POST vars and Gcode Vars are two different critter and not interchangable.
SO you need to let me know WHICH approach you intend to use.