支援的函數

控制器支援下列Modbus函數。

函數碼 函數名稱 描述
1 Read Coil Status

使用此函數讀取輸入位元埠的狀態。

不廣播。

2 Read Input Status

使用此函數讀取輸出位元埠的狀態。

不廣播。

3 Read Holding Registers

使用此函數讀取輸入字組埠的狀態。

不廣播。

4 Read Input Registers

使用此函數讀取輸出字組埠的狀態。

不廣播。

5 Force Single Coil 使用此函數配置輸入位元埠。
6 Preset Single Register 使用此函數配置輸入字組埠。
15 Force Multiple Coils 使用此函數配置幾個輸入位元埠。
16 Preset Multiple Registers 使用此函數配置幾個輸入字組埠。