ICP DAS WISE User Manual
Get all channel value of the remote I/O module.
Command
Parameters
http://wise.icpdas.com
"result": {
"value": 2.5,
"connection": "ONLINE"
}
}
The module or channel does not exist.
{
"status": "CHANNEL_NOT_EXIST"
}
Password error
{
"status": "PASSWORD_INCORRECT"
}
job=get_module_val&
if_type=val&com_port=val&module_no=val
Name
if_type
Description The type of I/O Interface
Value
0: XV-Board
1: COM Port
2: Ethernet
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
...so on.
Name
module_no
Description The index number of the module.
Value
Integer; start from 1.
//or "OFFLINE"
291