pylabrobot.sartorius.entris.SartoriusEntris2#

class pylabrobot.sartorius.entris.SartoriusEntris2(port: str | None = None, vid: int = 1027, pid: int = 24577, tare_settle_s: float = 2.0)#

Bases: object

Sartorius Entris II balance.

Interface spec: https://www.sartorius.hr/media/dypfvdsn/entris-ii-technical-note-en-sartorius.pdf (archived: https://archive.vn/NU6DW)

Serial settings:

9600 baud, 8 data bits, ODD parity, 1 stop bit, no handshake, “rn” terminator.

Commands (SBI control commands, format “<Esc> <char> CR LF”):

<Esc>P     print current weight value
<Esc>T     tare (Zero/Tara command)
<Esc>V     zero (Key ZERO)
<Esc>x1_   query balance model
<Esc>x2_   query serial number
The trailing "_" in x1_/x2_ is a literal underscore. <Esc> is the escape
control byte 0x1B; per the spec it is optional, and CR LF terminates.

Not verified: has NOT been tested against hardware in PyLabRobot. A warning is emitted at setup.

Methods

__init__([port, vid, pid, tare_settle_s])

get_model()

Query the balance model string (<ESC>x1_).

get_serial_number()

Query the balance serial number (<ESC>x2_).

measure_weight()

Measure the current weight in grams (<ESC>P).

send_command(token[, timeout, read_reply])

Send a command token and return the trimmed, de-spaced reply.

setup()

stop()

tare()

Tare the balance (<ESC>T).

zero()

Zero the balance (<Esc>V, Key ZERO).

Parameters: