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

HslCommunication 写入int类型时 写入地址比真实地址偏移 #30

Open xiaosanbuhuixie opened 2 years ago

xiaosanbuhuixie commented 2 years ago

image

dathlin commented 2 years ago

写入的时候,应该写入short类型,所以 Write("DB2.0", (short)99);