Page 1
Temperature Controller SA100L Communication Instruction Manual IMR01J08-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 2004, 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
CAUTION This is a Class A instrument. In a domestic environment, this instrument may cause radio interference, in which case the user may be required to take adequate measures. This instrument is basic insulation between the power supply and the input/output. Provide reinforced insulation between the wire for the input signal and the wires for instrument power supply, source of power and loads.
CONTENTS Page 1. OUTLINE................1 2. SPECIFICATIONS ..............2 3. WIRING ................. 4 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 .....................
Page 6
Page 6.7 Data Configuration..................39 6.7.1 Data range ......................39 6.7.2 Data processing precautions................40 6.8 Communication Data List................41 7. INPUT RANGE TABLES ............ 49 8. TROUBLESHOOTING............53 9. ASCII 7-BIT CODE TABLE ..........56 IMR01J08-E1...
1. OUTLINE SA100L interfaces with the host computer via Modbus or RKC communication protocols. For reference purposes, the Modbus protocol identifies the host computer as master, the SA100L as slave. Host computer or SA100L PLC, etc. RS-485 SA100L Host computer or PLC, etc.
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 Communication speed: 2400 bps, 4800 bps, 9600 bps, 19200 bps Data bit configuration: Start bit: 1...
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: Data bit: 8 (Byte data corresponding to binary data or bit.) Parity bit: Without, Odd or Even...
XHP-3 (J.S.T. Mfg. Co., Ltd. product) Recommended cable size: AWG 30 to 22 Wiring method Connection to the RS-485 port of the host computer (master) Paired wire SA100L RS-485 (Slave) Host computer (Master) T/R (A) T/R (A) SD (TXD):Send 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 SA100L (slaves) and one host computer (master) Host computer (Master) Host computer (Master)
4. SETTING To establish communication parameters between host computer (master) and SA100L (slave), it is necessary to set the device address (slave address), communication speed, data bit configuration and interval time on each SA100L (slave) in the communication mode. Power ON Input Type/Input Range Display (Display for approx.
4. SETTING 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. Setting procedure Setting procedure vary depending on the communication parameter.
Page 14
(8o2) * The interval time for the SA100L 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 SA100L 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 OUT2 ALM1 ALM2 SA100L 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
OUT2 ALM1 ALM2 SA100L 5. Press the SET key to set the value thus set. The display changes to the next communication parameter. It the SET key is not pressed within 1 minute, the present display returns to the SV Setting &...
Whether the host computer is using either the polling or selecting procedure for communication, the following processing times are required for SA100L to send data: -Response wait time after SA100L sends BCC in polling procedure -Response wait time after SA100L sends ACK or NAK in selecting procedure RKC communication (Polling procedure) Procedure details...
Page 18
Response send time after SA100L receives BCC + Interval time b: Response wait time after SA100L sends ACK or Response wait time after SA100L 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...
5. RKC COMMUNICATION PROTOCOL The temperature controller SA100L (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).
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: Example: Device Identifier...
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) 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. For the identifier, see 5.3 Communication Identifier List (P.
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 Controller send Host computer send send No response [Address] [ Identifier ]...
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. (5) NAK (Negative acknowledge) If the controller does not receive correct data from the host computer, it sends a negative acknowledgment NAK to the host computer.
5. RKC COMMUNICATION PROTOCOL 5.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. Normal setting data (Attribute RO: Read only, R/W: Read and Write) Name Iden- Data range...
Page 29
5. RKC COMMUNICATION PROTOCOL Continued from the previous page. (Attribute RO: Read only, R/W: Read and Write) Name Iden- Data range Factory set Attribute tifier value Alarm 1 timer 0 to 9999 Alarm 2 set value Process alarm, SV alarm: Temperature Same as input range input: 50 (50.0)
Page 30
5. RKC COMMUNICATION PROTOCOL Continued from the previous page. (Attribute RO: Read only, R/W: Read and Write) Name Iden- Data range Factory set Attribute tifier value Set data lock Least significant digit: Lock only setting items other than SV and alarms (Data 0: Unlock, 1: Lock) 2nd digit: Lock only alarms...
Page 31
5. RKC COMMUNICATION PROTOCOL Continued from the previous page. (Attribute RO: Read only, R/W: Read and Write) Name Iden- Data range Factory set Attribute tifier value EEPROM storage 0: Mismatch ----- status 1: Match Error code 0: No error ----- 1: Adjustment error 2: EEPROM error 4: A/D conversion error...
Page 32
5. RKC COMMUNICATION PROTOCOL Initial setting data WARNING The Initial setting data (Engineering mode) should be set according to the application before setting any parameter related to operation. Once the Initial setting data is set correctly, those data is not necessary to be changed for the same application under normal conditions.
Page 33
5. RKC COMMUNICATION PROTOCOL Continued from the previous page. (Attribute RO: Read only, R/W: Read and Write) Name Iden- Data range Factory set Attribute tifier value 0: °C Display unit selection Note 1 1: °F Decimal point 0: No decimal place Note 2 Note 1 position...
Page 34
5. RKC COMMUNICATION PROTOCOL Continued from the previous page. (Attribute RO: Read only, R/W: Read and Write) Name Iden- Data range Factory set Attribute tifier value Alarm 1 differential 0 (0.0) to Span Temperature Note 1 input: 2 (2.0) °C [°F] Voltage/current inputs: 0.2 % of span...
Page 35
5. RKC COMMUNICATION PROTOCOL Continued from the previous page. (Attribute RO: Read only, R/W: Read and Write) Name Iden- Data range Factory set Attribute tifier value Alarm 2 timer unit 0 to 60 (sec) Note 1 Limit action type 0: Limit action [high limit] Note 1 selection 1: Limit action [low limit]...
Page 36
5. RKC COMMUNICATION PROTOCOL Continued from the previous page. Table 1: Output logic operation selection Set value OUT1 OUT2 Limit output (De-energized) * OR output of alarm 1 and alarm 2 (Energized) * Limit output (De-energized) AND output of alarm 1 and alarm 2 (Energized) Limit output (De-energized) Alarm 1 output (Energized) Limit output (De-energized)
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.
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, PV bias, etc. Preset single register (For each word) Diagnostics (loopback test) Diagnostics (loopback test) Message length of each function (Unit: byte) Function code...
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. •...
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 41
6. MODBUS COMMUNICATION PROTOCOL The flow chart of CRC-16 START FFFFH → CRC Register CRC Register ⊕ next byte of the message → CRC Register 0 → n Shift CRC Register right 1 bit Carry flag is 1 CRC Register ⊕ A001H → CRC Register n + 1 →...
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.
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.
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...
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 Data with decimal points Data with three decimal places The Modbus protocol does not recognize data with decimal points during communication.
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: •...
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) Resister Attrib- Factory set address Name Data range value Hexa- decimal Decimal...
Page 48
6. MODBUS COMMUNICATION PROTOCOL Continued from the previous page. (Attribute RO: Read only, R/W: Read and Write) Resister Attrib- Factory set address Name Data range value Hexa- decimal Decimal Alarm 1 timer 000D 0 to 9999 000E Alarm 2 set value Process alarm, SV alarm: Temperature Same as input range...
Page 49
6. MODBUS COMMUNICATION PROTOCOL Continued from the previous page. (Attribute RO: Read only, R/W: Read and Write) Resister Attrib- Factory set address Name Data range value Hexa- decimal Decimal Set data lock 0016 R/W Bit data b0: Lock only setting items other than SV and alarms (Data 0: Unlock, 1: Lock) b1: Lock only alarms...
Page 50
6. MODBUS COMMUNICATION PROTOCOL Initial setting data WARNING The Initial setting data (Engineering mode) should be set according to the application before setting any parameter related to operation. Once the Initial setting data is set correctly, those data is not necessary to be changed for the same application under normal conditions.
Page 51
6. MODBUS COMMUNICATION PROTOCOL Continued from the previous page. (Attribute RO: Read only, R/W: Read and Write) Resister Attrib- Factory set address Name Data range value Hexa- decimal Decimal Note 1 0: °C Display unit 0033 selection 1: °F Decimal point 0034 Note 1 0: No decimal place Note 2...
Page 52
6. MODBUS COMMUNICATION PROTOCOL Continued from the previous page. (Attribute RO: Read only, R/W: Read and Write) Resister Attrib- Factory set address Name Data range value Hexa- decimal Decimal Alarm 1 differential 003A Note 1 0 (0.0) to Span Temperature input: 2 (2.0) °C [°F] Voltage/current...
Page 53
6. MODBUS COMMUNICATION PROTOCOL Continued from the previous page. (Attribute RO: Read only, R/W: Read and Write) Resister Attrib- Factory set address Name Data range value Hexa- decimal Decimal Alarm 2 timer unit 0043 Note 1 0 to 60 (sec) Limit action type 0044 Note 1 0: Limit action [high limit]...
Page 54
6. MODBUS COMMUNICATION PROTOCOL Continued from the previous page. Table 1: Output logic operation selection Set value OUT1 OUT2 Limit output (De-energized) * OR output of alarm 1 and alarm 2 (Energized) * Limit output (De-energized) AND output of alarm 1 and alarm 2 (Energized) Limit output (De-energized) Alarm 1 output (Energized) Limit output (De-energized)
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 56
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 −199.9 to +999.9 °F 0.0 to 800.0 °F 0 to 1600 °C 0 to 1769 °C 0 to 1350 °C...
Page 57
7. 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 0 to 1200 °C PL II 0 to 2400 °F 0 to 2534 °F...
Page 58
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...
8. TROUBLESHOOTING WARNING 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 the wiring is completed.
Page 60
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 61
8. TROUBLESHOOTING Modbus Problem Probable cause Solution No response Wrong connection , no connection or Confirm the connection method or disconnection of the communication cable condition and connect correctly Breakage, wrong wiring, or imperfect Confirm the wiring or connector and contact of the communication cable repair or replace the wrong one Mismatch of the setting data of...
Need help?
Do you have a question about the SA100L and is the answer not in the manual?
Questions and answers