Peristaltic pumps have become essential tools in scientific research, medical diagnostics, and industrial processes, providing precise fluid control with minimal contamination risk.
Among the diverse range of peristaltic pumps available, Longer pumps (from Longer Precision Pump Co., Ltd) have gained prominence for their reliability, precision and versatility.
Leurs pompes péristaltiques peuvent être contrôlées à distance depuis un ordinateur, offrant une plus grande flexibilité et commodité, en particulier pour l'exécution de programmes de pompage complexes avec des boucles, des pauses et des débits variables.
In this comprehensive guide, we’ll explore the communication control of Longer peristaltic pumps, focusing on remote operation, command strings, and interfacing options. While we won’t delve into the intricate details of specific communication protocols for specific Longer pumps, this overview will provide a solid foundation for users seeking to interface with Longer pumps in their applications.
From this blog post, you can navigate to the detailed guides for control methods of specific Longer pumps using either Matlab or Python and explore a wide range of Longer pump control tutorials:
- Comment Contrôler la Pompe Longer BT100-1L via Matlab ?
- How to Control the Longer BT100-1L Pump via Python ?
- How to Control the Longer L100-1S-2 Pump via Matlab ?
- How to Control the Longer L100-1S-2 Pump via Python ?
- How to Control the Longer WT600-2J Pump via Matlab ?
- How to Control the Longer WT600-2J Pump via Python ?
TABLE DES MATIÈRES
Longer RS485 Communication Protocol
The ability to interface and communicate with the Longer peristaltic pumps programmatically opens up avenues for automation, integration into larger systems, and facilitates incorporation into experimental setups. Whether you are involved in laboratory automation, fluid handling systems, or any application requiring precision and programmability, mastering the Longer communication protocols is fundamental.
The communication control is based on the Longer RS485 protocol, which is a serial communication protocol that allows you to send commands and receive responses from the pump. Therefore, to communicate with a Longer peristaltic pump, you will need the following:
- A corresponding Longer peristaltic pump with a pump head and a tubing of your choice
- A RS485 control module that plugs into the DB15 port on the rear of the pump
- A DB15 connector that is wired to the RS485 control module
- A serial cable that connects the RS485 control module to your computer or device
- Une plateforme de programmation (Matlab ou Python dans le cas présent)
- A basic understanding of the data format, command format, and pdu format of the Longer communication protocol corresponding to the working pump
To control the pump by an external computer through RS485 communiacation interface, first the DB15 connector should be wired then plugged on the DB15 port on the rear of the pump. Second, the pump should be turned on and, depending on the pump, the control module should be enabled by using the keypad or the adjusting knob on the pump front.
Format des données
While for some pumps (e.g. BT100-1L, L100-1S-2) it is possible to remotely control the start/stop, running direction, speed and flow rate of the pump by sending commands to it, it is only possible to control the rotation speed for other pumps (e.g. WT600-2J).
De plus, alors que certaines pompes (par exemple BT100-1L) ont un seul ensemble défini de paramètres de communication, d'autres (par exemple L100-1S-2) ont des paramètres de communication différents qui peuvent être réglés via le clavier sur la face avant de la pompe ou via la commande.
Le format des données est donc défini comme suit :
- 1 bit de début
- 8 bits de données
- Parité (pas de parité, parité paire, parité impaire, selon la pompe)
- Bit d'arrêt (1 bit d'arrêt ou 2 bits d'arrêt selon la pompe)
Le débit en bauds peut être défini comme une valeur fixe et inchangeable pour certaines pompes (par exemple, 1200 bits/s dans le cas d'une BT100-1L), tandis que pour d'autres pompes (par exemple, L100-1S-2), il peut être sélectionné parmi un ensemble de valeurs différentes.
🚨🚨 Ce qui est crucial, c'est que les paramètres spécifiés dans la commande doivent correspondre aux paramètres de la pompe.
Format de commande de contrôle
The command format is consistent across all series of Longer pumps and is defined as follows:
- un drapeau de début : chaque chaîne de commande est précédée du drapeau de début E9
- l'adresse de la pompe : de 1 à 30 ; seule la pompe avec l'adresse désignée dans la chaîne de commande répondra et exécutera la commande
- la longueur de la PDU qui dépend de l'application requise par la pompe
- les unités de données de protocole (pdu) qui dépendent de l'application requise de la pompe
- une séquence de contrôle de trame (fcs) : obtenue en calculant le XOR de l'adresse de la pompe, de la longueur du pdu et du pdu lui-même (consultez notre séquence de contrôle de trame calculateur XOR en ligne)
Different applications can be requested from the pump, depending on the pump series. The various hexadecimal command string formats used to communicate with Longer pumps are explained separately, with the communication control of each Longer series of pumps detailed in individual blog posts.
While these guides will focus on specific Longer pump models: the BT100-1L, the L100-1S-2 and the WT600-2J, the principles discussed can be applied to a broader range of Longer pumps. Whether you are working with one of the beforementioned pumps or other models, understanding the fundamentals of communication control will empower you to adapt and implement these concepts across the Longer product line.
🚨Do not hesitate to use our user-friendly online command string generator to effortlessly generate precise control command strings for your Longer peristaltic pumps.
Communication série utilisant des plateformes de programmation
A control command string is most of the times obtained after some calculations and conversions. It is therefore important to prepare all the needed commands before starting the external control of the pump.
De plus, il est plus facile de faire écrire et communiquer les chaînes de commandes de contrôle à la pompe via un ensemble de codes déjà préparés, en utilisant des plateformes de programmation telles que Matlab et Python, que d'écrire et d'envoyer une chaîne de commande de temps en temps à la pompe via un émulateur de terminal.
Ces plateformes de programmation permettent non seulement une communication plus facile avec la pompe, mais aussi une communication externe plus aisée avec un bus de pompes et permettent d'écrire un programme de pompage avec des boucles, des pauses et des vitesses variables.
Our guides delve into the specifics of utilizing Python and Matlab and serve as a quick introduction on how to communicate with Longer pumps: from establishing a connection, opening the serial port and initializing communication protocols to writing and executing control commands.
Des exemples concrets et des extraits de code vous guideront tout au long du processus, vous aidant à adapter l'implémentation à vos exigences spécifiques.
Conclusion
Stay tuned for in-depth tutorials, case studies and insights that will further enhance your mastery of Longer peristaltic pumps. Discover the full range of possibilities, from enhancing precision in fluid handling to integrating Longer pumps into complex automated workflows.
🔓 Unlock the full potential of your Longer peristaltic pumps with effective communication control ! 💪🏼
📧 If you have any questions or feedback, please feel free to contact us at support@darwin-microfluidics.com.



Générateur de chaînes de commande de contrôle pour les pompes péristaltiques Longer
[…] in, pump up the excitement and make your Longer pump control more accessible and intuitive than ever before […]