background image

HRX-OM-M091 

Chapter 4   MODBUS communication function 

 

HRS Series 

4.8 Explanation of function codes 

 
 

4-15

„

 

Communication example 

Slave Address: No 1 

Read three consecutive data from register 0004h, and write two 

consecutive data from register 000Bh. 

(Command to change the circulating fluid set temperature to <15.5

o

C>, 

and read status and alarm information.) 

 
 
 
 
 
 
 
 
 

Request message 

Response message 

Code 

Contents 

Code

Contents 

01 

Slave Address 

01 

Slave Address 

17 Function 

17 Function 

0004 

Head address of specified register 

06 

Quantity of byte to read 

0003 

Quantity of register to read 

0000 

Information of 0004h (Status flag

 

000B 

Head address of specified register 

0000 

Information of 0005h (Alarm flag 1) 

0002 

Quantity of register to write 

0000 

Information of 0006h (Alarm flag 2) 

04 

Quantity of byte to write 

E2 

LRC 

009B 

Information written to 000Bh (Circulating 
fluid set temperature) 

 

 

0001 

Information written to 000Ch (Stop flag) 

 

 

34 LRC 

   

 

(Request):011700040003000B000204009B000134 [CR][LF] 

(Response):011706000000000000E2 [CR][LF] 

Your system 

This product

Data  is  sent  and 
received in ASCII 
code. 

Summary of Contents for HRS012-W

Page 1: ...mo chiller Air Cooled refrigerated type Water Cooled refrigerated type HRS012 A 10 HRS012 W 10 HRS018 A 10 HRS018 W 10 HRS012 A 20 HRS012 W 20 HRS018 A 20 HRS018 W 20 HRS024 A 20 HRS024 W 20 HRS050 A...

Page 2: ...n and operation of the product Only people who understand the basic operation of the product through this manual or who performs installation and operation of or have basic knowledge about industrial...

Page 3: ...5 2 Signal of the external switch 2 18 2 6 Contact output signal 2 19 Chapter 3 Serial communication 3 1 3 1 Precautions wiring communication 3 1 3 2 Communication specification 3 1 3 3 Connected expl...

Page 4: ...ns after the completion of the communication 5 2 5 2 Communication specification 5 3 5 3 Setting and checking 5 4 5 3 1 Setting and checking items 5 4 5 3 2 Setting and checking 5 5 5 4 Communication...

Page 5: ...he product temperature setting and details of product condition and alarm condition can be obtained Serial communication Simple communication protocol Serial communication RS 485 RS232C enables remote...

Page 6: ...OTE lamp on the operation panel turns on DIO DIO LOCAL Operation control of the product is the same as that of LOCAL The REMOTE lamp on the operation panel turns off SERIAL Mode allowing the product t...

Page 7: ...1 2 1 Fig 1 2 2 shows the location of the communication port Fig 1 2 1 Communication port HRS012 HRS018 HRS024 20 Fig 1 2 2 Communication port HRS050 20 Contact input output DIO Connector for communic...

Page 8: ...SV PV SV PV SV Key lock Run timer Setting menu Stop timer READY mode READY band width READY time Offset mode Offset temperature Recover from power failure Anti freezing PV SV PV SV PV SV PV SV PV SV...

Page 9: ...i on speed MODBUS Slave address Simple communicatio n protocol Communication speed Simple communication protocol Response delay time Simple communication protocol Communicati on range Simple communica...

Page 10: ...ime 0 Serial communication Simple communication protocol Communication range RW 5 3 Contact input signal 1 RUN Contact input signal 1 type ALT Contact input signal 1 delay timer time delay of reading...

Page 11: ...onnects the product and customer system is not included with the product Please prepare a cable referring to 2 3 Terminal block explanation The connector is included In order to avoid malfunction do n...

Page 12: ...f the contact input output communication A communication cable that connects the product and customer system is not included with the product Prepare a cable referring to Table 2 3 1 and Fig 2 3 1 Use...

Page 13: ...iring of the external switch NPN open collector output Example Fig 2 3 4 Wiring of the external switch PNP open collector output Example Terminal no 1 Terminal no 12 Wire the communication cable to th...

Page 14: ...act input output communication Used when the setting of the contact input signal 2 is SW_A or SW_B is displayed when the setting of the contact input signal 2 is not SW_A or SW_B Contact input signal...

Page 15: ...sing the key until the setting screen for communication mode appears on the digital display PV SV PV SV PV SV PV SV PV SV 2 Select LOC from the key and confirm by pressing SEL PV SV Table 2 4 2 List o...

Page 16: ...3 When the setting of the communication mode is DIO mode External switch signal cannot be set 4 When the setting of the communication mode is SEIRAL mode and the protocol setting is Simplified commun...

Page 17: ...input signal 1 is external switch signal input N O type or N C type to Setting of contact input signal 1 delay timer of reading Set range is 0 to 300 sec Contact input signal 1 OFF detection timer Se...

Page 18: ...l switch signal input N C type Remote signal 6 6 When the setting of the serial protocol is Simplified communication protocol 2 Remote signal cannot be set Contact input signal 2 type Setting and chec...

Page 19: ...setting to Setting of contact input signal 2 delay timer of reading Set range is 0 to 300 sec Contact input signal 2 OFF detection timer Setting and checking 17 Press the SEL key once The set screen o...

Page 20: ...utput Signal for completion of preparation TEMP READY Signal for the status of the operation stop alarm is output Signal for the status of the operation continue alarm is output Signal for the alarm s...

Page 21: ...reen of digital output 1 selected alarm is displayed on the digital display PV SV 24 Select contact output 1 selected alarm from the table below with key or key and confirm by pressing SEL Table 2 4 1...

Page 22: ...or the alarm status is output Signal for selected alarm status is output Signal for Run timer set status is output Signal for Stop timer set status is output Signal for the recovery from power failure...

Page 23: ...2 selected alarm from the table below with key or key and confirm by pressing SEL Table 2 4 16 List of set values Set values Explanation Initial value Default setting Setting checking are not availab...

Page 24: ...or the alarm status is output Signal for selected alarm status is output Signal for Run timer set status is output Signal for Stop timer set status is output Signal for the recovery from power failure...

Page 25: ...values Set values Explanation Initial value Default setting Setting checking are not available unless the function setting of contact output 1 is selected alarm status signal to Sets selection alarm S...

Page 26: ...N C SW_B Alternate ALT Used Used Contact input signal 1 Without intput signal OFF Alternate ALT Run stop signal RUN Momentary MT External switch signal input N O SW_A Alternate ALT Used Used External...

Page 27: ...user is turned on It reads the signal of the external switch signal N O type after the time which has been set for the delay timer of reading The factory default setting of the delay timer of reading...

Page 28: ...itch CLOSE OPEN Operation start Signal reading start Delay timer of reading OFF detection timer Alarm generation Operation stops due to the alarm Fig 2 5 1 Timing chart of external switch monitoring D...

Page 29: ...ed off open The signals can be customized depending on the customer s application The Table 2 6 2 shows operation of contact output signal Tips All contact output signals are turned off open when the...

Page 30: ...en the selected alarm goes off N O type The signal is turned ON when the run timer is set ON TM Signal for operation start timer setting N C type The signal is turned OFF when the run timer is set N O...

Page 31: ...ter 4 and 5 illustrate each protocol 3 1 Precautions wiring communication Communication wiring A communication cable that connects the product and customer system is not included with the product Plea...

Page 32: ...esistance Master This product first slave 1 SD 5 SG 9 SD This product second slave 1 SD 5 SG 9 SD This product 31st slaves Terminal resistance120 Fig 3 3 1 RS 485 connector connection Tips 1 master 1...

Page 33: ...the register of the product 4 1 Precautions for communication 4 1 1 Precautions after wiring and before communication Check or set the each communication setting by the operation display panel The co...

Page 34: ...of circulating fluid temperature When the circulating fluid set temperature is written by communication the data is stored in FRAM When the product restarts it restarts with the value which was set b...

Page 35: ...ue Default setting Communication mode Sets communication mode of this product LOC Serial protocol Sets serial communication protocol MDBS Communication specification Sets standard of the serial commun...

Page 36: ...ith the key and confirm with SEL PV SV Table 4 3 2 List of set values Set values Explanation Initial value Default setting Sets LOCAL mode Sets DIO mode Sets SERIAL mode 1 1 If the serial protocol is...

Page 37: ...ng and checking 5 Press the SEL key once The set screen of communication specification is displayed on the digital display PV SV 6 Select communication specification from the table below with key or k...

Page 38: ...value Default setting Setting checking are not available unless the serial protocol setting is MODBUS to Sets of slave addresses for MODBUS Set range is 1 to 99 Communication speed MODBUS Setting and...

Page 39: ...itive response Based on the request message reads register writes register and returns a positive response Negative response Returns a negative message when the received request message is not normal...

Page 40: ...message 3Ah 2 Slave Address 1 to 99 3031h to 3939h This is a number to identify this product 1 is the default setting This can be changed by the operation display panel 3 Function Refer to 4 6 Functio...

Page 41: ...de Contents Code Contents 01 Slave Address 01 Slave Address 03 Function 03 Function 0000 Head address of specified register 02 Quantity of bytes to read 0001 Quantity of register to read 00EE Informat...

Page 42: ...pported 4 7 LRC LRC checks the content of the message other than of START and CR LF of END The sending side calculates and sets The receiving side calculates based on the received message and compares...

Page 43: ...onsecutive data from register 0000h Read circulating fluid discharge temperature circulating fluid discharge pressure status information alarm information Request message Response message Code Content...

Page 44: ...Function Data LRC End XX XX 0 6 XX XX CR LF Write Address Write Data Hi Lo Hi Lo XX XX XX XX XX XX XX XX Communication example Slave Address No 1 Write data to register 000Ch Commands to run Request m...

Page 45: ...Address Quantity to Write Hi Lo Hi Lo XX XX XX XX XX XX XX XX Communication example Slave Address No 1 Write two consecutive data from register 000Bh Commands to change of circulating fluid set temper...

Page 46: ...aneously Request message Normal Master to Slave Start Slave Address Function Data LRC End XX XX 1 7 XX XX CR LF Read Address Quantity to Read Write Address Quantity to Write Hi Lo Hi Lo Hi Lo Hi Lo XX...

Page 47: ...ve Address 17 Function 17 Function 0004 Head address of specified register 06 Quantity of byte to read 0003 Quantity of register to read 0000 Information of 0004h Status flag 000B Head address of spec...

Page 48: ...s 80h in ASCII code 2 Error Code Assign error code below 01 Function code of a command is outside the standard 02 The specified address of register is outside the range 03 Data field of a command is n...

Page 49: ...d R 5 0 to 40 0 o C 32h to 190h 0 1 o C dig 000Bh Circulating fluid set temperature 41 0 to 104 0 o F 19Ah to 410h 0 1 o F dig 000Ch Reserved 1 000Dh Reserved 000Eh Reserved 000Fh Reserved R W 1 Comma...

Page 50: ...Unit flag Pressure unit set status 0 MPa 1 PSI 5 Remote status flag Remote status 0 Other than SERIAL mode 1 SERIAL mode 6 Unused 7 Unused 8 Unused 9 Completion of preparation TEMP READY flag Completi...

Page 51: ...ure drop 9 High compressor intake temp 10 Low compressor intake temp 11 Low super heat temperature 12 High compressor discharge pressure 13 Unused 14 Refrigerant circuit pressure high pressure side dr...

Page 52: ...I level drop 3 DI sensor error 4 Unused 5 Unused 6 Unused 7 Unused 8 Unused 9 Unused 10 Unused 11 Unused 12 Unused 13 Unused 14 Unused Alarm flag 3 15 Unused Alarm given off status 0 Not occurred 1 Oc...

Page 53: ...ture unit C or F during SERIAL mode If the temperature exceeds the upper limit of the circulating fluid set temperature range the circulating fluid set temperature is changed to the upper limit value...

Page 54: ...HRX OM M091 Chapter 4 MODBUS communication function 4 10 Register Map HRS Series 4 22...

Page 55: ...be the simple communication protocol 1 or 2 Simple communication protocol 1 Operation display panel controls the start and stop of the product Simple communication protocol 2 Controls the start and s...

Page 56: ...esend the request message If necessary send a read request message to check if it was written correctly Message to notify the completion of the process is returned when the action for the written requ...

Page 57: ...2400bps 4800bps 9600bps 19200bps Data bit length Select from 7bit 8bit Stop bit length Select from 1bit 2bit Parity Select from without parity odd number even number Letter code ASCII mode Slave addr...

Page 58: ...erial protocol is not simple communication protocol 9 6 BCC Simple communication protocol Sets error detection code of communication of simple communication protocol is displayed when the setting of s...

Page 59: ...below with the key and confirm with SEL PV SV Table 5 3 2 List of set values Set values Explanation Initial value Default setting Sets LOCAL mode Set s DIO mode Sets SERIAL mode 1 1 If the serial prot...

Page 60: ...on protocol 2 is selected as the serial protocol Communication specification Setting and checking 5 Press the SEL key once The set screen of communication specification is displayed on the digital dis...

Page 61: ...e not available unless the serial protocol setting is simple communication protocol to Sets of slave addresses for simple communication protocol Set range is 1 to 99 Communication speed simple communi...

Page 62: ...ue Default setting Setting checking are not available unless the serial protocol setting is simple communication protocol Without BCC With BCC Data length simple communication protocol Setting and che...

Page 63: ...ion Initial value Default setting Setting checking are not available unless the serial protocol setting is simple communication protocol None Odd number Even number Stop bit simple communication proto...

Page 64: ...cking are not available unless the serial protocol setting is simple communication protocol to Sets of response delay time Set range is 0 to 250m sec Communication range simple communication protocol...

Page 65: ...sponse Based on the request message reads writes return a positive response Negative response Returns a negative message when the received request message is not normal Refer to 5 9 Negative response...

Page 66: ...ommand Writing data ETX BCC STX XX XX W XX XX XX XX XX XX XX XX ETX XX 1 3 Request message Request to store the data STX Slave Address Request Command ETX BCC STX XX XX W XX XX XX ETX XX 2 Response me...

Page 67: ...n the received request 9 NAK 15h Negative acknowledge code This is included in the response from the product when there is an error in the received request 10 Exception code Error content is included...

Page 68: ...Communication example Request message Response message Code Contents Code Contents 01 Slave Address 01 Slave Address R Request message to read ACK Normal response message PV1 Circulating fluid discha...

Page 69: ...irculating fluid discharge temperature in the temperature unit of the product The circulating fluid discharge temperature offset temperature if offset setting is selected which is displayed on the ope...

Page 70: ...Address Request Command ETX BCC STX XX XX R P V 1 ETX XX Response message Normal Slave to Master STX Slave Address ACK Command Reading data ETX BCC STX XX XX ACK P V 1 XX XX XX XX XX ETX XX Communica...

Page 71: ...e to Master STX Slave Address ACK Command Reading data ETX BCC STX XX XX ACK S V 1 XX XX XX XX XX ETX XX Communication example Slave Address No 1 BCC selection Request message Response message Code Co...

Page 72: ...V 1 XX XX XX XX XX ETX XX Response message Normal Slave to Master STX Slave Address ACK ETX BCC STX XX XX ACK ETX XX Communication example Slave Address No 1 BCC selection Request message Response mes...

Page 73: ...TX XX Response message Normal Slave to Master STX Slave Address ACK Command Reading data ETX BCC STX XX XX ACK L O C XX XX XX XX XX ETX XX Communication example Slave Address No 1 BCC selection Reques...

Page 74: ...g this product as a replacement for HRG HRGC this function is not needed Request message Normal Master to Slave STX Slave Address Request Command Writing data ETX BCC STX XX XX W L O C XX XX XX XX XX...

Page 75: ...Normal Master to Slave STX Slave Address Request Command ETX BCC STX XX XX W S T R ETX XX Response message Normal Slave to Master STX Slave Address ACK ETX BCC STX XX XX ACK ETX XX Communication examp...

Page 76: ...STX XX XX NAK XX ETX XX Communication example Slave Address No 1 Writing of the circulating fluid set temperature when the communication range setting is RO read only Request message Response message...

Page 77: ...does not send messages regularly The default setting of this function is off 6 1 Communication alarm occurs Fig 6 1 1 shows when an alarm occurs Refer to 6 3 Setting and checking for the setting metho...

Page 78: ...ring time Normal connection Communication error automatic restoration Write or read 60 sec Fig 6 2 1 Communication alarm restoration example 6 3 Setting and checking 6 3 1 Setting and checking items T...

Page 79: ...rror is displayed on the digital display PV SV 3 Select changing of operation when communication error from the table below with key or key and confirm by pressing SEL Table 6 3 2 List of set values S...

Page 80: ...ion error from the table below with key or key and confirm by pressing SEL Table 6 3 3 List of set values Set values Explanation Initial value Default setting Setting checking are not available if the...

Page 81: ......

Page 82: ...101 0021 JAPAN Tel 81 3 5207 8249 Fax 81 3 5298 5362 URL http www smcworld com Note Specifications are subject to change without prior notice and any obligation on the part of the manufacturer 2011 SM...

Reviews: