![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| CamSoft Products Discuss Camsoft PC based CNC controller products here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I'm looking for the variable that holds the actual Absolute Position of X. I have a fomula for calculating the WorkHead RPM and I want it to change each time I command a G01 Any help would be greatly appreciated. |
|
#2
| |||
| |||
| MACHHOME holds the absolute position from the machines home of up to 8 axis , whereas READOUT holds the positions in the readouts which may or may not have offsets applied. Tech Support CamSoft Corp. support@camsoftcorp.com PH 951-674-8100 Fax 951-674-3110 www.cnccontrols.com
__________________ (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#3
| |||
| |||
The READOUT works great. But when we calculate the volts to do the offset to the galil card, there are way to many decmals to the right and the command doesn't work. example: Motor 1725 max rpm gives me 575 at the 3:1 workhead So if I want the workhead to rotate at 150rpm my /143=2.61 command needs to be "!COMMAND OF ,,, /143" But my calculation produces /143=2.6086956521739130434782608695652 So how can I round this in code? |
|
#5
| |||
| |||
| We only advise using native motion card commands in rare cases, otherwise we normally suggest against them. As in this case we recommend using the ANALOG OUT logic command with variable \143 instead. CamSoft knows what you're doing with logic commands but not native commands. No rounding problems with logic commands. Also not to change the subject, because you may have a good reason but one of the SPINDLE logic commands is usually used to control RPM directly with an RPM values instead of voltage. Tech Support CamSoft Corp. support@camsoftcorp.com PH 951-674-8100 Fax 951-674-3110 www.cnccontrols.com
__________________ (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
| Sponsored Links |
![]() |
| 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 |
| Anybody with actual experience of Practical CNC | vid1900 | Commercial CNC Wood Routers | 7 | 08-24-2007 10:57 PM |
| Taig actual travel | TMaster | Taig Mills & Lathes | 0 | 04-06-2006 06:56 PM |
| rotate axes to actual setup | kdoney | Mach Mill | 0 | 02-08-2006 02:09 PM |
| Sheetcam toolpath different than actual | KSky | SheetCam | 3 | 09-13-2005 11:47 AM |
| Actual load on Ball Screw? | dmgdesigns | DIY-CNC Router Table Machines | 6 | 10-22-2004 11:05 AM |