CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


hardware:cflink:relay-modules

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

hardware:cflink:relay-modules [2013/02/14 02:13]
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:
Line 207: Line 207:
 </​sxh>​ </​sxh>​
  
-  * **<​MODULE>​** = The module number to change the state of of. 2 chars, uppercase '​M'​ followed by the module number.+  * **<​MODULE>​** = The module number to change the state of. 2 chars, uppercase '​M'​ followed by the module number.
     * eg. ''​M1''​ = Module 1, ''​M4''​ = Module 4.     * eg. ''​M1''​ = Module 1, ''​M4''​ = Module 4.
-  * **<​RELAYDATA>​** = For each relay port in the command, the port state is written in ''​P##:<​STATE>''​ format. Multiple relays can be changed in a single command by using the Port Separator |+  * **<​RELAYDATA>​** = For each relay port in the command, the port state is written in ''​P##:<​STATE>''​ format. Multiple relays can be changed in a single command by using the [[hardware:​cflink:​cflink-introduction#​port-separator|Port Separator]] ''​|''​
     * **<​STATE>​** = Single character:     * **<​STATE>​** = Single character:
       * ''​0''​ = Open relay       * ''​0''​ = Open relay
Line 268: Line 268:
   * 004 = Invalid Module Number   * 004 = Invalid Module Number
   * 402 = Invalid Relay State   * 402 = Invalid Relay State
- 
hardware/cflink/relay-modules.1360807993.txt.gz ยท Last modified: 2013/02/14 02:13 by jarrod