{"id":21476,"date":"2024-03-06T16:33:33","date_gmt":"2024-03-06T15:33:33","guid":{"rendered":"https:\/\/blog.darwin-microfluidics.com\/?p=21476"},"modified":"2026-11-19T15:14:31","modified_gmt":"2026-11-19T14:14:31","slug":"how-to-control-the-longer-wt600-2j-pump-via-python","status":"publish","type":"post","link":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-wt600-2j-pump-via-python\/","title":{"rendered":"How to Control the Longer WT600-2J(1J)(3J) Pump via Python ?"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"21476\" class=\"elementor elementor-21476\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f68e333 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f68e333\" 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-a2269f8\" data-id=\"a2269f8\" 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-9d4d519 elementor-widget elementor-widget-text-editor\" data-id=\"9d4d519\" 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 powerful <strong>peristaltic pump<\/strong> designed for laboratory and industrial applications, you might want to check out the <strong>Longer <a href=\"https:\/\/darwin-microfluidics.com\/products\/wt600-2j-basic-peristaltic-pump?variant=43790678196459\" target=\"_blank\" rel=\"noopener\">WT600-2J<\/a><\/strong>. This pump can deliver flow rates ranging between 4.2 mL\/min and 6000 mL\/min. It has a high torque maintenance-free brushless motor that allows mounting up to 4 pump heads on the same driver.<\/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-5c76d2c elementor-widget elementor-widget-text-editor\" data-id=\"5c76d2c\" 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 WT600-2J 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 rotation speeds.<\/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-eaa45a5 elementor-widget elementor-widget-text-editor\" data-id=\"eaa45a5\" 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 WT600-2J 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>&nbsp;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<div class=\"elementor-element elementor-element-1857e26 elementor-toc--content-ellipsis elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents\" data-id=\"1857e26\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings='{\"exclude_headings_by_selector\":\"#cta1, #cta2\",\"headings_by_tags\":[\"h2\",\"h3\"],\"marker_view\":\"numbers\",\"no_headings_message\":\"No headings were found on this page.\",\"minimize_box\":\"yes\",\"minimized_on\":\"tablet\",\"hierarchical_view\":\"yes\",\"min_height\":{\"unit\":\"px\",\"size\":\"\",\"sizes\":[]},\"min_height_tablet\":{\"unit\":\"px\",\"size\":\"\",\"sizes\":[]},\"min_height_mobile\":{\"unit\":\"px\",\"size\":\"\",\"sizes\":[]}}' data-widget_type=\"table-of-contents.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-toc__header\">\n\t\t\t\t\t\t<h4 class=\"elementor-toc__header-title\">\n\t\t\t\tTABLE OF CONTENTS\t\t\t<\/h4>\n\t\t\t\t\t\t\t\t\t\t<div class=\"elementor-toc__toggle-button elementor-toc__toggle-button--expand\" role=\"button\" tabindex=\"0\" aria-controls=\"elementor-toc__1857e26\" aria-expanded=\"true\" aria-label=\"Open table of contents\"><i aria-hidden=\"true\" class=\"fas fa-chevron-down\"><\/i><\/div>\n\t\t\t\t<div class=\"elementor-toc__toggle-button elementor-toc__toggle-button--collapse\" role=\"button\" tabindex=\"0\" aria-controls=\"elementor-toc__1857e26\" aria-expanded=\"true\" aria-label=\"Close table of contents\"><i aria-hidden=\"true\" class=\"fas fa-chevron-up\"><\/i><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<div id=\"elementor-toc__1857e26\" class=\"elementor-toc__body\">\n\t\t\t<div class=\"elementor-toc__spinner-container\">\n\t\t\t\t<i class=\"elementor-toc__spinner eicon-animation-spin eicon-loading\" aria-hidden=\"true\"><\/i>\t\t\t<\/div>\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-0365ac4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0365ac4\" 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-980534a\" data-id=\"980534a\" 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-193ff50 elementor-widget elementor-widget-heading\" data-id=\"193ff50\" 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 WT600-2J ?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8d743e1 elementor-widget elementor-widget-text-editor\" data-id=\"8d743e1\" 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 WT600-2J using the LONGER RS485 protocol, you will need the following:<\/p><ul><li>A WT600-2J 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>A programming platform (Python in the case herein)<\/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-011b1f2 elementor-widget elementor-widget-global elementor-global-18316 elementor-widget-pix-promo-box\" data-id=\"011b1f2\" 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-27c903d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"27c903d\" 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-64b2531\" data-id=\"64b2531\" 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-8ae13f9 elementor-widget elementor-widget-heading\" data-id=\"8ae13f9\" 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-a7eb929 elementor-widget elementor-widget-text-editor\" data-id=\"a7eb929\" 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<\/li>\n \t<li>Turn on the pump<\/li>\n \t<li>Make sure the communication parameters on your programming platform match the ones of the WT600-2J, which are:\n<ul>\n \t<li>1 start bit<\/li>\n \t<li><span style=\"font-weight: 400;\">8 data bits<\/span><\/li>\n \t<li><span style=\"font-weight: 400;\">1 even parity<\/span><\/li>\n \t<li><span style=\"font-weight: 400;\">1 stop bit<\/span><\/li>\n \t<li><span style=\"font-weight: 400;\">a baud rate of 1200 bits\/s<\/span><\/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\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-8d920d2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8d920d2\" 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-ba8b271\" data-id=\"ba8b271\" 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-cdab93f elementor-widget elementor-widget-heading\" data-id=\"cdab93f\" 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 WT600-2J ?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-289518b elementor-widget elementor-widget-text-editor\" data-id=\"289518b\" 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 style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">a pump address (1 to 30, or 31 for broadcast)<\/span><\/li>\n \t<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">a length of the pdu (protocol data unit)<\/span><\/li>\n \t<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">a pdu, which contains the command characters and the parameters for the desired application<\/span><\/li>\n \t<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">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&nbsp;<\/span>(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-a0e9988 elementor-widget elementor-widget-text-editor\" data-id=\"a0e9988\" 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. The common applications are:\n<\/p><ul>\n \t<li>Set running parameter (rotation speed)<\/li>\n \t<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Read running parameter (rotation speed)<\/span><\/li>\n \t<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Write pump address<\/span><\/li>\n \t<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Read&nbsp;<\/span>pump address<\/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-15fa493 elementor-widget elementor-widget-text-editor\" data-id=\"15fa493\" 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-1d01615 elementor-widget elementor-widget-heading\" data-id=\"1d01615\" 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-9003233 elementor-widget elementor-widget-text-editor\" data-id=\"9003233\" 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-e08374d elementor-widget elementor-widget-shortcode\" data-id=\"e08374d\" 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-37125a8 elementor-widget elementor-widget-text-editor\" data-id=\"37125a8\" 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>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><span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #111111; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">, 57 4A<\/span><\/li>\n \t<li>Set rotation 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><span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #111111; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">) with a maximum speed of 600 rpm (02 58)<\/span><\/li>\n \t<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><span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #111111; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">):&nbsp;<\/span>\n<ul>\n \t<li dir=\"ltr\" style=\"line-height: 1.38;\" role=\"presentation\"><span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #111111; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">bit 0 &ndash; start\/stop bit where 1 is to start the pump and 0 is to stop it<\/span><\/li>\n \t<li dir=\"ltr\" style=\"line-height: 1.38;\" role=\"presentation\"><span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #111111; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">bit 1 &ndash; prime bit where 1 is to prime the pump at the max speed of 600 rpm and 0 is to run the pump at a normal speed<\/span><\/li>\n<\/ul>\n<\/li>\n \t<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><span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #111111; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">):<\/span>\n<ul>\n \t<li dir=\"ltr\" style=\"line-height: 1.38;\" role=\"presentation\">bit 0 &ndash; sets the&nbsp;<span style=\"letter-spacing: -0.16px;\">rotation&nbsp;<\/span>direction where 1 is for clockwise and 0 is for counter-clockwise<\/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-1ed3ef9 elementor-widget elementor-widget-text-editor\" data-id=\"1ed3ef9\" 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 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-fa2e7da elementor-widget elementor-widget-heading\" data-id=\"fa2e7da\" 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-8f5604d elementor-widget elementor-widget-text-editor\" data-id=\"8f5604d\" 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-5f85c05 elementor-widget elementor-widget-text-editor\" data-id=\"5f85c05\" 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-b4c10cc elementor-widget elementor-widget-shortcode\" data-id=\"b4c10cc\" 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-3fd2ffa elementor-widget elementor-widget-text-editor\" data-id=\"3fd2ffa\" 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-a142365 elementor-widget elementor-widget-heading\" data-id=\"a142365\" 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\">Write pump address<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0290e13 elementor-widget elementor-widget-text-editor\" data-id=\"0290e13\" 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;\">4 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-d16a9ce elementor-widget-mobile__width-auto elementor-widget elementor-widget-shortcode\" data-id=\"d16a9ce\" 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-22\" class=\"tablepress tablepress-id-22\">\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-1\">\n\t<td class=\"column-1\">WID<\/td><td class=\"column-2\">New pump I.D.#.<\/td>\n<\/tr>\n<tr class=\"row-2\">\n\t<td class=\"column-1\">3 bytes<\/td><td class=\"column-2\">1 byte<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-22 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-7163ff4 elementor-widget elementor-widget-text-editor\" data-id=\"7163ff4\" 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 dir=\"ltr\" style=\"line-height: 1.38;\" role=\"presentation\"><span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #111111; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">WID, control command string of <\/span><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><span style=\"font-size: 12pt; font-family: Arial,sans-serif; color: #111111; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;\">, 57 49 44<\/span><\/li><li dir=\"ltr\" style=\"line-height: 1.38;\" role=\"presentation\"><span style=\"font-weight: 400;\">New 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><\/span><span style=\"font-weight: 400;\">), can be pump address (1-30) or broadcast address (31); the default pump address is 1<\/span><\/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-00d0d34 elementor-widget elementor-widget-text-editor\" data-id=\"00d0d34\" 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;\">WID<\/span><\/span><\/span><span style=\"font-size: 12pt; font-family: Arial, sans-serif; color: #000000; background-color: transparent; vertical-align: baseline;\"><span style=\"font-weight: 400;\">.<\/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-58eff25 elementor-widget elementor-widget-heading\" data-id=\"58eff25\" 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 pump address<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9dfbf38 elementor-widget elementor-widget-text-editor\" data-id=\"9dfbf38\" 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;\">3 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;\">RID<\/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-c721180 elementor-widget elementor-widget-text-editor\" data-id=\"c721180\" 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 a command string from the control computer, if the address is one pump&rsquo;s address (1-30), not the broadcast address (31), the corresponding pump will respond with&nbsp;<span style=\"font-size: 1rem; letter-spacing: -0.16px; font-family: Arial, sans-serif; white-space-collapse: preserve; color: #111111; background-color: #cccccc;\">RID<\/span><span style=\"font-size: 1rem; letter-spacing: -0.16px; color: #000000; font-family: Arial, sans-serif;\">.<\/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-2aa954e elementor-widget elementor-widget-heading\" data-id=\"2aa954e\" 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-5014337 elementor-widget elementor-widget-text-editor\" data-id=\"5014337\" 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 WT600-2J to run clockwise at a rotating speed of 150 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 00 96 01 01 8C<\/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 00 96 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> 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;\">00 96<\/span> refers to the rotation speed, 0096(hex) = 150(dec)&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>&nbsp;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;\">8C<\/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 00 96 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-ba09f38 elementor-widget elementor-widget-text-editor\" data-id=\"ba09f38\" 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 address (initially 1) of the WT600-2J to address 7<\/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 04 57 49 44 07 58<\/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 initial 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;\">04<\/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 49 44 07<\/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 49 44<\/span><\/span> as command characters WID<\/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<\/span>&nbsp; as the new pump address<\/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;\">58<\/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;\">04<\/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 49 44 07<\/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-57447d6 elementor-widget elementor-widget-text-editor\" data-id=\"57447d6\" 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 WT600-2J.<\/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-5072f3a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5072f3a\" 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-0700aab\" data-id=\"0700aab\" 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-e805577 elementor-widget elementor-widget-heading\" data-id=\"e805577\" 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 WT600-2J 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-2b25558 elementor-widget elementor-widget-text-editor\" data-id=\"2b25558\" 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-b57068e elementor-widget elementor-widget-text-editor\" data-id=\"b57068e\" 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 WT600-2J run clockwise at a rotating speed of 150 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-7dd333c elementor-widget elementor-widget-code-highlight\" data-id=\"7dd333c\" 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,10,13\" 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, CLOCKWISE, AT A ROTATING SPEED OF 150 RPM\r\n\r\n# To use the pySerial package\r\nimport serial\r\n\r\n# Open the serial port with the data format corresponding to the WT600-2J\r\nser = serial.Serial('COM6', 1200, parity=serial.PARITY_EVEN, bytesize=8, stopbits=1, timeout=None, xonxoff=0, rtscts=0)\r\n\r\n# Write the corresponding control command string in hexadecimal\r\nData = bytearray(b'\\xE9\\x01\\x06\\x57\\x4A\\x00\\x96\\x01\\x01\\x8C')\r\n\r\n# Write the Data to the pump\r\nser.write(Data)\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-fcf2ca6 elementor-widget elementor-widget-text-editor\" data-id=\"fcf2ca6\" 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>In a second code snippet, let&rsquo;s make the pump (address 4) run clockwise at a rotating speed of 320 rpm for 10s, then make it run counter-clockwise at a rotating speed of 50 rpm for 30s before stopping it.<\/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-fa9154f elementor-widget elementor-widget-code-highlight\" data-id=\"fa9154f\" 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 4 CLOCKWISE AT A ROTATING SPEED OF 320 RPM FOR 10s, THEN COUNTER&minus;CLOCKWISE AT A ROTATING SPEED OF 50 RPM FOR 30s BEFORE STOPPING IT\r\n\r\n# To use the pySerial package\r\nimport serial\r\n# To use the time package\r\nimport time\r\n# Open the serial port with the data format corresponding to the WT600-2J\r\nser = serial.Serial('COM6', 1200, parity=serial.PARITY_EVEN, bytesize=8, stopbits=1, timeout=None, xonxoff=0, rtscts=0)\r\n\r\n# Run pump 4 clockwise at a rotating speed of 320 rpm for 10s\r\nData = bytearray(b'\\xE9\\x04\\x06\\x57\\x4A\\x01\\x40\\x01\\x01\\x5E') # corresponding control command string in hexadecimal; 320(dec) = 01 40(hex)\r\n\r\nser.write(Data) # Write the Data to the pump\r\n\r\nPumping_time = 10;\r\nwhile Pumping_time &gt; 0:\r\n    print(Pumping_time)\r\n    time.sleep(1)\r\n    Pumping_time = Pumping_time - 1\r\nend # 10s delay with a visible timer\r\n\r\n# Run pump 4 counter-clockwise at a rotating speed of 50 rpm for 30s\r\nData = bytearray(b'\\xE9\\x04\\x06\\x57\\x4A\\x00\\x32\\x01\\x00\\x2C') # corresponding control command string in hexadecimal; 50(dec) = 00 32(hex)\r\n\r\nser.write(Data) # Write the Data to the pump\r\n\r\nPumping_time = 30;\r\nwhile Pumping_time &gt; 0:\r\n    print(Pumping_time)\r\n    time.sleep(1)\r\n    Pumping_time = Pumping_time - 1\r\nend # 30s delay with a visible timer\r\n\r\n# Stop the pump\r\nData = bytearray(b'\\xE9\\x04\\x06\\x57\\x4A\\x00\\x32\\x00\\x00\\x2D') # corresponding control command string in hexadecimal: we took the previous command string and changed the State 1 byte from 01 (start pump) to 00 (stop pump) and of course computed the new fcs\r\n\r\nser.write(Data) # Write the Data to the pump\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\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-ee3aee2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ee3aee2\" 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-be93118\" data-id=\"be93118\" 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-846ac9a elementor-widget elementor-widget-heading\" data-id=\"846ac9a\" 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-8dda416 elementor-widget elementor-widget-text-editor\" data-id=\"8dda416\" 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 WT600-2J multichannel 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-wt600-2j-pump-via-matlab\/\"><b>How to Control the Longer WT600-2J(1J)(3J) Pump via Matlab ?<\/b><\/a><span style=\"font-weight: 400;\">&rdquo;.<\/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-a99f514 elementor-widget elementor-widget-text-editor\" data-id=\"a99f514\" 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-3db329b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3db329b\" 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-61f1482\" data-id=\"61f1482\" 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-8a33dfa elementor-widget elementor-widget-global elementor-global-18550 elementor-widget-pix-promo-box\" data-id=\"8a33dfa\" 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>If you are looking for a powerful peristaltic pump designed for laboratory and industrial applications, you might want to check out the Longer WT600-2J. This pump can deliver flow rates ranging between 4.2 mL\/min and 6000 mL\/min. It has a&hellip;<\/p>\n","protected":false},"author":4,"featured_media":21340,"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-21476","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 the Longer WT600-2J(1J)(3J) Pump via Python ?<\/title>\n<meta name=\"description\" content=\"Use Python to communicate remotely with the Longer WT600-2J 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-wt600-2j-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 to Control the Longer WT600-2J(1J)(3J) Pump via Python ?\" \/>\n<meta property=\"og:description\" content=\"Use Python to communicate remotely with the Longer WT600-2J 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-wt600-2j-pump-via-python\/\" \/>\n<meta property=\"og:site_name\" content=\"Darwin Microfluidics\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-06T15:33:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-19T14:14:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/WT600-2J.png\" \/>\n\t<meta property=\"og:image:width\" content=\"987\" \/>\n\t<meta property=\"og:image:height\" content=\"948\" \/>\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=\"7 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-wt600-2j-pump-via-python\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-wt600-2j-pump-via-python\\\/\"},\"author\":{\"name\":\"Elia Missi\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#\\\/schema\\\/person\\\/c80a1276036340d7e994346f251af8f5\"},\"headline\":\"How to Control the Longer WT600-2J(1J)(3J) Pump via Python ?\",\"datePublished\":\"2024-03-06T15:33:33+00:00\",\"dateModified\":\"2026-11-19T14:14:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-wt600-2j-pump-via-python\\\/\"},\"wordCount\":1216,\"publisher\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-wt600-2j-pump-via-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/WT600-2J.png\",\"articleSection\":[\"Flow control\",\"Guides &amp; tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-wt600-2j-pump-via-python\\\/\",\"url\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-wt600-2j-pump-via-python\\\/\",\"name\":\"How to Control the Longer WT600-2J(1J)(3J) Pump via Python ?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-wt600-2j-pump-via-python\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-wt600-2j-pump-via-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/WT600-2J.png\",\"datePublished\":\"2024-03-06T15:33:33+00:00\",\"dateModified\":\"2026-11-19T14:14:31+00:00\",\"description\":\"Use Python to communicate remotely with the Longer WT600-2J 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-wt600-2j-pump-via-python\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-wt600-2j-pump-via-python\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-wt600-2j-pump-via-python\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/WT600-2J.png\",\"contentUrl\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/WT600-2J.png\",\"width\":987,\"height\":948,\"caption\":\"An image of a Longer WT600-2J peristaltic pump without background\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-the-longer-wt600-2j-pump-via-python\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Control the Longer WT600-2J(1J)(3J) Pump 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 to Control the Longer WT600-2J(1J)(3J) Pump via Python ?","description":"Use Python to communicate remotely with the Longer WT600-2J 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-wt600-2j-pump-via-python\/","og_locale":"en_US","og_type":"article","og_title":"How to Control the Longer WT600-2J(1J)(3J) Pump via Python ?","og_description":"Use Python to communicate remotely with the Longer WT600-2J 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-wt600-2j-pump-via-python\/","og_site_name":"Darwin Microfluidics","article_published_time":"2024-03-06T15:33:33+00:00","article_modified_time":"2026-11-19T14:14:31+00:00","og_image":[{"width":987,"height":948,"url":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/WT600-2J.png","type":"image\/png"}],"author":"Elia Missi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Elia Missi","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-wt600-2j-pump-via-python\/#article","isPartOf":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-wt600-2j-pump-via-python\/"},"author":{"name":"Elia Missi","@id":"https:\/\/blog.darwin-microfluidics.com\/#\/schema\/person\/c80a1276036340d7e994346f251af8f5"},"headline":"How to Control the Longer WT600-2J(1J)(3J) Pump via Python ?","datePublished":"2024-03-06T15:33:33+00:00","dateModified":"2026-11-19T14:14:31+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-wt600-2j-pump-via-python\/"},"wordCount":1216,"publisher":{"@id":"https:\/\/blog.darwin-microfluidics.com\/#organization"},"image":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-wt600-2j-pump-via-python\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/WT600-2J.png","articleSection":["Flow control","Guides &amp; tutorials"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-wt600-2j-pump-via-python\/","url":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-wt600-2j-pump-via-python\/","name":"How to Control the Longer WT600-2J(1J)(3J) Pump via Python ?","isPartOf":{"@id":"https:\/\/blog.darwin-microfluidics.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-wt600-2j-pump-via-python\/#primaryimage"},"image":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-wt600-2j-pump-via-python\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/WT600-2J.png","datePublished":"2024-03-06T15:33:33+00:00","dateModified":"2026-11-19T14:14:31+00:00","description":"Use Python to communicate remotely with the Longer WT600-2J 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-wt600-2j-pump-via-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-wt600-2j-pump-via-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-wt600-2j-pump-via-python\/#primaryimage","url":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/WT600-2J.png","contentUrl":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/WT600-2J.png","width":987,"height":948,"caption":"An image of a Longer WT600-2J peristaltic pump without background"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-the-longer-wt600-2j-pump-via-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.darwin-microfluidics.com\/"},{"@type":"ListItem","position":2,"name":"How to Control the Longer WT600-2J(1J)(3J) Pump 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_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/03\/WT600-2J.png","_links":{"self":[{"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/posts\/21476","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=21476"}],"version-history":[{"count":49,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/posts\/21476\/revisions"}],"predecessor-version":[{"id":33688,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/posts\/21476\/revisions\/33688"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/media\/21340"}],"wp:attachment":[{"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/media?parent=21476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/categories?post=21476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/tags?post=21476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}