1. INTRODUCTION 1.1 General Description This instruction manual describes the communication command of the HR-700 Recorder. Please refer to the instruction manual for the transmission of the measurement data, setup of communication and wiring. Modbus RTU protocol as well as Original protocol can be used from version 4.00.
Page 3
Basic item about the Modbus RTU protocol Modbus protocol is a communication protocol which was developed for PLC by Modicon Inc. (AEG Schneider Automation International SAS), and is listed in the protocol specification (PI-MBUS-300 Rev.J). Regarding the Modbus protocol specification, refer to the protocol specification (PI-MBUS-300 Rev.J). In this manual, we describe the function codes and data contents of Modbus protocol which can be used for the recorder.
Page 4
2. ORIGINAL PROTOCOL – DATA RECEPTION 2.1 Setup command 2.1.1 Setup command list Table 2.1.1 Setup command list Number of Command Setting item Contents of parameter parameters Setting the range MAX 7 Channel, Mode, Range (Reference Channel) Span lower limit value Span upper limit value Scaling lower limit value Scaling upper limit value...
Page 5
2.1.2 Setting of INPUT RANGE/RECORD SPAN Sets the input range and record span for each channel as follows. <Format> SR(CH), (Mode), (Pr1), (Pr2), (Pr3), (Pr4), (Pr5), (Pr6), (Pr7), (CR)(LF) CH: Specify a channel number to set. Mode: Mode setting : The number of Pr varies depending on the contents of the Mode.
Page 6
(4) Scaling setting CH: Setting Channel 01 to 06 (01 and 02 for the pen type) Mode: SCL Pr1: VOLT, TC, RTD Pr2: Scaling Mode Pr3: Left End (Zero Input Value) Refer to Table 2.1.2. Pr4: Right End (Span Input Value) Pr5: Scaling Left End Pr6: Scaling Right End Pr7: Decimal point position (0 to 4)
Page 7
Table 2.1.2 Setting range Range or Zero Input Span Input Decimal Input Scaling Value Value Point Note Range Mode (Left End) (Right End) (Fixed) VOLT 10mV -1000 1000 10mV 20mV 2000 0 to 20mV 50mV 5000 0 to 50mV 200mV -2000 2000 200mV...
Page 8
UNIT: The Unit can be set with cods as shown in Table 2.1.13 (Within 6 characters). When you use the code beyond 7F , 8-bit data length must be used. Please refer to Section 7.2.7 of the instruction manual (HR-700) for the data length setting. 2.1.5 Setting of the 1st chart speed Sets the 1st chart speed as follows.
Page 9
2.1.6 Setting of the date/time Sets date/time of the internal clock of the recorder as follows. <Format> SD(DATE),(TIME)(CR)(LF) DATE: YY/MM/DD (YY) Year 00 to 99 (MM) Month 01 to 12 (DD) Day 01 to 31 TIME: HH:MM:SS (HH) Hour 00 to 23 (MM) Minute 00 to 59 (SS) Second 00 to 59 2.1.7 Copying the Setting Data of the channel...
Page 10
, 8-bit data length of communication function must be used. Please refer to Section 7.2.7 of the instruction manual (HR-700) for the data length setting. 2.1.13 Setting of the Comment Character Sets Comment Character to be printed by the Digital Input.
Page 12
2.2 Control command 2.2.1 Control command list Table 2.2.1 Control command list Number of Command Control item Explanation of operation parameters Recording Start – The same as the recording by the RUN key. Recording Stop – Manual Print start – The same as the manual print by key operation Manual Print stop...
Page 13
2.2.2 Recording Start/Stop This command starts or stops recording. <Format> PS0(CR)(LF): The recorder starts recording. PS1(CR)(LF): The recorder stops recording. 2.2.3 Manual Print Start/Stop This command starts or stops the Manual print. <Format> MP0(CR)(LF): The manual print starts. MP1(CR)(LF): The manual print stops. 2.2.4 List Print Start/Stop This command starts or stops the List print.
Page 14
Please refer to Table 2.1.13 for the character code. When you use the character code beyond 7F 8-bit data length of communication function must be used. Please refer to Section 7.2.7 of the instruction manual (HR-700) for the data length setting. <Format>...
Page 15
3. ORIGINAL PROTOCOL - DATA TRANSMISSION 3.1 Setting Value Reading When the recorder receives "(TS1)+ (ESC T) + (LF)", the recorder continuously sends the setting value according to Table 3.1 below. The output format of each command when reading is the same as that of when setting. Table 3.1 Order of the setting value transmission Order Command...
Page 16
The "ESC S" command reads this status. Issuing this command clears the on-going error. Refer to Section 8.5 in the instruction manual (HR-700). Be sure to reset the error when setting data to the recorder. If the error is not reset, you may not be...
Page 18
6. MODBUS RTU PROTOCOL - DATA TRANSMISSION AND RECEPTION 6.1 Communication protocol This equipment is compatible with Modbus RTU protocol. Data format of the protocol is as below. It is composed of slave address, function code, data, and CRC section. Modbus RTU Data format Function code Slave address...
Page 19
6.4 Reading of input register area The input register area is a read-only area. The current measured value and the current time are mapped. Specify the start address (relative) and data count (assuming that one word is two bytes) of the data to be read. 6.4.1 Reading of input register area Function code :04H ■...
Page 20
6.4.2 Input Register Area Map 【Input Register Area Map】Function code: 04H Relative Address address Name Array Content Remarks (HEX) Model type(1/8) Multipoint type :"MULTI" ASCII 30001 Model type(2/8) Pen type :"PEN" 30002 Model type(3/8) After the blank 30003 Model type(4/8) 30004 Model type(5/8)...
Page 21
Relative Address address Name Array Content Remarks (HEX) Reserve 30050 0~99 Year 30051 Every second update 1~12 Month 30052 1~31 30053 0~24 Hour 30054 0~59 Minute 30055 0~59 Second 30056 0:Recording not in progress 0~1 1:Recording in progress Recording status 30057 0:With chart 0~1...
Page 22
Relative Address address Name Array Content Remarks (HEX) Current unit Unit (1/4) 30131 Unit (2/4) 30132 CH01 Unit (3/4) 30133 Unit (4/4) 30134 Current unit Unit (1/4) 30135 Unit (2/4) 30136 CH02 Unit (3/4) 30137 Unit (4/4) 30138 Current unit Unit (1/4) 30139 Unit (2/4)
Page 23
6.5 Reading and writing of the holding register area The holding register area is a read-write area. Parameter settings and the start and stop command of the recording state are mapped. For read, specify the start address (relative) and data count (assuming that one word is two bytes) of the data to be read.
Page 24
6.5.2 Writing of the holding register area (Single) It is used when carrying out a set of command operations or parameters. In the case of operation command, it will take effect immediately when you send. In the case of parameter settings, it is reflected by sending a separate "settings save" command (address 40104 (relative address 0067H)).
Page 25
6.5.3 Writing of the holding register area (Continuation) Time setting command and the like, and then used when the data needs to send in succession. In the case of operation command, it will take effect immediately when you send. In the case of parameter settings, it is reflected by sending a separate "settings save" command (address 40104 (relative address 0067H)).
Page 26
6.5.4 Holding register area map 【Holding register area map】Function Code:03H(Reading),06H(Writing),10H(Continuous writing) Relative Address address Name Array Content Remarks (HEX) 40001 0 Reserve Unused … 40100 63 Reserve Operation command 40101 64 Recording start / stop Invalid except left. AA01:Start The disabled in selecting DI. AA00:Stop 40102 65 Reserve...
Page 27
【Holding register area map】Function Code:03H(Reading),06H(Writing),10H(Continuous writing) Relative Address address Name Array Content Remarks (HEX) 40140 Printing character (18/) 40141 Printing character (19/) 40142 Printing character (20/) 40143 Printing character (21/) 40144 Printing character (22/) 40145 Printing character (23/) 40146 Printing character(24/24) 40147 Reserve …...
Page 28
【Holding register area map】Function Code:03H(Reading),06H(Writing),10H(Continuous writing) Relative Address address Name Array Content Remarks (HEX) 40223 Alarm 1 action ON/OFF 0~1 0:OFF 1:ON 40224 Alarm 1 type 0~1 0:H 1:L 40225 Alarm Set value ( 3) Depends on the Scaling ※ -32000~32000 40226 Alarm...
Page 32
6.5.5 Holding register area setting range detail Setting range of register on the map written in the ※ are listed below. ※ 1 Mode Value Content Remarks Scaling OFF Scaling ON Square root It can be set only when the range code is 0 to 7 (voltage current range). calculation (SQRT) exponent display It can be set only when the range code is 0 to 7 (voltage current range).
Page 33
※ 3 Depends on the Scaling Scaling range, the alarm set value, partial compression boundary point measurement is depends on the holding register address 40201 "mode" and 40208 "decimal point position". The set value is reflected in the form that is dependent on the "decimal point position" if the mode is scaling ON ( “SCALE”...
Page 34
※ 6 Printing color Value Content Remarks Purple Green Blue Brown Black ※ 7 Logging print interval Value Content Remarks 10min 15min 20min 30min ※ 8 DI function Value Content Remarks OFF(No function) RCD(Recording Start/Stop) ON:RUN OFF:STOP SPEED(Chart speed change) ON:Spd-1 OFF:Spd-2 CMNT1(Comment print (Sync)) ON Rising:Start...
Need help?
Do you have a question about the HR-700 and is the answer not in the manual?
Questions and answers