Comments (3)
_wcld_client = new ModbusTcpNet(_ipaddr, _port);
OperateResult OptRet = _wcld_client.ConnectServer();
if (OptRet.IsSuccess)
{
Log.LogInstance.WriteLog("连接成功", LogType.Run, "Cooler" + _devno + "Log");
_net_connected = true;
StartWriteHeartBeatThread();
StartWcldStateThread();
}
else
{
Log.LogInstance.WriteLog("连接失败", LogType.Run, "Cooler" + _devno + "Log");
_net_connected = false;
}
from hslcommunication.
我有多个设备需要连接,使用的都是这样一中连接方式,多台不同的设备同时写不进去值了。其他设备采用别的连接方式没用使用此类库连接正常
from hslcommunication.
库本身如果不激活的话,只能连续使用24小时,重启软件又是24小时,并且在读写失败后,Message显示授权失败的消息。
授权参考:http://www.hsltechnology.cn/Home/Licence?area=HslCommunication
from hslcommunication.
Related Issues (20)
- Modbus Rtu 访问demo HOT 1
- HslCommunication 写入int类型时 写入地址比真实地址偏移 HOT 1
- 是否支持C++代码调用 HOT 1
- 布尔类型无法写入 HOT 2
- 能支持循环读,循环写么? HOT 1
- java在使用AB CIP协议API批量读取的时候长度超过30会报错误“目标收到一个无效长度的信息。” HOT 2
- 采集AB CIP一组数据,调用API进行解析时,布尔类型数据解析异常 HOT 1
- 关于ADS读取指定长度的位,结果问题
- FanucSeries0i: ReadProgram 無法讀取程式 HOT 1
- requesting to contact support HOT 4
- 西门子字符串 读到历史值怎么处理 HOT 9
- HslCommunication S7-300读取ushort类型 ,报读取的数据范围超出了PLC的设定
- 如何获取西门子PLC内部的符号表 HOT 2
- modbus的crc校验检查失败
- modbus超时时间设置不生效,报错提示并没有按照预设的参数显示
- AB Program Tags
- GE SRTP仿真软件 HOT 6
- 有现成得图表,区分个型号参数清单么 HOT 1
- 请问Omron CIP的服务器端可否模拟? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hslcommunication.