B15WH wages in RS485 network

Wszystko na temat eksploatacji wag firmy Axis.

Moderatorzy: grzegorz.kosecki, m.maliszewski

B15WH wages in RS485 network

Postprzez pawelw » 28 Lip 2011, 06:54

I want to test B15WH wages in network. So, I set up port number to 1 and try to connect to wages
Connection string is #02#01SI#0D#0A - and haven't got any answer from wages :(
PS When port number is 0 - everything is OK
pawelw
 
Posty: 4
Rejestracja: 28 Lip 2011, 06:48

Re: B15WH wages in RS485 network

Postprzez Marcin Janicki » 28 Lip 2011, 10:26

If you want to communicate with scale in RS485 network you should:
1. Login to the scale: command 02h X Y, where XY is network scale number 01-32 (plain ASCII, not hex), e.g. login for scale with no. 01: 02h 30h 31h
2. Send a command e.g. ask about weighing result: S I CR LF (hex: 53h 49h 0Dh 0Ah)
3. Log out from the scale: command 03h

The full command to connect with the scale of no. 23, ask about result and log out will be:
02h 2 3 S I 0DH 0Ah 03h (hex: 02h 32h 33h 53h 49h 0Dh 0Ah 03h)

If scale network number is set to zero scale does not require login and logout commands. It assumes that it is only one in the network then.
Marcin Janicki
 
Posty: 25
Rejestracja: 12 Mar 2010, 10:53

Re: B15WH wages in RS485 network

Postprzez pawelw » 29 Lip 2011, 07:06

Thanks a lot, Marcin!
Would you mind telling me how can I change some weighing options?
I want to measure weight in kg, but scales shows me only in grams :(
pawelw
 
Posty: 4
Rejestracja: 28 Lip 2011, 06:48

Re: B15WH wages in RS485 network

Postprzez Marcin Janicki » 29 Lip 2011, 09:01

You cannot change unit in B15WH.
The first thing is that in standard B and 4B series scales there is not a function for changing weighing unit. It can be set only during production or by service centre and it is not allowed for the user.
The second thing is that in older standard models (8-bit processor, still in production), even though you have function for changing weighing unit, you can change it for pounds (lb) or carats (ct) but cannot between g and kg. It is just like this, and once more it can be done only during production or by service centre.
Newer models like BTA and ME-01 based has function "UnIt" which allows changing between mg, g, kg, lb, ct and others.
Marcin Janicki
 
Posty: 25
Rejestracja: 12 Mar 2010, 10:53

Re: B15WH wages in RS485 network

Postprzez pawelw » 29 Lip 2011, 09:35

Thanks
pawelw
 
Posty: 4
Rejestracja: 28 Lip 2011, 06:48


Wróć do Eksploatacja wag

Kto jest na forum

Użytkownicy przeglądający to forum: Brak zarejestrowanych użytkowników oraz 1 gość

cron