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 08-12-2011, 09:54 AM
 
Join Date: May 2007
Location: USA
Posts: 36
Bohemund is on a distinguished road
Programming Physical Buttons on Camsoft Unit

My Camsoft unit (using Camsoft Pro) has 3 buttons on it that do not activate anything ... yellow, green, and an emergency stop. How and where do I program a function for these?

My intentions are to use the yellow as Feedhold (pause/continue if possible), green as start/stop and the emergency as emergency stop.
Reply With Quote

  #2   Ban this user!
Old 08-12-2011, 08:44 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Ah, you're moving along quite well. This is where Camsoft really excels. You want to investigate the inputio.fil and its function.
You can put in something like this for beginners:

IF#16=1 THEN FEEDHOLD 'input16 feedhold button
IF#17=1 THEN CYCLESTART 'input 17 cyclestart button
IF#18=1 THEN ESTOP 'input 18 estop button

You can get FAR more sophisicated.

You'll want more buttons to get the most out of Camsoft. I'd suggest getting an adlink IO board model 7296 when you're ready to do serious IO

Karl
Reply With Quote

  #3   Ban this user!
Old 08-16-2011, 12:16 PM
 
Join Date: May 2007
Location: USA
Posts: 36
Bohemund is on a distinguished road

It didn't work. My INPUTIO is blank except for ...

IF#16=1 THEN FEEDHOLD 'input16 feedhold button
IF#17=1 THEN CYCLESTART 'input 17 cyclestart button
IF#18=1 THEN ESTOP 'input 18 estop button


I think I may have to link somewhere that the yellow physical button = 16, green physical button = 17, and red-emergency physical button = 18 unless these three numbers are defaults. Where is this done?

And in designing my digital OPERATOR INTERFACE in the CNCSETUP/USER DEFINED BUTTONS, I assume I need to create a macro for the MCODE I call out? Where would I make this macro and what would it look like?
Reply With Quote

  #4   Ban this user!
Old 08-16-2011, 06:50 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

You take me to literally. This was a for example.

I don't know what inputs you hooked your buttons to. read up on it. Lots of examples in your manual. Go to diagnostice and press your buttons, what light up?


User defined buttons run an Mcode. The mcode can be coded right in Mcode.fil or can call a maco in macro.fil. You need to do some reading here first. I know there are exapmles in the manual.

Karl

Last edited by Karl_T; 08-16-2011 at 07:16 PM.
Reply With Quote

  #5   Ban this user!
Old 08-22-2011, 01:50 PM
 
Join Date: May 2007
Location: USA
Posts: 36
Bohemund is on a distinguished road

I tried the Diagnostics and see no activity when depressing the three buttons on the Camsoft Touchscreen unit.

At the moment we have no I/O card or strip only an ICM 2900 to operate the stepper motors. I only assumed the buttons were connected digitally to the unit, namely to start, stop, pause. Any ideas?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-22-2011, 05:14 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

most likely you haven't done the hardwiring yet.
Reply With Quote

  #7   Ban this user!
Old 08-23-2011, 02:12 PM
 
Join Date: May 2007
Location: USA
Posts: 36
Bohemund is on a distinguished road

Yup that was it, and thanks again for the help.
Reply With Quote

  #8   Ban this user!
Old 08-25-2011, 11:20 AM
 
Join Date: May 2007
Location: USA
Posts: 36
Bohemund is on a distinguished road

Thanks again Karl. I connected a 9-pin cable to the appropriate places and everything works super now. The info you provided for programming the INPUTIO also works well once I matched the correct I/O as indicated in the DIAGNOSTICS.

Next question is how do I change the INPUTIO lines....

IF#21=1 THEN FEEDHOLD 'input 21 feedhold button
IF#22=1 THEN CYCLESTART 'input 22 cyclestart button


to make these into latching push buttons instead of momentary? The FEEDHOLD command is acting like CYCLESTART with it forgetting where it is in the program and restarts it. I normally use G91. Should I start using absolute to get the FEEDHOLD to work?

Soon all these beginner questions will end, classes in manual CNC programming begin next week.
Reply With Quote

  #9   Ban this user!
Old 08-25-2011, 06:44 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 Bohemund View Post
...
to make these into latching push buttons instead of momentary? The FEEDHOLD command is acting like CYCLESTART with it forgetting where it is in the program and restarts it. I normally use G91. Should I start using absolute to get the FEEDHOLD to work?

Soon all these beginner questions will end, classes in manual CNC programming begin next week.
you want momentary contact. I haven't seen the behavior you describe. FEEDHOLD pauses the program. CYCLESTART resumes if one is still running.
G91 or G90 should make no difference.

You'll have to go to the experts at Camsoft on this one. let me know what you learned.

Karl
Reply With Quote

  #10   Ban this user!
Old 08-26-2011, 10:17 AM
 
Join Date: May 2007
Location: USA
Posts: 36
Bohemund is on a distinguished road

And nothing wrong with this program which is a simple box that repeats 3 times?

N10 G91
N20 G01 X0 Y0 F23
N100 G01 X1.0
N110 G01 Y1.0
N120 G01 X-1.0
N130 G01 Y-1.0
N200 G01 X1.0
N210 G01 Y1.0
N220 G01 X-1.0
N230 G01 Y-1.0
N300 G01 X1.0
N310 G01 Y1.0
N320 G01 X-1.0
N330 G01 Y-1.0
N400 M30


or my INPUTIO?

IF#21=1 THEN CYCLESTART
IF#22=1 THEN FEEDHOLD
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 08-26-2011, 11:45 AM
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 Bohemund View Post
And nothing wrong with this program which is a simple box that repeats 3 times?

N10 G91
N20 G01 X0 Y0 F23
N100 G01 X1.0
N110 G01 Y1.0
N120 G01 X-1.0
N130 G01 Y-1.0
N200 G01 X1.0
N210 G01 Y1.0
N220 G01 X-1.0
N230 G01 Y-1.0
N300 G01 X1.0
N310 G01 Y1.0
N320 G01 X-1.0
N330 G01 Y-1.0
N400 M30


or my INPUTIO?

IF#21=1 THEN CYCLESTART
IF#22=1 THEN FEEDHOLD
I don't see anything
Reply With Quote

  #12   Ban this user!
Old 08-29-2011, 04:26 PM
 
Join Date: May 2007
Location: USA
Posts: 36
Bohemund is on a distinguished road

Stating again exactly what's happening....

When I press the assigned FEEDHOLD button, it stops the program nicely.
When I press the assigned CYCLESTART button, the motors return to x0.000 and y0.000 coordinates then restarts the program without stopping... so long as I am depressing the CYCLESTART button. If I let go the motors stop immediately.

My problems seem to be the CYCLESTART.

Camsoft, any ideas?
Reply With Quote

Reply

Tags
physical buttons




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
Configuring steps/unit.....what unit? HereinCS Mach Software (ArtSoft software) 2 03-07-2011 07:57 PM
Need Help!- FANUC 15-MA Battery unit & I/O unit etc gbowne1 Fanuc 0 05-04-2010 08:47 PM
Stepper physical connectins billsp Benchtop Machines 4 03-26-2007 10:12 AM
tracing physical samples into CAD mark_christians WoodWorking 4 03-09-2007 12:03 PM
stepper motor size(physical) Bloy2004 Stepper Motors and Drives 4 06-22-2004 08:31 PM




All times are GMT -5. The time now is 01:34 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