
M-7065 User’s Manual
Ver2.0, Dec. /200
8
---
13
How do I set the configuration of the modules ?
ICP DAS M-7065 DIO module are command based. A series of
commands are provided to allow the configuration and DI/O
functions to be set. The basic DI/O and configuration commands are
listed below. Refer to the following links for more information.
ftp://ftp.icpdas.com/pub/cd/8000cd/napdos/7000/manual/modbusdio.pdf
The Configuration command structure of the Modbus RTU is as
follows:
*n: This value depends on the Sub-function code. Please refer to the
“Modbus DIO User’s Manual” for more details.
Ex: To modify the power-on value of the module from 01, the
following command should be sent:
01 46 27 0F BB F9
The supported DI/O commands are as follows:
Function code
Description
0x01
Read coils
0x02
Read discrete inputs
0x03
Read multiple registers
0x04
Read multiple input registers
0x05
Write single coils
0x0F
Write multiple coils