PROSOFT 5304-MBP-PDPM逻辑通讯模块
功能代码05–广播命令Modbus实施:强制单线圈PQM实施:执行操作此功能代码允许主机请求特定通信链路上的所有PQM清除所有需求数据。如果从地址被发送为0,则PQM将识别分组为广播命令。以下是清除所有需求数据的广播命令示例。功能代码06–存储单设定点Modbus实现:预设单寄存器PQM实现:存储单设点此命令允许主机将单个设定点存储到PQM的存储器中。从属设备对该功能代码的响应是响应整个主传输。消息格式和示例:请求从设备17将值01E4存储在设定点地址1020中。本示例中的传输完成后,设置点地址1020将包含值01E4。功能代码07–读取设备状态Modbus实施:读取异常状态PQM实施:读取设备状态这是一个用于快速读取所选设备状态的功能。短消息长度允许快速读取状态。根据从属设备的状态,返回的状态字节将具有设置为1或0的单个位。
Function Code 05 – Broadcast Command Modbus Implementation: Force Single Coil PQM Implementation: Execute Operation This function code allows the master to request all PQMs on a particular communications link to Clear All Demand Data. The PQM will recognize a packet as being a broadcast command if the SLAVE ADDRESS is transmitted as 0. Below is an example of the Broadcast Command to Clear All Demand Data.Function Code 06 – Store Single Setpoint Modbus Implementation: Preset Single Register PQM Implementation: Store Single Setpoint This command allows the master to store a single setpoint into the memory of a PQM. The slave response to this function code is to echo the entire master transmission. MESSAGE FORMAT AND EXAMPLE: Request slave 17 to store the value 01E4 in setpoint address 1020. After the transmission in this example is complete, setpoint address 1020 will contain the value 01E4.Function Code 07 – Read Device Status Modbus Implementation: Read Exception Status PQM Implementation: Read Device Status This is a function used to quickly read the status of a selected device. A short message length allows for rapid reading of status. The status byte returned will have individual bits set to 1 or 0 depending on the status of the slave device.