Home

Thermostat communication protocol for remote control. User manual

image

Contents

1. protection setpoint TEMP temperature of excess protection sensor PARAM OPERATION RD Thermostat Value of the requested parameter Response Query examples Getting setpoint of excess temperature protection e QUERY ADDR ALM SET RD e RESPONSE ADDR 0x00 75 Getting temperature of excess protection sensor e QUERY ADDR ALM TEMP RD e RESPONSE ADDR 0x00 60 Thermostat communication protocol for remote control RTD parameters of temperature sensors ADDR RTD CHANNEL FACTOR OPERATION DATA e 1 internal temperature sensor User manual CHANNEL e 2 external temperature sensor e RO sensor resistance at 0 C FACTOR e A coefficients of Callendar van Dusen equation for platinum RTD If not specified then all factors for OPERATION RD only OPERATION RD or WR Required if OPERATION WR DATA e Factor value Thermostat e If OPERATION RD then INFO value of the requested factor Response e If OPERATION WR then no INFO Query examples Getting values of all factors RO A B and C of internal sensor e QUERY ADDR RTD 1 RD RESPONSE ADDR 0x00 1000 00 3 9083E 3 5 7750E 7 4 1830 12 Setting value of A factor of external sensor to 3 92 10 e QUERY ADDR RTD 2 A WR 3 92 3 RESPONSE ADDR 0x00 10 Thermostat communication protocol for remote control PID parameters of PID controller ADDR PID CHA
2. sADDR NODE OPERATION DATA ADDR is a network address of the thermostat It is a string of up to 8 characters in the set of 0 9 A Z a z TERMEX thermostats use a unique serial number of the product as a net work address Broadcast address 00000000 eight zeroes can be used also Any thermostat re sponds to the query with this address NODE determines system of the thermostat which is addressed by the query It may in clude additional fields with more detailed information WODE SUBNODE SUBSUBNODE OPERATION defines an action to perform e RD reading e WR writing DATA is needed only when OPERATION is writing Depending on the query it can be a string casted to an integer or floating point value Response format A response is formed in the only case if the network address ADDR in the query matches the product serial number or broadcast address In general a response to the query has the basic form ADDR STA INFO ADDR is just the same as in a query form STA is a status of the operation It can take values displayed in hexadecimal form with prefix 0x00 the operation was successful 0x01 invalid query format 0x02 invalid data format 0x03 unknown destination node 0x04 unknown operation 0x05 the value is out of range If STATUS is not zero there is no INFO in the response In other case it contains request ed data Thermostat communication protocol for
3. FO readiness value Response e If OPERATION WR then no INFO Getting the current readiness value if it is 0 05 C QUERY ADDR RDY RD e RESPONSE sADDR 0x00 0 05 Setting new readiness value to 0 1 C QUERY ADDR RDY WR 0 1 e RESPONSE ADDR 0x00 14 Thermostat communication protocol for remote control User manual SER product serial number ADDR SER OPERATION DATA OPERATION RD or WR Required if OPERATION WR DATA e New serial number Thermostat e If OPERATION RD then INFO actual serial number Response e If OPERATION WR then no INFO change the serial number the thermostat network address will be changed too The fol lowing query should be executed with the new address Query examples Getting the actual serial number e QUERY ADDR SER RD e RESPONSE ADDR 0 00 12345678 Setting new serial number e QUERY ADDR SER WR 87654321 e RESPONSE ADDR 0x00 15 Thermostat communication protocol for remote control User manual FLU thermal fluid type ADDR FLU OPERATION DATA OPERATION RD or WR Required if OPERATION WR e 1 Any e 2 Water e 3 Polymethylsiloxane PMS 5 e 4 Polymethylsiloxane PMS 10 PAIA e 5 Polymethylsiloxane PMS 20 e 6 Polymethylsiloxane PMS 50 e 7 Polymethylsiloxane PMS 100 e 8 Ethanol e 9 Coolant Thermostat e If OPERATION RD then IN
4. FO thermal fluid type Response e If OPERATION WR then no INFO Query examples Getting the current thermal fluid type if it is water e QUERY ADDR FLU RD e RESPONSE ADDR 0x00 2 Setting new thermal fluid type ethanol e QUERY ADDR FLU WR 8 e RESPONSE ADDR 0x00 16 Thermostat communication protocol for remote control User manual EXT external temperature sensor ADDR EXT OPERATION DATA OPERATION RD or WR Required if OPERATION WR DATA e 0 disable external sensor e 1 enable external sensor e If OPERATION RD Thermostat INFO 0 sensor is disabled Response INFO 1 sensor is enabled e If OPERATION WR then no INFO Query examples Getting the current state of external sensor if it is enabled e QUERY ADDR EXT RD e RESPONSE ADDR 0 00 1 Disabling external temperature sensor e QUERY ADDR EXT WR 0 e RESPONSE ADDR 0x00 17 Thermostat communication protocol for remote control COR temperature correction ADDR COR OPERATION DATA User manual Query examples OPERATION RD or WR DATA Required if OPERATION WR e Correction value Thermostat e If OPERATION RD then INFO correction value Response e If OPERATION WR then no INFO Getting the current correction value if it is 1 05 C QUERY ADDR COR RD e RESPONSE ADDR 0x00 1 05 Resetting the correction value e QUERY ADDR COR
5. Getting current time e QUERY ADDR RTC TIME RD e RESPONSE ADDR 0x00 18 55 Setting up the turn on time to 5 am e QUERY ADDR RTC ONTIME WR 5 00 e RESPONSE ADDR 0x00 Enabling turn on at preset time e QUERY ADDR RTC ENON WR 1 e RESPONSE ADDR 0x00 DATA e String of the form hh mm h mm for TIME ONTIME OFFTIME e 1 for ENON ENOFF Thermostat e If OPERATION RD then INFO value of the requested parameter Response e If OPERATION WR then no INFO 12 Thermostat communication protocol for remote control User manual FSW refrigerating unit ADDR FSW OPERATION DATA OPERATION RD or WR Required if OPERATION WR DATA e 0 turn managing of the refrigerating unit off e 1 turn managing of the refrigerating unit on e If OPERATION RD Thermostat INFO 0 managing is off Response INFO 1 managing is e If OPERATION WR then no INFO Query examples Getting the current state of refrigerating unit managing if it is off e QUERY ADDR FSW RD e RESPONSE ADDR 0x00 0 Turning refrigerating unit managing on e QUERY ADDR FSW WR 1 e RESPONSE ADDR 0x00 13 Thermostat communication protocol for remote control RDY temperature stability indication ADDR RDY OPERATION DATA User manual Query examples OPERATION RD or WR DATA Required if OPERATION WR e Readiness value Thermostat e If OPERATION RD then IN
6. ION WR DATA e Temperature in C if PARAM TEMP e Duration in minutes if PARAM TIME Thermostat e If OPERATION RD then INFO value of the requested parameter Response e If OPERATION WR then no INFO Query examples Setting temperature of the 5th section of the program at 50 5 C e QUERY ADDR PRG TEMP 5 WR 50 5 e RESPONSE ADDR 0x00 Setting duration of the 5th section of the program at 25 minutes e QUERY ADDR PRG TIME 5 WR 25 e RESPONSE ADDR 0x00 Getting temperature of the 5th section of the program e QUERY ADDR PRG TEMP 5 RD e RESPONSE ADDR 0x00 50 5 Thermostat communication protocol for remote control User manual DAT sensor data ADDR DAT PARAM CHANNEL OPERATION e temperature C PARAM e R resistance in Ohms e 1 internal temperature sensor CHANNEL e 2 external temperature sensor If not specified then internal temperature sensor OPERATION RD Thermostat Value of the requested parameter Response Query examples Getting temperature of internal sensor e QUERY ADDR DAT T RD e RESPONSE ADDR 0x00 25 80 Getting resistance of external sensor e QUERY ADDR DAT R 2 RD e RESPONSE ADDR 0 00 1090 36 Thermostat communication protocol for remote control User manual ALM excess temperature protection ADDR ALM PARAM OPERATION MIN minimum value of the scale MAX maximum value of the scale SET
7. NNEL PARAM OPERATION DATA CHANNEL e 1 internal controller e 2 external controller User manual PARAM SET controller setpoint PWR actual output control current heat capacity AUTO automatic mode KA proportional gain in automatic mode KP proportional gain TI integral time e TD derivative time OPERATION RD or WR except PARAM PWR DATA Required if OPERATION WR e Parameter value 0 or 1 for AUTO Thermostat Response Query examples e If OPERATION RD If PARAM specified INFO value of the requested parameter If PARAM not specified KP TI and TD values simultaneously e If OPERATION WR then no INFO Getting values of KP TI and TD parameters of internal controller e QUERY ADDR PID 1 RD e RESPONSE ADDR 0x00 120 0 10 0 5 0 Setting derivative time of external controller to 6 2 e QUERY ADDR PID 2 TD WR 6 2 e RESPONSE ADDR 0x00 Getting current heat capacity of internal controller QUERY ADDR PID 1 PWR RD e RESPONSE ADDR 0x00 95 2 11 Thermostat communication protocol for remote control RTC real time clock ADDR RTC PARAM OPERATION DATA TIME current time ONTIME turn on time OFFTIME turn off time ENON turn on enable ENOFF turn off enable PARAM User manual OPERATION RD or WR Required if OPERATION WR Query examples
8. S2 LERRIEX PRECISION AT THE HEART OF STABILITY AT THE HEART OF STABILITY THERMOSTAT COMMUNICATION PROTOCOL FOR REMOTE CONTROL User manual Thermostat communication protocol for remote control User manual CONTENTS CONTENDS 2 So pal Te El a 3 CONMGUEING suscep ccs cabinets tas AO aE Aaa E O dad den decade Aa 4 General INOrMatiON n 5 aac aici ial a au ined aa ah nuance aca 5 Response format 5 Solved OU SES narnia n a a a a da a a a a wens 6 SET SCC DOIN iaa a a a a a a a e a i e da 6 PRG pr gram SEQUENCES aaa A 7 EE E A 8 ALM xc ss temperature prot ctiOh 9 RTD parameters of temperature 10 PID parameters of PID controller 11 time Clock ERE ER 12 FSW fefrigerating ODDE Ebba bab 13 RDY temperature Stability indication KEE REEL ERE ER REE REEL E NEL ER 14 SER thermostat serial MUMDE csccesssecesssecesesecesseeeseseeeeaseessaseesssaeess
9. WR 0 0 e RESPONSE ADDR 0x00 18
10. remote control User manual SOLVED QUERIES SET setpoints ADDR SET PARAM INDEX OPERATION DATA Query examples e MIN setpoints minimum acceptable value PARAM e setpoints maximum acceptable value e IDX working setpoint index e VAL setpoint value INDEX Required if PARAM VAL 7 i i i Setpoint index 1 3 If not specified then query is to working setpoint OPERATION RD or WR Required if OPERATION WR DATA e Setpoint value if PARAM VAL e Setpoint index if PARAM IDX Thermostat e If OPERATION RD then INFO value of the requested parameter Response e If OPERATION WR then no INFO Setting setpoints maximum acceptable value at 95 C QUERY ADDR SET MAX WR 95 0 e RESPONSE ADDR 0x00 Setting third setpoint at 60 C QUERY ADDR SET VAL 3 WR 60 0 e RESPONSE ADDR 0x00 Setting third setpoint as working setpoint QUERY ADDR SET IDX WR 3 e RESPONSE ADDR 0x00 Getting index of working setpoint QUERY ADDR SET IDX RD e RESPONSE ADDR 0x00 3 Getting value of working setpoint QUERY ADDR SET VAL RD e RESPONSE ADDR 0x00 60 00 Thermostat communication protocol for remote control User manual PRG program sequence ADDR PRG PARAM SECTION OPERATION DATA e TEMP temperature PARAM e TIME duration SECTION Section index 1 10 OPERATION RD or WR Required if OPERAT
11. satereeesenesasenaeees 15 FL thermal TU type sinnani TAN 16 EXT external temperature sensor 17 COR temp rature COrrector sant AE NE 18 Thermostat communication protocol for remote control User manual This manual provides the information needed to develop of software applications to control the operation of TERMEX thermostats Information set out below is true in case of thermostat connection to any hardware device host via standard interface RS 485 RS 232 or USB We reserve the right to make changes to the protocol without affecting the functions de scribed below CONNECTING Depending on the model thermostats can be connected to the host via various interfaces RS 485 RS 232 or USB To connect the thermostat via USB interface you should use a standard A to B cable for pe ripherals To connect the thermostat to the host via RS 232 interface use the standard null modem cable Its wiring is shown below To connect the thermostat to the host via RS 485 interface make special cable Its wiring at the thermostat side is shown below Thermostat communication protocol for remote control User manual CONFIGURING In the case of USB connection to the host configuring is made automatically by system driver because the thermostat is a HID compatible device that suppor
12. ts two reports Input and Output Both reports are an array of 64 bytes The data is transmitted by means of these reports If the data size is larger than the report size the data should be split into several packages If you are connecting the thermostat to the host via RS 232 interface you should set the following settings for the host communication port e speed 9600 baud parity none stop bits 1 DTR high level RTS low level RS 232 interface is galvanically isolated at the thermostat side and the DTR and RTS signals are used to feed power to the optocouplers If you are connecting the thermostat to the host via RS 485 interface you should set the following settings for the host communication port e speed 9600 baud e parity none e stop bits 1 Thermostat communication protocol for remote control User manual GENERAL INFORMATION Data exchange with the thermostat is initiated by the host through sending the query The query is an ASCII string which starts with and ends with a carriage return symbol code 13 or any other symbol with the code less than 13 Thermostat also replays by the string formatted by the same way Further in queries description square brackets indicate optional parameters Query format Query can be written in uppercase or lowercase The query string consists of a set of to kens separated by dot and _ Space In general a query has the basic form

Download Pdf Manuals

image

Related Search

Related Contents

No.15 走行装置(車輪・車軸)の点検・保守について  994LZ Luxury Lift Oper.qxd - La-Z-Boy  User's Guide for Nokia 3330  Dossier de presse  User Manual  Conto D2  Linksys WRT54G User's Manual  { = 養講管電重管要塞軍管野農の  Software Evaluation and Journal: eReader  Manual Caddy Mig C200i  

Copyright © All rights reserved.
Failed to retrieve file