improvment
This commit is contained in:
8
assets/json/modbus.get_values.json
Normal file
8
assets/json/modbus.get_values.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"id": "xxxxxxxxxxx",
|
||||
"module": "fieldbus",
|
||||
"command": "modbus.get_values",
|
||||
"data": {
|
||||
"mode": "all"
|
||||
}
|
||||
}
|
12
assets/json/modbus.set_params.json
Normal file
12
assets/json/modbus.set_params.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"id": "xxxxxxxxxxx",
|
||||
"module": "fieldbus",
|
||||
"command": "modbus.set_params",
|
||||
"data": {
|
||||
"enable_slave": true,
|
||||
"ip": "192.168.0.160",
|
||||
"port": 502,
|
||||
"slave_id": 0,
|
||||
"enable_master": false
|
||||
}
|
||||
}
|
@ -2,9 +2,8 @@
|
||||
"id": "xxxxxxxxxxx",
|
||||
"module": "safety",
|
||||
"command": "soft_limit.set_params",
|
||||
"data":
|
||||
{
|
||||
"enable": true
|
||||
"data": {
|
||||
"enable": true,
|
||||
"upper": [0,0,0,0,0,0,0],
|
||||
"lower": [0,0,0,0,0,0,0],
|
||||
"reduced_upper": [0,0,0,0,0,0,0],
|
||||
|
Reference in New Issue
Block a user