![Felix Instruments AccuRipe F-901 Скачать руководство пользователя страница 20](http://html1.mh-extra.com/html/felix-instruments/accuripe-f-901/accuripe-f-901_manual_550114020.webp)
F901 Controller Manual
Page
19
of
27
Control parameters:
panel_param:
set a panel parameter.
•
id :
panel id [string]
•
attr:
controllable panel attribute [string]
▪
controllerEnable:
enable/disable current panel
▪
setValue
: Panel setpoint . Applicable for
PID
and
ON-OFF controllers
only
•
value:
control value [true/false/number]
Example:
msg = {
'panel_param': {
"id":"id1556575675503",
"attr":"controllerEnable",
"value":False
}
} // disable panel
client.publish(topic="F901 controller EP1", payload=json.dumps(msg))
device_param:
set a device (in a panel) parameter. Applicable for actuator devices only
•
id :
panel id [string]
•
Index:
device index in the panel’s devices list
[number]
•
attr:
controllable panel attribute. Default a
ttribute is “
value
”
•
value:
control value
[number]
Example:
msg = {
'device_param': {
"id":"id1556575675503",
"index":0, // in the panel device list
"attr":"value",
"value":40
}
} // in a panel, set actuator output to 40
client.publish(topic="F901 controller EP1", payload=json.dumps(msg))
Содержание AccuRipe F-901
Страница 26: ...F901 Controller Manual Page 25 of 27...