Results 64 comments of Richard.Hu

I'm very sorry, we provide 24 hours of testing to better allow users to test the library more, and it is indicated on GitHub that this is a paid library.

支持VC++调用,但不支持 纯c++

暂时不支持获取符号表,需要等待后面的更新

hslcommunicationdemo本身提供了这个虚拟服务器,可以用作没有PLC时候的测试

因为R1 一个地址占2个字节

你截图中字符串读取,前面有个长度,默认是10,你要读取R1-R3的字符串的话,长度输入 3 就可以

最新版的hslcommunicationdemo软件里,有提供,不过仅限和hslcommunication自身通信模拟

库本身如果不激活的话,只能连续使用24小时,重启软件又是24小时,并且在读写失败后,Message显示授权失败的消息。 授权参考:http://www.hsltechnology.cn/Home/Licence?area=HslCommunication

这个是协议层的限制,你这里既然是同一个标签,直接读取数组比较合适 比如你的类型是int,那么使用 ReadInt32("DINT[1001]", 30);

在这里的 TransBool 的API 方法里,index 的偏移单位是 bit 所以,你这里需要写 0, 8, 16, 24, 32 而不是 0, 1, 2, 3, 4