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! > Electronics > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-29-2005, 04:45 AM
ynneb's Avatar
Moderator
 
Join Date: Feb 2004
Location: Oz
Posts: 2,580
ynneb is on a distinguished road
Virtual PLC ( Free software) (128 ins and outs)

Here is a freeware program that simulates a PLC

http://home.scarlet.be/~dc11cd/dciplc.html

This could be good for non CNC machines or to make a auto loader, unloader for your CNC machine.

I would be interested in ideas you might have for a use for it.
Reply With Quote

  #2   Ban this user!
Old 07-31-2005, 07:14 PM
Evodyne's Avatar  
Join Date: Dec 2004
Location: USA
Posts: 518
Evodyne is on a distinguished road

Originally Posted by ynneb
Here is a freeware program that simulates a PLC

http://home.scarlet.be/~dc11cd/dciplc.html

This could be good for non CNC machines or to make a auto loader, unloader for your CNC machine.

I would be interested in ideas you might have for a use for it.
Nice freeware effort. I've made my living doing real PLCs (mostly Allen-Bradley) for years. They eventually came out with a soft PLC to run on NT. Their biggest impediment was the flakiness of Windows and the fact that it used preemptive multitasking. Kept it from being 100% deterministic. I think they may have written their own real-time kernel, but I don't remember for sure. Of course they sell their stuff to heavy industry where failure isn't an option.

One thing I would recommend if anyone is going to play with something like this and run real machinery is a hard-wired kill switch or e-stop that will remove power from the motor drives WITHOUT going through the logic. If the PC should hang you DON'T want the hardware running away.

His page has plans for the I/O board shown. I wonder if he supports other I/O boards, like the OPTO 22 stuff?

Evodyne
Reply With Quote

  #3   Ban this user!
Old 07-31-2005, 09:04 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

050731-2104 EST USA

I agree with Evodyne. Your number one concern should be safety.

I would not consider a PC under DOS for a safety related application, and Windows is far worse.

The PLC manufacturers in designing their products have to give considerable attention to safety.

Beyond this --- never put any part of your body in a machine with power on. This is why you use lockout procedures in industrial plants. Always use a "chop stick" instead of your hand in a powered machine. Light curtains are very good if properly wired, and tested. On certain machines where our equipment was used we helped the electricians design logic so that a light curtain was actively tested every machine cycle ( these cycles were typically 20 to 45 seconds ) as compared with a typical test that was only done when the machine was powered up.

A very competent electrican I knew, and probably the best electronics electrican at a major automotive plant, did not follow the chop stick rule. This plant has chop stick signs all over the plant. One day he was troubleshooting a positive transfer machine and used his hand to trip a limit switch. The result - he lost his hand.

Also note that solid state or electro-mechanical switches can fail either closed or open, and maybe in between. For example a normally open relay contact might fail closed by the contacts welding together.

.
Reply With Quote

  #4   Ban this user!
Old 08-01-2005, 11:33 AM
 
Join Date: Jan 2004
Location: Alberta, Canada
Posts: 111
TinkerDJ is on a distinguished road

Very nice page. I've been looking for something along that idea for sometime. I deal with AB plc stuff at work to have something cheap and easy to use will be a nice project.
__________________
Have a good one.
Dave
Reply With Quote

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

I would question wether it is even worth it, keeping in mind the full blown PLC's that can be picked up on ebay, complete with opto or relay outputs for a fraction of the original cost.
There's the hastle of waiting for Windows to load and by the time you have included the cost of a PC, the cost may be the same, if not more.
Admittedly you probabally could do away with the monitor and keyboard after development.
But especially if you have access to, or have the programming software then I can see no real advantage.
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  
Old 08-01-2005, 12:30 PM
Gold Member
 
Join Date: Sep 2003
Location: USA
Posts: 530
HillBilly is on a distinguished road

This software looks interesting. I like there I/O boards.

http://www.softwire.com/

Darek
Reply With Quote

  #7  
Old 08-01-2005, 06:34 PM
ynneb's Avatar
Moderator
 
Join Date: Feb 2004
Location: Oz
Posts: 2,580
ynneb is on a distinguished road

Another good link Hillbilly, thanks

Oh come on Al, dont spoil the fun with logic If I was to just experiment, I dont think I would go out and buy a PLC. View it as just a cheap experimental tool.

Gar and evondyne, I hear what you say about the safety issues with using a PC to control machinery, Lets face it, this whole site is dedicated to CNC, Computer Numerical Control. Yes play it safe, but also experiment a bit.
Reply With Quote

  #8   Ban this user!
Old 08-01-2005, 09:15 PM
 
Join Date: Mar 2005
Location: usa
Posts: 509
smarbaga is on a distinguished road

using a pc as a plc can be quite easy,
but to do it reliably may cost ya
depending on the evviroment it will be used in.
for instance, i built one for a gear and shaft heat treating oven:
1. micro pc motherboard
2. solid state hard drive
3. 10" touchscreen lcd monitor
4. printer port breakout board
5. solid state relays and opto inputs
( no mouse, no keyboard, ... more wires, more problems
i used dos 6.22 stripped down, and the thing just keeps running.( touch wood )
with the solid state hard disk it boots instantly, i had to make sure the variables and a few other handles were not written into the flash ram as it had only 100,000 read/write cycles.
.... i wonder if these usb flash drives can be made bootabld , that ss hard drive i used was $600 , 512meg
and i think the elo touch screen was $450
Reply With Quote

  #9  
Old 08-02-2005, 06:49 PM
ynneb's Avatar
Moderator
 
Join Date: Feb 2004
Location: Oz
Posts: 2,580
ynneb is on a distinguished road

I have started another forum dedicated to this software, just incase you were interested
http://www.routec.com.au/index.php?board=39.0
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





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