Page 1 of 1
Connecting weighing scales to Revolution
Posted: Mon May 03, 2010 7:27 am
by Glenn Boyce
I want to connect a set of weighing scales to a small application I have written in Rev. I thought before I started it would be best to do a little research as I haven't done this before. What should I read up on in Rev docs and perhaps externally?
cheers
Glenn
Re: Connecting weighing scales to Revolution
Posted: Mon May 03, 2010 11:04 am
by Mark
Glenn,
Buy electronic scales with a USB port and support for Mac OS X. Make sure that AppleScript is supported or that a command line utility is provided (preferably with the source code).
Best,
Mark
Re: Connecting weighing scales to Revolution
Posted: Mon May 03, 2010 7:14 pm
by dunbarx
Another way, more expensive but much more fun. is to get a "service USB" device fro:
http://bkohg.com/index_e.html
It will become a new hobby.
Craig Newman
Re: Connecting weighing scales to Revolution
Posted: Mon May 03, 2010 11:41 pm
by Glenn Boyce
Hmmmmmm. Thanks guys. BUT unfortunately what I've got is an existing set of scales with an RS232 output, a manual that I don't understand at this point in time and I'll be connecting it to a windows PC. I've managed to almost master MIDI connectivity and figure this can't be that much different!! I was hoping the scales would have a USB output but they are just too old.
Re: Connecting weighing scales to Revolution
Posted: Tue May 25, 2010 11:56 pm
by dickey
Hello Glenn,
Having just started watching the forum after a couple of weeks break, I noticed your post.
I have a factory and had to do this last year with a series of scales (drum, platform and product scales) all with RS232 output.
The first step is to purchase a RS232 to USB converter cable as most PCs don't do RS232. Get a long one if you can - my first effort was too short.
Then look up the manufacturer of your scales, they usually have some downloadable examples of pushing a button (on the keyboard or on the scales themselves) to fire off the measure to either a text file, database, or post to a web page. I liked the database idea, and then had my Rev program poll the database every 3 seconds for the weight measurement, then had an operator key or select some params like job and product numbers before confirming on my QA system. Over time we were able to script the whole thing so that the operator starts a production run (say to manufacture 100 widgets), the weights fire to the db automatically, and when the operator hits the batch target a light goes on to halt further work. The operator check counts, and the job is passed to QA for final inspection.
It was a pain at the time, but man the difference it made in the end was breathtaking.
I hope that helps.
Kind regards, Andrew