Package to control ISMATEC products
Project description
ismatec
Python package to control ISMATEC products.
We are not affiliated with ISMATEC.
Supported products:
Reglo-CPF Digital
The package is not fully compatible with Windows 10. It is known that the command to set the calibrated flow rate does not work in Windows 10.
Getting started
Check the examples folder for example script on how to use the RegloCPF module.
To connect to the pump in Python, you need to know the comport of the pump when it is connected to the computer. To know this, before plugging the pump into the computer open the Windows Device Manager
program and expand Ports
. Then plug in the pump and see what new port appears, e.g. COM6
. This is what you will use to create the SF10
instance in Python to connect to and control the pump.
Serial settings and protocols
Connection settings according to the manual are
+----------------------+---------------------------------------------+
| Parameter | Comment |
+----------------------+---------------------------------------------+
| Baud rate | 9600 |
+----------------------+---------------------------------------------+
| Parity | None |
+----------------------+---------------------------------------------+
| Handshaking | None |
+----------------------+---------------------------------------------+
| Data bits | 8 |
+----------------------+---------------------------------------------+
| Stop bits | 1 |
+----------------------+---------------------------------------------+
| Address | Between 1 and 8 |
+----------------------+---------------------------------------------+
| Physical connection | RS232 IN (female): 9-pin D-socket on the |
| | the real panel of the RegloCPF, connects |
| | to PC via standard RS232 cable. |
| | RS232 OUT (male): used to connect to other |
| | pumps |
+----------------------+---------------------------------------------+
| Message Terminators | Command string is completed by a carriage |
| | return (ASCII 13, <CR>). The pump confirms |
| | most commands with an asterix *, Yes/No |
| | inquiries are answered by + (yes) or - (no) |
| | Multi-digit replies are concluded by a |
| | carriage return (ASCII 13, <CR>) and a line |
| | feed (ASCII 10, <LF>) |
+----------------------+---------------------------------------------+
Structure of commands:
The address is followed by a character. Some commands have additional parameters that always consist of 4 or 5 figures. The command string is completed by a carriage return (ASCII 13, ). The pump confirms most commands with an asterix *, Yes/No inquiries are answered by + (yes) or - (no). Multi-digit replies are concluded by a carriage return (ASCII 13, ) and a line feed (ASCII 10, ).
Incorrect commands are answered by #. If the pump is in the state of overload, each command is responded with #. Numerical values are confirmed as 3 to 5-digit figures. 4 or 5 digits are numerals, one digit is either a decimal point or a preceding blank space
For a full list of the protocols, check the operating manual: www.ismatec.com/images/pdf/manuals/REGLO_CPF_Digital_new.pdf
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file ismatec-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: ismatec-1.0.0-py3-none-any.whl
- Upload date:
- Size: 26.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ead4e478426b8f7269ead4e7fd4f83e1ee1af402040a92af1830dae8a21dff2 |
|
MD5 | 0f108ddb37935a67c2b93592170f1e72 |
|
BLAKE2b-256 | 38675eac8c0722a66ae23ff7049fa8521e7cb17f896450b858244682ae96c95c |