功能代碼
Modbus Function Code 說明
01 Read Coil Status (output relay) 讀取 1 個(gè)bit
02 Read Input Status (input relay) 讀取 1 個(gè)輸入bit
03 Read Holding Registers (output register) 讀取 1 個(gè)word
04 Read Input Registers 讀取 1 個(gè)輸入word
05 Force Single Coil 寫入 1 個(gè)bit
06 Preset Single Register 寫入 1 個(gè)word
15 Force Multiple Coils 寫入 N 個(gè)bit
16 Preset Multiple Registers 寫入 N 個(gè)word
樓主留言:
您好 您可不可以幫我解釋一下01 02 號(hào)功能的區(qū)別 尤其是02號(hào)功能碼的讀取輸入 指的是什么輸入