Page 1
Temperature Controller SA200 Communication Instruction Manual IMR01D02-E3 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 1999, 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.
SA200 interfaces with the host computer via Modbus or RKC communication protocols. For reference purposes, the Modbus protocol identifies the host computer as master, the SA200 as slave. The RKC protocol identifies these parts of the control system as the host computer and SA200. !"...
Page 8
1. 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 (Selectable) Data bit configuration:...
Recommended: CD485, CD485/V manufactured by Data Link, Inc. or equivalent. !" !" Wiring example !" !" #" #" Connection with up to 31 SA200 (slaves) and one host computer (master) #" #" Host computer (Master) Host computer (Master) RS-232C RS-485...
SA200 (slave) in the communication mode. 3.1 Communication Setting Mode 1. When the power to the SA200 is turned on, the input type, input range and PV/SV display will be automatically displayed in that order. 2. To go to the communication setting mode, you must be in PV/SV display. Press and hold the SET key and press the <R/S key at the same time to initiate communication settings.
3. SETTING 3.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 configuration, bIT and interval time set value, InT. !"...
STOP to RUN to refresh and make the new value effective. If neither action is taken, the SA200 will maintain the set value prior to change. All device address (slave address) settings must be stored by pressing the SET key. If...
Page 14
3. SETTING 2. Press the UP key to enter 5 at the first digit from the right. OUT1 ALM1 OUT2 ALM2 SA200 3. Press the <R/S key to blink the second digit from the right. OUT1 ALM1 OUT2 ALM2 SA200 4.
480: 4800 bps 960: 9600 bps 1920: 19200 bps Set the same communication speed for both the SA200 (slave) and the host computer (master). When the communication parameter is changed, turn the power on and off again or switch from STOP to RUN to refresh and make the new value effective. If neither action is taken, the SA200 will maintain the set value prior to change.
Page 16
3. SETTING 2. Press the DOWN key to set 480. OUT1 ALM1 OUT2 ALM2 SA200 3. Press the SET key to store the new communication speed. The display automatically goes to the next communication parameter, bIT. IMR01D02-E3...
(8o1) (8o2) Set the same data configuration for both the SA200 (slave) and the host computer (master). When the communication parameter is changed, turn the power on and off again or switch from STOP to RUN to refresh and make the new value effective. If neither action is taken, the SA200 will maintain the set value prior to change.
Page 18
3. SETTING !" !" !" !" Setting procedure The setting procedures are the same as communication speed setting. 1. Go to the communication setting mode so that slave address, Add, is displayed. Press the SET key until the data configuration symbol, bIT, appears. 2.
STOP to RUN to refresh and make the new value effective. If neither action is taken, the SA200 will maintain the set value prior to change. All interval times must be stored by pressing the SET key. If changes are made and the SET key is not pressed within one minute, the display will automatically return to the PV/SV display and the interval time will return to the value prior to set change.
Whether the host computer is using either the polling or selecting procedure for communication, the following processing times are required for SA200 to send data: -Response wait time after SA200 sends BCC in polling procedure -Response wait time after SA200 sends ACK or NAK in selecting procedure RKC communication (Polling procedure) Procedure details...
Page 21
P ossible data (Possible/ Im possible Im possible) S A200 S ending status (a): Response send time after SA200 receives BCC + Interval time (b): Response wait time after SA200 sends ACK or Response wait time after SA200 sends NAK IMR01D02-E3...
Page 22
The interval time for the SA200 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 SA200 may send data before the host computer is ready to receive it.
4. RKC COMMUNICATION PROTOCOL The temperature controller SA200 (hereinafter, the 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).
4. RKC COMMUNICATION PROTOCOL 4.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 25
4. 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) The identifier indicates the type of data (measured value, status and set value) sent to the host computer.
Page 26
4. 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.
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...
Page 29
4. 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 item 4.1 Polling (P. 17). 1. Identifier (2 digits) The identifier specifies the type of data that is requested from the controller, such as set value.
Page 30
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 controller, the host computer sends EOT to terminate the data link.
4. RKC COMMUNICATION PROTOCOL 4.3 Communication Identifier List Communication is not possible when an identifier is specified that the controller can not recognize. The number of digits for data is 6. (Attribute RO: Read only, R/W: Read and Write) Name...
Page 33
4. RKC COMMUNICATION PROTOCOL (Attribute RO: Read only, R/W: Read and Write) Name Iden- Data range Factory set Attrib- tifier value Control loop break 0.0 to 200.0 minutes alarm (0.0: OFF) Control loop break 0 (0.0) to span alarm deadband...
Page 34
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 35
4. RKC COMMUNICATION PROTOCOL The non-volatile memory (EEPROM) has limitations on the number of memory rewrite times. If the buffer mode is selected as an EEPROM storage mode, all of the set values changed are not written to the EEPROM and thus a problem of limitations on the number of memory rewrite times can be solved.
5. 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.
5. MODBUS COMMUNICATION PROTOCOL 5.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)
5. MODBUS COMMUNICATION 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. In the response message of the Preset Single Resister, the slave returns the same message as the query message.
5. MODBUS COMMUNICATION 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 40
5. 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 ?
5. MODBUS COMMUNICATION PROTOCOL 5.6 Message Format 5.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.
5. MODBUS COMMUNICATION PROTOCOL 5.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.
5. MODBUS COMMUNICATION PROTOCOL 5.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...
5. MODBUS COMMUNICATION PROTOCOL 5.7 Data Configuration 5.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 !"...
5. 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...
5. MODBUS COMMUNICATION PROTOCOL 5.8 Communication Data List The communication data list summarizes data addresses (holding resister numbers), names, attributes, setting ranges and factory set values. (Attribute RO: Read only, R/W: Read and Write) Address Name Data range Factory set Attrib- value Measured value (PV) Within input range.
Page 47
5. MODBUS COMMUNICATION PROTOCOL (Attribute RO: Read only, R/W: Read and Write) Address Name Data range Factory set Attrib- value Heat-side Temperature input: Temperature input: 0 (0.0) to span or 9999 (999.9) C [ F] proportional band 30 or 30.0 Voltage/current inputs: Voltage/current 0.1 to span (0 or 0.0: ON/OFF action)
Page 48
5. MODBUS COMMUNICATION PROTOCOL (Attribute RO: Read only, R/W: Read and Write) Address Name Data range 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) EEPROM storage 0: Backup mode mode...
Page 49
5. MODBUS COMMUNICATION PROTOCOL The non-volatile memory (EEPROM) has limitations on the number of memory rewrite times. If the buffer mode is selected as an EEPROM storage mode, all of the set values changed are not written to the EEPROM and thus a problem of limitations on the number of memory rewrite times can be solved.
6. 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 51
6. 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 52
6. INPUT RANGE TABLES Continued from the previous page. Input type Input range Code Input Range 0 to 2000 C W5Re/W26Re 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 53
6. 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...
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 55
7. TROUBLESHOOTING Continued from the previous page. Problem Probable cause Solution Error in the data format Reexamine the communication program response 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 56
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. IMR01D02-E3...
Need help?
Do you have a question about the SA200 and is the answer not in the manual?
Questions and answers