SEZ50MB RWD Primary Controls Modbus Interface
Basic Documentation
CB1P3099en_01 27.10.2009
Building Technologies
Page 1: ...SEZ50MB RWD Primary Controls Modbus Interface Basic Documentation CB1P3099en_01 27 10 2009 Building Technologies ...
Page 2: ...3099en_01 Building Technologies 27 10 2009 Siemens Switzerland Ltd Building Technologies Group International Headquarters Gubelstrasse 22 CH 6301 Zug Tel 41 41 724 24 24 Fax 41 41 724 35 22 www siemens com sbt 2009 Siemens Switzerland Ltd Subject to change ...
Page 3: ...Before Starting 4 1 2 Additional Documents 4 1 3 Abbreviations Terminologies 5 1 4 Important Notes 5 2 Product Overview 6 3 Commissioning SEZ50MB 8 4 Modbus Operation 10 5 RWD Parameters Addresses 14 6 Appendix A Standard IEEE 754 Format 23 6 1 1 General Description 23 6 1 2 Data Formats 23 7 Appendix B Generating A CRC16 Check Sum 24 8 Trouble Shooting Hints 26 ...
Page 4: ...rs who use SEZ50MB to build Modbus network for RWD devices It is assumed that the target audience has Basic understandings on RWD products Modbus protocol and their applications Detailed information about Modbus can be obtained from www Modbus org Knowledge of HVAC system and local electrical installation regulations where SEZ50MB is employed Basic knowledge of instrumentation and control operatio...
Page 5: ...al safety regulations for electrical installations Commissioning of this product and products connected with it must be undertaken by qualified staff that has been appropriately trained by Siemens Building Technologies When wiring the system the AC 230 V section must be strictly segregated from the safety extra low voltage SELV section in order to ensure protection against electric shock hazard Fo...
Page 6: ...marizing in the following table SEZ50MB Interface Terminals Connector and Indicator AC 24 V SELV Power Supply Interface G G0 Modbus RS485 Interface Ref RS232 Interface DB9 Male Connector The Amber LED Indicator Power Supply Connection Communication it will flash when data going in out from SEZ50MB AC 24 V SELV Power Supply Interface 2 Pin Terminal G G0 terminals are for AC 24 V SELV power supply L...
Page 7: ...sed 9 Not Used Not Used Note The DB9 male socket of RS232 interface connected on the RWD device will have TXD at Pin 2 and RXD at Pin3 Pin 4 7 will be Inputs The SEZ50MB device address can be set via a 8 way DIP switch and the valid addresses are 1 to 247 DIP switch Position à 1 2 3 4 5 6 7 8 Address No Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Broadcast Address 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
Page 8: ...k different DIP switch combinations should be used for other SEZ50MBs Set the 4 way DIP switch on SEZ50MB device for communication settings and the same communication settings should be applied to all SEZ50MBs connected to the same Modbus network Connect the RS232 cable provided between RWD device and SEZ50MB For the Modbus network connect the 3 wire Modbus terminals Ref of the SEZ50MB device to e...
Page 9: ... m RS232 TO RS485 Converter Isolated Converter Recommended Inconsistent and wrong wirings to G G0 supply terminals for internetworking SEZ50MB Modbus system may cause permanent damages to the devices RWDxx G G0 G G0 AC 24 V SELV Modbus RS232 RS232 SEZ50MB G G0 RWDxx G G0 SEZ50MB G G0 G G0 AC 24 V SELV RWDxx G G0 SEZ50MB G G0 G G0 AC 24 V SELV SEZ50MB G G0 RWDxx G G0 Modbus RS232 RS232 G G0 AC 24 V...
Page 10: ...e and the returned messages from the RWD via SEZ50MB To interpret the meanings of the returned messages please refer to the next section RWD Parameters Addresses Read RWD32S parameter ADDR 00001 called bFrostEnable with Modbus ADDR 0000 SEZ50MB Device Address Function Code Modbus Address Data Length CRC16 Check Send F7 01 00 00 00 01 E9 5C SEZ50MB Device Address Function Code Byte Count Status CRC...
Page 11: ...04 42 48 00 00 Application No is 50 92 00 Write RWD32S parameter ADDR 00001 called bFrostEnable with Modbus ADDR 0000 SEZ50MB Device Address Function Code Modbus Address Value CRC16 Check Send F7 05 00 00 FF 00 98 AC SEZ50MB Device Address Function Code Modbus Address Value CRC16 Check Respond F7 05 00 00 FF 00 98 AC Note Only two possibilities for Value above writing a 0 using Value 0x 00 00 or w...
Page 12: ...sage containing exception codes to the users Read RWD32S parameter ADDR 00001 called bFrostEnable with Modbus ADDR 0000 SEZ50MB Device Address Function Code Modbus Address Data Length CRC16 Check Send F7 01 00 00 00 00 E9 5C WRONG INFO SEZ50MB Device Address Function Code Exception Code CRC16 Check Respond F7 81 14 A3 C0 Read RWD68 parameter ADDR 10005 called Q1_output with Modbus ADDR 0004 SEZ50M...
Page 13: ...Address Function Code Exception Code CRC16 Check Respond F7 85 03 E2 A3 Note Only two possibilities for Value column writing a 0 using Value 0x 00 00 or writing a 1 using Value 0x FF 00 Write RWD68 parameter ADDR 40117 40118 called SP3day with Modbus ADDR 0116 0117 SEZ50MB Device Address Function Code Modbus Address Data Length Byte Count Send F7 10 00 74 00 01 To below WRONG INFO Data Length Byte...
Page 14: ... is required Write 12 0x0C to device address 40179 to reset RWD32 62 68 82 Write 167 0xA7 to device address 40179 to reset RWD34 44 45 5 RWD Parameters Addresses The following parameter table contains all available RWD parameters including all input and output signal status These parameters are mainly for monitoring functions via Modbus network and some of them can be modified during operation Bes...
Page 15: ...CD Reversing Valve ON OFF during no demand 0 Reverse valve OFF 1 Reverse valve ON 10003 State_H C BCD Output Configuration for 1H 1C or 2H 2C 0 1H 1C 1 2H 2C 10004 D1_Input BCD For RWD32 62 68 82 RWD34 44 45 Digital Input for D1 Day Night 0 Close Night 1 Open Day 10005 Q1_output BCD Digital Output for Q1 0 Relay de energized 1 Relay Energized 10006 Q2_output BCD Digital Output for Q2 0 Relay de en...
Page 16: ...Day Night 2 Alarm 3 Filter Alarm 30017 UNIT IEEE754 For RWD32 62 68 82 RWD34 44 45 Unit Setting for Input X1 0 Celsius 1 Fahrenheit 2 Null 3 30019 UNIT3 IEEE754 For RWD34 44 45 Unit Setting for Input X3 0 Celsius 1 Fahrenheit 2 3 Null 4 Remote monitoring 30021 TYPE1 IEEE754 For RWD32 62 68 82 RWD34 44 45 Selection of Sensor Type for Input X1 0 Ni1000 1 Pt1000 2 0 to 10 V 3 VR 30023 TYPE2 IEEE754 F...
Page 17: ...4 Temperature sampled via B2 sensor input 32767 B2 input OPEN 32767 to 32768 Value as per IEEE754 32768 B2 input Shorted to Ground 30049 B3_TEMP IEEE754 Temperature sampled via B3 sensor input 32767 B3 input OPEN 32767 to 32768 Value as per IEEE754 32768 B3 input Shorted to Ground 30051 COST_SAVED IEEE754 Total cost saved by heating system 30053 LIMIT_STATUS Refer to each bit for explanation Statu...
Page 18: ...nge status 0 Within range 1 Out of range Bit 3 X2 range status 0 Within range 1 Out of range Bit 4 to Bit 7 non user status For RWD34 44 45 only Bits 0 to 5 are for users Bit 0 X1 error status 0 No error 1 Error Bit 1 X2 error status 0 No error 1 Error Bit 2 X3 error status 0 No error 1 Error Bit 3 X1 range status 0 Within range 1 Out of range Bit 4 X2 range status 0 Within range 1 Out of range Bi...
Page 19: ...ial of C1 40037 SD_C2 IEEE754 Switch Differential of C2 40039 SD_C3 IEEE754 Switch Differential of C3 40041 SFTC IEEE754 Shift Cooling 40043 SFTH IEEE754 Shift Heating 40045 SHENC IEEE754 Shift End Point of Cooling 40047 SHENH IEEE754 Shift End Point of Heating 40049 SHSTC IEEE754 Shift Start Point of Cooling 40051 SHSTH IEEE754 Shift Start Point of Heating 40053 SP_C1 IEEE754 Set Point of Cooling...
Page 20: ...g for Winter Day Used in RWD32 62 68 82 application no 16 26 36 etc 17 27 37 etc 40111 SP1nightwinter IEEE754 Set Point of Heating for Winter Night Used in RWD32 62 68 82 application no 16 26 36 etc 17 27 37 etc 40113 SP2day IEEE754 Set Point of Heating 2 for Day 40115 SP2night IEEE754 Set Point of Heating 2 for Night 40117 SP3day IEEE754 Set Point of Cooling 1 for Day 40119 SP3night IEEE754 Set P...
Page 21: ...te 12 0x0C to reset RWD32 62 68 82 Write 167 0xA7 to reset RWD34 44 45 40181 SD1_RWD32S IEEE754 Switching differential of Q1 If TempUnit C 2 to 20 representing 2K to 20K respectively If the TempUnit is F 4 to 40 representing 4 to 40 respectively 40183 SD2_RWD32S IEEE754 Switching differential of Q2 If the TempUnit C 1 to 10 representing 1K to 10K respectively If the TempUnit is F 2 to 20 represent...
Page 22: ... 0 to 80 40199 LIMMAX_Abs IEEE754 Maximum of Absolute Limiter Used in RWD32 6268 82 application no 12 22 32 etc 40201 LIMMIN_Abs IEEE754 Minimum of Absolute Limiter Used in RWD32 6268 82 application no 12 22 32 etc 40203 LIMMAX_Rel IEEE754 Maximum of Rel Limiter Used in RWD32 6268 82 application no 13 23 33 etc 40205 LIMMIN_Rel IEEE754 Minimum of Rel Limiter Used in RWD32 6268 82 application no 13...
Page 23: ...is a real number composed as integer fraction while integer 1 Exponent is an integer value 6 1 2 Data Formats The sizes of the components in binary form are as follows Exponent E Significant Name Storage Size Sign s Width Bias Range Integer j Fraction f 754R Name Single Precision 32 bits 1 bit 0 positive 1 negative 8 bits 127 126 E 127 1 23 bits binary32 When reading the IEEE754 format the SEZ50MB...
Page 24: ... 0xC0 0x80 0x41 0x00 0xC1 0x81 0x40 0x01 0xC0 0x80 0x41 0x00 0xC1 0x81 0x40 0x00 0xC1 0x81 0x40 0x01 0xC0 0x80 0x41 0x01 0xC0 0x80 0x41 0x00 0xC1 0x81 0x40 0x00 0xC1 0x81 0x40 0x01 0xC0 0x80 0x41 0x00 0xC1 0x81 0x40 0x01 0xC0 0x80 0x41 0x01 0xC0 0x80 0x41 0x00 0xC1 0x81 0x40 0x01 0xC0 0x80 0x41 0x00 0xC1 0x81 0x40 0x00 0xC1 0x81 0x40 0x01 0xC0 0x80 0x41 0x00 0xC1 0x81 0x40 0x01 0xC0 0x80 0x41 0x01...
Page 25: ...F 0x3E 0xFE 0xFA 0x3A 0x3B 0xFB 0x39 0xF9 0xF8 0x38 0x28 0xE8 0xE9 0x29 0xEB 0x2B 0x2A 0xEA 0xEE 0x2E 0x2F 0xEF 0x2D 0xED 0xEC 0x2C 0xE4 0x24 0x25 0xE5 0x27 0xE7 0xE6 0x26 0x22 0xE2 0xE3 0x23 0xE1 0x21 0x20 0xE0 0xA0 0x60 0x61 0xA1 0x63 0xA3 0xA2 0x62 0x66 0xA6 0xA7 0x67 0xA5 0x65 0x64 0xA4 0x6C 0xAC 0xAD 0x6D 0xAF 0x6F 0x6E 0xAE 0xAA 0x6A 0x6B 0xAB 0x69 0xA9 0xA8 0x68 0x78 0xB8 0xB9 0x79 0xBB 0x7...
Page 26: ...dress for example out of range 1 247 or wrong Modbus connection for example lines Ref are swapped may lead to this situation Resolve Check CRC16 value ensure all valid and no duplicate SEZ50MB addresses and proper Modbus connection 5 Why I can t set a value into RWD when both RWD type and application no are correct Reason This is caused by range check mechanism value exceed the range limits requir...