Vutec SIK232 Instructions

Page 1
1 / 13
Page 2
2 / 13
1. Introduction .......................................................................................................... 3
2. Installation ............................................................................................................ 4
2.1. Providing a Power Source ...................................................................................................... 4
2.2. Providin g an RS-232 Source ................................................................................................... 4
2.3. Adding Har dwi red Syst ems .................................................................................................... 5
2.4. Adding Wireless Systems ....................................................................................................... 5
3. R2D7 Protocol ....................................................................................................... 6
3.1. Command Strings ................................................................................................................... 6
3.1.1. Operating Strings ....................................................................................................................... 6
3.1.2. Configuration Strings .................................................................................................................. 7
3.2. Response Strings ................................................................................................................... 7
4. Operating Mode – Sys tem 7 .................................................................................. 8
4.1. Radio Mode ............................................................................................................................ 8
4.1.1. Training the RR24 ...................................................................................................................... 8
4.1.2. Controlling Mot o r s ...................................................................................................................... 8
4.2. Bus Mode ............................................................................................................................... 9
5. As a Progra m mi ng Device ................................................................................... 10
6. Appendix A: Specifications .................................................................................. 11
6.1. RS-232 Port Pin Configuration ............................................................................................. 11
6.2. Dimensions .......................................................................................................................... 11
7. Appendix B: Quick Reference .............................................................................. 12
7.1. Port Settings ........................................................................................................................ 12
7.2. Command Strings ................................................................................................................. 12
7.3. Configuration Strings ........................................................................................................... 12
7.4. Response Strings ................................................................................................................. 12
8. Appendix C: Examples ......................................................................................... 13
8.1. Standar d Examples .............................................................................................................. 13
8.2. Timing Examples .................................................................................................................. 13
Page 3
3 / 13
11.. IInnttrroodduuccttiioonn
The world of home a utom a tion and integration has been growing at an enormo u s rate in recent years. Control has been integrated using everything fro m a universal remote control to a co mplete home automation system to a personal computer.
The R2D7 is an interface that bridges from the RS-232 protocol to a single or multiple RP-Busses. RS-232 is a common proto co l tha t i s “ sp oken” by every personal computer and most home automation systems. There are many big names in the hom e automatio n i n d u stry: Crestron, AMX, Control4, Savant, Vantage, LiteTouch, & Lutron are considered among the largest. In some cases, an additional component will be needed by the home automation system in order to use RS-232.
Using an R2D7 allows up 420 hardwired RP60’s or RQ60’s and 5,940 RP60’s or RQ60’s using a combina tion of hardwired & wireless co ntrols.
Page 4
4 / 13
Figure 2.0.1: Basic R2D7 Setu p
Figure 2.2.1: RS-232 Cable Co n figu rat ion
22.. IInnssttaallllaattiioonn

2.1. Providing a Power Source

A power source must be provided to the R2D7 on system 1. This source may be either a DCPM or an “EYE” port of and RP or RQ controller (see figure 2.0.1).

2.2. Providing an RS-232 S ource

The RS-232 source may be any device that i s capable of communicating using the standard RS-232 protocol. As mentioned before, thi s may include devices such as a home automati on system or a personal computer.
When configur i ng the R S-232 d evi ce, the following table defines the port settin gs required by the R2D 7:
Port Speed 9600 baud Data Bits 8 Parity None Stop Bits 1 Flow Control XOn / XOff
To make the cable fro m the R S-232 so urce, use the figure 2.2.1. Note that the “Receive” and “Tr a nsmit” pins on this diagram are the “Receive” and “Transmit” as labeled on the RS-232 sour ce, not the R2D7.
Page 5
5 / 13

2.3. Adding Hardwired Systems

When going from system ports other than system 1 on the R2D7, the connection may go to either an “EYE” or a n “ AU X” port o n the R P 6 0.

2.4. Adding Wireless Systems

The R2D7 has the abil ity to control motors wirelessly using Radio Frequency (RF) modules when in r adio mode.
Plug the RFTM modul e i nto system 7 on the R2D7 usin g stan d a rd RP-Bus cable (see figure 2.4.1).
Figure 2.4.1: R2D7 Ra d i o Mode Setup
For more detail on configuring the R2D7 for wireless systems, see sectio n 4. 1 “ Radio Mode.”
Page 6
6 / 13
33.. RR22DD77 PPrroottooccooll
Communication wi th the R2D7 is defined in two parts: command stri ng s and response strings.

3.1. Command Strings

Strings are not cases sensitive to the R2D7, but for our purposes, we wi ll use lower case for operating strings and upper case for configuration str i n gs.

