01-05-2020 02:58 AM
Hello everyone,
I am trying to control a perilstatatic pump (Longer's FK1-100Z) with RS485 connection (there is a RS485 to RS232 unit, so it is actually RS232).
Attached are the pump protocol and opertion manual.
I tried to control the pump first with the MAX, after changing "COM1" paramaters to: 1200 baud rate, 8 data bits, even parity and 1 stop bit. I wrote the example (E9 01 0C 57 44 47 00 64 0A 00 0A 00 E8 00 01 03 D7) shown in the last page of the protocol, and non of the paramates was changed. I also tried to write in LabVIEW, but again nothing was changed.
Am I missing something? I afraid that there is a problem in the pump.
Thanks in advance,
Zach
Solved! Go to Solution.
01-05-2020 10:21 AM - edited 01-05-2020 10:24 AM
You forgot to attach your VI you tried to do this with.
But most likely you simply entered that string as it shows in the manual but this protocol is binary. Every two character number in that string is in reality the hex value of a single byte that is sent to the device!
To enter it like that in a LabVIEW string you need to change the display mode of the string to Hex Display mode. Or you can create an array of u8 numbers and change the display mode for the numeric to Hex and then convert the array to a string with the Byte Array to String node.
01-14-2020 03:21 AM
Thanks a lot!
It solved the problem.