ICP DAS WISE User Manual
http://wise.icpdas.com
306
"if_type"
:
It indicates the connection interface between WISE and the I/O
module where the I/O channel resides. The following table
shows the code and the interface it represents.
0
XV-Board
1
COM Port
2
Ethernet
"com_port"
:
"3" indicates the connection interface between WISE and the
I/O module is COM port 3. "4" indicates the connection
interface between WISE and the I/O module is COM port 4. If
the connection interface is XV-Board or Ethernet, please ignore
this field.
"module_no" :
The number indicates the order that the I/O channel data of the
module being stored in the WISE Modbus Table. The range is
1~16. If the connection interface is XV-Board, please ignore this
field.
"ch_type"
:
It indicates the type of the I/O channel. The following table
shows the code and the I/O channel type it represents.
"DI"
DI Channel
"DI_COUNTER"
The counter of the DI Channel
"DO"
DO Channel
"DO_COUNTER"
The counter of the DO
Channel
"AI"
AI Channel
"AO"
AO Channel
"DISCRETE_INPUT"
The data type of the Modbus
module
"COIL_OUTPUT"
"INPUT_REGISTER"
"HOLDING_REGISTER"
"IR"
Internal Register
"ch_addr"
:
It indicates the I/O channel index, Modbus address or Internal
Register number.
"nickname"
:
It indicates the nickname of the I/O channel.
"value"
:
It indicates the real-time value of the I/O channel.
}
Example
The following is the format to publish a message with the value of DI channel 2