3.1.1. Operating Strings

Operating stri ngs for the R2D7 are segmented into 5 or 6 parts:
* 1 o 04 020 ;
Each command must beg i n wi th a “ header” character. This character is always the asterisk: “*”
The next segment is either one or two characters. This represents the system address, or the physical p ort we are addressing on the R2D7 device. If the R2D7 i s in radio mode (def a ul t), then thi s number may be anything from 1 through 99. When in bus mode, however, thi s number may only be 1 though 7. To send the “ALL” command, use 0 ( zero ) fo r the system.
Next, we need to give the R2D 7 a n instruction as a single character. In our example above, we have issued the ‘Op en’ command. The following table defi nes the commands available:
o Open (se nds the o p en co mmand to the sys tem f o r the s pecifie d uni t add ress) c Close (sends the close command to the system for the specified unit address) s Stop (sends the s to p co mmand to the sy s tem – unit address is ignored) w Wind (sends the wind co m mand to the system – unit address is ignored) p Program a Motor Control (puts the RP60 in programm ing mode) a Program an Accessory (puts the accessory in programming m ode) q Quit Sending Current Command (only applicable when sending a “fo rever” com m and)
Now we need to indicate whi ch uni t the command is intended for. This is an address from our pool of 01 through 60, or 00 to represent “ALL.” The address here is the same as if the command were issued from a remote contr ol; the R2D7 is simply another comm a nd sou rce. The address may control a group of shades, single shade, and even all shades. Perhaps the address for certain controls indicates running to an intermediate stop .
The next three digits a re an optional timing instruction for the R2D 7 . The value represents the durati on of the command in 20
th
’s of a second. For example, 010 w ould be half a second. If this i nfo rm a tion is not specified, then the R2D7 will send the command for 2 seco nd s. If 0 0 0 i s specif ied, then the command will be sent forever.
Finally, the terminato r must be sent. This can be either the semi-colon (as in our example) or “CR” ( the “ Enter” key).
Page 7
7 / 13

3.1.2. Configur ation Strings

Configuratio n strings for the R2D7 are segmented into 3 parts:
* V ;
As with opera ti n g instructions, the first character is the header. This is a l w a ys the asterisk (“*” ) .
Next is the setting for the R2D7. The following is a table of valid commands:
V Print Version (followed by mode: R = Radio, B = Bus) R Radio Mode (put system 7 in Radio mode) B Bus Mode (put system 7 in Bus mode)
Finally, the terminato r is either a semi-colon or the “CR” chara cter .

3.2. Response Strings

Although the RP-Bus is not b i-directional, the R2D7 do es report status information back to the sender. The f o l l owing table describes the resp onses for each event in the R2D7:
Event Response Power On “version, X-on” Terminator Received “LF” if good command
“U” if command was not understo o d “CR” after command was relayed to controls
Buffer Overflow “O” Buffer In Empty “XOn” (Ctrl+Q), b ut o nly if XOf f was sent Buffer Is Half-Full “XOff” (Ctrl+s)
Page 8
8 / 13
Figure 4.1.1.1: Wi r eless R S-232 Systems
RR43
RR43
RR43
RR43
44.. OOppeerraattiinngg MMooddee –– SSyysstteemm 77
By default, system 7 i s co nfigured for radi o mo d e .

4.1. Radio Mode

As previously mentioned, the R2D7 is capable of controlli ng up to 42 0 uniqu e motors. When using RF, this becomes 5940 motors.
See “RR24 User’s Guid e” a nd “RFTM User’s Guide” fo r more information on r a dio products.

4.1.1. Training the RR433

As with all other radio transmitters, before the RR43 3 will respond to commands from the R2D7’s RFTM, each R R 4 33 that will be controlled by the R2D7 must be tra i ned .
The first step is to identify the systems that will be controlled by the R 2D 7 . Ea ch group of RP60’s that is bussed together is co n sidered a system (see figure 4.1.1.1). Note that in our example, the three systems are arbitrary. They must be numb ered from 7 or higher, but we could have given each system any number we wanted.
Once the systems have been identified, commands need to be created from the RS­232 source for each system . I n our example, three co mmands would need to be created, and for simplicity’s sake, we will use the “Stop ” co mm a nd. The three commands would be: “*12s;” and “*13s;” and “*14s;”
For each system, fol l o w the i nstructions in the “RR433 User’s Guide” to put the RR433’s on that system into “Lear n” m ode (one system at a time).
Tip:
Especially when dealing w ith systems containing multiple RR4 3 3’s, or w hen the RR43 3 is located a l ong distance from the RS-232 source, it may be easie st to reset the RR433, causing the “Learn” lig ht to remain on until the first signal is seen.
Send the command fo r that system from the RS-232 source, i.e. send “*12s;” when the RR433’s on system 12 are in learn mode, etc. The l i g h ts o n the RR433’s in that system should go out. Repeat these steps for each system of RP60’s.

