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

读写DB块错误 #18

Open sunzengpeng opened 3 years ago

sunzengpeng commented 3 years ago

您好,我这个在读写S7-1200的时候遇到一个错误,望能解答 环境:ubuntu18.04 python3.6 代码: siemens.WriteBool("DB300.1.1", True) 错误: AttributeError: 'bytearray' object has no attribute 'Length'