B15WH wages in RS485 network
Wysłany:
28 Lip 2011, 06:54
przez pawelw
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
Re: B15WH wages in RS485 network
Wysłany:
28 Lip 2011, 10:26
przez Marcin Janicki
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.
Re: B15WH wages in RS485 network
Wysłany:
29 Lip 2011, 07:06
przez pawelw
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
Re: B15WH wages in RS485 network
Wysłany:
29 Lip 2011, 09:01
przez Marcin Janicki
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.