12.1 RS communication protocol for LAMBDA PERISTALTIC and SYRINGE PUMPS, powder DOSER and MASSFLOW gas flow regulator

12.1.1 Format of data sent by the PC to the pump and back

Data sent by the PC: #ss mm a ddd qs c
Data sent back by the pump: <mm ss a ddd qs c

Where,

#is the first sign of a command sent by PC
<is the first sign of a message sent by pump
ssis the address of the pump
mmis the address of the PC
ais the command for the sense of rotation:
rfor clockwise (cw) rotation
lfor counter-clockwise (ccw) rotation
dddis the speed of rotation (3 ASCII numbers from 0 to 9; sent from the highest order digit to the lowest order digit)
qsis the control sum in HEX format (2 ASCII signs of the type 0…9ABCDEF)
cis the end sign cr (carriage return) The pump will fulfill the task and block any manual command on the pump front panel.

12.1.2. Commands not containing data

# ss mm g qs cactivates the local command of the pump
# ss mm s qs cthe pump is stopped
# ss mm G qs cto send pump data to the PC

12.1.3 Checksum control

The PC sends:#0201r123EEcr

The control sum (checksum) qs is made in the following way (only the last byte (2 ASCII characters of the type 0…9ABCDEF) is taken):

#0201r123EE (last
byte)
cr
23 h+30h+32h+30h+31h+72h+31h+32h+33h=1EEh0Dh

12.1.4 Format of the data transmission

Speed:2400 Bd (Baud)
8 data bits, odd parity, 1 stop bit

 

12.2 Examples

Address of the PC: 01
Address of the pump: 02

The PC sends: #0201r123EEcr
The pump will rotate cw at the speed of 123

The PC sends: #0201G2Dcr
The answer of the pump: <0102r12307cr

The PC sends: #0201l123E8cr
The pump will rotate ccw at the speed of 123. (not for DOSER and MASSFLOW)

The PC sends: #0201s59cr
The pump stops.

The PC sends: #0201g4Dcr
The pump will go to the local command (pump front panel is activated).

 

12.3 How to set the pump address?

To look up/modify the instrument address, disconnect the LAMBDA peristaltic pump from mains.

Press the ◄Ι► button continuously and at the same time connect the LAMBDA peristaltic pump to the mains again. The message “A” and two numbers will appear on the display. This number from 00 to 99 is the current address of the peristaltic pump.

To change the address press the buttons Λ Λ Λ under the display until the desired number is obtained.

To confirm and save the address, press the ON/OFF button.

 

12.4 RS-connection scheme

No.ColorDescription
1yellow(+) input remote speed control 0-10V *)
2greystep signal from stepping motor (0 and 12V)
3greenearth, 0 V
4brown+ 12 V
5white(+) input remote ON/OFF; 0V = ON, 3–12 V = OFF (this logic can be inversed on demand)
6pinkearth, ground (GND)
7redRS 485 B (-)
8blueRS 485 A (+)

*) (zero line connected to the contact no. 3)

 

12.5 RS communication protocol for the on-board INTEGRATOR (optional)

12.5.1 Communication between the PC and the INTEGRATOR of the LAMBDA instrument

From the PC to the INTEGRATOR:

    #ss mm z qs c

From the INTEGRATOR to the PC:

<mm ss = qs cconfirmation of the reception of a command
<mm ss dddd qs csending of the requested data

where,

#is the first sign of a command sent by the MASTER (PC)
<is the first sign of a message sent by the SLAVE (INTEGRATOR)
ssis the address of the subordinate station (address of the instrument with integrated INTEGRATOR)
mmis the address of the commanding station (PC)
zis a command (see below): small letters indicate a command, capital letters request data transfer from the subordinate station
=confirmation of reception
aanew address of the subordinate station (ss) (two numbers and possibly other ASCII characters A B C D E F)
ddddtransferred data (values are two bytes in hexadecimal form. Single bytes are transformed into two ASCII characters 0,..,9,A,B,C,D,E,F)
qsis the control sum (obtained by the addition modulo 256 of binary values of all preceding characters including the leading sign) in HEX format (2 ASCII signs of the type 0…9ABCDEF)
cis the end sign cr (carriage return)

12.5.2 Commands for the INTEGRATOR

nreset (sets the INTEGRATOR to zero)
istart of integration
estop of integration
lsends the integrated value
Nsends the integrated value and sets the integrator to zero
Lsends the integrated value ccw rotation
Rsends the integrated value of cw rotation

12.5.3 Examples

Address of the PC:01
Address of the instrument with on-board INTEGRATOR:02
The PC sends:#0201I2Fcr

The control sum (checksum) qs is made in the following way (only the last byte (2 ASCII characters of the type 0…9ABCDEF) is taken):

#0201I2F (last byte)cr
23h+30h+32h+30h+31h+49h=12Fh0Dh
The PC sends:#0201i4Fcr
i.e. in hexadecimal form:23h 30h 32h 30h 31h 69h 34h 46h 0Dh

This means: For a subordinate station (SLAVE) with address 02 from commanding station (MASTER) with address 01

Start of integration

The control sum is 14Fh (last byte: 4F); end of message cr (carriage return)

The INTEGRATOR answers:<0102=3Ccr
The PC sends:#0201N34cr
The INTEGRATOR answers:
and resets to zero
<0102N03C225cr (integrated value is 03C2h)
The PC sends:#0201e4Bcr

The integration will be stopped and the command will be confirmed.

The INTEGRATOR answers:<0102=3Ccr