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.