ISMATEC产品控制包
ismatec的Python项目详细描述
伊斯马泰克
控制ISMATEC产品的Python包。在
我们不隶属于ISMATEC。在
支持的产品:
Reglo CPF数字
该软件包与Windows 10不完全兼容。众所周知,设置标定流量的命令在Windows10中不起作用。在
入门
检查examples文件夹中有关如何使用RegloCPF模块的示例脚本。在
要在Python中连接到泵,您需要知道泵连接到计算机时的组件。{{在打开cd2>程序之前,打开这个程序。然后插入泵并查看出现了什么新端口,例如COM6
。这是您将用来在Python中创建SF10
实例来连接和控制泵。在
串行设置和协议
根据手册的连接设置为
+----------------------+---------------------------------------------+
| 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>) |
+----------------------+---------------------------------------------+
命令结构:
地址后面跟一个字符。有些命令有附加参数,总是由4或5个数字组成。命令字符串由回车符(ASCII 13,<;CR>;)完成。泵用星号*确认大多数命令,是/否查询由+(是)或-(否)回答。和lt>;>;以多个ASCII行结束lt>;>;回车符。在
错误的命令用#来回答。如果泵处于过载状态,则每个命令都以#响应。数值确认为3到5位数字。4位或5位是数字,一位是小数点或前面的空白
有关协议的完整列表,请参阅操作手册:www.ismatec.com/images/pdf/manuals/REGLO_CPF_Digital_new.pdf
- 项目
标签: