connect_relay
Activate a relay output on a KR-series controller. Provide device address (1-254) and channel (1-16) to switch the specified circuit on.
Instructions
吸合指定设备指定一路继电器(ON)。参数:address=机器地址, channel=回路号。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | 设备地址/机器号 (1-254),即机器地址。可通过 scan_devices 自动发现,或用 list_devices 查看已注册设备。255为广播地址。 | |
| channel | Yes | 继电器回路号 (1-16),即第几路输出。 |