ICP DAS USA WISE-2841M Series User Manual page 288

Hide thumbs Also See for WISE-2841M Series:
Table of Contents

Advertisement

ICP DAS WISE User Manual
The following table gives detailed information of the query command, command
parameters and returned values. For parameters "id", "password" and "callback",
please refer to the examples in section above.
 Set up the I/O channel value.
Command
Parameters
http://wise.icpdas.com
job=set_channel_val&
if_type=val&com_port=val&module_no=val&
ch_type=val&ch_addr=val&ch_value=val
Name
if_type
Description The I/O module Interface
Value
0: XV-Board
1: COM Port
2: Network
Name
com_port
Description If the I/O interface is XV-Board or
Ethernet, skip this parameter. If
the I/O interface is COM Port, it is
the COM Port number.
Value
0: COM0
1: COM1
...and so on.
Name
module_no
Description The index number of the module. If
the I/O interface is XV-Board, skip
this parameter.
Value
Integer; start from 1.
Name
ch_type
Description The channel type
Modbus Module:co, ro
Value
ICP DAS I/O Module:do, ao
Infrared Module:ir
Name
ch_addr
288

Advertisement

Table of Contents
loading

Table of Contents