CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


Sidebar

hardware:cflink:din-ry-cflink-protocol

This is an old revision of the document!


DIN-RY CFLink Protocol

The following documentation is for the DIN-RYx-N devices CFLink protocol messages.

Relay Commands

On / Off / Toggle

The TRLYSET (Send) command is used to send a command to the relay channels.

Data

> [F2]<ID>[F3]TRLYSET[F4]<PORT>:<STATE>[F5][F5]

  • <PORT> = The relay channel (port) to be controlled. Relay channels would be from P01-P08 for the 8-channel and P01-P05 for the 5-channel.
  • <STATE> = The command to set the status of relay. 0 would set the relay to open, 1 would set the relay to close, T would set the relay to toggle.

Reply

< [F2]<ID>[F3]RRLYCHA[F4]<PORT>:<STATE>[F5][F5] // The reply comes from only the port where the change event happens
< [F2]<ID>[F3]RRLYSTA[F4]<PORT>:<STATE>[F5][F5] // The reply comes from all the ports 

To minimize the data traffic on the communication bus, the RRLYCHA will only reflect the affected ports only. It will also be sent as unsolicited messages when buttons on the display panel are set. The RRLYSTA reply will have all port status, separated by pipes.

hardware/cflink/din-ry-cflink-protocol.1566956987.txt.gz · Last modified: 2019/08/28 01:49 by terrylau