4.1.2. Controlling Motors

Controlling motors in radio mode is identical to bus mode, except that the system number may range from 1 to 99.
Page 9
9 / 13
In our exampl e from the p revious section, we identified systems 12, 13, and 1 4 . So , if we wanted to close all mo to rs on system 13, we would send the command “*13c00;”
Note:
When sending a com man d to all systems (such as “*0c00; ” ) , the co mmand will sent to wireless systems. Ea ch system will have to be addressed individual ly.

4.2. Bus Mode

When in bus mode, system 7 on the R2D7 operates identically to the other p or ts. What else do we need to say abo ut b us mode?
not
be
Page 10
10 / 13
55.. AAss aa PPrrooggrraammmmiinngg DDeevviiccee
Before attempti ng to program any devices using the R2D7, read and understand the section “Programming” in the “RP60’s U ser Guide.”
Devices connected to the R 2D7, whether hardwired or wireless, may be programmed using RS-232. This is accomplished by emulating the button sequence performed by hand.
First, the device must b e placed in program mode by sending the “p” comma nd for a motor control and the “a” command for an accessory (see section 3: “R2D7 Protocol”) followed by the identi fication number for the device. Next, the sequence must be sent for the desired f ea ture. Finally, send the “Stop” command to take the device out of programmi n g mode.
Note:
Before doing any programming from the R2D7, be sure to read the manual for the device you wish to program.
Example:
Suppose we wish to set a secon d group of 6 to motor (ma i n cha nnel ) 2 on system 4 . We would need to send the f ollowing sequence of commands to the R2D7: *4p02;*4c03;*4o06;*4s;
Example:
Suppose we wish to set a “ l ight” threshold to 75 on an SSPB with the default ID on system 3. We would need to send the following sequence of commands to the R2D 7 : *3a01;*3c06;*3o07;*3o05;*3s;
Example:
Suppose we wish to enab l e the w i nd lockout for all RP60’s on system 5. We would need to send the foll owing sequence of commands to the R2D7: *5p00;*5c10;*5o01;*5s;
Page 11
11 / 13
66.. AAppppeennddiixx AA:: SSppeecciiffiiccaattiioonnss

6.1. RS-232 Port Pin Configuration

When looking at the face of the R2D7, the RS-232 port configuration is:

6.2. Dimensions

Page 12
12 / 13
77.. AAppppeennddiixx BB:: QQuuiicckk RReeffeerreennccee

7.1. Port Settings

Port Speed 9600 baud Data Bits 8 Parity None Stop Bits 1 Flow Control XOn / XOff

7.2. Command Strings

Segment Data Characters Header * 1 System 1 – 7 for Bus Mod e , 1 – 99 for Radio Mode, 0 = “ALL” 1 or 2 Command o, c, s, w, p, a, q 1 Address 01 – 60, 00 = “ALL” 2 Timing (optional) 001 – 999, represents 20th’s of a second, 000 = forever 3 Terminator semi-colon “;” or “CR” 1

7.3. Configuration Strings

Segment Data Characters Header * 1 Command V, B, R 1 Terminator semi-colon “;” or “CR” 1

7.4. Response Strings

Event Response Power On “version, XOn” Terminator Received “LF” if good command
Buffer Overflow “O” Buffer In Empty “XOn” (Ctrl+ Q), but only if XOff was s ent Buffer Is Half-Full “XOff” (Ctrl+s)
“U” if command was not understood “CR” after command was relayed to controls
Page 13
13 / 13
88.. AAppppeennddiixx CC:: EExxaammpplleess

8.1. Standard Examples

Open Motor 3 on System 7 *7o03; Close Group 27 on System 5 *5c27; Open All Motors on All Systems *0o00; Stop All *0s; Open All Motors with Main Channel 3 *0o03; Close All Motors on System 4 *4c00; Open Motors 1-4 on System 2 *2o01;*2o02;*2o03;*2o04;

8.2. Timing Examples

Open Motors 1 – 4 with a 1-second Delay *2o01020;*2o02020;*2o03020;*2o04; Open All Motors, Stop Main Channel 1 After 4 Seconds,
Continue Main Channel 1 After Another 2 Seconds
*0o00080;*0o01;*0o01;
Loading...