This shows you the differences between two versions of the page.
|
hardware:cflink:relay-modules [2013/02/14 02:15] jarrod [SET - Set Relay States] |
hardware:cflink:relay-modules [2015/10/12 22:23] (current) jarrod [Relay Ports CFLink Protocol] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Relay Ports CFLink Protocol ====== | ====== Relay Ports CFLink Protocol ====== | ||
| The following documentation describes the CFLink protocol for controlling relay ports on any device with relays.\\ | The following documentation describes the CFLink protocol for controlling relay ports on any device with relays.\\ | ||
| - | This includes relay modules and standalone devices such as the CF Mini | + | This includes relay modules, cards and standalone devices such as the CF Mini |
| ===== Queries ===== | ===== Queries ===== | ||
| Line 72: | Line 72: | ||
| // Modular devices | // Modular devices | ||
| - | < [F2]<ID>[F3]RRLYSTA[F4]<MODULE>|<RELAYSTATES>[F5][F5] | + | < [F2]<ID>[F3]RRLYPOS[F4]<MODULE>|<RELAYSTATES>[F5][F5] |
| // Standalone devices | // Standalone devices | ||
| - | < [F2]<ID>[F3]RRLYSTA[F4]<RELAYSTATES>[F5][F5] | + | < [F2]<ID>[F3]RRLYPOS[F4]<RELAYSTATES>[F5][F5] |
| <RELAYSTATES> = Repeated for each relay port in the module/device, the port status is returned in P##:<STATE> format. Multiple relay ports are included in a single reply using the Port Separator | (Pipe character) | <RELAYSTATES> = Repeated for each relay port in the module/device, the port status is returned in P##:<STATE> format. Multiple relay ports are included in a single reply using the Port Separator | (Pipe character) | ||
| <STATE> = Single character: | <STATE> = Single character: | ||