scale interface

This forum is for eXpress++ general support.
Post Reply
Message
Author
BruceN
Posts: 280
Joined: Thu Jan 28, 2010 7:46 am
Location: Slidell, LA

scale interface

#1 Post by BruceN »

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.
There are only 10 kinds of people - those who understand binary and those who don't :)

Wolfgang Ciriack
Posts: 484
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: scale interface

#2 Post by Wolfgang Ciriack »

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.
_______________________
Best Regards
Wolfgang

Post Reply