CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > CamSoft Products


CamSoft Products Discuss Camsoft PC based CNC controller products here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-03-2010, 08:32 PM
 
Join Date: Dec 2009
Location: USA
Posts: 23
K&T EB is on a distinguished road
Galil Startup

I have a camsoft pc control with Galil DMC-18X2 motion card and 2900 ICM, when I start up my computer the anolog servo signal and the enable signals all go high and my machine runs away. At some time through the boot up the servo signal go's to zero but the amp enable stays high all the time. I have them on a manual switch for the time being. I know I can have camsoft enable the amps but I would rather not waste the output, any suggestions on how to make the motion card wait and enable the amps at the right time?

Thanks
Jeremy
Reply With Quote

  #2   Ban this user!
Old 01-03-2010, 09:28 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

On my machines, I don't allow an Estop reset until the control is up and running. This prevents any startup weirdness, but uses an output. To do this just put one of the outs in the Estop circuit and turn it on in startup.fil. Also, turn it off in shutdown.fil

It sounds like you're trying to get by without an IO card. You may try asking Galil. They have a great forum on their website.

Karl
Reply With Quote

  #3  
Old 01-03-2010, 10:45 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,533
Al_The_Man is on a distinguished road
Buy me a Beer?

As mentioned, the best way is to provide an E-stop to prevent the drives being enabled.
Another, is to use the BN to save the controller parameters in eprom, by saving the MO, motors-off command.
Once the system is ready a SH turns them back on, this is the software method.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #4   Ban this user!
Old 01-05-2010, 07:32 PM
 
Join Date: Jan 2007
Location: USA
Age: 51
Posts: 156
Farmers Machine is on a distinguished road
Smile

I called cam soft and they had me to put a jumper across the MO terminals on the Galil board to not allow the motors to start until they were enabled. created a new button on the control called "Enable Drives" with the M function to enable MOTOR ON and it stopped the jumping on start up. call Ernie at cam soft and he will explain exactly how to do this.
good luck
The Farmer
Reply With Quote

  #5  
Old 01-05-2010, 08:08 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,533
Al_The_Man is on a distinguished road
Buy me a Beer?

What input would that be? I don't recall ever coming across a Motor Off input?
Either individual or combined.
Unless you mean AMPEN, but these are outputs to the drives?
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-05-2010, 10:36 PM
 
Join Date: Dec 2009
Location: USA
Posts: 23
K&T EB is on a distinguished road

Al,
The outputs I was referring to where the AMPEN, these are always high when the PC is on. I would like them to stay low until the motion card or camsoft is ready to control the servos.

Farmer,
Where was the M function, was this part of the startup.fil?

All that being said I think I will use the E stop method, this sounds the safest.

Thanks for the help.
Reply With Quote

  #7   Ban this user!
Old 01-06-2010, 05:37 AM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

There's quite a discussion in the Galil manual on the AEN signal and how it can be set up and used. I placed a clip of it below along with a print screen of the drawing. You can set this function up many different ways to meet your needs.

For the Mcode "the Farmer" was referring to, read up on User Defined Buttons. One of Camsoft's most powerful features, you can quickly add most any custom logic needs.

Karl














Amplifier Interface

The DMC-1700/1800 analog command voltage, MOCMD, ranges between +/-10V. This signal, along with GND,

provides the input to the power amplifiers. The power amplifiers must be sized to drive the motors and load. For

best performance, the amplifiers should be configured for a current mode of operation with no additional

compensation. The gain should be set such that a 10 Volt input results in the maximum required current.

The DMC-1700/1800 also provides an amplifier enable signal, AEN. This signal changes under the following

conditions: the watchdog timer activates, the motor-off command, MO, is given, or the OE1command (Enable Off-

On-Error) is given and the position error exceeds the error limit. As shown in Figure 3-4, AEN can be used to

disable the amplifier for these conditions.

The standard configuration of the AEN signal is TTL active high. In other words, the AEN signal will be high when

the controller expects the amplifier to be enabled. The polarity and the amplitude can be changed if you are using

the ICM-1900interface board. To change the polarity from active high (5 volts= enable, zero volts = disable) to

