Page 1
Single-phase Thyristor Unit 20 A/30 A/45 A/ 60 A/80 A/100 A THV-10 Host Communication Instruction Manual IMR02W06-E1 RKC INSTRUMENT INC. ®...
Page 2
Windows is a trademark of Microsoft Corporation. Modbus is a registered trademark of Schneider Electric. Company names and product names used in this manual are the trademarks or registered trademarks of the respective companies. All Rights Reserved, Copyright 2020, RKC INSTRUMENT INC.
Safety Precautions Pictorial Symbols (safety symbols) Various pictorial symbols are used in this manual to ensure safe use of the product, to protect you and other people from harm, and to prevent damage to property. The symbols are described below. Be sure you thoroughly understand the meaning of the symbols before reading this manual.
Prevent metal fragments or lead wire scraps from falling inside instrument case to avoid electric shock, fire or malfunction. Tighten each terminal screw to the specified torque found in the manual to avoid electric shock, fire or malfunction. This product is intended for use with industrial machines, test and measuring equipment. (It is not designed for use with medical equipment and nuclear energy plant.) ...
Symbols Pictorial Symbols (safety symbols) : This mark indicates important information on installation, handling and operating procedures. : This mark indicates supplemental information on installation, handling and operating procedures. : This mark indicates where additional information may be located. ...
20 A/30 A/45 A/ 60 A/ 80 A/100 A IMR02W04-E This manual is enclosed with instrument. This manual explains the basic key operation, THV-10 Quick Operation Manual mode menu, and data setting. 20 A/30 A/45 A/ 60 A/ 80 A/100 A IMR02W05-E...
About This Manual This manual consists of 8 chapters and an appendix. If you are looking for topics concerning the host communication, you may be able to find one in the following table. See the following section for What do you want to do? more details □...
Document Configuration ........................i-4 About This Manual ..........................i-5 1. OUTLINE ................1-1 Chapter 1 describes the host communication of THV-10. 2. WIRING ................2-1 Chapter 2 describes how to connect to the host computer. 2.1 Wiring Cautions .................... 2-2 2.2 Wiring for Host Communication ..............
Page 9
6. COMMUNICATION DATA LIST ........6-1 Chapter 6 describes the communication data. 6.1 How to Read the Table ................6-2 6.2 THV-10 Communication Data [RKC Communication/Modbus] ....6-4 7. TROUBLESHOOTING ............7-1 Chapter 7 describes how to cope with errors during the communication.
Page 10
Page 8. SPECIFICATIONS ............. 8-1 Chapter 8 describes the specification of the host communication. 8.1 RKC Communication ..................8-2 8.2 Modbus ......................8-3 8.3 Loader Communication ................8-4 A. APPENDIX................ A-1 A.1 ASCII 7-Bit Code Table ................A-2 IMR02W06-E1...
OUTLINE This chapter describes the host communication of THV-10. IMR02W06-E1...
Page 12
1. OUTLINE The communication function makes it possible to monitor and set the data of THV-10 from a host computer. The THV-10 interfaces with the host computer via Modbus or RKC communication (ANSI X3.28-1976 subcategories 2.5 and A4) protocols. Communication function is available only when optional communication function has been specified by model code at the time of ordering.
Page 13
Communication Tool PROTEM2 PROTEM2 is an integrated configuration support software to manage parameter setting and measured values of our controllers (including THV-10). The PROTEM2 can be downloaded from the official RKC website. https://www.rkcinst.co.jp/english/download-center/ Check our website for more details and operating environment of the PROTEM2.
WIRING This chapter describes how to connect to the host computer. 2.1 Wiring Cautions ................2-2 2.2 Wiring for Host Communication ............2-3 Pin number and signal details ..............2-3 Connection to the RS-485 port of the host computer (master) ....2-4 ...
2. WIRING 2.1 Wiring Cautions To prevent electric shock and instrument failure, do not turn on the power until all wiring is completed. Make sure that the wiring is correct before applying power to the instrument. To prevent electric shock or instrument failure, turn off the power of the instrument and peripheral equipment before connecting or disconnecting.
2. WIRING 2.2 Wiring for Host Communication Host communication is used for a connection to a host computer via RS-485. Pin number and signal details (20A/30A type) (45A/60A type) (80A/100A type) RS-485 Pin number Symbol Signal name Signal ground Signal ground T/R (A) Send data/Receive data...
2. WIRING Connection to the RS-232C port of the host computer (master) Use a RS-232C/RS-485 converter with an automatic send/receive transfer function. Wiring example Paired wire Host computer THV-10 (slave) RS-485 (Master) RS-232C T/R (A) () T/R (A)
2. WIRING Connection to the USB of the host computer (master) Connect the USB communication converter between the host computer and the THV-10. Wiring example Host computer (master) Connected to USB port USB cable Paired (COM-K2 accessory) wire...
Wiring method Connect the THV-10, COM-K2-1 (RKC product, sold separately), and personal computer using a USB cable and a loader communication cable. Make sure the connectors are oriented correctly when connecting. The Loader communication is only for parameter setup. Do not use for data logging or others during operation.
Page 22
2. WIRING When the instrument is powered off, power can be supplied to the instrument from COM-K2-1. This function is exclusive for parameter setting, and the instrument functions as follows. Control is stopped (Output is off). Host communication is stopped. ...
PARAMETER SETTING This chapter describes how to set up parameters necessary for the host communication. 3.1 Setting the Communication Parameters .......... 3-2 3.1.1 Description of each parameter ............. 3-2 3.1.2 Setting procedure ................3-4 3.2 Communication Requirements ............3-6 Processing times during data send/receive ..........3-6 ...
3.1 Setting the Communication Parameters 3.1.1 Description of each parameter To establish communication between THV-10 (slave) and the host computer (master), it is necessary to set the following parameters. The communication related parameters can be found in the Function block 9 (F.9) of Engineering mode Function block 9 (F.9)
Page 25
: Not settable for Modbus Interval time The interval time for the THV-10 should be set to secure a maximum time for host computer to finish sending the stop bit of the last character and to switch the line to receive status (to allow THV-10 to start transmission).
The set value in Setting mode C cannot be changed while Data lock is active. The Engineering mode is not displayed while Data lock is active. To unlock setting, refer to 20 A/30 A/45 A/60 A/80 A/100 A THV-10 Instruction manual (IMR02W05-E ...
Page 27
3. PARAMETER SETTING Continued from the previous page. Communication speed Data bit configuration Data bit configuration (Setting screen) (Parameter screen) (Setting screen) φ φ φ Set the Communication speed. Set the Data bit configuration. Factory set value: 0 (9600 bps) Factory set value: 0 (Refer to below) Data bits: 8 Parity bit: None...
− Response wait time after THV-10 sends BCC in polling procedure − Response wait time after THV-10 sends ACK or NAK in selecting procedure Response send time is the time when interval time is set at 0 ms (when used at 50 Hz).
Sending status a: Response send time after the THV-10 receives BCC + Interval time b: Response wait time after the THV-10 sends ACK or Response wait time after the THV-10 sends NAK To switch the host computer from transmission to reception, send data must be on line.
Page 30
MEMO Not required when this page is an odd page IMR02W06-E1...
COMMUNICATION PROTOCOL This chapter describes the RKC communication protocol. 4.1 Polling ....................4-2 4.1.1 Polling procedures ................4-3 4.1.2 Polling procedure example (when the host computer requests data) ..........4-6 4.2 Selecting ..................4-7 4.2.1 Selecting procedures ................4-7 4.2.2 Selecting procedure example (when the host computer sends the set values) ........
ANSI X3.28-1976 subcategories 2.5 and A4 basic mode data transmission control procedure (Fast selecting is the selecting method used in this controller). In this chapter THV-10 are called controllers. The Polling/Selecting procedures are a centralized control method where the host computer controls the entire process.
The identifier specifies the type of data that is requested from the controller. Always attach the ENQ code to the end of the identifier. For details on identifiers, refer to 6.2 THV-10 Communication Data [RKC Communication/Modbus] (P. 6-4). 3. ENQ The ENQ is the transmission control character that indicates the end of the polling sequence.
Page 34
2. Identifier (2 digits) The identifier indicates the type of data (measured value, status and set value) sent to the host computer. For details on identifiers, refer to 6.2 THV-10 Communication Data [RKC Communication/Modbus] (P. 6-4). 3. Data (digits: 7 digits) Data which is indicated by an identifier of the controller.
Page 35
ACK from the host computer, the controller will send any remaining data of the next identifier without additional action from the host computer. For the identifier, refer to 6.2 THV-10 communication data [RKC communication/Modbus] (P. 6-4). When the host computer determines to terminate the data link, EOT is sent from the host computer.
4. RKC COMMUNICATION PROTOCOL 4.1.2 Polling procedure example (when the host computer requests data) Example: Read Input signal monitor (M1) from the controller Normal transmission Host computer send Host computer send Host computer send 0 M 1 Address Identifier Identifier Data Identifier...
4. RKC COMMUNICATION PROTOCOL 4.2 Selecting Selecting is the action where the host computer requests one of the connected controllers to receive data. An example of the selecting procedure is shown below: Host computer Host computer send Controller send send No response [Address] Identifier...
Page 38
For the STX, ETX and BCC, refer to 4.1 Polling (P. 4-2). 1. Identifier (2 digits) The identifier specifies the type of data that is requested from the controller, such as set value. For details, refer to 6.2 THV-10 Communication Data [RKC Communication/Modbus] (P. 6-4). 2. Data (7 digits) Data which is indicated by an identifier of the controller is expressed in decimal ASCII code including a minus sign () and a decimal point.
Page 39
4. RKC COMMUNICATION PROTOCOL (4) ACK (Acknowledgment) An acknowledgment ACK is sent by the controller when data received is correct. When the host computer receives ACK from the controller, the host computer will send any remaining data. If there is no more data to be sent to the controller, the host computer sends EOT to terminate the data link.
4. RKC COMMUNICATION PROTOCOL 4.2.2 Example of selecting procedure (when the host computer sends the set values) Example: Write soft-start time data to the controller Normal transmission Host computer send Host computer send Host computer send S D 0 Address Identifier Data...
Slave address The slave address is a number from 1 to 99 manually set at the front key panel of the THV-10. Master does not communicate with the slave when the address is set to “0.” For details, refer to 3.1 Setting the Communication Parameters (P. 3-2).
5. MODBUS PROTOCOL 5.2 Function Code Function code contents Function code Function Description (Hexadecimal number) Read holding registers Input signal monitor, Phase angle ratio monitor, Current value monitor, etc. Preset single register Internal manual setting, Internal gradient setting, Soft-start time, Maximum load current value, Heater break alarm set value, etc.
5. MODBUS PROTOCOL 5.4 Slave Responses (1) Normal response • In the response message of the Read Holding Registers, the slave returns the read out data and the number of data items with the same slave address and function code as the query message. •...
5. MODBUS PROTOCOL 5.5 Calculating CRC-16 The Cyclic Redundancy Check (CRC) is a 2 byte (16-bit) error check code. After constructing the data message, not including start, stop, or parity bit, the master calculates a CRC code and appends this to the end of the message.
Page 46
5. MODBUS PROTOCOL The flow chart of CRC-16 START FFFF H → CRC Register ⊕ → CRC Register next byte of the message Register 0 → n Shift CRC Register right 1 bit Carry flag is 1 ⊕ A001 H → CRC Register Register n + 1 →...
Page 47
5. MODBUS PROTOCOL Example of a CRC calculation in the ‘C’ language This routine assumes that the data types ‘uint16’ and ‘uint8’ exist. These are unsigned 16-bit integer (usually an ‘unsigned short int’ for most compiler types) and unsigned 8-bit integer (unsigned char). ‘z_p’ is a pointer to a Modbus message, and ‘z_messaage_length’...
5. MODBUS PROTOCOL 5.6 Register Read and Write Read holding registers [03H] The query message specifies the starting register address and quantity of registers to be read. The contents of the holding registers are entered in the response message as data, divided into two parts: the high-order 8-bit and the low-order 8-bit, arranged in the order of the register numbers.
5. MODBUS PROTOCOL Preset single register [06H] The query message specifies data to be written into the designated holding register. The write data is arranged in the query message with high-order 8-bit first and low-order 8-bit next. Only R/W holding registers can be specified. [Example] Data is written into the holding register 0072H of slave address 1.
5. MODBUS PROTOCOL Diagnostics (Loopback test) [08H] The master’s query message will be returned as the response message from the slave. This function checks the communication system between the master and slave. Example: Loopback test for slave address 1 Query message Slave address Function code...
5. MODBUS PROTOCOL Preset multiple registers (Write multiple registers) [10H] The query message specifies the starting register address and quantity of registers to be written. The write data is arranged in the query message with high-order 8-bit first and low-order 8-bit next. Only R/W holding registers can be specified.
5. MODBUS PROTOCOL 5.7 Caution for Handling Communication Data • The numeric range of data used in Modbus protocol is 0000H to FFFFH. Only the set value within the setting range is effective. FFFFH represents −1. • The Modbus protocol does not recognize data with decimal points during communication. Example 1: When Internal manual set value is 5.0%, 5.0 is processed as 50, 50 = 0032H Internal manual set value...
COMMUNICATION DATA LIST This chapter describes communication data. 6.1 How to Read the Table ..............6-2 6.2 THV-10 Communication Data [RKC communication/Modbus] ..6-4 IMR02W06-E1...
(6) Attributes: A method of how communication data items are read or written when viewed from the host computer is described. RO: Read only data Data direction THV-10 Host computer R/W: Read and Write data allowed Data direction Host computer...
Page 55
6. COMMUNICATION DATA LIST The communication data include “Normal setting data” and “Engineering mode data.” Normal setting data: No. 1 to 23 Engineering mode data: Nos. 24 to 94 Engineering mode data is locked upon factory shipping. When locked, the attribute is RO (read data only allowed).
Page 56
6. COMMUNICATION DATA LIST 6.2 THV-10 Communication Data [RKC comunication/Modbus] The following table shows communication identifiers of RKC communication and register address of Modbus. Register address Name Identifier Digits Attribute Data range Factory set value Input signal monitor 0000 0000 0.0 to 100.0%...
Page 57
6. COMMUNICATION DATA LIST Register address Name Identifier Digits Attribute Data range Factory set value 15 Soft-down time 000E 0014 0.0 to 199.9 seconds [Screen No. 4] (0.0: Soft-down function unused) 16 Load power supply 000F 0015 85 to 264 V voltage [Screen No.
Page 58
6. COMMUNICATION DATA LIST Register address Name Identifier Digits Attribute Data range Factory set value 22 Thyristor break-down 0015 0021 Type 1 and Non-linear resistance detection 2 setting heater break alarm: [Screen No. 11] 0 to 100% of reference current* Type 2: 0 to 100% of Maximum load current value...
Page 59
6. COMMUNICATION DATA LIST Nos. 24 to 94 are Engineering mode data. Communication data in the Engineering mode D should be set according to the application before setting any parameter related to operation. Once the communication data in the Engineering mode are set correctly, no further changes need to be made to parameters for the same application under normal conditions.
Page 60
6. COMMUNICATION DATA LIST Register address Name Identifier Digits Attribute Data range Factory set value 29 RUN/STOP transfer 001C 0028 0: STOP (Output OFF) [Screen No. 18] 1: RUN (Output ON) 30 Soft-start, Soft-down 001D 0029 0: Disabled enable/disable 1: Enabled (Except switching from [Screen No.
Page 61
[Screen No. 36] 2: Power frequency monitor 3: Power value monitor If whichever of 1, 2, or 3 is attempted to be set on the THV-10 without a built-in current transformer CT, the display will go back to “0: Input signal monitor.”...
Page 62
6. COMMUNICATION DATA LIST Register address Name Identifier Digits Attribute Data range Factory set value 57 Phase angle ratio at 0038 0056 0 to 100% knee point 2 [Screen No. 46] 58 Current value at 0039 0057 0.0 to 32.0 A (20 A type) knee point 2 0.0 to 32.0 A (30 A type) 10.8...
Page 63
6. COMMUNICATION DATA LIST Register address Name Identifier Digits Attribute Data range Factory set value 71 Data bit 0046 0070 0 to 11 configuration Data Parity Stop [Screen No. 60] value bits bits bits None None Even Even None None Even Even RKC communication: 0 to 11...
Page 64
6. COMMUNICATION DATA LIST Register address Name Identifier Digits Attribute Data range Factory set value 88 Parameter 0057 0087 0 to 61 (Screen No.) select setting 16 0: No registration (Heater break alarm 2 setting) 89 Parameter 0058 0088 0 to 61 (Screen No.) select setting 17 0: No registration (Current limit value...
TROUBLE SHOOTING This chapter describes how to cope with errors during the communication. 7.1 RKC Communication ............... 7-3 7.2 Modbus .................... 7-4 IMR02W06-E1...
Page 66
7. TROUBLESHOOTING To prevent electric shock or instrument failure, always turn off the system power before replacing the instrument. To prevent electric shock or instrument failure, always turn off the power before mounting or removing the instrument. To prevent electric shock or instrument failure, do not turn on the power until all wiring is completed.
7. TROUBLESHOOTING This section lists some of the main causes and solutions for communication problems. If you cannot solve a problem, please contact RKC sales office or the agent, on confirming the type name and specifications of the product. 7.1 RKC Communication Problem Possible cause Solution...
7. TROUBLESHOOTING 7.2 Modbus Problem Possible cause Solution No response Wrong connection, no connection or Confirm the connection method or condition disconnection of the communication cable and connect correctly Breakage, wrong wiring, or imperfect contact of Confirm the wiring or connector and repair or the communication cable replace the wrong one Mismatch of the setting data of communication...
SPECIFICATIONS This chapter describes the specification of the host communication. 8.1 RKC Communication ............... 8-2 8.2 Modbus .................... 8-3 8.3 Loader Communication ..............8-4 IMR02W06-E1...
8. SPECIFICATIONS 8.1 RKC Communication Interface: Based on RS-485, EIA standard Connection method: 2-wire system, half-duplex multi-drop connection Synchronization method: Start/Stop synchronous type Communication speed: 9600 bps, 19200 bps, 38400 bps, 57600 bps Protocol: ANSI X3.28-1976 subcategories 2.5 and A4 Polling/Selecting type Data bit configuration: Start bit: 1...
8. SPECIFICATIONS 8.2 Modbus Interface: Based on RS-485, EIA standard Connection method: 2-wire system, half-duplex multi-drop connection Synchronization method: Start/Stop synchronous type Communication speed: 9600 bps, 19200 bps, 38400 bps, 57600 bps Data bit configuration: Start bit: 1 Data bit: 8 Parity bit: None, odd or even Stop bit: 1 or 2 Protocol:...
8. SPECIFICATIONS 8.3 Loader Communication Protocol: For RKC communication protocol only (ANSI X3.28-1976 subcategories 2.5 and A4) Synchronous method: Start/Stop synchronous type Communication speed: 38400 bps Data bit configuration: Start bit: 1 Data bit: 8 Parity bit: None Stop bit: Number of communication data digits: 7 (fixed) Error control: Horizontal parity (BCC check)
Need help?
Do you have a question about the THV-10 and is the answer not in the manual?
Questions and answers