Hide thumbs Also See for SA201:

Advertisement

Quick Links

Temperature Controller
SA201
Communication
Instruction Manual
IMR01K02-E1
RKC INSTRUMENT INC.
®

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SA201 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for RKC INSTRUMENT SA201

  • Page 1 Temperature Controller SA201 Communication Instruction Manual IMR01K02-E1 RKC INSTRUMENT INC. ®...
  • Page 2 !" 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 2001, RKC INSTRUMENT INC.
  • Page 3 Thank you for purchasing the RKC instrument. In order to achieve maximum performance and ensure proper operation of your new instrument, carefully read all the instructions in this manual. Please place this manual in a convenient location for easy reference.
  • Page 4 ! The figures, diagrams and numeric values used in this manual are only for purpose of illustration. ! RKC is not responsible for any damage or injury that is caused as a result of using this instrument, instrument failure or indirect damage.
  • Page 5: Table Of Contents

    4. SETTING ................6 4.1 Transfer to Communication Setting Mode ............6 4.2 Setting the Communication Parameters ............7 4.3 Communication Requirements ..............11 5. RKC COMMUNICATION PROTOCOL .......13 5.1 Polling ......................13 5.1.1 Polling procedures ....................14 5.1.2 Polling procedure example ................17 5.2 Selecting ......................18 5.2.1 Selecting procedures ..................18...
  • Page 6 Page 6.7 Data Configuration..................34 6.7.1 Data range......................34 6.7.2 Data processing precautions ................35 6.8 Communication Data List................36 7. INPUT RANGE TABLES.............40 8. TROUBLESHOOTING ............44 9. ASCII 7-BIT CODE TABLE (RFERENCE) ......47 IMR01K02-E1...
  • Page 7: Outline

    1. OUTLINE Temperature controller SA201 interfaces with the host computer via Modbus or RKC communication protocols. For reference purposes, the Modbus protocol identifies the host computer as master, the SA201 as slave. Host computer or SA201 PLC, etc. RS-485 SA201 Host computer or PLC, etc.
  • Page 8: Specifications

    2. SPECIFICATIONS !" RKC communication !" !" !" Interface: Based on RS-485, EIA standard Connection method: 2-wire system, half-duplex multi-drop connection Communication distance: 1 km max. The maximum communication distance will be affected by the surrounding conditions. Synchronous method: Start/stop synchronous type...
  • Page 9 2. SPECIFICATIONS !" !" Modbus !" !" Interface: Based on RS-485, EIA standard Connection method: 2-wire system, half-duplex multi-drop connection Communication distance: 1 km max. The maximum communication distance will be affected by the surrounding conditions. Synchronous method: Start/stop synchronous type Communication speed: 2400 bps, 4800 bps, 9600 bps, 19200 bps Data bit configuration:...
  • Page 10: Wiring

    !" Wiring method !" !" !" #" #" Connection to the RS-485 port of the host computer (master) #" #" Paired wire SA201 RS-485 (Slave) Host computer (Master) T/R (A) T/R (A) SD (TXD):Send data T/R (B) T/R (B) Communication RD (RXD):Receive data...
  • Page 11 Recommended: CD485, CD485/V manufactured by Data Link, Inc. or equivalent. The cable is provided by the customer. !" !" Connection with up to 31 SA201 (slaves) and one host computer (master) !" !" Host computer (Master)
  • Page 12: Setting

    4. SETTING To establish communication parameters between host computer (master) and SA201 (slave), it is necessary to set the device address (slave address), communication speed, data bit configuration and interval time on each SA201 (slave) in the communication mode. Power ON Input Type/Input Range Display (Display for approx.
  • Page 13: Setting The Communication Parameters

    3. WIRING 4.2 Setting the Communication Parameters To select parameters in communication setting mode, press the SET key. The parameters are displayed and sequenced in the order of device address (slave address), Add, communication speed, bPS, data bit configuration, bIT and interval time set value, InT. !"...
  • Page 14 (8o2) * The interval time for the SA201 should be set to provide a time for host computer to finish sending all data including stop bit and to switch the line to receive data. If the interval time between the two is too short, the SA201 may send data before the host computer is ready to receive it.
  • Page 15 Present set value is displayed, and the least significant digit blinks. OUT1 ALM1 OUT2 ALM2 SA201 Device address (Slave address) 2. Set the device address. Press the UP key to enter 5 at the least significant digit. Example: Setting the device address (slave address) to 15. OUT1...
  • Page 16 STOP before setting communication parameter. Change to RUN after completing the communication parameter settings, the instrument performs the same operation as that at the time of power on again. For the RUN/STOP transfer, see the SA201 Instruction Manual (IMR01K01-E% % % % ). IMR01K02-E1...
  • Page 17: Communication Requirements

    Whether the host computer is using either the polling or selecting procedure for communication, the following processing times are required for SA201 to send data: -Response wait time after SA201 sends BCC in polling procedure -Response wait time after SA201 sends ACK or NAK in selecting procedure RKC communication (Polling procedure) Procedure details...
  • Page 18 Response send time after SA201 receives BCC + Interval time b: Response wait time after SA201 sends ACK or Response wait time after SA201 sends NAK To switch the host computer from transmission to reception, send data must be on line. To check if data is on line, do not use the host computer’s transmission buffer but confirm it by...
  • Page 19: Rkc Communication Protocol

    5. RKC COMMUNICATION PROTOCOL SA201 (hereafter, called controller) uses the polling/selecting method to establish a data link. The basic procedure is followed ANSI X3.28 subcategory 2.5, A4 basic mode data transmission control procedure (Fast selecting is the selecting method used in this controller).
  • Page 20: Polling Procedures

    5. RKC COMMUNICATION PROTOCOL 5.1.1 Polling procedures (1) Data link initialization Host computer sends EOT to the controllers to initiate data link before polling sequence. (2) Data sent from host computer - Polling sequence Host computer sends polling sequence with the format shown below:...
  • Page 21 5. RKC COMMUNICATION PROTOCOL 1. STX STX is the transmission control character which indicates the start of the text transmission (identifier and data). 2. Identifier (2 digits) For details, see 5.3 Communication Identifier List (P. 22). The identifier indicates the type of data (measured value, status and set value) sent to the host computer.
  • Page 22 5. RKC COMMUNICATION PROTOCOL (6) ACK Acknowledgment An acknowledgment ACK is sent by the host computer when data received is correct. When the controller receives ACK from the host computer, the controller will send any remaining data of the next identifier without additional action from the host computer.
  • Page 23: Polling Procedure Example

    5. RKC COMMUNICATION PROTOCOL 5.1.2 Polling procedure example #" Normal transmission #" #" #" Host computer send Host computer send Host computer send Polling Identifier address Data Next send data Identifier Controller send Send data Controller send #" #" Error transmission #"...
  • Page 24: Selecting

    5. RKC COMMUNICATION PROTOCOL 5.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...
  • Page 25 5. RKC COMMUNICATION PROTOCOL (3) Data sent from the host computer The host computer sends data for the selecting sequence with the following format: Identifier Data For the STX, ETX and BCC, see 5.1 Polling (P. 13). 1. Identifier (2 digits) The identifier specifies the type of data that is requested from the controller, such as set value.
  • Page 26 5. 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 controller, the host computer sends EOT to terminate the data link.
  • Page 27: Selecting Procedure Example

    5. RKC COMMUNICATION PROTOCOL 5.2.2 Selecting procedure example #" Normal transmission #" #" #" Host computer send Host computer send Host computer send Data Selecting Next send data Identifier address Send data Controller send Controller send #" #" Error transmission #"...
  • Page 28: Communication Identifier List

    Any number other than 0 indicates errors (RAM write error, etc.) detected by the controller self- diagnosis function. Please contact RKC sales office or the agent. If the heat/cool PID control with autotuning (water cooling/air cooling) is selected, or the set value of any one of the heat/cool proportional band, integral time, derivative time and anti-reset windup is set to 0, the attribute becomes RO.
  • Page 29 5. RKC COMMUNICATION PROTOCOL Continued from the previous page. (Attribute RO: Read only, R/W: Read and Write) Name Iden- Description Factory set Attrib- tifier value Alarm 1 set value Process alarm, SV alarm: Temperature input: Setting limiter (low limit) to 50 or 50.0...
  • Page 30 5. RKC COMMUNICATION PROTOCOL Continued from the previous page. (Attribute RO: Read only, R/W: Read and Write) Name Iden- Description Factory set Attrib- tifier value Cool-side 1 to 1000 of heat-side proportional proportional band band Overlap/deadband -span to +span 0 or 0.0 However, within -1999 to +9999 C [ F] or -199.9 to +999.9 C [ F]...
  • Page 31 5. RKC COMMUNICATION PROTOCOL Continued from the previous page. (Attribute RO: Read only, R/W: Read and Write) Name Iden- Description Factory set Attrib- tifier value EEPROM storage 0: Backup mode mode (Set values are store to the EEPROM) 1: Buffer mode...
  • Page 32: Modbus Communication Protocol

    6. MODBUS COMMUNICATION PROTOCOL The master controls communication between master and slave. A typical message consists of a request (query message) sent from the master followed by an answer (response message) from the slave. When master begins data transmission, a set of data is sent to the slave in a fixed sequence. When it is received, the slave decodes it, takes the necessary action, and returns data to the master.
  • Page 33: Function Code

    6. MODBUS COMMUNICATION PROTOCOL 6.2 Function Code Function code contents Function code Function Contents (Hexadecimal) Read holding registers Measured value (PV), alarm status, etc. Set value (SV), alarm set value, PID constants, Preset single register PV bias, etc. (For each word) Diagnostics (loopback test) Diagnostics (loopback test) Message length of each function (Unit: byte)
  • Page 34: Slave Response

    6. MODBUS COMMUNICATION PROTOCOL 6.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. In the response message of the Preset Single Resister, the slave returns the same message as the query message.
  • Page 35: Calculating Crc-16

    6. MODBUS COMMUNICATION PROTOCOL 6.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 36 6. MODBUS COMMUNICATION PROTOCOL !" !" The flow chart of CRC-16 !" !" START FFFFH CRC Register CRC Register next byte of the message CRC Register Shift CRC Register right 1 bit Carry flag is 1 CRC Register A001H CRC Register n + 1 Is message complete ?
  • Page 37: Message Format

    6. MODBUS COMMUNICATION PROTOCOL 6.6 Message Format 6.6.1 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 bits and the low-order 8 bits, arranged in the order of the register numbers.
  • Page 38: Preset Single Resister [06H]

    6. MODBUS COMMUNICATION PROTOCOL 6.6.2 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 bits first and low-order 8 bits next. Only R/W holding registers can be specified.
  • Page 39: Diagnostics (Loopback Test) [08H]

    6. MODBUS COMMUNICATION PROTOCOL 6.6.3 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...
  • Page 40: Data Configuration

    6. MODBUS COMMUNICATION PROTOCOL 6.7 Data Configuration 6.7.1 Data range 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. Data processing with decimal points !"...
  • Page 41: Data Processing Precautions

    6. MODBUS COMMUNICATION PROTOCOL !" !" Data whose decimal point’s presence and/or position depends on input range !" !" The position of the decimal point changes depending on the input range type because the Modbus protocol does not recognize data with decimal points during communication. The following data can have one of three decimal point positions: No decimal point One decimal place...
  • Page 42: Communication Data List

    6. MODBUS COMMUNICATION PROTOCOL 6.8 Communication Data List The communication data list summarizes data addresses (holding resister numbers), names, descriptions, factory set values and attributes. (Attribute RO: Read only, R/W: Read and Write) Address Name Description Factory set Attrib- value Measured value Within input range.
  • Page 43 6. MODBUS COMMUNICATION PROTOCOL Continued from the previous page. (Attribute RO: Read only, R/W: Read and Write) Address Name Description Factory set Attrib- value Heat-side Temperature input: Temperature proportional band 0 (0.0) to span or 9999 (999.9) C [ F] input: (0 or 0.0: ON/OFF action) 30 or 30.0...
  • Page 44 6. MODBUS COMMUNICATION PROTOCOL Continued from the previous page. (Attribute RO: Read only, R/W: Read and Write) Address Name Description Factory set Attrib- value Set data lock 0 to 7 function * RUN/STOP 0: RUN 1: STOP function Digital filter 0 to 100 seconds (0: OFF) * Details of set data lock function: Alarm setting...
  • Page 45 6. MODBUS COMMUNICATION PROTOCOL Continued from the previous page. (Attribute RO: Read only, R/W: Read and Write) Address Name Description Factory set Attrib- value EEPROM storage 0: Backup mode mode (Set values are store to the EEPROM) 1: Buffer mode (No set values are store to the EEPROM) 0: Mismatch -----...
  • Page 46: Input Range Tables

    7. INPUT RANGE TABLES Input Range Table 1 Input type Input range Code Input Range 0 to 200 C 0 to 400 C 0 to 600 C 0 to 800 C 0 to 1000 C 0 to 1200 C 0 to 1372 C -199.9 to +300.0 C 0.0 to 400.0 C 0.0 to 800.0 C...
  • Page 47 7. INPUT RANGE TABLES Continued from the previous page. Input type Input range Code Input Range 0 to 800 F 0 to 1600 F 0 to 2192 F 0 to 400 F 0 to 300 F -199.9 to +999.9 F 0.0 to 800.0 F 0 to 1600 C 0 to 1769 C...
  • Page 48 7. INPUT RANGE TABLES Continued from the previous page. Input type Input range Code Input Range W5Re/W26Re 0 to 2000 C 0 to 2320 C 0 to 4000 F 0 to 1300 C 0 to 1390 C PL II 0 to 1200 C 0 to 2400 F 0 to 2534 F Thermocouple...
  • Page 49 7. INPUT RANGE TABLES Continued from the previous page. Input type Input range Code Input Range -199.9 to +649.0 C -199.9 to +200.0 C -100.0 to +50.0 C -100.0 to +100.0 C JPt100 -100.0 to +200.0 C 0.0 to 50.0 C 0.0 to 100.0 C 0.0 to 200.0 C 0.0 to 300.0 C...
  • Page 50: Troubleshooting

    This section lists some of the main causes and solutions for communication problems. If you can not solve a problem, please contact RKC sales office or the agent, on confirming the type name and specifications of the product.
  • Page 51 8. TROUBLESHOOTING Continued from the previous page. Problem Probable cause Solution No response Error in the data format Reexamine the communication program Transmission line is not set to the receive state after data send (for RS-485) EOT return The specified identifier is invalid Confirm the identifier is correct or that with the correct function is specified.
  • Page 52 Error code Self-diagnostic error Turn off the power to the instrument. If the same error occurs when the power is turned back on, please contact RKC sales office or the agent. IMR01K02-E1...
  • Page 53: Ascii 7-Bit Code Table (Rference)

    9. ASCII 7-BIT CODE TABLE (REFERENCE) This table is only for use with RKC communication. b5 to b7 b4 b3 b2 b1 ‘ ” & ’ < ¥ > ˜ IMR01K02-E1...
  • Page 54 MEMO IMR01K02-E1...
  • Page 55 The first edition: NOV. 2001 The third edition: JUN.2000...
  • Page 56 RKC INSTRUMENT INC. HEADQUARTERS: 16-6, KUGAHARA 5-CHOME, OHTA-KU TOKYO 146-8515 JAPAN PHONE: 03-3751-9799 (+81 3 3751 9799) E-mail: info@rkcinst.co.jp FAX: 03-3751-8585 (+81 3 3751 8585) IMR01K02-E1 NOV. 2001...

Table of Contents