dathlin / HslCommunication

A very popular industrial Internet of Things communication plug-in. Using this dll can be very convenient, stable, and fast to obtain data from PLC equipment of multiple brands, and also supports redis, mqtt, websocket, etc., which can let your data on the network Free transmission, reducing enterprise development costs.
http://www.hslcommunication.cn
1.61k stars 622 forks source link

多个程序连接同一个西门子PLC的问题 #23

Open Fusheng-code opened 2 years ago

Fusheng-code commented 2 years ago

使用Python开发的程序调用库的时候,若多个电脑同时连接,会存在有些连接失败的问题,不能同时连接,想问一下这个问题要怎么解决

jiyulin commented 1 year ago

使用Python开发的程序调用库的时候,若多个电脑同时连接,会存在有些连接失败的问题,不能同时连接,想问一下这个问题要怎么解决

西门子s7协议最多只能十多个连接,你多个程序访问最好是用个单独的连接共享同一个连接处理