Metalworking (rec.crafts.metalworking) Discuss various aspects of working with metal, such as machining, welding, metal joining, screwing, casting, hardening/tempering, blacksmithing/forging, spinning and hammer work, sheet metal work.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to rec.crafts.metalworking
external usenet poster
 
Posts: 2,104
Default An industrial control win for me

A customer called last week with a problem on their packaging line. one of the machines was running out of sync with the feed screw, and making a hell of a mess of the labels.

I took a look and found that the (poorly documented, of course) machine had an Allen-Bradley controller that was apparently misbehaving. After an hour of warmup where it would work perfectly, even though the "Product Present" prox sensor was inactive (and showed as such on the controller's LED strip), it was still making "stick-a-label-on" output. This output went through a time-delay relay to produce a pulse that triggered an air solenoid that.... well the details aren't really important.

Having ZERO information on the AB box or its programming, and having no access to the programming cable or software, I took a different route. It was pretty obvious what the thing had to do to work properly - it involved looking at three inputs, going through a state table and generating a timed pulse at the correct time.

I took a couple of quad OPTO-22 modules (one input,one output) and literally electrical taped them together with an arduino board wired to the I's and O's with pigtails hanging off to connect to the existing controller. All told, didn't take much more than an hour to get the stuff together.

I wired it in place, and the programming took about another hour to get the timings correct. And VOILA! the machine is fixed.

So now I'm thinking that maybe there's a product to be made - a board that holds a couple of Quad OPT-22 modules, a microcontroller, terminal blocks and enough power supply to run from 24VDC or 120/240VAC. Programmable in the language of your choice (mine is C, but whatever can run on an AVR).

As if I really need another project... I could bang this one out pretty quick. And I KNOW I could use a few now and then - it would have been good to have one sitting on the shelf ready to go last week.

Any thoughts?
  #2   Report Post  
Posted to rec.crafts.metalworking
external usenet poster
 
Posts: 1,475
Default An industrial control win for me

"rangerssuck" wrote in message
...

A customer called last week with a problem on their packaging line. one of
the machines was running out of sync with the feed screw, and making a hell
of a mess of the labels.

I took a look and found that the (poorly documented, of course) machine had
an Allen-Bradley controller that was apparently misbehaving. After an hour
of warmup where it would work perfectly, even though the "Product Present"
prox sensor was inactive (and showed as such on the controller's LED
strip), it was still making "stick-a-label-on" output. This output went
through a time-delay relay to produce a pulse that triggered an air
solenoid that... well the details aren't really important.

Having ZERO information on the AB box or its programming, and having no
access to the programming cable or software, I took a different route. It
was pretty obvious what the thing had to do to work properly - it involved
looking at three inputs, going through a state table and generating a

timed pulse at the correct time.

I took a couple of quad OPTO-22 modules (one input,one output) and
literally electrical taped them together with an arduino board wired to the
I's and O's with pigtails hanging off to connect to the existing
controller. All told, didn't take much more than an hour to get the stuff
together.

I wired it in place, and the programming took about another hour to get the
timings correct. And VOILA! the machine is fixed.

So now I'm thinking that maybe there's a product to be made - a board that
holds a couple of Quad OPT-22 modules, a microcontroller, terminal blocks
and enough power supply to run from 24VDC or 120/240VAC. Programmable in
the language of your choice (mine is C, but whatever can run on an AVR).

As if I really need another project... I could bang this one out pretty
quick. And I KNOW I could use a few now and then - it would have been good
to have one sitting on the shelf ready to go last week.

Any thoughts?


Perhaps you could make an opto-22 board that an Arduino either plugs into,
like a large "Shield" or perhaps interfaces through a cable.

You could look up some of the micro PLC's that can be programmed by a keypad
and have a small LCD screen, I figure an Arduino board would need some
advantage over them to be competitive. Also it would be nice to have
Arduino's capabilities such as the interrupts to read encoders and high
precision timing of pulses in and out. With digital I/O, high speed
counters, pulse in, pulse out, digital communications, analog in, PWM out,
and so on, there would be a lot of potential.

RogerN


  #3   Report Post  
Posted to rec.crafts.metalworking
external usenet poster
 
Posts: 1,803
Default An industrial control win for me

On Tue, 26 Aug 2014 15:11:02 -0700 (PDT), rangerssuck
wrote:

A customer called last week with a problem on their packaging line. one of the machines was running out of sync with the feed screw, and making a hell of a mess of the labels.

I took a look and found that the (poorly documented, of course) machine had an Allen-Bradley controller that was apparently misbehaving. After an hour of warmup where it would work perfectly, even though the "Product Present" prox sensor was inactive (and showed as such on the controller's LED strip), it was still making "stick-a-label-on" output. This output went through a time-delay relay to produce a pulse that triggered an air solenoid that... well the details aren't really important.

Having ZERO information on the AB box or its programming, and having no access to the programming cable or software, I took a different route. It was pretty obvious what the thing had to do to work properly - it involved looking at three inputs, going through a state table and generating a timed pulse at the correct time.

I took a couple of quad OPTO-22 modules (one input,one output) and literally electrical taped them together with an arduino board wired to the I's and O's with pigtails hanging off to connect to the existing controller. All told, didn't take much more than an hour to get the stuff together.

I wired it in place, and the programming took about another hour to get the timings correct. And VOILA! the machine is fixed.

So now I'm thinking that maybe there's a product to be made - a board that holds a couple of Quad OPT-22 modules, a microcontroller, terminal blocks and enough power supply to run from 24VDC or 120/240VAC. Programmable in the language of your choice (mine is C, but whatever can run on an AVR).

As if I really need another project... I could bang this one out pretty quick. And I KNOW I could use a few now and then - it would have been good to have one sitting on the shelf ready to go last week.

Any thoughts?


Sounds like you've reinvented the smart relay.
http://www.alliedelec.com/search/pro...x?SKU=70266802

--
Ned Simmons
  #4   Report Post  
Posted to rec.crafts.metalworking
external usenet poster
 
Posts: 2,104
Default An industrial control win for me

On Tuesday, August 26, 2014 8:40:49 PM UTC-4, Ned Simmons wrote:
On Tue, 26 Aug 2014 15:11:02 -0700 (PDT), rangerssuck

wrote:



A customer called last week with a problem on their packaging line. one of the machines was running out of sync with the feed screw, and making a hell of a mess of the labels.




I took a look and found that the (poorly documented, of course) machine had an Allen-Bradley controller that was apparently misbehaving. After an hour of warmup where it would work perfectly, even though the "Product Present" prox sensor was inactive (and showed as such on the controller's LED strip), it was still making "stick-a-label-on" output. This output went through a time-delay relay to produce a pulse that triggered an air solenoid that... well the details aren't really important.




Having ZERO information on the AB box or its programming, and having no access to the programming cable or software, I took a different route. It was pretty obvious what the thing had to do to work properly - it involved looking at three inputs, going through a state table and generating a timed pulse at the correct time.




I took a couple of quad OPTO-22 modules (one input,one output) and literally electrical taped them together with an arduino board wired to the I's and O's with pigtails hanging off to connect to the existing controller. All told, didn't take much more than an hour to get the stuff together.




I wired it in place, and the programming took about another hour to get the timings correct. And VOILA! the machine is fixed.




So now I'm thinking that maybe there's a product to be made - a board that holds a couple of Quad OPT-22 modules, a microcontroller, terminal blocks and enough power supply to run from 24VDC or 120/240VAC. Programmable in the language of your choice (mine is C, but whatever can run on an AVR).




As if I really need another project... I could bang this one out pretty quick. And I KNOW I could use a few now and then - it would have been good to have one sitting on the shelf ready to go last week.




Any thoughts?




Sounds like you've reinvented the smart relay.

http://www.alliedelec.com/search/pro...x?SKU=70266802



--

Ned Simmons


Well not exactly, but maybe close enough. I think I'll pick one of these up to add to the arsenal.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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
Wiring for multiple control [4 switches control one set of lights]light switch !!! Robert Macy[_2_] Home Repair 98 January 19th 15 01:58 PM
TJL Industrial Michael Koblic Metalworking 1 June 7th 08 12:45 PM
My industrial tools [email protected][_2_] Woodworking 0 February 2nd 08 10:28 PM
Population @ Industrial kaki UK diy 0 January 19th 08 05:03 PM
X5 vs Industrial Jim Bailey Woodworking 13 January 3rd 04 06:14 PM


All times are GMT +1. The time now is 06:48 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 DIYbanter.
The comments are property of their posters.
 

About Us

"It's about DIY & home improvement"