active low (zero volts = enable, 5 volts= disable), replace the 7407 IC with a 7406. Note that many amplifiers

designate the enable input as ‘inhibit’.

To change the voltage level of the AEN signal, note the state of the resistor pack on the ICM-1900. When Pin 1 is

on the 5V mark, the output voltage is 0-5V. To change to 12 volts, pull the resistor pack and rotate it so that Pin 1 is

on the 12 volt side. If you remove the resistor pack, the output signal is an open collector, allowing the user to

connect an external supply with voltages up to 24V.
Attached Thumbnails
Click image for larger version

Name:	AEN.JPG‎
Views:	65
Size:	84.9 KB
ID:	96811  
Reply With Quote

  #8  
Old 01-06-2010, 08:15 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,533
Al_The_Man is on a distinguished road
Buy me a Beer?

Even when using the AMPEN or E-stop to disable the drives, I always burn the MO in eprom (BN) parameter as off by default.
This electronically disconnects the Galil card from trying to control the drives right at POWER UP, even if the AMPEN is set on.
Analogue output is off etc.
You can use the Galil terminal program to talk directly to the card to do the BN command.
It is very easy to set the SH if and when necessary to turn the system back on.
The MO is very usefull if you need to move any axis manually for any reason as the servo's free wheel in this state, or even in the E-stop state, and if the off on error happens to be enabled OE, the system will not error, Galil keeps track of the encoder position at all times and the SH when turning the servo's back on avoids a servo jump to back where it thinks it should be.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.

Last edited by Al_The_Man; 01-06-2010 at 08:42 AM.
Reply With Quote

  #9  
Old 01-06-2010, 02:15 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,533
Al_The_Man is on a distinguished road
Buy me a Beer?

Originally Posted by K&T EB View Post
Al,
The outputs I was referring to where the AMPEN, these are always high when the PC is on. I would like them to stay low until the motion card or camsoft is ready to control the servos.
I should have made it clearer, the AEN (AMPEN) is turned off by the MO (also by W.D. timer, off on error OE).
So the default MO should do what you want.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #10   Ban this user!
Old 01-06-2010, 03:03 PM
 
Join Date: Dec 2009
Location: USA
Posts: 23
K&T EB is on a distinguished road

Al, Karl,
Thanks for all the great input, based on your info and a conversion with Galil I think I have a solution.

There is an MO jumper on the Galil card that will force the card to wakeup with the motors off and the card will wait for an SH command before it starts.

Can I add the SH commad to the camsoft start.fil?
What would this language look like?
If I can't put it in the start.fil where can it go?
Reply With Quote

Sponsored Links
  #11  
Old 01-06-2010, 03:24 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,533
Al_The_Man is on a distinguished road
Buy me a Beer?

I would have though Camsoft would have given you the complete picture.
It has been quite a while since I used Camsoft, but IIRC issue COMMAND SH.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #12   Ban this user!
Old 01-06-2010, 06:36 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Originally Posted by K&T EB View Post
Al, Karl,
Thanks for all the great input, based on your info and a conversion with Galil I think I have a solution.

There is an MO jumper on the Galil card that will force the card to wakeup with the motors off and the card will wait for an SH command before it starts.

Can I add the SH commad to the camsoft start.fil?
What would this language look like?
If I can't put it in the start.fil where can it go?
You should know the card won't accept the SH command with the drives in Estop if you use the AMPEN signal. So, I issue COMMAND SH when ever doing an Estop reset.

If you're not using AMPEN signal, I think it would work to issue COMMAND SH in startup.fil. Note: I haven't tried this cause I always use the AMPEN signal and startup the machine in Estop

Karl
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Galil & Camsoft RAP CamSoft Products 2 08-04-2010 04:39 AM
Galil & Camsoft RAP CamSoft Products 14 04-22-2010 09:14 AM
other than Galil bobk CamSoft Products 2 12-30-2009 04:39 PM
Galil Anyone Al_The_Man Servo Motors and Drives 48 10-29-2006 01:52 PM
Sure Servo to Galil Mountain CamSoft Products 7 07-05-2006 12:40 PM




All times are GMT -5. The time now is 05:09 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361