{"id":23929,"date":"2024-06-10T14:50:28","date_gmt":"2024-06-10T12:50:28","guid":{"rendered":"https:\/\/blog.darwin-microfluidics.com\/?p=23929"},"modified":"2026-11-19T15:25:03","modified_gmt":"2026-11-19T14:25:03","slug":"how-to-control-a-labv-pump-using-the-modbus-protocol","status":"publish","type":"post","link":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-a-labv-pump-using-the-modbus-protocol\/","title":{"rendered":"How to Control a LabV Pump Using the MODBUS Protocol ?"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"23929\" class=\"elementor elementor-23929\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-945466f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"945466f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e6bfbc6\" data-id=\"e6bfbc6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b686b58 elementor-widget elementor-widget-text-editor\" data-id=\"b686b58\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The <strong><a href=\"https:\/\/darwin-microfluidics.com\/products\/labv1-iii-intelligent-flow-rate-peristaltic-pump\">LabV<\/a><\/strong> pump series from <a href=\"https:\/\/darwin-microfluidics.com\/search-results-page?q=innofluid\"><strong>Innofluid<\/strong><\/a> (formerly known as <strong>Shenchen Baoding<\/strong>) is an advanced series of flow measurement peristaltic pumps featuring a 4.3-inch color touch screen for intuitive control. It displays flow data, settings, and system information simultaneously, with animations to show the working state. Equipped with intelligent calibration, online micro-adjustment, and three measurement modes&mdash;fixed volume, fixed time and volume, and timer start\/stop&mdash;it&rsquo;s highly versatile. Compatible with various pump heads and offering multiple external control options, the LabV series is ideal for laboratory use, equipment integration, and industrial production.<\/p><p>In this blog post, we will explore how to control the LabV pumps&nbsp;using the <strong>MODBUS RTU protocol<\/strong> via a common programming platform: Python.<\/p><p>It&rsquo;s worth noting that while there may be slight differences in registers set up and commands among various Lab pump series (such as <strong>LabF<\/strong>, <strong>LabN<\/strong>, <strong>LabK<\/strong>, etc.), they all share the same MODBUS RTU communication protocol. Therefore, the insights provided in this article are relevant and applicable to users of any Innofluid Lab pump series.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-90b242d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"90b242d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-54151b7\" data-id=\"54151b7\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9c7f5a9 elementor-widget elementor-widget-heading\" data-id=\"9c7f5a9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Why Choose a LabV Series Peristaltic Pump?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-db75143 elementor-widget elementor-widget-text-editor\" data-id=\"db75143\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The LabV Peristaltic Pump stands out as a top choice for fluid handling needs in laboratories and industrial settings alike. Boasting a new servo motor for enhanced accuracy and durability, coupled with a 4.3&quot; LCD touchscreen interface, this pump offers intuitive control for precise dispensing and fixed volume modes. Crafted from laboratory-grade ABS, it ensures both ease of use and robust performance.<\/p><p>With flow rates spanning from 0.0053 &micro;L\/min to 775 mL\/min, and the flexibility to accommodate up to 8 channels, it caters to a wide range of applications. Additionally, its industrial-grade construction, dynamic display, and intelligent calibration functionality make it a reliable asset for various fluid transfer tasks.<\/p><p>Whether for research, equipment support, or industrial production, the LabV series of peristaltic pumps stands as a very good solution for fluid handling challenges.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-be2b383 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"be2b383\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-722f9ad\" data-id=\"722f9ad\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e3b3085 elementor-widget elementor-widget-heading\" data-id=\"e3b3085\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">What do you Need to Communicate with a LabV Pump?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5ae42d9 elementor-widget elementor-widget-text-editor\" data-id=\"5ae42d9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>To communicate with a LabV pump using the MODBUS RTU protocol, you will need the following:<\/p><ul><li>A LabV pump (a <a href=\"https:\/\/darwin-microfluidics.com\/products\/labv1-iii-intelligent-flow-rate-peristaltic-pump\">LabV1-III Intelligent Flow Rate Peristaltic Pump<\/a> will be utilized herein) with a <a href=\"https:\/\/darwin-microfluidics.com\/collections\/peristaltic-pump-heads\">pump head<\/a> and a <a href=\"https:\/\/darwin-microfluidics.com\/collections\/peristaltic-pump-tubing\">tubing<\/a> of your choice<\/li><li>A <a href=\"https:\/\/darwin-microfluidics.com\/products\/usb-to-rs485-serial-converter-cable\/\">serial cable<\/a> that connects to your computer or device<\/li><li>An RS485 or an RS232 wiring onto the external control port on the rear of the pump<\/li><li>A programming platform (Python in the case herein)<\/li><li>A basic understanding of the MODBUS RTU communication protocol detailed <a href=\"#modbus\">below &#128071;<\/a>.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e9139aa elementor-widget elementor-widget-global elementor-global-18316 elementor-widget-pix-promo-box\" data-id=\"e9139aa\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"cta1\" data-widget_type=\"pix-promo-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"pix-promo-box card w-100 h-1002 bg-heading-default  pix-hover-item rounded-10 position-relative overflow-hidden text-white   text-left w-100 d-block\"><img decoding=\"async\" src=\"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/02\/Tubing_1920x600_DARWIN_MICROFLUIDICS.jpg\" class=\"card-img pix-bg-image pix-img-scale h-100 rounded-10 pix-opacity-4 pix-hover-opacity-4\" alt=\"LOOKING FOR FLEXIBILITY IN TUBING OPTIONS?\"\/><a href=\"https:\/\/darwin-microfluidics.com\/collections\/microfluidic-tubings\" class=\"card-img-overlay2 d-inline-block w-100 pix-img-overlay pix-p-20 d-flex align-items-end\" style=\"min-height:300px;\"><div class=\"w-100\"><div class=\"\"><span class=\"pix-badge-element d-inline-block mr-1 \"><span class=\"badge font-weight-bold bg-primary  \" style=\"font-size:22px; \"><span class=\"text-white\" style=\"\">Discover our selection!<\/span><\/span><\/span><\/div><h2 class=\"card-title font-weight-bold text-white pix-my-10\" style=\"\">LOOKING FOR FLEXIBILITY IN TUBING OPTIONS?<\/h2><span class=\"d-flex align-items-center font-weight-bold text-light-opacity-6 text-20\"><span>Explore our microfluidic tubing solutions for reliable and efficient flow in your experiments!<\/span><i class=\"pixicon-angle-right pix-hover-right pix-hover-item pix-ml-10 font-weight-bold text-20\"><\/i><\/span><\/div><\/a><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7a61ab4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7a61ab4\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a46e079\" data-id=\"a46e079\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5b9a150 elementor-widget elementor-widget-heading\" data-id=\"5b9a150\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to Set Up the Communication Port ?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-26a39db elementor-widget elementor-widget-text-editor\" data-id=\"26a39db\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Before you can start sending and receiving data from the pump, you need to set up the communication port correctly. Here are the steps to follow:<\/p><ul><li>Connect the cable for the RS232 or RS485 communication to the external control port on the rear of the pump<\/li><li>Turn on the pump<\/li><li>In the <a href=\"#communication_interface\">communication setting interface<\/a> on the pump screen, choose RS232 or RS485 as your communication interface (details of the RS232 and RS485 wiring are presented in the <a href=\"#wiring\">tables<\/a> below)<\/li><li>No matter if you choose RS232 or RS485, the communication protocol is standard MODBUS RTU<\/li><li>Set the baud rate<\/li><li>Click on the <strong>Slave No.<\/strong> button to set the address of the peristaltic pump (range: 1-32)<\/li><li>Select communication enable <strong>ON<\/strong><\/li><li><strong><em>Return to the main interface as the pump only receives communication control when in the main interface, it is invalid for the communication control in other settings interfaces.<\/em><\/strong><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3ad7815 elementor-widget elementor-widget-image\" data-id=\"3ad7815\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"communication_interface\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"640\" height=\"384\" src=\"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/06\/communication-interface-1024x614.png\" class=\"attachment-large size-large wp-image-24348\" alt=\"A screenshot of the communication setting interface of the LabV1-III pump\" srcset=\"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/06\/communication-interface-1024x614.png 1024w, https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/06\/communication-interface-300x180.png 300w, https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/06\/communication-interface-768x460.png 768w, https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/06\/communication-interface.png 1153w\" sizes=\"(max-width: 640px) 100vw, 640px\"\/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5217f89 elementor-widget elementor-widget-text-editor\" data-id=\"5217f89\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"wiring\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\n\n<table>\n    <thead>\n        <tr>\n            <th colspan=\"2\" class=\"section-header\">RS232 Wiring Details<\/th>\n        <\/tr>\n        <tr>\n            <th class=\"smaller-column\">Terminal<\/th> <!-- Apply class to first column -->\n            <th>Description<\/th>\n        <\/tr>\n    <\/thead>\n    <tbody>\n        <tr>\n            <td>GND<\/td>\n            <td>Communication ground terminal.<\/td>\n        <\/tr>\n        <tr>\n            <td>TXD<\/td>\n            <td>Master sending, peristaltic pump receive signal terminal.<\/td>\n        <\/tr>\n        <tr>\n            <td>RXD<\/td>\n            <td>Peristaltic pump sending, master receive signal terminal.<\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n\n<table>\n    <thead>\n        <tr>\n            <th colspan=\"2\" class=\"section-header\">RS485 Wiring Details<\/th>\n        <\/tr>\n        <tr>\n            <th class=\"smaller-column\">Terminal<\/th> <!-- Apply class to first column -->\n            <th>Description<\/th>\n        <\/tr>\n    <\/thead>\n    <tbody>\n        <tr>\n            <td>GD1<\/td>\n            <td>RS485 signal ground.<\/td>\n        <\/tr>\n        <tr>\n            <td>A+<\/td>\n            <td>Connect RS485 A+ terminal.<\/td>\n        <\/tr>\n        <tr>\n            <td>B-<\/td>\n            <td>Connect RS485 B- terminal.<\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-86803c4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"86803c4\" data-element_type=\"section\" data-e-type=\"section\" id=\"modbus\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6418f5a\" data-id=\"6418f5a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-26f7418 elementor-widget elementor-widget-heading\" data-id=\"26f7418\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">The LabV Series MODBUS RTU Communication Protocol<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0a3697f elementor-widget elementor-widget-text-editor\" data-id=\"0a3697f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The LabV Peristaltic Pump series offers a comprehensive command set for precise control and monitoring via the MODBUS RTU protocol. This command set encompasses various directives categorized to facilitate manipulation of the pump&rsquo;s functionalities, covering actions such as motor speed settings, flow rate configurations, pump head selections, and calibration routines. Each command, identified by unique parameters, ensures precise control over the pump&rsquo;s operation.<\/p><p>Detailed explanations and further information regarding the MODBUS RTU protocol for the control of the LabV pumps will be provided below and can also be found in the <a href=\"https:\/\/darwin-microfluidics.com\/content\/pdfs\/Lab-V-Series-MODBUS-Protocol.pdf\" target=\"_blank\" rel=\"noopener\">communication protocol&rsquo;s documentation<\/a>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8fcce94 elementor-widget elementor-widget-heading\" data-id=\"8fcce94\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">MODBUS RTU Standard Communication Format<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9b4fe20 elementor-widget elementor-widget-text-editor\" data-id=\"9b4fe20\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The message format is the one described in the table below.&nbsp;<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-590b794 elementor-widget elementor-widget-text-editor\" data-id=\"590b794\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<table><tbody><tr><th>Field<\/th><th>Size<\/th><th>Description<\/th><\/tr><tr><td>Slave address<\/td><td>1 Byte<\/td><td>Address of the pump. The No. range is 1-32 and 0 is used for broadcast.<\/td><\/tr><tr><td>Function code<\/td><td>1 Byte<\/td><td>Instruction for the slave device.<br><strong>03H<\/strong>: Read holding registers<br><strong>06H<\/strong>: Write single register<br><strong>10H<\/strong>: Write multiple registers<br><strong>02H<\/strong>: Read discrete inputs (Read bits of data)<br><strong>05H<\/strong>: Write single bit to register<\/td><\/tr><tr><td>Data area<\/td><td>0 &ndash; 252 Bytes<\/td><td>Data to be transmitted (variable length)<\/td><\/tr><tr><td>CRC Check<\/td><td>2 Bytes<\/td><td>Cyclic Redundancy Check for error detection<br>CRC low (1 Byte): Lower byte of CRC<br>CRC high (1 Byte): Higher byte of CRC<\/td><\/tr><\/tbody><\/table>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-380bcf6 elementor-widget elementor-widget-heading\" data-id=\"380bcf6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">CRC Check with CRC-16 in Python<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5ca75b1 elementor-widget elementor-widget-text-editor\" data-id=\"5ca75b1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>CRC (Cyclic Redundancy Check) is a vital technique for detecting errors in data transmission. In the following, we&rsquo;ll demonstrate how to implement CRC-16, the one used in the American binary synchronous system, using Python.\n\nIn CRC-16, the error-detection algorithm employs a polynomial <span style=\"background-color: lightgray;\">G(X) = X<sup>16<\/sup> + X<sup>15<\/sup> + X<sup>2<\/sup> + 1<\/span> to generate the checksum. This polynomial defines the mathematical operations performed on the bits of the message during the CRC calculation process. An overview of the algorithm is detailed below:\n<\/p><ul>\n \t<li>Initialize a 16-bit register with the hexadecimal value FFFF (all ones), referred to as the CRC register.<\/li>\n \t<li>XOR the first 8 bytes of the message with the low byte of the CRC register. Store the result back in the CRC register.<\/li>\n \t<li>Shift the CRC register one bit to the right, with the most significant bit (MSB) set to zero.<\/li>\n \t<li>Check the least significant bit (LSB) of the CRC register:\n<ul>\n \t<li>If LSB is 0, repeat step 3 (shift operation).<\/li>\n \t<li>If LSB is 1, XOR the CRC register with the polynomial value 0xA001 (1010 0000 0000 0001).<\/li>\n<\/ul>\n<\/li>\n \t<li>Repeat steps 3-4, for a total of 8 shifts, to process each byte.<\/li>\n \t<li>Repeat steps 2-5 for each byte in the message until all bytes have been processed.<\/li>\n \t<li>The final content of the CRC register is the CRC value.<\/li>\n<\/ul>\n&#128680; <em>In the message, the high and low bytes of the CRC values must be exchanged.<\/em>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-262e27e elementor-widget elementor-widget-heading\" data-id=\"262e27e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Communication Settings<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b164570 elementor-widget elementor-widget-text-editor\" data-id=\"b164570\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Each byte of data has a structure consisting of 1 start bit, 8 data bits, 1 parity bit, and 1 stop bit. Bits are sent in order from the least significant bit (LSB) to the most significant bit (MSB). The possible communication baud rates include 1200, 2400, 4800, and 9600 bits\/s.<\/p><p>For integers (2 bytes), the data is arranged with the second byte first followed by the first byte. For example, the hexadecimal value 2378H is sent as 23H 78H. For long integers and floats (4 bytes), the data is arranged with the fourth byte first, followed by the third, second, and first bytes.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b0b1a1b elementor-widget elementor-widget-heading\" data-id=\"b0b1a1b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">MODBUS Message RTU Frame Format<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1e40ee2 elementor-widget elementor-widget-text-editor\" data-id=\"1e40ee2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The MODBUS message RTU frame format is the one described in the table below.&nbsp;<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c2be73c elementor-widget elementor-widget-text-editor\" data-id=\"c2be73c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<table><tbody><tr><th>Field<\/th><th>Size<\/th><th>Description<\/th><\/tr><tr><td>Start<\/td><td>&ge; 3.5 characters<\/td><td>Indicates the start of transmission<\/td><\/tr><tr><td>Address<\/td><td>8 Bits<\/td><td>Address of the slave device<\/td><\/tr><tr><td>Function Code<\/td><td>8 Bits<\/td><td>Instruction for the slave device<\/td><\/tr><tr><td>Data<\/td><td>N x 8 Bits<\/td><td>Data to be transmitted (variable length, N bytes)<\/td><\/tr><tr><td>CRC Check Code<\/td><td>16 Bits<\/td><td>Cyclic Redundancy Check for error detection<\/td><\/tr><tr><td>End<\/td><td>&ge; 3.5 characters<\/td><td>Indicates the end of transmission<\/td><\/tr><\/tbody><\/table>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-14e516f elementor-widget elementor-widget-text-editor\" data-id=\"14e516f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><em>&#128680; Ensure that the message frame is transmitted continuously without idle spaces between characters greater than 1.5 character times. Incomplete message frames, indicated by excessive idle space, should be discarded by the receiving node.<\/em><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1dae4c6 elementor-widget elementor-widget-heading\" data-id=\"1dae4c6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Abnormal Reaction<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e5d5fb4 elementor-widget elementor-widget-text-editor\" data-id=\"e5d5fb4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>When a host sends a request for data and the slave receives abnormal data, it should trigger an abnormal reaction. If the address code sent from the host is incorrect, meaning it does not correspond to any address code among the slaves, or if the data received by the slave fails the CRC check, no abnormal code is returned. In such cases, the host should initiate a superior reaction process.<\/p><p>In the function code area, the abnormal reaction function code is defined as the normal reaction function code plus 80H.<\/p><p>In the data area, the abnormal code to be returned is defined as in the table below.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e40c00f elementor-widget elementor-widget-text-editor\" data-id=\"e40c00f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<table>\n<tbody>\n<tr>\n<th>Code<\/th>\n<th>Name<\/th>\n<th>Meaning<\/th>\n<\/tr>\n<tr>\n<td>01H<\/td>\n<td>Illegal function code<\/td>\n<td>The function code received by the peristaltic pump is not permitted, except for 03H, 06H, or 10H.<\/td>\n<\/tr>\n<tr>\n<td>02H<\/td>\n<td>Illegal data address<\/td>\n<td>The register address received by the peristaltic pump is not allowed.<\/td>\n<\/tr>\n<tr>\n<td>03H<\/td>\n<td>Illegal data value<\/td>\n<td>Written data does not meet the operating range expected by the peristaltic pump.<\/td>\n<\/tr>\n<tr>\n<td>06H<\/td>\n<td>Slave (peristaltic pump) busy<\/td>\n<td>The peristaltic pump is currently busy and unable to complete the command due to a conflicting state.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-576496b elementor-widget elementor-widget-text-editor\" data-id=\"576496b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><em>&nbsp;&#128680;The peristaltic pump <strong>only<\/strong> accepts MODBUS commands through the <strong>Main Interface<\/strong>; other interfaces do not receive messages.<\/em><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1df5e34 elementor-widget elementor-widget-heading\" data-id=\"1df5e34\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Holding Register Address and Content<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b7d2fc9 elementor-widget elementor-widget-text-editor\" data-id=\"b7d2fc9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Below are the tables detailing basic and calibration parameters setting respectively.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-55231ab elementor-widget elementor-widget-heading\" data-id=\"55231ab\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Basic Parameters Setting<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b191150 elementor-widget elementor-widget-text-editor\" data-id=\"b191150\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<table><tbody><tr><th>Address (Decimal)<\/th><th>Name<\/th><th>Range<\/th><th>Data Type<\/th><\/tr><tr><td>1000<\/td><td>Pump Head<\/td><td>Relative to <a href=\"#chart\">Chart 1<\/a><\/td><td>unsigned short int (2 Bytes)<\/td><\/tr><tr><td>1001<\/td><td>Tubing Size<\/td><td>Relative to <a href=\"#chart\">Chart 1<\/a><\/td><td>unsigned short int (2 Bytes)<\/td><\/tr><tr><td>1002<\/td><td>Motor Speed<\/td><td>0.1-600 rpm<\/td><td>float (4 Bytes)<\/td><\/tr><tr><td>1004<\/td><td>Flow Rate<\/td><td>0.1-99999 mL<\/td><td>float (4 Bytes)<\/td><\/tr><tr><td>1007<\/td><td>Back Suction Angle<\/td><td>0-360&deg;<\/td><td>unsigned short int (2 Bytes)<\/td><\/tr><tr><td>1008<\/td><td>Start\/Stop Control<\/td><td>1: Start, 0: Stop<\/td><td>unsigned short int (2 Bytes)<\/td><\/tr><tr><td>1009<\/td><td>Direction Control<\/td><td>1: Clockwise, 0: Counter-clockwise<\/td><td>unsigned short int (2 Bytes)<\/td><\/tr><tr><td>1010<\/td><td>Full Speed Running<\/td><td>1: Start full speed, 0: Stop full speed<\/td><td>unsigned short int (2 Bytes)<\/td><\/tr><tr><td>1015<\/td><td>Set Flow Volume<\/td><td>0-99999 mL<\/td><td>float (4 Bytes)<\/td><\/tr><tr><td>1018<\/td><td>Working Time<\/td><td>0.1-9999 s<\/td><td>float (4 Bytes)<\/td><\/tr><tr><td>1020<\/td><td>Working Mode<\/td><td>0: Transferring, 1: Fixed volume measurement, 2: Fixed time and volume<\/td><td>unsigned short int (2 Bytes)<\/td><\/tr><tr><td>1021<\/td><td>Pause Time<\/td><td>0.1-9999 s<\/td><td>float (4 Bytes)<\/td><\/tr><tr><td>1023<\/td><td>Copy Numbers<\/td><td>0-9999 times, 0 means infinite<\/td><td>unsigned short int (2 Bytes)<\/td><\/tr><\/tbody><\/table>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-babad56 elementor-widget elementor-widget-text-editor\" data-id=\"babad56\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>&#128161; Important Notes:<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0a125de elementor-widget elementor-widget-text-editor\" data-id=\"0a125de\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li>Registers 1015 and 1018 are invalid when the working mode is set to transferring.<\/li><li>Register 1018 is invalid when the working mode is set to Fixed volume measurement.<\/li><li>Registers 1002 and 1004 are invalid when the working mode is set to Fixed time and volume.<\/li><li>Ensure that the register data is set according to the chart provided, and avoid sending multiple register setups in a single order.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bb95a83 elementor-widget elementor-widget-heading\" data-id=\"bb95a83\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Calibration Parameters Setting<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a9fd118 elementor-widget elementor-widget-text-editor\" data-id=\"a9fd118\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<table>\n<tbody>\n<tr>\n<th>Address (Decimal)<\/th>\n<th>Name<\/th>\n<th>Range<\/th>\n<th>Data Type<\/th>\n<\/tr>\n<tr>\n<td>2001<\/td>\n<td>Testing time<\/td>\n<td>0.5-9999 s<\/td>\n<td>unsigned short int (2 Bytes)<\/td>\n<\/tr>\n<tr>\n<td>2002<\/td>\n<td>Start\/Stop test<\/td>\n<td>1: Start, 0: Stop<\/td>\n<td>unsigned short int (2 Bytes)<\/td>\n<\/tr>\n<tr>\n<td>2003<\/td>\n<td>Actual volume<\/td>\n<td>0-9999 mL<\/td>\n<td>float (4 Bytes)<\/td>\n<\/tr>\n<tr>\n<td>2005<\/td>\n<td>Restore Defaults<\/td>\n<td>1: Restore calibration<\/td>\n<td>unsigned short int (2 Bytes)<\/td>\n<\/tr>\n<tr>\n<td>2006<\/td>\n<td>Micro Adjustment<\/td>\n<td>1: Increase, 0: Decrease<\/td>\n<td>unsigned short int (2 Bytes)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-252d9bc elementor-widget elementor-widget-heading\" data-id=\"252d9bc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Pump Head and Tubing Number Chart<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-25f8eba elementor-widget elementor-widget-text-editor\" data-id=\"25f8eba\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"chart\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<table>\n  <tbody>\n    <tr>\n      <th>Pump Head Name<\/th>\n      <th>Pump Head Type<\/th>\n      <th>Tubing Size<\/th>\n      <th>Tubing Specific<\/th>\n    <\/tr>\n    <tr>\n      <td rowspan=\"7\">EasyPumpI<\/td>\n      <td rowspan=\"7\">0<\/td>\n      <td>13<\/td>\n      <td>13#<\/td>\n    <\/tr>\n    <tr>\n      <td>14<\/td>\n      <td>14#<\/td>\n    <\/tr>\n    <tr>\n      <td>19<\/td>\n      <td>19#<\/td>\n    <\/tr>\n    <tr>\n      <td>16<\/td>\n      <td>16#<\/td>\n    <\/tr>\n    <tr>\n      <td>25<\/td>\n      <td>25#<\/td>\n    <\/tr>\n    <tr>\n      <td>17<\/td>\n      <td>17#<\/td>\n    <\/tr>\n    <tr>\n      <td>18<\/td>\n      <td>18#<\/td>\n    <\/tr>\n    <tr>\n      <td rowspan=\"4\">EasyPumpII<\/td>\n      <td rowspan=\"4\">1<\/td>\n      <td>15<\/td>\n      <td>15#<\/td>\n    <\/tr>\n    <tr>\n      <td>24<\/td>\n      <td>24#<\/td>\n    <\/tr>\n    <tr>\n      <td>35<\/td>\n      <td>35#<\/td>\n    <\/tr>\n    <tr>\n      <td>36<\/td>\n      <td>36#<\/td>\n    <\/tr>\n    <tr>\n      <td rowspan=\"7\">EasyPumpIII<\/td>\n      <td rowspan=\"7\">2<\/td>\n      <td>13<\/td>\n      <td>13#<\/td>\n    <\/tr>\n    <tr>\n      <td>14<\/td>\n      <td>14#<\/td>\n    <\/tr>\n    <tr>\n      <td>19<\/td>\n      <td>19#<\/td>\n    <\/tr>\n    <tr>\n      <td>16<\/td>\n      <td>16#<\/td>\n    <\/tr>\n    <tr>\n      <td>25<\/td>\n      <td>25#<\/td>\n    <\/tr>\n    <tr>\n      <td>17<\/td>\n      <td>17#<\/td>\n    <\/tr>\n    <tr>\n      <td>18<\/td>\n      <td>18#<\/td>\n    <\/tr>\n    <tr>\n      <td rowspan=\"4\">EasyPumpIV<\/td>\n      <td rowspan=\"4\">3<\/td>\n      <td>15<\/td>\n      <td>15#<\/td>\n    <\/tr>\n    <tr>\n      <td>24<\/td>\n      <td>24#<\/td>\n    <\/tr>\n    <tr>\n      <td>35<\/td>\n      <td>35#<\/td>\n    <\/tr>\n    <tr>\n      <td>36<\/td>\n      <td>36#<\/td>\n    <\/tr>\n    <tr>\n      <td rowspan=\"5\">EasyPumpV<\/td>\n      <td rowspan=\"5\">4<\/td>\n      <td>13<\/td>\n      <td>13#<\/td>\n    <\/tr>\n    <tr>\n      <td>14<\/td>\n      <td>14#<\/td>\n    <\/tr>\n    <tr>\n      <td>19<\/td>\n      <td>19#<\/td>\n    <\/tr>\n    <tr>\n      <td>16<\/td>\n      <td>16#<\/td>\n    <\/tr>\n    <tr>\n      <td>25<\/td>\n      <td>25#<\/td>\n    <\/tr>\n    <tr>\n      <td rowspan=\"5\">EasyPumpVI<\/td>\n      <td rowspan=\"5\">5<\/td>\n      <td>13<\/td>\n      <td>13#<\/td>\n    <\/tr>\n    <tr>\n      <td>14<\/td>\n      <td>14#<\/td>\n    <\/tr>\n    <tr>\n      <td>19<\/td>\n      <td>19#<\/td>\n    <\/tr>\n    <tr>\n      <td>16<\/td>\n      <td>16#<\/td>\n    <\/tr>\n    <tr>\n      <td>25<\/td>\n      <td>25#<\/td>\n    <\/tr>\n    <tr>\n      <td rowspan=\"7\">2*EasyPumpI<\/td>\n      <td rowspan=\"7\">6<\/td>\n      <td>13<\/td>\n      <td>13#<\/td>\n    <\/tr>\n    <tr>\n      <td>14<\/td>\n      <td>14#<\/td>\n    <\/tr>\n    <tr>\n      <td>19<\/td>\n      <td>19#<\/td>\n    <\/tr>\n    <tr>\n      <td>16<\/td>\n      <td>16#<\/td>\n    <\/tr>\n    <tr>\n      <td>25<\/td>\n      <td>25#<\/td>\n    <\/tr>\n    <tr>\n      <td>17<\/td>\n      <td>17#<\/td>\n    <\/tr>\n    <tr>\n      <td>18<\/td>\n      <td>18#<\/td>\n    <\/tr>\n    <tr>\n      <td rowspan=\"4\">2*EasyPumpII<\/td>\n      <td rowspan=\"4\">7<\/td>\n      <td>15<\/td>\n      <td>15#<\/td>\n    <\/tr>\n    <tr>\n      <td>24<\/td>\n      <td>24#<\/td>\n    <\/tr>\n    <tr>\n      <td>35<\/td>\n      <td>35#<\/td>\n    <\/tr>\n    <tr>\n      <td>36<\/td>\n      <td>36#<\/td>\n    <\/tr>\n    <tr>\n      <td rowspan=\"7\">2*EasyPumpIII<\/td>\n      <td rowspan=\"7\">8<\/td>\n      <td>13<\/td>\n      <td>13#<\/td>\n    <\/tr>\n    <tr>\n      <td>14<\/td>\n      <td>14#<\/td>\n    <\/tr>\n    <tr>\n      <td>19<\/td>\n      <td>19#<\/td>\n    <\/tr>\n    <tr>\n      <td>16<\/td>\n      <td>16#<\/td>\n    <\/tr>\n    <tr>\n      <td>25<\/td>\n      <td>25#<\/td>\n    <\/tr>\n    <tr>\n      <td>17<\/td>\n      <td>17#<\/td>\n    <\/tr>\n    <tr>\n      <td>18<\/td>\n      <td>18#<\/td>\n    <\/tr>\n\n    <tr>\n      <td rowspan=\"7\">YZ1515x<\/td>\n      <td rowspan=\"7\">12<\/td>\n      <td>13<\/td>\n      <td>13#<\/td>\n    <\/tr>\n    <tr>\n      <td>14<\/td>\n      <td>14#<\/td>\n    <\/tr>\n    <tr>\n      <td>19<\/td>\n      <td>19#<\/td>\n    <\/tr>\n    <tr>\n      <td>16<\/td>\n      <td>16#<\/td>\n    <\/tr>\n    <tr>\n      <td>25<\/td>\n      <td>25#<\/td>\n    <\/tr>\n    <tr>\n      <td>17<\/td>\n      <td>17#<\/td>\n    <\/tr>\n    <tr>\n      <td>18<\/td>\n      <td>18#<\/td>\n    <\/tr>\n    <tr>\n      <td rowspan=\"2\">YZ2515x<\/td>\n      <td rowspan=\"2\">13<\/td>\n      <td>15<\/td>\n      <td>15#<\/td>\n    <\/tr>\n    <tr>\n      <td>24<\/td>\n      <td>24#<\/td>\n    <\/tr>\n\n\n    <tr>\n      <td rowspan=\"4\">DZ25-3L<\/td>\n      <td rowspan=\"4\">18<\/td>\n      <td>15<\/td>\n      <td>15#<\/td>\n    <\/tr>\n    <tr>\n      <td>24<\/td>\n      <td>24#<\/td>\n    <\/tr>\n    <tr>\n      <td>35<\/td>\n      <td>35#<\/td>\n    <\/tr>\n    <tr>\n      <td>36<\/td>\n      <td>36#<\/td>\n    <\/tr>\n    <tr>\n      <td rowspan=\"5\">UC15<\/td>\n      <td rowspan=\"5\">20<\/td>\n      <td>19<\/td>\n      <td>19#<\/td>\n    <\/tr>\n    <tr>\n      <td>16<\/td>\n      <td>16#<\/td>\n    <\/tr>\n    <tr>\n      <td>25<\/td>\n      <td>25#<\/td>\n    <\/tr>\n    <tr>\n      <td>17<\/td>\n      <td>17#<\/td>\n    <\/tr>\n    <tr>\n      <td>18<\/td>\n      <td>18#<\/td>\n    <\/tr>\n    <tr>\n      <td rowspan=\"3\">UC25<\/td>\n      <td rowspan=\"3\">21<\/td>\n      <td>24<\/td>\n      <td>24#<\/td>\n    <\/tr>\n    <tr>\n      <td>35<\/td>\n      <td>35#<\/td>\n    <\/tr>\n    <tr>\n      <td>36<\/td>\n      <td>36#<\/td>\n    <\/tr>\n    <tr>\n      <td rowspan=\"2\">SN15<\/td>\n      <td rowspan=\"2\">22<\/td>\n      <td>14<\/td>\n      <td>14#<\/td>\n    <\/tr>\n    <tr>\n      <td>16<\/td>\n      <td>16#<\/td>\n    <\/tr>\n    <tr>\n      <td rowspan=\"1\">SN25<\/td>\n      <td rowspan=\"1\">23<\/td>\n      <td>24<\/td>\n      <td>24#<\/td>\n    <\/tr>\n  <\/tbody>\n<\/table>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3c77785 elementor-widget elementor-widget-text-editor\" data-id=\"3c77785\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>&#128161; Important Note:<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-54d3317 elementor-widget elementor-widget-text-editor\" data-id=\"54d3317\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul>\n \t<li>The table above is not exhaustive and includes only a subset of pump heads and tubing sizes. For the complete list, please refer to the documentation.<\/li>\n<\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5e5e0a2 elementor-widget elementor-widget-heading\" data-id=\"5e5e0a2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Examples of Command Strings<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3fbb3ff elementor-widget elementor-widget-text-editor\" data-id=\"3fbb3ff\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>Example 1: Start the pump<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5a05e55 elementor-widget elementor-widget-text-editor\" data-id=\"5a05e55\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li>Address: <strong>01<\/strong>, indicates the device address to which the command is being sent.<\/li><li>Function Code: <strong>06<\/strong>, used to write a single value to a register.<\/li><li>Register Address: <strong>03F0<\/strong>, register address corresponding to the control register for starting the pump&nbsp; (1008 in hexadecimal).<\/li><li>Data: <strong>0001<\/strong>, written to the register to start the pump (1: Start, 0: Stop).<\/li><li>CRC: <strong>487D<\/strong>, value used to ensure data integrity.<\/li><\/ul><p>Therefore, the corresponding command string to start the pump is: <strong>01 06 03 F0 00 01 48 7D<\/strong>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1dfded8 elementor-widget elementor-widget-text-editor\" data-id=\"1dfded8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>Example 2: Set the pump speed to 20 rpm<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f483acb elementor-widget elementor-widget-text-editor\" data-id=\"f483acb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li>Address: <strong>01<\/strong>, indicates the device address to which the command is being sent.<\/li><li>Function Code: <strong>10<\/strong>, used to write values to multiple registers.<\/li><li>Register Address: <strong>03EA<\/strong>, register address corresponding to the speed setting register (1002 in hexadecimal).<\/li><li>Number of Registers: <strong>0002<\/strong>, two registers will be written to.<\/li><li>Byte Count: <strong>04<\/strong>, number of data bytes to be written.<\/li><li>Data: <strong>41A00007<\/strong>,&nbsp; represents the speed setting in float format corresponding to 20 RPM.<\/li><li>CRC: <strong>D76E<\/strong>,&nbsp;value used to ensure data integrity.<\/li><\/ul><p>Therefore, the corresponding command string to set the pump speed to 20 rpm is: <strong>01 10 03 EA 00 02 04 41 A0 00 07 D7 6E<\/strong>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-898c1b9 elementor-widget elementor-widget-text-editor\" data-id=\"898c1b9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>These 2 examples and other examples of&nbsp; command strings are presented in the table below.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-35b72b2 elementor-widget elementor-widget-text-editor\" data-id=\"35b72b2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<table>\n<tbody>\n<tr>\n<th>Task<\/th>\n<th>Command String<\/th>\n<\/tr>\n<tr>\n<td>Start pump<\/td>\n<td>01 06 03 F0 00 01 48 7D<\/td>\n<\/tr>\n<tr>\n<td>Set direction to CCW<\/td>\n<td>01 06 03 F1 00 00 D8 7D<\/td>\n<\/tr>\n<tr>\n<td>Set direction to CW<\/td>\n<td>01 06 03 F1 00 01 19 BD<\/td>\n<\/tr>\n<tr>\n<td>Set speed to 20 RPM<\/td>\n<td>01 10 03 EA 00 02 04 41 A0 00 07 D7 6E<\/td>\n<\/tr>\n<tr>\n<td>Set flow rate to 50.0 mL\/min<\/td>\n<td>01 10 03 EC 00 02 04 42 48 00 00 7D 2C<\/td>\n<\/tr>\n<tr>\n<td>Stop pump<\/td>\n<td>01 06 03 F0 00 00 89 BD<\/td>\n<\/tr>\n<tr>\n<td>Start full speed running<\/td>\n<td>01 06 03 F2 00 01 E9 BD<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-91454a9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"91454a9\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e1fd1c0\" data-id=\"e1fd1c0\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0196ace elementor-widget elementor-widget-heading\" data-id=\"0196ace\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to Control the LabV Pumps Using Python ?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-24bb349 elementor-widget elementor-widget-text-editor\" data-id=\"24bb349\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The LabV pump series can be controlled remotely using the MODBUS RTU protocol via Python, offering greater flexibility and convenience for running complex pumping programs with loops, pauses, and varying speeds\/flow rates. This approach is particularly useful when integrating multiple devices, as it allows for the automation of sequences involving all connected equipment.<\/p><p>In this section, a dedicated custom Python library that utilizes the MODBUS RTU protocol will be introduced, allowing one to open the serial port and send control command strings to the LabV pump. We&rsquo;ll cover examples that show how to set speed, start and stop the pump, set pump head and tube size, etc., providing a practical guide to using Python for controlling a LabV pump.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c485fe4 elementor-widget elementor-widget-text-editor\" data-id=\"c485fe4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>&#128680;&#128680;&#128680; Important Note<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9e8210c elementor-widget elementor-widget-text-editor\" data-id=\"9e8210c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul>\n \t<li>When viewing this code, please be aware that <strong><span style=\"color: red;\">&lt;<\/span><\/strong>, <strong><span style=\"color: red;\">&gt;<\/span><\/strong>, and <strong><span style=\"color: red;\">&amp;<\/span><\/strong> symbols might not display correctly due to formatting issues. These should appear as standard Python code syntax, so make sure to interpret <strong><span style=\"color: red;\">&amp;lt;<\/span><\/strong> as <strong><span style=\"color: red;\">&lt;<\/span><\/strong>,<strong> <span style=\"color: red;\">&amp;gt;<\/span><\/strong> as <strong><span style=\"color: red;\">&gt;<\/span><\/strong>, and <strong><span style=\"color: red;\">&amp;amp;<\/span><\/strong> as <strong><span style=\"color: red;\">&amp;<\/span><\/strong>.<\/li>\n<\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ce25554 elementor-widget elementor-widget-code-highlight\" data-id=\"ce25554\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly class=\"language-python\">\n\t\t\t\t\t<xmp>'''\r\n-----------------------------------------------------------\r\nLABV Peristaltic Pump Control Library Using Modbus Protocol\r\n-----------------------------------------------------------\r\n'''\r\n\r\nimport serial\r\nimport struct\r\n\r\n#------------------------------------------------------#\r\n#   LIBRARY MANAGING THE COMMUNICATION WITH THE PUMP   #\r\n#------------------------------------------------------#\r\n\r\nclass LABV:\r\n    \r\n    # Initialize the object and establish a serial connection with the corresponding data format\r\n    def __init__(self, port, address=1, baudrate=9600, parity='E', bytesize=8, stopbits=1, timeout=1):\r\n        self.ser = serial.Serial(port=port, baudrate=baudrate, parity=parity,\r\n                                 bytesize=bytesize, stopbits=stopbits, timeout=timeout)\r\n        self.address = address\r\n\r\n    # Connect the pump\r\n    def connect(self):\r\n        if not self.ser.is_open:\r\n            self.ser.open()\r\n\r\n    # Close the serial connection\r\n    def disconnect(self):\r\n        if self.ser.is_open:\r\n            self.ser.close()\r\n\r\n    # Calculate the CRC (Cyclic Redundancy Check) for data integrity as\r\n    # explained in \"The MODBUS RTU Communication Protocol\" section\r\n    def _calculate_crc(self, data):\r\n        crc = 0xFFFF\r\n        for byte in data:\r\n            crc ^= byte\r\n            for _ in range(8):\r\n                if crc &amp; 0x0001:\r\n                    crc &gt;&gt;= 1\r\n                    crc ^= 0xA001\r\n                else:\r\n                    crc &gt;&gt;= 1\r\n        return crc.to_bytes(2, byteorder='little')\r\n\r\n    # Convert data into bytes for communication\r\n    def _prepare_data(self, data, data_type):\r\n        if data_type == 'float':\r\n            return struct.pack('&gt;f', data)\r\n        elif data_type == 'int':\r\n            return data.to_bytes(2, byteorder='big')\r\n        else:\r\n            raise ValueError(\"Data type not supported.\")\r\n\r\n    # Construct, send commands to the pump and verify the response\r\n    def _send_command(self, function_code, register_address, data, data_type):\r\n        data_bytes = self._prepare_data(data, data_type)\r\n        payload = bytearray([self.address, function_code])\r\n        payload.extend(register_address.to_bytes(2, byteorder='big'))\r\n\r\n        if function_code == 0x10:  # Write multiple registers\r\n            number_of_registers = len(data_bytes) \/\/ 2\r\n            payload.extend(number_of_registers.to_bytes(2, byteorder='big'))\r\n            payload.append(len(data_bytes))\r\n            payload.extend(data_bytes)\r\n        else:\r\n            payload.extend(data_bytes)\r\n\r\n        crc = self._calculate_crc(payload)\r\n        payload.extend(crc)\r\n        print(f\"Sending payload: {payload.hex()}\")  # Debug: Print the payload\r\n\r\n        self.ser.write(payload)\r\n        response = self.ser.read(8) # Adjust as per the device response length\r\n        if len(response) != 8:\r\n            raise ValueError(\"Invalid response length\")\r\n        if self._calculate_crc(response[:-2]) != response[-2:]:\r\n            raise ValueError(\"Invalid CRC\")\r\n        return response\r\n\r\n    #------------------------------#\r\n    #   BASIC PARAMETERS SETTING   #\r\n    #------------------------------#\r\n    \r\n    # Start the pump\r\n    def start_pump(self):\r\n        print(\"Starting pump...\")\r\n        response = self._send_command(0x06, 0x03F0, 0x0001, 'int')\r\n        print(f\"Start pump response: {response.hex()}\")\r\n        \r\n    # Stop the pump\r\n    def stop_pump(self):\r\n        print(\"Stopping pump...\")\r\n        response = self._send_command(0x06, 0x03F0, 0x0000, 'int')\r\n        print(f\"Stop pump response: {response.hex()}\")\r\n        \r\n    # Set the pump head\r\n    def set_pump_head(self, pump_head):\r\n        print(f\"Setting pump head to {pump_head}...\")\r\n        response = self._send_command(0x06, 0x03E8, pump_head, 'int')\r\n        print(f\"Set pump head response: {response.hex()}\")\r\n        \r\n    # Set the tube size\r\n    def set_tube_size(self, tube_size):\r\n        print(f\"Setting tube size to {tube_size}...\")\r\n        response = self._send_command(0x06, 0x03E9, tube_size, 'int')\r\n        print(f\"Set tube size response: {response.hex()}\")\r\n        \r\n    # Set the direction of rotation\r\n    def set_direction(self, direction):\r\n        print(f\"Setting direction to {direction}...\")\r\n        data = 0x0001 if direction.upper() == \"CW\" else 0x0000\r\n        response = self._send_command(0x06, 0x03F1, data, 'int')\r\n        print(f\"Set direction response: {response.hex()}\")\r\n        \r\n    # Set the speed of the pump in RPM\r\n    def set_speed(self, speed):\r\n        print(f\"Setting speed to {speed} RPM...\")\r\n        response = self._send_command(0x10, 0x03EA, speed, 'float')\r\n        print(f\"Set speed response: {response.hex()}\")\r\n\r\n    # Set the flow rate in mL\/min\r\n    def set_flow_rate(self, flow_rate):\r\n        print(f\"Setting flow rate to {flow_rate} mL\/min...\")\r\n        response = self._send_command(0x10, 0x03EC, flow_rate, 'float')\r\n        print(f\"Set flow rate response: {response.hex()}\")\r\n        \r\n    # Set the flow volume in mL\r\n    def set_flow_volume(self, volume):\r\n        print(f\"Setting flow volume to {volume} mL...\")\r\n        response = self._send_command(0x10, 0x03F3, volume, 'float')\r\n        print(f\"Set flow volume response: {response.hex()}\")\r\n\r\n    # Set the working time in seconds\r\n    def set_working_time(self, time):\r\n        print(f\"Setting working time to {time} seconds...\")\r\n        response = self._send_command(0x10, 0x03FA, time, 'float')\r\n        print(f\"Set working time response: {response.hex()}\")\r\n\r\n    # Set the working mode\r\n    def set_working_mode(self, mode):\r\n        \"\"\"\r\n        Working modes:\r\n        0: Transferring\r\n        1: Fixed volume measurement\r\n        2: Fixed time and volume\r\n        \"\"\"\r\n        if mode not in [0, 1, 2]:\r\n            raise ValueError(\"Invalid working mode. Must be 0, 1, or 2.\")\r\n        \r\n        print(f\"Setting working mode to {mode}...\")\r\n        response = self._send_command(0x06, 0x03FC, mode, 'int')\r\n        print(f\"Set working mode response: {response.hex()}\")\r\n        \r\n    # Set the pause time in seconds\r\n    def set_pause_time(self, time):\r\n        print(f\"Setting pause time to {time} seconds...\")\r\n        response = self._send_command(0x10, 0x03FD, time, 'float')\r\n        print(f\"Set pause time response: {response.hex()}\")\r\n\r\n    # Set the number of copies\r\n    def set_copy_numbers(self, numbers):\r\n        print(f\"Setting copy numbers to {numbers}...\")\r\n        response = self._send_command(0x06, 0x03FF, numbers, 'int')\r\n        print(f\"Set copy numbers response: {response.hex()}\")\r\n\r\n    # Set the back suction angle in degrees\r\n    def set_back_suction_angle(self, angle):\r\n        print(f\"Setting back suction angle to {angle} degrees...\")\r\n        response = self._send_command(0x06, 0x03EF, angle, 'int')\r\n        print(f\"Set back suction angle response: {response.hex()}\")\r\n\r\n    # Start or stop full speed running\r\n    def set_full_speed_running(self, start):\r\n        state = \"Start\" if start else \"Stop\"\r\n        print(f\"{state} full speed running...\")\r\n        data = 0x0001 if start else 0x0000\r\n        response = self._send_command(0x06, 0x03F2, data, 'int')\r\n        print(f\"{state} full speed running response: {response.hex()}\")\r\n        \r\n    #---------------------------------------#\r\n    #   CALIBRATION PARAMETERS SETTING UP   #\r\n    #---------------------------------------#\r\n    \r\n    # Set the testing time in seconds\r\n    def set_testing_time(self, time):\r\n        print(f\"Setting testing time to {time} seconds...\")\r\n        response = self._send_command(0x06, 0x07D1, time, 'int')\r\n        print(f\"Set testing time response: {response.hex()}\")\r\n        \r\n    # Start the calibration test\r\n    def start_test(self):\r\n        print(\"Starting test...\")\r\n        response = self._send_command(0x06, 0x07D2, 0x0001, 'int')\r\n        print(f\"Start test response: {response.hex()}\")\r\n        \r\n    # Stop the calibration test\r\n    def stop_test(self):\r\n        print(\"Stopping test...\")\r\n        response = self._send_command(0x06, 0x07D2, 0x0000, 'int')\r\n        print(f\"Stop test response: {response.hex()}\")\r\n        \r\n    # Set the actual volume in mL\r\n    def set_actual_volume(self, volume):\r\n        print(f\"Setting actual volume to {volume} mL...\")\r\n        response = self._send_command(0x10, 0x07D3, volume, 'float')\r\n        print(f\"Set actual volume response: {response.hex()}\")\r\n        \r\n    # Restore calibration defaults\r\n    def restore_defaults(self):\r\n        print(\"Restoring defaults...\")\r\n        response = self._send_command(0x06, 0x07D5, 0x0001, 'int')\r\n        print(f\"Restore defaults response: {response.hex()}\")\r\n        \r\n    # Perform micro adjustment (increase or decrease)\r\n    def micro_adjustment(self, increase=True):\r\n        action = \"Increase\" if increase else \"Decrease\"\r\n        print(f\"{action} micro adjustment...\")\r\n        data = 0x0001 if increase else 0x0000\r\n        response = self._send_command(0x06, 0x07D6, data, 'int')\r\n        print(f\"{action} micro adjustment response: {response.hex()}\")\r\n        \r\n#-----------------------------------------------------------------------#\r\n#   EXAMPLES ON HOW TO USE THE DEFINED CLASS TO CONTROL THE LABV PUMP   #\r\n#-----------------------------------------------------------------------#\r\n\r\nif __name__ == \"__main__\":\r\n    pump = LABV(port='COM6', address=1)  # Change port and address according to your setup\r\n    pump.connect()\r\n\r\n    try:\r\n        pump.set_pump_head(5)\r\n        pump.set_tube_size(16)\r\n        pump.set_direction(\"CW\")\r\n        pump.set_speed(50)\r\n        pump.set_flow_rate(50.0)\r\n        pump.set_back_suction_angle(0)\r\n        pump.set_full_speed_running(True)\r\n        pump.start_pump()\r\n\r\n    except Exception as e:\r\n        print(f\"An error occurred: {e}\")\r\n    finally:\r\n        pump.stop_pump()\r\n        pump.disconnect()\r\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2e0bca4 elementor-widget elementor-widget-text-editor\" data-id=\"2e0bca4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This Python library, to control the LabV pump series via the MODBUS RTU protocol, allows for precise and automated control over various pump parameters such as speed, direction, pump head, and tube size. Users of a LabV pump can now easily integrate their pump into some complex workflows involving multiple devices, enhancing operational efficiency and flexibility.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-679f305 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"679f305\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-71d5293\" data-id=\"71d5293\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-336c844 elementor-widget elementor-widget-heading\" data-id=\"336c844\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Conclusion<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c5dacb0 elementor-widget elementor-widget-text-editor\" data-id=\"c5dacb0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In this blog post, we&rsquo;ve introduced the LabV peristaltic pump series and explored the basics of its external control Python using the MODBUS RTU communication protocol.&nbsp;We hope this post serves as a valuable guide for researchers and engineers seeking to employ a LabV peristaltic pump in their microfluidics research and experiments.<\/p><p><strong><em>&#128680; <\/em><\/strong><em>While variations exist between the different series of Innofluid Lab pumps, we emphasize that the communication protocol remains almost unchanged. Whether you&rsquo;re using the LabF series, LabN series, or any other, we trust that this content will also be beneficial for your future projects.<\/em><\/p><p>Stay tuned for more insights, tutorials, and practical applications in our future posts. Until then, happy pumping and coding &#128187;!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-17b2b7c elementor-widget elementor-widget-text-editor\" data-id=\"17b2b7c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>&#128231; If you have any questions or feedback, please feel free to contact us at <a href=\"https:\/\/darwin-microfluidics.com\/pages\/contact-us\"><span style=\"font-weight: 400;\">support@darwin-microfluidics.com<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-97f1388 elementor-widget elementor-widget-global elementor-global-18550 elementor-widget-pix-promo-box\" data-id=\"97f1388\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"cta2\" data-widget_type=\"pix-promo-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"pix-promo-box card w-100 h-1002 bg-heading-default  pix-hover-item rounded-10 position-relative overflow-hidden text-white   text-left w-100 d-block\"><img decoding=\"async\" src=\"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/02\/image-WTTJ-1-1.jpg\" class=\"card-img pix-bg-image pix-img-scale h-100 rounded-10 pix-opacity-4 pix-hover-opacity-4\" alt=\"Need some help with your microfluidic project?\"\/><a href=\"https:\/\/darwin-microfluidics.com\/contact-us\" class=\"card-img-overlay2 d-inline-block w-100 pix-img-overlay pix-p-20 d-flex align-items-end\" style=\"min-height:300px;\"><div class=\"w-100\"><div class=\"\"><span class=\"pix-badge-element d-inline-block mr-1 \"><span class=\"badge font-weight-bold bg-primary  \" style=\"font-size:22px; \"><span class=\"text-white\" style=\"\">Contact our experts!<\/span><\/span><\/span><\/div><h2 class=\"card-title font-weight-bold text-white pix-my-10\" style=\"\">Need some help with your microfluidic project?<\/h2><span class=\"d-flex align-items-center font-weight-bold text-light-opacity-6 text-20\"><span>We can make microfluidics easy for you!<\/span><i class=\"pixicon-angle-right pix-hover-right pix-hover-item pix-ml-10 font-weight-bold text-20\"><\/i><\/span><\/div><\/a><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>The LabV pump series from Innofluid (formerly known as Shenchen Baoding) is an advanced series of flow measurement peristaltic pumps featuring a 4.3-inch color touch screen for intuitive control. It displays flow data, settings, and system information simultaneously, with animations&hellip;<\/p>\n","protected":false},"author":4,"featured_media":23931,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_kc_parent_guide":"","_kc_products":"","_kc_type":"","_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[24,33],"tags":[],"class_list":["post-23929","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-flow-control","category-guides"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Control a LabV Pump Using the MODBUS Protocol ? - Darwin Microfluidics<\/title>\n<meta name=\"description\" content=\"Learn how to control LabV pumps using the MODBUS RTU protocol with our user guide. Simplify your pump control processes effectively.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.darwin-microfluidics.com\/how-to-control-a-labv-pump-using-the-modbus-protocol\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Control a LabV Pump Using the MODBUS Protocol ? - Darwin Microfluidics\" \/>\n<meta property=\"og:description\" content=\"Learn how to control LabV pumps using the MODBUS RTU protocol with our user guide. Simplify your pump control processes effectively.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.darwin-microfluidics.com\/how-to-control-a-labv-pump-using-the-modbus-protocol\/\" \/>\n<meta property=\"og:site_name\" content=\"Darwin Microfluidics\" \/>\n<meta property=\"article:published_time\" content=\"2024-06-10T12:50:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-19T14:25:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/05\/LabV1-III.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"640\" \/>\n\t<meta property=\"og:image:height\" content=\"640\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Elia Missi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Elia Missi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-a-labv-pump-using-the-modbus-protocol\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-a-labv-pump-using-the-modbus-protocol\\\/\"},\"author\":{\"name\":\"Elia Missi\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#\\\/schema\\\/person\\\/c80a1276036340d7e994346f251af8f5\"},\"headline\":\"How to Control a LabV Pump Using the MODBUS Protocol ?\",\"datePublished\":\"2024-06-10T12:50:28+00:00\",\"dateModified\":\"2026-11-19T14:25:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-a-labv-pump-using-the-modbus-protocol\\\/\"},\"wordCount\":2410,\"publisher\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-a-labv-pump-using-the-modbus-protocol\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/LabV1-III.jpg\",\"articleSection\":[\"Flow control\",\"Guides &amp; tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-a-labv-pump-using-the-modbus-protocol\\\/\",\"url\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-a-labv-pump-using-the-modbus-protocol\\\/\",\"name\":\"How to Control a LabV Pump Using the MODBUS Protocol ? - Darwin Microfluidics\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-a-labv-pump-using-the-modbus-protocol\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-a-labv-pump-using-the-modbus-protocol\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/LabV1-III.jpg\",\"datePublished\":\"2024-06-10T12:50:28+00:00\",\"dateModified\":\"2026-11-19T14:25:03+00:00\",\"description\":\"Learn how to control LabV pumps using the MODBUS RTU protocol with our user guide. Simplify your pump control processes effectively.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-a-labv-pump-using-the-modbus-protocol\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-a-labv-pump-using-the-modbus-protocol\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-a-labv-pump-using-the-modbus-protocol\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/LabV1-III.jpg\",\"contentUrl\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/LabV1-III.jpg\",\"width\":640,\"height\":640,\"caption\":\"An image of the LabV-III Intelligent Flow Rate Peristaltic Pump with a white background.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-a-labv-pump-using-the-modbus-protocol\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Control a LabV Pump Using the MODBUS Protocol ?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#website\",\"url\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/\",\"name\":\"Blog\",\"description\":\"Our Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#organization\",\"name\":\"Darwin Microfluidics\",\"url\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/Darwin-Microfluidics-logo.png\",\"contentUrl\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/Darwin-Microfluidics-logo.png\",\"width\":300,\"height\":90,\"caption\":\"Darwin Microfluidics\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/company\\\/darwin-microfluidics\\\/\",\"https:\\\/\\\/darwin-microfluidics.com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#\\\/schema\\\/person\\\/c80a1276036340d7e994346f251af8f5\",\"name\":\"Elia Missi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aaae1cf6fd60bdd2785e730c1eef40d923b09eadd04f575148e3be51d2e1c35a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aaae1cf6fd60bdd2785e730c1eef40d923b09eadd04f575148e3be51d2e1c35a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aaae1cf6fd60bdd2785e730c1eef40d923b09eadd04f575148e3be51d2e1c35a?s=96&d=mm&r=g\",\"caption\":\"Elia Missi\"},\"url\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/author\\\/eliamissi\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Control a LabV Pump Using the MODBUS Protocol ? - Darwin Microfluidics","description":"Learn how to control LabV pumps using the MODBUS RTU protocol with our user guide. Simplify your pump control processes effectively.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-a-labv-pump-using-the-modbus-protocol\/","og_locale":"en_US","og_type":"article","og_title":"How to Control a LabV Pump Using the MODBUS Protocol ? - Darwin Microfluidics","og_description":"Learn how to control LabV pumps using the MODBUS RTU protocol with our user guide. Simplify your pump control processes effectively.","og_url":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-a-labv-pump-using-the-modbus-protocol\/","og_site_name":"Darwin Microfluidics","article_published_time":"2024-06-10T12:50:28+00:00","article_modified_time":"2026-11-19T14:25:03+00:00","og_image":[{"width":640,"height":640,"url":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/05\/LabV1-III.jpg","type":"image\/jpeg"}],"author":"Elia Missi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Elia Missi","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-a-labv-pump-using-the-modbus-protocol\/#article","isPartOf":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-a-labv-pump-using-the-modbus-protocol\/"},"author":{"name":"Elia Missi","@id":"https:\/\/blog.darwin-microfluidics.com\/#\/schema\/person\/c80a1276036340d7e994346f251af8f5"},"headline":"How to Control a LabV Pump Using the MODBUS Protocol ?","datePublished":"2024-06-10T12:50:28+00:00","dateModified":"2026-11-19T14:25:03+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-a-labv-pump-using-the-modbus-protocol\/"},"wordCount":2410,"publisher":{"@id":"https:\/\/blog.darwin-microfluidics.com\/#organization"},"image":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-a-labv-pump-using-the-modbus-protocol\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/05\/LabV1-III.jpg","articleSection":["Flow control","Guides &amp; tutorials"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-a-labv-pump-using-the-modbus-protocol\/","url":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-a-labv-pump-using-the-modbus-protocol\/","name":"How to Control a LabV Pump Using the MODBUS Protocol ? - Darwin Microfluidics","isPartOf":{"@id":"https:\/\/blog.darwin-microfluidics.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-a-labv-pump-using-the-modbus-protocol\/#primaryimage"},"image":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-a-labv-pump-using-the-modbus-protocol\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/05\/LabV1-III.jpg","datePublished":"2024-06-10T12:50:28+00:00","dateModified":"2026-11-19T14:25:03+00:00","description":"Learn how to control LabV pumps using the MODBUS RTU protocol with our user guide. Simplify your pump control processes effectively.","breadcrumb":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-a-labv-pump-using-the-modbus-protocol\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.darwin-microfluidics.com\/how-to-control-a-labv-pump-using-the-modbus-protocol\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-a-labv-pump-using-the-modbus-protocol\/#primaryimage","url":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/05\/LabV1-III.jpg","contentUrl":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/05\/LabV1-III.jpg","width":640,"height":640,"caption":"An image of the LabV-III Intelligent Flow Rate Peristaltic Pump with a white background."},{"@type":"BreadcrumbList","@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-a-labv-pump-using-the-modbus-protocol\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.darwin-microfluidics.com\/"},{"@type":"ListItem","position":2,"name":"How to Control a LabV Pump Using the MODBUS Protocol ?"}]},{"@type":"WebSite","@id":"https:\/\/blog.darwin-microfluidics.com\/#website","url":"https:\/\/blog.darwin-microfluidics.com\/","name":"Blog","description":"Our Blog","publisher":{"@id":"https:\/\/blog.darwin-microfluidics.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.darwin-microfluidics.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/blog.darwin-microfluidics.com\/#organization","name":"Darwin Microfluidics","url":"https:\/\/blog.darwin-microfluidics.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.darwin-microfluidics.com\/#\/schema\/logo\/image\/","url":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/02\/Darwin-Microfluidics-logo.png","contentUrl":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/02\/Darwin-Microfluidics-logo.png","width":300,"height":90,"caption":"Darwin Microfluidics"},"image":{"@id":"https:\/\/blog.darwin-microfluidics.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/darwin-microfluidics\/","https:\/\/darwin-microfluidics.com"]},{"@type":"Person","@id":"https:\/\/blog.darwin-microfluidics.com\/#\/schema\/person\/c80a1276036340d7e994346f251af8f5","name":"Elia Missi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/aaae1cf6fd60bdd2785e730c1eef40d923b09eadd04f575148e3be51d2e1c35a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/aaae1cf6fd60bdd2785e730c1eef40d923b09eadd04f575148e3be51d2e1c35a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/aaae1cf6fd60bdd2785e730c1eef40d923b09eadd04f575148e3be51d2e1c35a?s=96&d=mm&r=g","caption":"Elia Missi"},"url":"https:\/\/blog.darwin-microfluidics.com\/author\/eliamissi\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/05\/LabV1-III.jpg","_links":{"self":[{"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/posts\/23929","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/comments?post=23929"}],"version-history":[{"count":332,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/posts\/23929\/revisions"}],"predecessor-version":[{"id":33685,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/posts\/23929\/revisions\/33685"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/media\/23931"}],"wp:attachment":[{"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/media?parent=23929"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/categories?post=23929"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/tags?post=23929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}