文档简介
标签:
ModBus协议
Modbus协议是工业控制的常用协议,支持多节点通信传输,现广泛应用。
文档内容节选
SimpleModbusMaster SimpleModbusMaster is a Modbus master library that allows ModbusRTU communication via RS232 or RS485 The library has 3 functions namely modbusconfigure modbusconstruct modbusupdate To communicate with a slave you first need to create whats called a packet In commercial PLC software terms this is usually called a block A packet is a struct that contains the relevant information linked to that specific packet The Finite State Machine FSM running in the background scans......
评论
加载更多
推荐下载
查看更多
精选文集
推荐帖子