Page 1
RS485 Remote Power Switch Device for remotely controlling industrial and home appliances over RS485 networks Quick Installation Guide Author Ivo van Ling Hardware Release Quick Install Guide Version QIG_RS485_RPSW_v1.00.docx Date 1-07-2020 Covering Product code RE.11.R485...
The information contained in this document is subject to change. This document contains proprietary information, which is protected by copyright laws. All rights are reserved. No part of this document may be photocopied, reproduced or translated to another language or program language without prior written consent of RFI Engineering B.V. QIG_RS485_RPSW_v1.00.docx Page: 2(12)
If you connect the device to our U-router NGW there is even nothing to configure. Using our advanced RS485 serial protocol, called RIOT, the device announces itself over the RS485 bus to the U-router NGW and is immediately ready for use.
Below is a schematic diagram connecting multiple RPSW’s to a U-router NGW. The RPSW’s can be daisy chained together using the loop-through RS485 interface connectors (RJ11). A maximum of 32 RS485 devices, like the RPSW, can be connected to the RS485 bus of the U-router NGW.
The last relay position is always saved to the EEPROM of the RPSW and periodically broadcast over the RS485 network. This is done to ensure that the relay will not accidentally be triggered when other components of the RS485 network are unplugged or rebooted. For example; if you reboot the U-router NGW you don’t want your RPSW to momentarily be switched off during reboot, thereby...
CMD > 6 Messaging protocol over the RS485 network The RPSW can connect to a local RS485 network using either the RFI IOT protocol (RIOT) or the Modbus protocol. The default communication protocol is RIOT. RIOT Protocol RIOT is an RS485 protocol between multiple hosts whereby each host is equal, that is to say;...
RIOT message format Using RIOT each device communicating (transferring data) on the RS485 network is given a unique address. All RIOT messages are ASCII messages that consists of two start characters, “R0”, a destination address, source address, message length, message payload and the end of the message is defined by a carriage return and line feed.
As a relay host (hardware device and/or printed circuit board containing relays) may have multiple physical relays but only one RS485 interface per device/box you can address multiple relays in the RIOT R0 payload field messages. Furthermore, future relay devices might have extended command sets, so the relay R0 messages contain a version number to indicate what sub-commands are supported.
Relay Toggle via RIOT RS485 message You can toggle the relay to the off or on position by sending 0 or 1 as payload in the RS485 RIOT message. Sending 0 turns the relay off. Sending 1 turns the relay on.
Example of a RIOT Relay Status Message When the RPSW is switched on it starts sending relay status messages on the RS485 network every 30 seconds. This is also the message by which the RPSW is detected on the network.
Using DFU utils (available for Windows, MAC OS and Linux) you can flash new firmware into the unit. New firmware releases can be found on www.rfi-engineering.com. Using dfu-util command line tool on MacOS Dfu-util is a host side implementation of the DFU 1.0 and DFU1.1 specification from the USB forum.
Page 13
The information contained in this document is subject to change. This document contains proprietary information, which is protected by copyright laws. All rights are reserved. No part of this document may be photocopied, reproduced or translated to another language or program language without prior written consent of RFI Engineering B.V. QIG_RS485_RPSW_v1.00.docx Page: 12(12)
Need help?
Do you have a question about the RS485 and is the answer not in the manual?
Questions and answers