简体   繁体   中英

Serial port communication issue (Avery weight) C#

Hello dear programers I am trying to connect Avery weight G236 with PC over RS232. But every time the weight retuns "insane".

">>6>>>\u0016\u0016\u0016>>6\u0016\u0016\u0016\u0016\u0016\u0016\u0016>\u0016\u0016\u0016>>"

My serial port configuration is (Baund rate 2400, Data bits 6, Stop bit two.). I tried to change these parameters but return was only "?" questioner or nothing.

Have someone any idea to solve this issue ?

I tried to solve issue related to scale serial-port comunication without any datasheet. It was random trying and configuring serial port in scale. Finally jdweng help my out. In coment wrote the most common settings for scales (my scale is Avery Weight-Tronix G236).

The normal default Baud Rate for a device is 9600, 8 bits, one stop bit.

On the end few informations about Avery Weight-Tronix scale settings:

How to show up menu ?

Hold PRINT button on the scale for few seconds

How to set serial-port comunication ?

Buttons SAMPLE = forward in menu, TARE - backward in menu, ZERO - confirm.

Try to find in settings menu mark SERIAL confirm with ZERO . In this submenu you can choose everithing related with serial-port comunication.

In my case (I couldn't find any manual from scale). I must choose broad which meanse the scale continuously sending weight to PC. It's not the best solution, but for my purpose it is enough.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM