AUTOMATE ARC Serial Protocol via RS485 AUTOMATE Pulse suppts bi-directional third party system integration via RS485 serial communication. These instructions outline the fundamentals of the ARC serial protocol, enabling system programmers to communicate to ARC mots by sending simple ASCII strings from their systems to the Automate Pulse hub. FEATURES: RS 485 2 wire communication Simple, intuitive protocol features 3 character mot addressing Individual group control capability Suppts all ARC control and configuration functionality Control of up to 32 Pulse hubs on one line Each Pulse Hub can control up to 15 motized window treatments SERIAL PROTOCOL_PRGM_GL_v1.3 2017 NOV Facilitates ARC (Automate Radio Communication) 433 MHz Bi-Directional RF Communication from virtually any automation/control system
NOTES 2 Automate Programming Instructions ARC Serial Protocol via RS485 ROLLEASE ACMEDA
CONTENTS 1 REQUIREMENTS 4 1.1 Hardware 4 1.2 Wiring 5 1.3 Connection Parameters 5 2 COMMUNICATION MESSAGES 6 2.1 Hub Configuration 6 2.2 Mot Configuration 6 2.3 Global Commands 7 3 TABLE OF COMMANDS 8 3.1 Pulse Hub Commands 8 3.2 Reset Hub 8 3.3 Pair 8 3.4 Operations 11 3.5 Queries 15 3.6 Parameters 16 3 Automate Programming Instructions ARC Serial Protocol via RS485 ROLLEASE ACMEDA
1 REQUIREMENTS 1.1 Hardware Region Description Part Number AU AUTOMATE PULSE WI-FI HUB-AU MTRF-PULSE-AU UK AUTOMATE PULSE WI-FI HUB-UK MTRF-PULSE-EU EU AUTOMATE PULSE WI-FI HUB-EU MTRF-PULSE-UK US ARC Wi-Fi to 433 MHz MTRF-WIFIBRIDGE-KIT Region Description Part Number GL SERIAL CONNECTOR KIT MT02-0406-000001 Region GL Description SERIAL ADAPTER RS385 TO RS232 Region GL Description SERIAL CONNECTOR DB9 TO RJ45 4 Automate Programming Instructions ARC Serial Protocol via RS485 ROLLEASE ACMEDA
1.2 Wiring The Pulse hub suppts RS485 communication over a 2 wire configuration. SETTING FACTORY MICRO 5V USB DC / 1A RS485 SERIAL 1 BUTTON SETTING RESET MICRO RS485 USB SERIAL INTERFACE 2 BUTTON INTERFACE 4 3 1: SIGNAL GND 2: - 3: - RS485 4: + RS485 Many control systems have only RS232 pts - in this case, a 232>485 converter will be required. Always refer to control system pinout diagram f crect communication wiring. 1.3 Connection Parameters The serial connection parameters are shown in the below table. Communication Parameter Protocol asynchronous UART Baud Rate 9600 bps Data Bit 8 Parity Bits N Stop Bit 1 ROLLEASE ACMEDA Automate Programming Instructions ARC Serial Protocol via RS485 5
2 COMMUNICATION MESSAGES Uplink - Messages from ARC mots relayed to the Controller/PC via a Pulse Hub Downlink - Messages from a Controller/PC relayed to ARC mots via the Pulse Hub 2.1 Hub Configuration Downlink messages to a Pulse Hub are constructed with an exclamation point (! ) as the header followed by a hub address, a command character, data then a semicolon ( ; ) as the carriage return. (See 3.1 f list commands) Start Character Address Command Data End Charaacter! 3 Byte ASCII 1 Byte ASCII (Optional) ; 0-9 & A-Z, broadcast address 000 f query, range 001-ZZZ non-numerical ASCII? f inquiry of mot status The address 000 is reserved f global commands. The Pulse Hub has a default address of 245. 2.2 Mot Configuration Each ARC mot is paired to a discrete Pulse Hub. Therefe, a downlink message to configure an ARC mot includes the hub address with a delimiter character of D, as shown in the table below. (See 3.2 f list of commands) Start Character Pulse Hub Address Delimiter Character Mot Address Command Data End Charaacter! 3 Byte ASCII D 3 Byte ASCII 1 Byte ASCII (Optional) ; 0-9 & A-Z, broadcast address 000 f query, range 001- ZZZ 0-9 & A-Z, broadcast address 000 f query, range 001- ZZZ nonnumerical ASCII? f inquiry of mot status Example downlink messages: Start Character Pulse Hub Address Delimiter Character Mot Address Command Data End Charaacter! 111 D 100 @ 123 ;! 111 D 123 r? ; 6 Automate Programming Instructions ARC Serial Protocol via RS485 ROLLEASE ACMEDA
Example uplink messages (reply to above): Downlink messgae Uplink message Comments!111D123v?;!111D123m100;!111D123vA21;!111D123U;!111D123<09b00;!111D123r100b180; Request to mot 123 under hub 111 f version; the mot responds with version as A21. No movement Move from 9%, direction < (UP) Responds at 100% when finished moving 2.3 Global Commands A downlink message with an address of 000 is considered a global message the Pulse hub and all netwked device will receive the message and provide an uplink message in response. The Pulse hub will only reply to version request otherwise it will simply pass the uplink/downlink messages. Downlink messgae Uplink message Comments!000V?;!XXXV;!XXXV;... All hubs and mots respond with version The system manages communication traffic, however there is a possibility of buffer overflow if large amounts of messages are being transmitted in a sht amount of time (in response to global commands). ROLLEASE ACMEDA Automate Programming Instructions ARC Serial Protocol via RS485 7
3 TABLE OF COMMANDS 3.1 Pulse Hub Commands No. Command function Start charcter Hub address (XXX) Downlink message Command keywd Data End character 1 Query pulse hub address 2 Modify pulse hub address! 000 V ;! XXX G ZZZ ; 3 Test pulse hub! XXX T ; 3.2 Reset Hub No. Command function Downlink message Start charcter Hub address (XXX) Delimiter Mot Adress (YYY) Command keywd Data 1 Module reset! XXX D 000 * 3.3 Pair No. Command function Downlink message Start charcter Hub address (XXX) Delimiter Mot Adress (YYY) Command keywd Data 1 Pair! XXX D 000 & 2! XXX D 000 & YYY 3 Unpair (need mot feedback )! XXX D YYY # 4 Modify mot address under pulse hub! XXX D YYY @ ZZZ 5 Delete the cresponding address in the module! XXX D YYY $ 8 Automate Programming Instructions ARC Serial Protocol via RS485 ROLLEASE ACMEDA
Uplink message Bytes Remark Feedback example!xxxv,!xxyv, 0 Broadcast command, get all pulse hubs on the netwk. (XXX), (XXY) are the pulse hub address!zzza; 3 Change pulse hub address from XXX to ZZZ!XXXA; 0 Hub flash 6 times Uplink message Bytes Remark End character Feedback example ;!XXXD000A; 0 Reset all data of pulse hub Uplink message Bytes Remark End character Feedback example ;!XXXDYYYA; 0 A random address is generated by the Pulse Hub and assigned to the mot / device being paired. Mot feedback!xxxdyyya; pair successful, YYY is a random ascii address " ;!XXXDYYYA; 0 Pair the mot with address YYY ;!XXXDYYYA; 0 Mot feedback!xxxdyyya; unpair successful ;!XXXDZZZA; 3 Change address from YYY to ZZZ ;!XXXDYYYA; 0 Mot feedback:!xxxdyyya; delete successful ROLLEASE ACMEDA Automate Programming Instructions ARC Serial Protocol via RS485 9
3.4 Operations No. Command function Downlink message Start charcter Hub address (XXX) Delimiter Mot Adress (YYY) Command keywd Data 1 Open/Up! XXX D YYY o 2 Close/Down! XXX D YYY c 3 Stop! XXX D YYY s 4 Jog open/up! XXX D YYY oa 5 Jog close/down! XXX D YYY ca Continued onto next page 10 Automate Programming Instructions ARC Serial Protocol via RS485 ROLLEASE ACMEDA
Uplink message Bytes Remark End character Feedback example!xxxdyyyu; Stroke not set ;!XXXDYYY<DD1bDD2; 2 Start to run, return the present position; DD1 is travel percentage and DD2 is rotation percentage in degrees (0-180)!XXXDYYYrDD1bDD2; Finish the movement, return the final position; DD1 is travel percentage and DD2 is rotation percentage in degrees (0-180)!XXXDYYYU; Stroke not set ;!XXXDYYY<DD1bDD2; 2 Start to run, return the present position; DD1 is travel percentage and DD2 is rotation percentage in degrees (0-180)!XXXDYYYrDD1bDD2; Finish the movement, return the final position; DD1 is travel percentage and DD2 is rotation percentage in degrees (0-180)!XXXDYYYU; No stroke set ; 2!XXXDYYYrDD1bDD2; Stop the movement, return the final position; DD1 is travel percentage and DD2 is rotation percentage in degrees (0-180)!XXXDYYYU; No position feedback ;!XXXDYYY<DD1bDD2; 1 Jog starting position; DD1 is travel percentage and DD2 is rotation percentage in degrees (0-180)!XXXDYYYrDD1bDD2; Jog stop position; DD1 is travel percentage and DD2 is rotation percentage in degrees (0-180)!XXXDYYYU; No position feedback ;!XXXDYYY<DD1bDD2; 1 Jog starting position; DD1 is travel percentage and DD2 is rotation percentage in degrees (0-180)!XXXDYYYrDD1bDD2; Jog stop position; DD1 is travel percentage and DD2 is rotation percentage in degrees (0-180) ROLLEASE ACMEDA Automate Programming Instructions ARC Serial Protocol via RS485 11
No. Command function Downlink message Start charcter Hub address (XXX) Delimiter Mot Adress (YYY) Command keywd Data 6 Move by percentage! XXX D YYY m (DDD) 7 rotate angle by percentage! XXX D YYY b (DDD) 8 Move to preferred limit position/3rd position! XXX D YYY f 12 Automate Programming Instructions ARC Serial Protocol via RS485 ROLLEASE ACMEDA
Uplink message Bytes Remark End character Feedback example!(xxx)d(yyy)u; No movement ;!(XXX)D(YYY)<(DD1)b(DD2); 2 Start to run, return the present position; DD1 is travel percentage and DD2 is rotation percentage in degrees (0-180)!(XXX)D(YYY)r(DDD)b(DD2); Finish the movement, return the final position; DDD is percent and DD2 is degree!(xxx)d(yyy)u; No position feedback ;!(XXX)D(YYY)<(DD1)b(DD2); 2 Start to run, return the present position; DD1 is travel percentage and DD2 is rotation percentage in degrees (0-180)!(XXX)D(YYY)r(DD1)b(DDD); Finish the movement, return the final position; DD1 is percent and DDD is degree. Note: DD1 can be igned in this case. NULL [no preset preferred limit,no feedback] ; 2!(XXX)D(YYY)r(DD1)b(DD2); [preferred limit is set,feedback stop position ] ROLLEASE ACMEDA Automate Programming Instructions ARC Serial Protocol via RS485 13
3.5 Queries No. Command function Downlink message Start charcter Hub address (XXX) Delimiter Mot Adress (YYY) Command keywd Data 1 Request mot parameter! XXX D YYY N? 2 Request current position! XXX D YYY r? 3 Request current position! XXX D YYY f? 4 Request mot speed! XXX D YYY psc? 5 Request mot voltage! XXX D YYY pvc? 6 Request version! XXX D YYY v? 7 Request position limit setting! XXX D YYY pp? 14 Automate Programming Instructions ARC Serial Protocol via RS485 ROLLEASE ACMEDA
Uplink message Bytes Remark End character Feedback example ;!(XXX)D(YYY)N(DDDDDDDD); 1 Mot parameters: (DDDDDDDD);!(XXX)D(YYY)U; No top and bottom limits ; 1!(XXX)D(YYY)r(DD1)b(DD2);!(XXX)D(YYY)U; Current position No 3rd position setting ; 1!(XXX)D(YYY)r(DD1)b(DD2); 3rd position setting, feedback position ;!(XXX)D(YYY)pSc(DDD); 1 Request current speed, mot feedback (DDD)rpm ;!(XXX)D(YYY)pVc(DDD); 1 Request mot voltage, feedback (DDD)V 1 (DD) version T = type = A AC mot = C Curtain mot ;!(XXX)D(YYY)vA(DD); 3 = D DC mot = S socket = L lighting devices VV = version = (V.V) version ;!(XXX)D(YYY)pP(HH); variable P = Keywd, indicate position HH=00 all limits of mot are not set; HH=01 Upper and lower limits are set; HH=03 Upper, lower limits and 3rd position are set. ROLLEASE ACMEDA Automate Programming Instructions ARC Serial Protocol via RS485 15
3.6 Parameters No. Command function Downlink message Start charcter Hub address (XXX) Delimiter Mot Adress (YYY) Command keywd Data! XXX D YYY peoh! XXX D YYY pech! XXX D YYY peoa 1 Set mot limit! XXX D YYY peca! XXX D YYY peac! XXX D YYY pemh! XXX D YYY pemc 2 Modify position limit setting! XXX D YYY pp HH! XXX D YYY pgc+! XXX D YYY pgc- 3 Modify speed relation setting! XXX D YYY pgd+! XXX D YYY pgd-! XXX D YYY pga+! XXX D YYY pga-! XXX D YYY pgr+! XXX D YYY pgr-! XXX D YYY pm01 4 5 Modify mot running mode Reset to facty default mode! XXX D YYY pm02! XXX D YYY pm04! XXX D YYY pm08! XXX D YYY pm10! XXX D YYY pr* 16 Automate Programming Instructions ARC Serial Protocol via RS485 ROLLEASE ACMEDA
Uplink message Bytes Remark End character Feedback example ;!(XXX)D(YYY)pEoH; Set the current position as upper limit ;!(XXX)D(YYY)pEcH; Set the current position as lower limit ;!(XXX)D(YYY)pEoA; Adjust upper limit ;!(XXX)D(YYY)pEcA; 3 Adjust lower limit ;!(XXX)D(YYY)pEaC; Cancel all limits ;!(XXX)D(YYY)pEmH; Set the current position as favite position ;!(XXX)D(YYY)pEmC; Cancel favite position ;!(XXX)D(YYY)pP(HH); variable ;!(XXX)D(YYY)pGc+; P = keywd, indicate position HH=00 all limits of mot are not set; HH=01 Upper and lower limits are set; HH=03 Upper, lower limits and 3rd position are set. Increase one speed level f contiuous running ;!(XXX)D(YYY)pGc-; Decrease one speed level f contiuous running ;!(XXX)D(YYY)pGd+; Increase one speed level f jogging ;!(XXX)D(YYY)pGd-; Decrease one speed level f jogging 3 ;!(XXX)D(YYY)pGa+; Increase angle coefficient by one ;!(XXX)D(YYY)pGa-; Decrease angle coefficient by one ;!(XXX)D(YYY)pGr+; Increase jog distance by one unit ;!(XXX)D(YYY)pGr-; Decrease jog distance by one unit ;!(XXX)D(YYY)pM01; Switch mot mode between jog and contiuous running ;!(XXX)D(YYY)pM02; Mot rotation direction change ;!(XXX)D(YYY)pM04; 3 Mot angle direction change ;!(XXX)D(YYY)pM08; The mot is set to slow-start and slow-stop mode ;!(XXX)D(YYY)pM10; The mot is set to full-speed start-up mode ;!(XXX)D(YYY)pR*; 1 Reset to facty default mode ROLLEASE ACMEDA Automate Programming Instructions ARC Serial Protocol via RS485 17
18 Automate Programming Instructions ARC Serial Protocol via RS485 ROLLEASE ACMEDA
ROLLEASE ACMEDA Automate Programming Instructions ARC Serial Protocol via RS485 19
ROLLEASE ACMEDA AUSTRALIA 110 Nthcp Boulevard, Broadmeadows VIC 3047 T +61 3 9355 0100 F +61 3 9355 0110 Queensland Branch Unit 2/62 Bthwick Avenue, Murarrie QLD 4172 ROLLEASE ACMEDA USA 200 Harvard Avenue Stamfd, CT 06902 6320 T +1 203 964 1573 F +1 203 964 0513 ROLLEASE ACMEDA EUROPE Via Conca Del Naviglio 18, Milan (Lombardia) Italy T +39 02 8982 7317 F +39 02 8982 7317 info@rolleaseacmeda.com rolleaseacmeda.com 20 Automate Programming Instructions ARC Serial Protocol via RS485