ICP DAS WISE User Manual
http://wise.icpdas.com
302
Appendix VI
:
Change the value of output channel of I/O module
or Internal Register by MQTT protocol
WISE supports the MQTT protocol. User can use it to change the value of the Internal
Register of WISE or the value of the output channel of I/O module which connect to
WISE. Based on MQTT, user just needs to publish the specific topics to Broker, and
WISE will automatically subscribe and receive the specific topics to complete the
action. Following will list the format of Public topic to the related output channel of
I/O module and Internal Register.
DO channel of ICP DAS XV-Board
Topic
Prefix
/SET/xvboard/do/
channel_no
Prefix
Please refer to 8.3 MQTT Setting
channel_no
0~15
Message
0 or 1
AO channel of ICP DAS XV-Board
Topic
Prefix
/SET/xvboard/ao/
channel_no
Prefix
Please refer to 8.3 MQTT Setting
channel_no
0~15
Message
Floating value
The DO channel of ICP DAS I/O module
Topic
Prefix
/SET/
interface
/
module_no
/do/
channel_no
Prefix
Please refer to 8.3 MQTT Setting
interface
com3, com4 or lan
module_no
1~16
channel_no
0~15
Message
0 or 1