move_pump

Description

Moves the pump's plunger up or down.

Signature

move_pump(self, pump_num: int, pos: int, wait: bool = True) -> CmdToken

Parameters

pump_num: int

The address of the pump to move [0, 14]


pos: int

The plunger position to move to [0, 3000]


wait: bool, optional

If True, this command blocks until the move is finished.

Returns

CmdToken

A CmdToken object that can be used to follow up on the status of the move or wait for it to finish if wait = False.