Has anyone written (or have) an interface for getting a reading from an electronic scale? I have a candy store that's interested in that and I want to know what's involved. I know most scales are serial port, and that's the sum total of my knowledge on the subject.
thanks.
scale interface
scale interface
There are only 10 kinds of people - those who understand binary and those who don't 

-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: scale interface
Hello Bruce,
I have different interfaces for truck scales, most of them with serial port.
The communication depends on the protocol of the electronic scale.
With the serial commands of the XBase ToolsIII it is no problem to communicate with the scale.
You only need the commands COM_OPEN, COM_INIT, COM_CLOSE, COM_FLUSH, COM_SEND, COM_COUNT, COM_READ.
With the most simple protocol you open and init the COM port and send a character to the COM-Port, then waiting for the response string.
In the response string you will find the information you need, the format depends on the protocol of the scale.
I have different interfaces for truck scales, most of them with serial port.
The communication depends on the protocol of the electronic scale.
With the serial commands of the XBase ToolsIII it is no problem to communicate with the scale.
You only need the commands COM_OPEN, COM_INIT, COM_CLOSE, COM_FLUSH, COM_SEND, COM_COUNT, COM_READ.
With the most simple protocol you open and init the COM port and send a character to the COM-Port, then waiting for the response string.
In the response string you will find the information you need, the format depends on the protocol of the scale.
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang