06-19-2023 05:59 PM
Maybe check the hardware connection first, the RS232 connector of the pump is DB9, not DB25.
06-19-2023 06:09 PM
Um.. the pump only has a db25. The manual says use a db25 to db9 cable and that’s what I did. And it does support RS232.
06-19-2023 06:22 PM
Please check the manual page 3-23, the DB25 is for analog control.
I guess there are some model with RS232C, some are not.(page 7-1, 7-2)
06-19-2023 06:36 PM
You are right!
Let me check how to work with that db25 I/O….
11-08-2024 02:55 PM
Hello,
Did you manage to resolve this issue? I'm experiencing the same problem. I have a DB25 port on the back of my pump, which I'm converting to DB9 and then connecting to an NI RS232/USB serial interface. The pump powers on, but I'm unable to adjust the speed—it’s stuck on the priming speed.
11-09-2024 08:26 AM
@Mohaimin_95 wrote:
Hello,
Did you manage to resolve this issue? I'm experiencing the same problem. I have a DB25 port on the back of my pump, which I'm converting to DB9 and then connecting to an NI RS232/USB serial interface. The pump powers on, but I'm unable to adjust the speed—it’s stuck on the priming speed.
Did you read the last two posts before yours? The DB25 is probably not a serial port as you thought but instead contains analog and digital signals to control the pump. Most serial ports on pumps are DB9 and many manufacturers make different models, some with and some without remote control options. And the remote control options vary from only digital IO to switch it on and off, to analog IO to control its pump speed and RS-232 or RS-485 to control it from a computer. Models without any remote control option are usually a few 100 bucks cheaper and each remote control opotion makes the device 200 or more bucks more expensive.
11-11-2024 02:21 AM - edited 11-11-2024 02:52 AM
@wen88ha scritto:
I also changed it to \n and the flow control to RTS. (Flow control changed to RTS in device manager and NI MAX as well)
now the vi returns error 1073807339 for every VISA write function.
A timeout on write seems to indicate that the device never raised the Clear To Send line in response to the Request To Send from the PC.
Either the protocol is not RTS/CTS after all (I cannot open the pump manual because of Access denied) or the cable (or the 25to9 adapter) is not the right one. Check the connection on your cable+adapter. RTS pin must be connected to the CTS pin on the other side and vice versa. See https://en.wikipedia.org/wiki/RS-232#RTS,_CTS,_and_RTR , namely the table in section Data and control signals
Nevermind. I "forgot" to properly read all messages.
11-11-2024 03:04 AM - edited 11-11-2024 03:06 AM
It could of course be a different model, but in this manual on page 3-23 it clearly documents that the DB25 is NOT a serial port! Page 4-2 shows the different connectors and the difference between a Style A device (only having the DB25 analog and digital remote control connector) and the Style B device with two additional DB9 connectors which are the serial port in and out for daisy chaining multiple pumps together. Some models also have an USB port but it is not really clear if that supports a virtual RS-232 port or uses a proprietary USB protocol.
As to the communication, the serial protocol is described from page 3-30 to 3-27. It's kind of involved because of the Linkable Protocol to allow controlling multiple devices over one single serial port through daisy chaining, but most of the difficulties are avoided when only controlling one device.
11-11-2024 09:02 AM
Check this post
Solved: LabVIEW Communication w/ Masterflex Pump (DB25-USB) - NI Community
I created a LabVIEW driver for L/S model, feel free to use it.
It works fine.. In case the pump still not working check the DB9 Cable, The serial communications use the DB9 connector. DB25 DOES NOT WORK FOR SERIAL.
Ensure that the DB9 pins are properly connected 2, 3, and 5.