Appearance
Set Relay
This action allows setting a relay instance state. Optionally add display text to provide a more meaningful name.
TIP
Relay numbers are shown as 1 to 16 in the settings. These correspond to ArduPilot relay instances 0 to 15 (e.g. relay number 3 = instance 2).
Examples
| Display | Description |
|---|---|
| Options not configured, this will be shown when the action is first added. | |
| Set relay number three low. | |
| Set relay number three high. | |
| Toggle relay number three. | |
| Optionally custom display text can be added to give a more descriptive name. |
Under the hood
MAV_CMD_DO_SET_RELAY as a COMMAND_LONG
| Field Name | Type | Value | Description |
|---|---|---|---|
| param 1 | float | user selection | Instance Number (0 to 15) |
| param 2 | float | 0.0, 1.0, 2.0 | 0.0: Low, 1.0: High, 2.0: Toggle |
| param 3 | float | NaN | |
| param 4 | float | NaN | |
| param 5 | float | NaN | |
| param 6 | float | NaN | |
| param 7 | float | NaN |