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 04-07-2009, 06:52 AM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road
Event Driven Programming

One of the greatest strengths of Camsoft is that it is written from the ground up as an event driving prgramming language. The simplest example may be: On limit switch activation - stop axis, halt program, light indictaor on operator panel, provide code for recovery. With Camsoft you can do what ever you want.

The Camsoft inputio.fil is an event handler for a virtually unlimted number of events (inputs) and combinations of events. Camsoft's macro.fil can be written as the program objects for these events.

Event driven programming is a complex concept when you can have this many possibilities. I just came accross this tutorial that I thought explains it quite well.

http://eventdrivenpgm.sourceforge.ne...rogramming.pdf

Karl
Reply With Quote

  #2   Ban this user!
Old 04-11-2009, 10:50 AM
 
Join Date: Apr 2005
Location: usa
Posts: 51
Carlo Rechi is on a distinguished road

Mr Karl. I read your article today. I think this is very good. But I do not know how to make it work with Camsoft. I see that Camsoft does event driven programing and I think this is very good. BUt how to use with CamSoft?

Carlo
Reply With Quote

  #3  
Old 04-11-2009, 11:10 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?

I would think the only advantage is in response speed, Now with fast scan PLC's, although being sequential logic, the need for speed in machine control is moot.
The typical scan time of a PLC ladder update can far exceed the pick-up/drop-out time of an average contactor.
In fact early machine CNC machines used relay logic to control the machine logic side of things.
IOW, I don't really see any apparent difference between Camsoft and any commercial CNC system, as far as logic programming or in the speed of my DOS program operating a Galil DMC-1000.
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 04-11-2009, 11:32 AM
 
Join Date: Apr 2005
Location: usa
Posts: 51
Carlo Rechi is on a distinguished road

Mr Al,

I do not think what Mr Karl said is for speed reason.

I see advantage over other CNC controls I have used. I think the idea is differenent because Camsoft allow me to run many PLC programs at once in my computer. PLC program run logic from top to bottom and start over again. Camsoft idea is like having 10 or 20 PLCs for me. DOS do not do this. Other controls do not do this. I think it is good idea. For me I do not have to plan or trap for IO switch anymore. The IO events I write do not have to be in the right order like a PLC ladder program. If I forget to do something or operator press button when I do not plan him to Camsoft will find the IO event to run my logic for me automatic then go back to waiting.

But I still do not see how to use Mr Karl article. It look to me as turbo pascal or C++ or something.

Happy Easter to your family

Carlo
Reply With Quote

  #5   Ban this user!
Old 04-12-2009, 05:57 AM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Hi Carlo, haven't seen you around for a while.

My point is maybe too hard to explain. But I will try.

There is always several ways to program the same tasks with any computer language. We have all been trained to program and think sequentially. Its almost burned in to our brains, or our paradigm. You get in trouble with this route when you have many many separate things to do and then the operator does something you didn't anticipate. You end up going back and writing a patch to fix the issue. Then operator does something else and you write another patch. And so on. The program becomes an unweildy mess. Finally you end up writing traps preventing the operator from doing things that will screw things up. With PLCs, DOS programs, etc. there really is not another way to do it.

Camsoft has more power than most realize. My (very part time)goal for a couple years now has been to write a better operator machine interface than is found on any other CNC machine control. I have a decerning operator (my son) that has used 100s of different machines and can describe what would be really neat. He's also quick to critique what I haven't got right yet. The operator panel relies mostly on input buttons, rotary slectors, and handwheel, less use of keyboard.

Anyway, trying to do this by adding another, and another, etc. feature got to be a real mess. So I started over, tried to think outside the box. I wrote bunches of small program blocks (macros) that stand on their own and just drop through if not needed on this scan. The event handler(inputio) then calls them in any order needed. The result is a more robust interface. its getting hard for the operator to find a way to lock it up or make it have some unanticipated result. And the program is more maintainable for future upgrade.

I didn't know the name for what I was doing till I fell on the mentioned article. it seems to be a similar description.

Karl
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-12-2009, 09:39 PM
 
Join Date: Jan 2005
Location: USA
Posts: 2,345
mactec54 is on a distinguished road
Buy me a Beer?

Hi Karl T

I to like Camsoft but when you compare it to Softservo which has everything that you are looking for a very easy operator interface & very easy machine intergration & you can change the operator interface if you want to like Camsoft but you would not want to do that as it is almost perfect


You say no other controls do what Camsoft does well Softservo will do what you want
& a whole lot more for less money Take a look at there web site Softservo can be used with no other hardware between the computer drives & motors I know this is not what you are talking about

Softservo has a Ladder which is eventdriven & very easy to work with
__________________
Mactec54
Reply With Quote

  #7   Ban this user!
Old 04-13-2009, 06:38 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 mactec54 View Post
Hi Karl T
You say no other controls do what Camsoft does well Softservo will do what you want
& a whole lot more for less money Take a look at there web site Softservo can be used with no other hardware between the computer drives & motors I know this is not what you are talking about

Softservo has a Ladder which is eventdriven & very easy to work with
Nice to hear from a satisfied customer on a product I was not aware of. I'd sure like to get my hands on a machine with this control. The devil is in the details. I've spent a good part of my life working with all sorts of machine controls. Do you live anywhere near MN or know of a machine up this way?


The real time XP kernal looks interesting. Is this proprietary to this product? Or can Camsoft, Mach3, and others use it?



From the web site info, the approach looks to be very similar to Centroid's product.


Karl
Reply With Quote

  #8   Ban this user!
Old 04-13-2009, 08:49 AM
 
Join Date: Apr 2005
Location: usa
Posts: 51
Carlo Rechi is on a distinguished road

I see. For me I want the hardware to do the work. I am afaid of the real time kernal in my computer. I see system run the kernal like the mdsi machine that did not work all the time.

Carlo
Reply With Quote

  #9   Ban this user!
Old 04-13-2009, 09:43 AM
 
Join Date: Jan 2005
Location: USA
Posts: 2,345
mactec54 is on a distinguished road
Buy me a Beer?

Carlo Rechi

I have been running the softservo system for 8 years & is more relible than the hardware driven controls

This is nothing like the mdsi system if you could call it that
__________________
Mactec54
Reply With Quote

  #10   Ban this user!
Old 04-13-2009, 10:03 AM
 
Join Date: Jan 2005
Location: USA
Posts: 2,345
mactec54 is on a distinguished road
Buy me a Beer?

Hi Karl T

I used to live in MN but moved 2 years ago to TN I have had there system for around 8 years it's the best system That I have found & I have done most of them Just the F key buttons around the screen ( or a touch screen ) that is all that is needed to do everything you need for the control you can call me if you want I will PM you my phone

It is not like any other controls in any way it is there own all other controls don't come close to what this can do & control as you have seen some of the stuff on there site
__________________
Mactec54
Reply With Quote

Sponsored Links
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
Need Help!- Event Sequence Questions SPEEDRE Machines running Mach Software 17 06-28-2008 11:34 AM
Woodworking event in Lahti, Finland an-cadsolutions Trade Shows and Events 0 06-25-2008 04:44 AM
Macros, Logic and Event Timing keithorr Mach Wizards, Macros, & Addons 0 03-25-2008 01:32 PM
Looking for an event Mick Jagger Trade Shows and Events 7 03-13-2007 04:14 PM
VB 'Event Sequencer- Help me! vacpress Visual Basic 2 06-12-2006 01:23 PM




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