{"id":19605,"date":"2024-03-01T15:45:16","date_gmt":"2024-03-01T14:45:16","guid":{"rendered":"https:\/\/blog.darwin-microfluidics.com\/?p=19605"},"modified":"2026-11-19T15:14:22","modified_gmt":"2026-11-19T14:14:22","slug":"how-to-control-the-longer-l100-1s-2-pump-via-python","status":"publish","type":"post","link":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-l100-1s-2-pump-via-python\/","title":{"rendered":"How\u00a0to Control\u00a0the\u00a0Longer\u00a0L100-1S-2\u00a0Pump via Python ?"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"19605\" class=\"elementor elementor-19605\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bea0ff8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bea0ff8\" 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-b8c22ff\" data-id=\"b8c22ff\" 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-3a55deb elementor-widget elementor-widget-text-editor\" data-id=\"3a55deb\" 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>If you are looking for a <strong>precision peristaltic pump<\/strong> designed for precise laboratory applications from less than 1 &micro;L\/min and up to 366.7 mL\/min, depending on the number of rollers in the pump head, you might want to check out the <strong>Longer <a href=\"https:\/\/darwin-microfluidics.com\/products\/l100-1s-2-precision-peristaltic-pump?variant=43791022031083\" target=\"_blank\" rel=\"noopener\">L100-1S-2<\/a><\/strong>.&nbsp; This pump delivers your fluids with the highest precision on a wide range of flow rates, and is also relatively cheap.<\/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-857ef50 elementor-widget elementor-widget-text-editor\" data-id=\"857ef50\" 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>It can be controlled remotely from your computer which can give you more flexibility and convenience, especially if you want to run complex pumping programs with loops, pauses, and varying flow rates.<\/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-6e560de elementor-widget elementor-widget-text-editor\" data-id=\"6e560de\" 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 will show you how to communicate with the L100-1S-2 using the <strong>LONGER RS485 protocol<\/strong>, which is a serial communication protocol that allows you to send commands and receive responses from the pump. We will also provide some examples and <a href=\"#code\">code snippets<\/a> on how to use <strong>Python<\/strong> to write and send control command strings to the pump.<\/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-cab52e6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"cab52e6\" 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-06967f0\" data-id=\"06967f0\" 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-4d93430 elementor-widget elementor-widget-heading\" data-id=\"4d93430\" 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 the L100-1S-2 ?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d3afda5 elementor-widget elementor-widget-text-editor\" data-id=\"d3afda5\" 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 the L100-1S-2 using the LONGER RS485 protocol, you will need the following:<\/p><ul><li>A L100-1S-2 pump 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 RS485 <a href=\"https:\/\/darwin-microfluidics.com\/collections\/peristaltic-pump-accessories\/products\/external-control-module-for-longer-pumps\">control module<\/a> that plugs into the DB15 port on the rear of the pump<\/li><li>A <a href=\"https:\/\/darwin-microfluidics.com\/products\/usb-to-rs485-serial-converter-cable\/\">serial cable<\/a> that connects the RS485 control module to your computer or device<\/li><li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">A programming platform (Python in the case herein)<\/span><\/li><li>A basic understanding of the data format, command format, and pdu format of the LONGER RS485 protocol (explained below <a href=\"#pdu\">&#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-d573211 elementor-widget elementor-widget-global elementor-global-18316 elementor-widget-pix-promo-box\" data-id=\"d573211\" 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-5a283ce elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5a283ce\" 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-d5dec8e\" data-id=\"d5dec8e\" 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-3229377 elementor-widget elementor-widget-heading\" data-id=\"3229377\" 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-22c6f38 elementor-widget elementor-widget-text-editor\" data-id=\"22c6f38\" 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:\n<\/p><ul>\n \t<li>Connect the DB15 connector to the DB15 port on the rear of the pump\n<\/li>\n \t<li>Turn on the pump and use the keypad on the pump front to enter the remote control setting interface and set the remote control mode to &quot;COM&quot; &#128377;&#65039;<\/li>\n \t<li>Make sure the communication parameters on your programming platform match the ones of the L100-1S-2 (as can be seen in the figure below), which are:\n<ul>\n \t<li>1 start bit<\/li>\n \t<li>8 data bits<\/li>\n \t<li><strong>Parity<\/strong>: P-n (no parity), P-O (odd parity) or P-E (even parity)<\/li>\n \t<li><strong>Stop bit<\/strong>: S-1 (1 stop bit) or S-2 (2 stop bits)<\/li>\n \t<li><strong>Baud rate<\/strong>:&nbsp; 12 (1200 bits\/s), 24 (2400 bits\/s), 48 (4800 bits\/s), 96 (9600 bits\/s), 192 (19200 bits\/s) or 384 (38400 bits\/s)<\/li>\n<\/ul>\n<\/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-110e4a0 elementor-widget elementor-widget-image\" data-id=\"110e4a0\" data-element_type=\"widget\" data-e-type=\"widget\" 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<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"640\" height=\"488\" src=\"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/parameter_setting.jpg\" class=\"attachment-large size-large wp-image-19400\" alt=\"\" srcset=\"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/parameter_setting.jpg 928w, https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/parameter_setting-300x229.jpg 300w, https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/parameter_setting-768x585.jpg 768w\" sizes=\"(max-width: 640px) 100vw, 640px\"\/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Parameter setting procedure (Figure from the L100-1S-2 Operating Manual from Longer Precision Pump Co., Ltd.).<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\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-8562336 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8562336\" data-element_type=\"section\" data-e-type=\"section\" id=\"pdu\">\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-0634074\" data-id=\"0634074\" 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-02d6130 elementor-widget elementor-widget-heading\" data-id=\"02d6130\" 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 Write Control Command Strings to the L100-1S-2 ?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a3afd34 elementor-widget elementor-widget-text-editor\" data-id=\"a3afd34\" 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>Once you have set up the communication port, you can start writing and sending control command strings to the pump. A control command string is a sequence of hexadecimal characters that follows a specific format, which consists of:\n<\/p><ul>\n \t<li>a start flag (E9H)<\/li>\n \t<li>a pump address (1 to 30)<\/li>\n \t<li>a length of the pdu (protocol data unit)<\/li>\n \t<li>a pdu, which contains the command characters and the parameters for the desired application<\/li>\n \t<li>a frame check sequence (fcs), which is obtained by calculating the XOR of the pump address, the length of the pdu, and the pdu itself(compute your fcs using our online <a href=\"https:\/\/blog.darwin-microfluidics.com\/frame-check-sequence-xor-calculator-for-longer-pump-control\/\">frame check sequence XOR calculator<\/a>)<\/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-32173f2 elementor-widget elementor-widget-text-editor\" data-id=\"32173f2\" 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 pdu and its length depend on the application requested from the pump. Some of the common applications are:\n<\/p><ul>\n \t<li>Set running parameter (rotation speed)<\/li>\n \t<li>Read running parameter (rotation speed)<\/li>\n \t<li>Set running parameter (flow rate)<\/li>\n \t<li>Read running parameter (flow rate)<\/li>\n \t<li>Set the pump&rsquo;s communication parameters<\/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-6da6c7f elementor-widget elementor-widget-text-editor\" data-id=\"6da6c7f\" 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>For each application, there is a corresponding set of command characters and parameters that you need to include in the pdu. These parameters are detailed 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-5d13040 elementor-widget elementor-widget-heading\" data-id=\"5d13040\" 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\">Set Running Parameter (Rotation Speed)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9ec3675 elementor-widget elementor-widget-text-editor\" data-id=\"9ec3675\" 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 application consists of writing to the pump. The overall length of the pdu is <span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #ff0000; background-color: transparent; vertical-align: baseline;\">6 bytes<\/span> where the control command string consists of (in the exact same order):<\/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-c436640 elementor-widget elementor-widget-shortcode\" data-id=\"c436640\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<table id=\"tablepress-14\" class=\"tablepress tablepress-id-14\">\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-1\">\n\t<td class=\"column-1\">WJ<\/td><td class=\"column-2\">Set Speed<\/td><td class=\"column-3\">State 1<\/td><td class=\"column-4\">State 2<\/td>\n<\/tr>\n<tr class=\"row-2\">\n\t<td class=\"column-1\">2 bytes<\/td><td class=\"column-2\">2 bytes<\/td><td class=\"column-3\">1 byte<\/td><td class=\"column-4\">1 byte<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-14 from cache --><\/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-3bc43ec elementor-widget elementor-widget-text-editor\" data-id=\"3bc43ec\" 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>WJ, control command string of <span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #ff0000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">2 bytes<\/span>, 57 4A<\/li><li>Set speed (<span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #ff0000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">2 bytes<\/span>) with a speed unit of 0.01 rpm and a maximum speed of 100 rpm<\/li><li>State 1 (<span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #ff0000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">1 byte<\/span>):<ul><li>bit 0 &ndash; start\/stop bit where 1 is to start the pump and 0 is to stop it<\/li><li>bit 1 &ndash; prime bit where 1 is to prime the pump at full speed (100 rpm) and 0 is to run the pump at a normal speed<\/li><\/ul><\/li><li>State 2 (<span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #ff0000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">1 byte<\/span>):<ul><li>bit 0 &ndash; sets the rotation direction where 0 is for clockwise and 1 is for counter-clockwise<\/li><\/ul><\/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-e6db1a3 elementor-widget elementor-widget-text-editor\" data-id=\"e6db1a3\" 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 pump will respond with <span style=\"color: #111111; font-family: Arial, sans-serif;\"><span style=\"white-space-collapse: preserve; background-color: #cccccc;\">WJ<\/span><\/span>&nbsp;and will display on its front screen the rotation speed and the direction of rotation after receiving the control command string.<\/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-703fd75 elementor-widget elementor-widget-heading\" data-id=\"703fd75\" 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\">Read Running Parameter (Rotation Speed)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-21a7df6 elementor-widget elementor-widget-text-editor\" data-id=\"21a7df6\" 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 application consists of reading from the pump. The overall length of the pdu is <span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #ff0000; background-color: transparent; vertical-align: baseline;\">2 bytes<\/span> where the control command string is <span style=\"font-size: 12pt; font-family: Arial, sans-serif; vertical-align: baseline; white-space-collapse: preserve; background-color: #cccccc;\"><span style=\"color: #111111;\">RJ<\/span><\/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-f2b2634 elementor-widget elementor-widget-text-editor\" data-id=\"f2b2634\" 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 pump&rsquo;s response consists of: <\/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-95af248 elementor-widget elementor-widget-shortcode\" data-id=\"95af248\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<table id=\"tablepress-15\" class=\"tablepress tablepress-id-15\">\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-1\">\n\t<td class=\"column-1\">RJ<\/td><td class=\"column-2\">Show Speed<\/td><td class=\"column-3\">State 1<\/td><td class=\"column-4\">State 2<\/td>\n<\/tr>\n<tr class=\"row-2\">\n\t<td class=\"column-1\">2 bytes<\/td><td class=\"column-2\">2 bytes<\/td><td class=\"column-3\">1 byte<\/td><td class=\"column-4\">1 byte<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-15 from cache --><\/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-53247a6 elementor-widget elementor-widget-text-editor\" data-id=\"53247a6\" 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>RJ, control command string of <span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #ff0000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">2 bytes<\/span>, 52 4A<\/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-bd92e0f elementor-widget elementor-widget-heading\" data-id=\"bd92e0f\" 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\">Set Running Parameter (Flow Rate)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fbf1d82 elementor-widget elementor-widget-text-editor\" data-id=\"fbf1d82\" 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 application consists of writing to the pump. The overall length of the pdu is <span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #ff0000; background-color: transparent; vertical-align: baseline;\">8 bytes<\/span> where the control command string consists of:<\/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-15fb3ca elementor-widget-mobile__width-auto elementor-widget elementor-widget-shortcode\" data-id=\"15fb3ca\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<table id=\"tablepress-16\" class=\"tablepress tablepress-id-16\">\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-1\">\n\t<td class=\"column-1\">WL<\/td><td class=\"column-2\">Set flow rate<\/td><td class=\"column-3\">State 1<\/td><td class=\"column-4\">State 2<\/td>\n<\/tr>\n<tr class=\"row-2\">\n\t<td class=\"column-1\">2 bytes<\/td><td class=\"column-2\">4 bytes<\/td><td class=\"column-3\">1 byte<\/td><td class=\"column-4\">1 byte<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-16 from cache --><\/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-098845c elementor-widget elementor-widget-text-editor\" data-id=\"098845c\" 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>WL, control command string of <span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #ff0000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">2 bytes<\/span>, 57 4C\n<\/li>\n \t<li>Set flow rate (<span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #ff0000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">4 bytes<\/span>) with a nL\/min flow rate unit<\/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-0fc61a2 elementor-widget elementor-widget-text-editor\" data-id=\"0fc61a2\" 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 pump will respond with <span style=\"font-size: 12pt; font-family: Arial, sans-serif; vertical-align: baseline;\"><span style=\"color: #111111;\"><span style=\"white-space-collapse: preserve; background-color: #cccccc;\">WL<\/span><\/span><\/span><span style=\"font-size: 12pt; font-family: Arial, sans-serif; vertical-align: baseline;\"><span style=\"color: #000000;\">&nbsp;<\/span><\/span><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #111111; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">Show flow rate (<\/span><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #ff0000; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">4 bytes<\/span><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #111111; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">)<\/span> and will display on its front screen the flow rate and the direction of rotation after receiving the control command string.<\/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-cf77579 elementor-widget elementor-widget-heading\" data-id=\"cf77579\" 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\">Read Running Parameter (Flow Rate)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-89e3169 elementor-widget elementor-widget-text-editor\" data-id=\"89e3169\" 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 application consists of reading from the pump. The overall length of the pdu is <span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #ff0000; background-color: transparent; vertical-align: baseline;\">2 bytes<\/span> where the control command string is <span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #000000; background-color: transparent; vertical-align: baseline;\"><span style=\"color: #111111; letter-spacing: -0.16px; white-space-collapse: preserve; background-color: #cccccc;\">RL<\/span>.<\/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-01196a8 elementor-widget elementor-widget-text-editor\" data-id=\"01196a8\" 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 pump&rsquo;s response consists of:<\/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-d9413ea elementor-widget elementor-widget-shortcode\" data-id=\"d9413ea\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<table id=\"tablepress-17\" class=\"tablepress tablepress-id-17\">\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-1\">\n\t<td class=\"column-1\">RL<\/td><td class=\"column-2\">Show flow rate<\/td><td class=\"column-3\">State 1<\/td><td class=\"column-4\">State 2<\/td>\n<\/tr>\n<tr class=\"row-2\">\n\t<td class=\"column-1\">2 bytes<\/td><td class=\"column-2\">4 bytes<\/td><td class=\"column-3\">1 byte<\/td><td class=\"column-4\">1 byte<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-17 from cache --><\/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-ff7d9c4 elementor-widget elementor-widget-text-editor\" data-id=\"ff7d9c4\" 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>RL, control command string of <span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #ff0000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">2 bytes<\/span>, 52 4C.<\/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-ce2153d elementor-widget elementor-widget-heading\" data-id=\"ce2153d\" 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\">Set Pump's Communication Parameters<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cd88fbf elementor-widget elementor-widget-text-editor\" data-id=\"cd88fbf\" 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 application consists of writing to the pump in order to set the different communication parameters. The overall length of the pdu is <span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #ff0000; background-color: transparent; vertical-align: baseline;\">8 bytes<\/span> where the control command string consists of:<\/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-ecd40bd elementor-widget elementor-widget-shortcode\" data-id=\"ecd40bd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<table id=\"tablepress-18\" class=\"tablepress tablepress-id-18\">\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-1\">\n\t<td class=\"column-1\">WID<\/td><td class=\"column-2\">Address<\/td><td class=\"column-3\">Baud rate<\/td><td class=\"column-4\">Parity<\/td><td class=\"column-5\">Stop bit<\/td>\n<\/tr>\n<tr class=\"row-2\">\n\t<td class=\"column-1\">3 bytes<\/td><td class=\"column-2\">1 byte<\/td><td class=\"column-3\">2 bytes<\/td><td class=\"column-4\">1 byte<\/td><td class=\"column-5\">1 byte<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-18 from cache --><\/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-f20203a elementor-widget elementor-widget-text-editor\" data-id=\"f20203a\" 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>WID, control command string of <span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #ff0000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">3 bytes<\/span>, 57 49 44<\/li>\n \t<li>Pump address (<span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #ff0000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">1 byte<\/span>), valid range: 1-30<\/li>\n \t<li>Baud rate (<span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #ff0000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">2 bytes<\/span>), high byte is 00H and low byte is as presented in the table below:&nbsp;<\/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-c9d74da elementor-widget elementor-widget-shortcode\" data-id=\"c9d74da\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<table id=\"tablepress-19\" class=\"tablepress tablepress-id-19\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Low byte<\/th><th class=\"column-2\">Baud rate (bits\/s)<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">01H<\/td><td class=\"column-2\">1200<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">02H<\/td><td class=\"column-2\">2400<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">03H<\/td><td class=\"column-2\">4800<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">04H<\/td><td class=\"column-2\">9600<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">05H<\/td><td class=\"column-2\">19200<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">06H<\/td><td class=\"column-2\">38400<\/td>\n<\/tr>\n<tr class=\"row-8\">\n\t<td class=\"column-1\">Other value<\/td><td class=\"column-2\">Invalid<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-19 from cache --><\/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-cfdfa7e elementor-widget elementor-widget-text-editor\" data-id=\"cfdfa7e\" 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>Parity (<span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #ff0000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">1 byte<\/span>), setting as in the table below:<\/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-d4774d1 elementor-widget elementor-widget-shortcode\" data-id=\"d4774d1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<table id=\"tablepress-20\" class=\"tablepress tablepress-id-20\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Setting<\/th><th class=\"column-2\">Parity<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">01H<\/td><td class=\"column-2\">No Parity<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">02H<\/td><td class=\"column-2\">Odd Parity<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">03H<\/td><td class=\"column-2\">Even Parity<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">Other value<\/td><td class=\"column-2\">Invalid<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-20 from cache --><\/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-dd849cc elementor-widget elementor-widget-text-editor\" data-id=\"dd849cc\" 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>Stop bit (<span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #ff0000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">1 byte<\/span>), setting as in the table below:<\/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-0c99c40 elementor-widget elementor-widget-shortcode\" data-id=\"0c99c40\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<table id=\"tablepress-21\" class=\"tablepress tablepress-id-21\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Setting<\/th><th class=\"column-2\">Stop bit<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">01H<\/td><td class=\"column-2\">1 stop bit<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">02H<\/td><td class=\"column-2\">2 stop bits<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">Other value<\/td><td class=\"column-2\">Invalid<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-21 from cache --><\/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-580f8f1 elementor-widget elementor-widget-heading\" data-id=\"580f8f1\" 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 Control 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-9f4c6f9 elementor-widget elementor-widget-text-editor\" data-id=\"9f4c6f9\" 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><strong>Set the L100-1S-2 to run counter-clockwise at a rotating speed of 20 rpm<\/strong><\/li><\/ul><p><span style=\"font-weight: 400;\">Control command string:&nbsp;<\/span><span style=\"background-color: #cccccc; color: #000000; font-family: Arial, sans-serif; font-size: 12pt; white-space-collapse: preserve; letter-spacing: -0.01rem;\">E9 01 06 57 4A 07 D0 01 01 CD<\/span><\/p><ul><li><span style=\"font-weight: 400;\"><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #111111; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">E9<\/span>&nbsp;as the flag<\/span><\/li><li><span style=\"font-weight: 400;\"><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #111111; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">01<\/span>&nbsp;as the address 1 of the pump<\/span><\/li><li><span style=\"font-weight: 400;\"><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #111111; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">06<\/span>&nbsp;as the length of the pdu (<span style=\"color: #111111; font-family: Arial, sans-serif;\"><span style=\"white-space-collapse: preserve; background-color: #cccccc;\">57 4A 07 D0 01 01<\/span><\/span><\/span><span style=\"font-weight: 400;\">)<\/span><\/li><li><span style=\"font-weight: 400;\"><span style=\"color: #111111; font-family: Arial, sans-serif;\"><span style=\"white-space-collapse: preserve; background-color: #cccccc;\">57 4A<\/span><\/span>&nbsp;as command characters WJ<\/span><\/li><li><span style=\"font-weight: 400;\"><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #111111; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">07 D0<\/span>&nbsp;refers to the rotation speed, 07 D0(hex) = 2000(dec); the speed unit being 0.01 rpm &rArr; the rotation speed = 20 rpm&nbsp;<\/span>(check our online&nbsp;<a style=\"background-color: #ffffff; font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: 400; letter-spacing: -0.16px;\" href=\"https:\/\/blog.darwin-microfluidics.com\/base-converter-binary-octal-decimal-and-hexadecimal\/\">base conversion tool<\/a><span style=\"letter-spacing: -0.16px;\">)<\/span><\/li><li><span style=\"font-weight: 400;\"><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #111111; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">01<\/span>&nbsp;to start the pump at normal speed<\/span><\/li><li><span style=\"font-weight: 400;\"><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #111111; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">01<\/span> to run the pump counter-clockwise<\/span><\/li><li><span style=\"font-weight: 400;\"><span style=\"color: #111111; font-family: Arial, sans-serif;\"><span style=\"white-space-collapse: preserve; background-color: #cccccc;\">CD<\/span><\/span>&nbsp;as the XOR result of&nbsp;<\/span><span style=\"font-weight: 400;\"><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #111111; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">01<\/span>&nbsp;(pump address),&nbsp;<\/span><span style=\"font-weight: 400;\"><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #111111; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">06<\/span>&nbsp;(pdu length) and&nbsp;<\/span><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #000000; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">57 4A 07 D0 01 01<\/span>&nbsp;(pdu)&nbsp;<\/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-097b7f9 elementor-widget elementor-widget-text-editor\" data-id=\"097b7f9\" 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><strong>Set the L100-1S-2 to run clockwise at a flow rate of 3 mL\/min<\/strong><\/li><\/ul><p><span style=\"font-weight: 400;\">Control command string:&nbsp;<\/span><span style=\"background-color: #cccccc; color: #000000; font-family: Arial, sans-serif; font-size: 12pt; white-space-collapse: preserve; letter-spacing: -0.01rem;\">E9 01 08 57 4C 00 2D C6 C0 01 00 38<\/span><\/p><ul><li><span style=\"font-weight: 400;\"><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #111111; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">E9<\/span>&nbsp;as the flag<\/span><\/li><li><span style=\"font-weight: 400;\"><span style=\"color: #111111; font-family: Arial, sans-serif;\"><span style=\"white-space-collapse: preserve; background-color: #cccccc;\">01<\/span><\/span> as the address 1 of the pump<\/span><\/li><li><span style=\"font-weight: 400;\"><span style=\"color: #111111; font-family: Arial, sans-serif;\"><span style=\"white-space-collapse: preserve; background-color: #cccccc;\">08<\/span><\/span>&nbsp;as the length of the pdu (<\/span><span style=\"font-weight: 400;\"><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #000000; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">57 4C 00 2D C6 C0 01 00<\/span>)<\/span><\/li><li><span style=\"font-weight: 400;\"><span style=\"color: #111111; font-family: Arial, sans-serif;\"><span style=\"white-space-collapse: preserve; background-color: #cccccc;\">57 4C<\/span><\/span> as command characters WL<\/span><\/li><li><span style=\"font-weight: 400;\"><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #111111; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">00 2D C6 C0<\/span>&nbsp;refers to the flow rate, 00 2D C6 C0(hex) = 3000000(dec); the flow rate unit being nL\/min &rArr; the flow rate = 3000000 nL\/min = 3 mL\/min<\/span><\/li><li><span style=\"font-weight: 400;\"><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #111111; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">01<\/span>&nbsp;to start the pump at normal speed<\/span><\/li><li><span style=\"font-weight: 400;\"><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #111111; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">00<\/span> to run the pump clockwise<\/span><\/li><li><span style=\"font-weight: 400;\"><span style=\"color: #111111; font-family: Arial, sans-serif;\"><span style=\"white-space-collapse: preserve; background-color: #cccccc;\">38<\/span><\/span>&nbsp;as the XOR result of&nbsp;<\/span><span style=\"font-weight: 400;\"><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #111111; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">01<\/span>&nbsp;(pump address),&nbsp;<\/span><span style=\"font-weight: 400;\"><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #111111; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">08<\/span>&nbsp;(pdu length) and <\/span><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #000000; background-color: #cccccc; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;\">57 4C 00 2D C6 C0 01 00<\/span>&nbsp;(pdu)&nbsp;<\/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-a8aed7b elementor-widget elementor-widget-text-editor\" data-id=\"a8aed7b\" 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><strong>&#128680;<\/strong><strong>Do not hesitate to use our user-friendly online <a href=\"https:\/\/blog.darwin-microfluidics.com\/control-command-string-generator-for-longer-peristaltic-pumps\/\">command string generator<\/a> to effortlessly generate precise control command strings for your L100-1S-2.<\/strong><\/em><\/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-1e5f03a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1e5f03a\" data-element_type=\"section\" data-e-type=\"section\" id=\"code\">\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-0918783\" data-id=\"0918783\" 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-3a70725 elementor-widget elementor-widget-heading\" data-id=\"3a70725\" 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 Communicate with the L100-1S-2 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-667e70a elementor-widget elementor-widget-text-editor\" data-id=\"667e70a\" 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>Python code snippets showing how to open the serial port, write and send control command strings to the pump and write a simple pumping program are presented 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-758df85 elementor-widget elementor-widget-text-editor\" data-id=\"758df85\" 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>From the first example just presented above, the following Python code snippet makes the L100-1S-2 run counter-clockwise at a rotational speed of 20 rpm.<\/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-4f8c4eb elementor-widget elementor-widget-code-highlight\" data-id=\"4f8c4eb\" 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 word-wrap\">\n\t\t\t<pre data-line=\"4,7,9,11\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly class=\"language-python\">\n\t\t\t\t\t<xmp>### RUN PUMP 1, COUNTER-CLOCKWISE, AT A ROTATING SPEED OF 20 RPM \r\n\r\n# To use the pySerial package\r\nimport serial\r\n# Open the serial port with tha data format corresponding to the L100-1S-2\r\n# The parameters in the command need to be the same as the communication parameters set for the pump\r\nser = serial.Serial('COM3', 9600, parity=serial.PARITY_NONE, bytesize=8, stopbits=1, timeout=None, xonxoff=0, rtscts=0)\r\n# Write the corresponding control command string in hexadecimal\r\nData = bytearray(b'\\xE9\\x01\\x06\\x57\\x4A\\x07\\xD0\\x01\\x01\\xCD')\r\n# Write the Data to the pump\r\nser.write(Data)<\/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-b86fc70 elementor-widget elementor-widget-text-editor\" data-id=\"b86fc70\" 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>In a second code snippet, let&rsquo;s make the pump run counter-clockwise at a flow rate of 5 mL\/min for 10s, then make it run clockwise at a flow rate of 3 mL\/min for 30s before stopping it.<\/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-62ccb12 elementor-widget elementor-widget-code-highlight\" data-id=\"62ccb12\" 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 word-wrap\">\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>### RUN PUMP 1 COUNTER-CLOCKWISE AT A FLOW RATE OF 5 mL\/min FOR 10s, THEN CLOCKWISE AT A FLOW RATE OF 3 mL\/min FOR 30s BEFORE STOPPING IT\r\n# To use the pySerial package\r\nimport serial\r\n# To use the time package\r\nimport time\r\n\r\n# Open the serial port with tha data format corresponding to the L100-1S-2\r\n# The parameters in the command need to be the same as the communication parameters set for the pump\r\nser = serial.Serial('COM3', 9600, parity=serial.PARITY_NONE, bytesize=8, stopbits=1, timeout=None, xonxoff=0, rtscts=0)\r\n# Run pump 1 counter-clockwise at a flow rate of 5 mL\/min for 10s\r\nData = bytearray(b'\\xE9\\x01\\x08\\x57\\x4C\\x00\\x4C\\x4B\\x40\\x01\\x01\\x55') # corresponding control command string in hexadecimal\r\nser.write(Data) # Write the Data to the pump\r\n\r\n# 10s delay with a visible timer\r\nfor Pumping_time in range(10, 0, -1):\r\n    print(Pumping_time)\r\n    time.sleep(1)\r\n\r\n# Run pump 1 clockwise at a flow rate of 3 mL\/min for 30s\r\nData = bytearray(b'\\xE9\\x01\\x08\\x57\\x4C\\x00\\x2D\\xC6\\xC0\\x01\\x00\\x38') # corresponding control command string in hexadecimal\r\nser.write(Data) # Write the Data to the pump\r\n\r\n# 30s delay with a visible timer\r\nfor Pumping_time in range(30, 0, -1):\r\n    print(Pumping_time)\r\n    time.sleep(1)\r\n\r\n# Stop the pump\r\nData = bytearray(b'\\xE9\\x01\\x08\\x57\\x4C\\x00\\x2D\\xC6\\xC0\\x00\\x00\\x39') # corresponding control command string in hexadecimal: we took the previous command string and changed the 'State 1' byte from 01 (start the pump) to 00 (stop the pump) and of course computed the new fcs\r\nser.write(Data) # Write the Data to the pump<\/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\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-80388d1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"80388d1\" 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-b054e37\" data-id=\"b054e37\" 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-2bf9143 elementor-widget elementor-widget-heading\" data-id=\"2bf9143\" 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-dbefa08 elementor-widget elementor-widget-text-editor\" data-id=\"dbefa08\" 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>We hope this blog post has helped you understand how to control the Longer L100-1S-2 peristaltic pump remotely via Python using the LONGER RS485 protocol. You can also use other programming platforms such as Matlab to write and send control command strings to the pump and read and interpret the responses from the pump. For more details about this topic, check our blog post &ldquo;<a href=\"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-l100-1s-2-pump-via-matlab\/\"><b>How to Control the Longer L100-1S-2 Pump via Matlab ?<\/b><\/a>&rdquo;.<\/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-d021224 elementor-widget elementor-widget-text-editor\" data-id=\"d021224\" 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>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;\">contact@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\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-111884f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"111884f\" 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-924da67\" data-id=\"924da67\" 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-792e31f elementor-widget elementor-widget-global elementor-global-18550 elementor-widget-pix-promo-box\" data-id=\"792e31f\" 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<section class=\"elementor-section elementor-top-section elementor-element elementor-element-18ce9e9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"18ce9e9\" 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-cea4285\" data-id=\"cea4285\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\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>If you are looking for a precision peristaltic pump designed for precise laboratory applications from less than 1 &micro;L\/min and up to 366.7 mL\/min, depending on the number of rollers in the pump head, you might want to check out&hellip;<\/p>\n","protected":false},"author":4,"featured_media":19607,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kc_parent_guide":"","_kc_products":"","_kc_type":"","footnotes":""},"categories":[24,33],"tags":[],"class_list":["post-19605","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.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How\u00a0to Control\u00a0the\u00a0Longer\u00a0L100-1S-2\u00a0Pump via Python ? - Darwin Microfluidics<\/title>\n<meta name=\"description\" content=\"Use Python to communicate remotely with the Longer L100-1S-2 pump via RS485. Learn how to write and send control command strings to the pump.\" \/>\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-the-longer-l100-1s-2-pump-via-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How\u00a0to Control\u00a0the\u00a0Longer\u00a0L100-1S-2\u00a0Pump via Python ? - Darwin Microfluidics\" \/>\n<meta property=\"og:description\" content=\"Use Python to communicate remotely with the Longer L100-1S-2 pump via RS485. Learn how to write and send control command strings to the pump.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-l100-1s-2-pump-via-python\/\" \/>\n<meta property=\"og:site_name\" content=\"Darwin Microfluidics\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-01T14:45:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-19T14:14:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/pump_img-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"931\" \/>\n\t<meta property=\"og:image:height\" content=\"850\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\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=\"8 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-the-longer-l100-1s-2-pump-via-python\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-l100-1s-2-pump-via-python\\\/\"},\"author\":{\"name\":\"Elia Missi\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#\\\/schema\\\/person\\\/c80a1276036340d7e994346f251af8f5\"},\"headline\":\"How\u00a0to Control\u00a0the\u00a0Longer\u00a0L100-1S-2\u00a0Pump via Python ?\",\"datePublished\":\"2024-03-01T14:45:16+00:00\",\"dateModified\":\"2026-11-19T14:14:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-l100-1s-2-pump-via-python\\\/\"},\"wordCount\":1469,\"publisher\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-l100-1s-2-pump-via-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/pump_img-1.png\",\"articleSection\":[\"Flow control\",\"Guides &amp; tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-l100-1s-2-pump-via-python\\\/\",\"url\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-l100-1s-2-pump-via-python\\\/\",\"name\":\"How\u00a0to Control\u00a0the\u00a0Longer\u00a0L100-1S-2\u00a0Pump via Python ? - Darwin Microfluidics\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-l100-1s-2-pump-via-python\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-l100-1s-2-pump-via-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/pump_img-1.png\",\"datePublished\":\"2024-03-01T14:45:16+00:00\",\"dateModified\":\"2026-11-19T14:14:22+00:00\",\"description\":\"Use Python to communicate remotely with the Longer L100-1S-2 pump via RS485. Learn how to write and send control command strings to the pump.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-l100-1s-2-pump-via-python\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-l100-1s-2-pump-via-python\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-l100-1s-2-pump-via-python\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/pump_img-1.png\",\"contentUrl\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/pump_img-1.png\",\"width\":931,\"height\":850,\"caption\":\"An image of a Longer L100-1S-2 peristaltic pump without background\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-l100-1s-2-pump-via-python\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How\u00a0to Control\u00a0the\u00a0Longer\u00a0L100-1S-2\u00a0Pump via Python ?\"}]},{\"@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\u00a0to Control\u00a0the\u00a0Longer\u00a0L100-1S-2\u00a0Pump via Python ? - Darwin Microfluidics","description":"Use Python to communicate remotely with the Longer L100-1S-2 pump via RS485. Learn how to write and send control command strings to the pump.","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-the-longer-l100-1s-2-pump-via-python\/","og_locale":"en_US","og_type":"article","og_title":"How\u00a0to Control\u00a0the\u00a0Longer\u00a0L100-1S-2\u00a0Pump via Python ? - Darwin Microfluidics","og_description":"Use Python to communicate remotely with the Longer L100-1S-2 pump via RS485. Learn how to write and send control command strings to the pump.","og_url":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-l100-1s-2-pump-via-python\/","og_site_name":"Darwin Microfluidics","article_published_time":"2024-03-01T14:45:16+00:00","article_modified_time":"2026-11-19T14:14:22+00:00","og_image":[{"width":931,"height":850,"url":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/pump_img-1.png","type":"image\/png"}],"author":"Elia Missi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Elia Missi","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-l100-1s-2-pump-via-python\/#article","isPartOf":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-l100-1s-2-pump-via-python\/"},"author":{"name":"Elia Missi","@id":"https:\/\/blog.darwin-microfluidics.com\/#\/schema\/person\/c80a1276036340d7e994346f251af8f5"},"headline":"How\u00a0to Control\u00a0the\u00a0Longer\u00a0L100-1S-2\u00a0Pump via Python ?","datePublished":"2024-03-01T14:45:16+00:00","dateModified":"2026-11-19T14:14:22+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-l100-1s-2-pump-via-python\/"},"wordCount":1469,"publisher":{"@id":"https:\/\/blog.darwin-microfluidics.com\/#organization"},"image":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-l100-1s-2-pump-via-python\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/pump_img-1.png","articleSection":["Flow control","Guides &amp; tutorials"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-l100-1s-2-pump-via-python\/","url":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-l100-1s-2-pump-via-python\/","name":"How\u00a0to Control\u00a0the\u00a0Longer\u00a0L100-1S-2\u00a0Pump via Python ? - Darwin Microfluidics","isPartOf":{"@id":"https:\/\/blog.darwin-microfluidics.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-l100-1s-2-pump-via-python\/#primaryimage"},"image":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-l100-1s-2-pump-via-python\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/pump_img-1.png","datePublished":"2024-03-01T14:45:16+00:00","dateModified":"2026-11-19T14:14:22+00:00","description":"Use Python to communicate remotely with the Longer L100-1S-2 pump via RS485. Learn how to write and send control command strings to the pump.","breadcrumb":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-l100-1s-2-pump-via-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-l100-1s-2-pump-via-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-l100-1s-2-pump-via-python\/#primaryimage","url":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/pump_img-1.png","contentUrl":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/pump_img-1.png","width":931,"height":850,"caption":"An image of a Longer L100-1S-2 peristaltic pump without background"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-l100-1s-2-pump-via-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.darwin-microfluidics.com\/"},{"@type":"ListItem","position":2,"name":"How\u00a0to Control\u00a0the\u00a0Longer\u00a0L100-1S-2\u00a0Pump via Python ?"}]},{"@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_featured_media_url":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/pump_img-1.png","_links":{"self":[{"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/posts\/19605","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=19605"}],"version-history":[{"count":96,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/posts\/19605\/revisions"}],"predecessor-version":[{"id":33694,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/posts\/19605\/revisions\/33694"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/media\/19607"}],"wp:attachment":[{"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/media?parent=19605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/categories?post=19605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/tags?post=19605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}