RKC INSTRUMENT SA100L Communication Instruction Manual Download Page 46

6. MODBUS COMMUNICATION PROTOCOL 
 
 
 
 
 

 
 

 

IMR01J08-E1 

40

 

 

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 

• 

Two decimal place 

For details, see 

7. INPUT RANGE TABLES (P. 49)

 

Measured value (PV) 

Analog output scale high 

Peak hold value monitor 

Analog output scale low 

Bottom hold value monitor 

Setting limiter [high] 

Set value (SV) 

Setting limiter [low] 

Alarm 1 set value 

Alarm 1 differential gap 

Alarm 2 set value 

Alarm 2 differential gap 

PV bias 

Limit action differential gap 

 
Example:    When the temperature set value is 

20.0 

°

C; 

20.0 is processed as 

200, 

200 = 0000H 

 00C8H = FF38H 

Set value (SV) 

High 

FFH 

 Low 

38H 

 
 
 

6.7.2 Data processing precautions 

• 

For 03H (read holding register), an error response message is returned when the start address is 
larger than 1AH. 

• 

For 06H (preset single register), an error message is returned when the write address is larger than 
1AH. 

• 

Read data of unused channel and undefined address is 

0

• 

Any attempt to write to an unused channel is not processed as an error. Data can not be written into 
an unused channel. 

• 

If data range or address error occurs during data writing, the data written before error is in effect. 

 

 

Summary of Contents for SA100L

Page 1: ...IMR01J08 E1 SA100L Communication Instruction Manual RKC INSTRUMENT INC Temperature Controller...

Page 2: ...ved Copyright 2004 RKC INSTRUMENT INC 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 resp...

Page 3: ...ed on to prevent electric shock fire or damage to instrument and equipment This instrument must be used in accordance with the specifications to prevent fire or damage to instrument and equipment This...

Page 4: ...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 For proper operation of...

Page 5: ...lling procedures 14 5 1 2 Polling procedure example 17 5 2 Selecting 18 5 2 1 Selecting procedures 18 5 2 2 Selecting procedure example 21 5 3 Communication Identifier List 22 6 MODBUS COMMUNICATION P...

Page 6: ...1J08 E1 i 4 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...

Page 7: ...bus or RKC communication protocols For reference purposes the Modbus protocol identifies the host computer as master the SA100L as slave RS 485 or RS 232C Host computer or PLC etc RS 232C RS 485 conve...

Page 8: ...s Data bit configuration Start bit 1 Data bit 7 or 8 Parity bit Without Odd or Even Stop bit 1 or 2 Protocol ANSI X3 28 subcategory 2 5 A4 Polling selecting type Error control Vertical parity With par...

Page 9: ...Terminal Unit RTU mode Function code 03H Read holding registers 06H Preset single register 08H Diagnostics loopback test Error check method CRC 16 Error code 1 Function code error 2 When written to re...

Page 10: ...85 port of the host computer master SG T R B T R A SG T R B T R A RD RXD Receive data SD TXD Send data Host computer Master RS 485 SG T R B T R A 31 max Paired wire Send Receive transfer signal Shield...

Page 11: ...ors Example 120 1 2 W When the host computer master uses Windows 95 98 NT use a RS 232C RS 485 converter with an automatic send receive transfer function Recommended CD485 CD485 V manufactured by Data...

Page 12: ...slave address Add SA100L SET RST AT OUT1 OUT2 SV2 ALM1 ALM2 PV SV PV SV display SA100L SET RST AT OUT1 OUT2 SV2 ALM1 ALM2 PV SV Device address Slave address Communication setting mode When let communi...

Page 13: ...mmunication parameter Device address Add interval time InT Operate UP DOWN and RST key and input numerals Communication speed bPS data bit configuration bIT Operate UP and DOWN key and choose one amon...

Page 14: ...SA100L s interval time must match the specifications of the host computer 10 Data bit configuration table Set value Data bit Parity bit Stop bit 7n1 7 Without 1 7n2 7 Without 2 7E1 7 Even 1 7E2 7 Even...

Page 15: ...t digit blinks SA100L SET RST AT OUT1 OUT2 SV2 ALM1 ALM2 PV SV Device address Slave address 2 Set the device address Press the UP key to enter 5 at the least significant digit Example Setting the devi...

Page 16: ...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 Monitor Mode and...

Page 17: ...4 0 12 Response send time after SA100L receives ACK 1 6 10 Response send time after SA100L receives NAK 1 6 10 Response send time after SA100L sends BCC 1 0 RKC communication Selecting procedure Proce...

Page 18: ...shift register 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 af...

Page 19: ...ds according to queries and commands from the host The code use in communication is 7 bit ASCII code including transmission control characters The transmission control characters are EOT 04H ENQ 05H A...

Page 20: ...s see 4 2 Setting the Communication Parameters P 7 2 Identifier 2 digits The identifier specifies the type of data that is requested from the controller For details see 5 3 Communication Identifier Li...

Page 21: ...ion 5 BCC BCC Block Check Character detects error using horizontal parity and is calculated by horizontal parity even number Calculation method of BCC Exclusive OR all data and characters from STX thr...

Page 22: ...t sends a negative acknowledgment NAK to the controller The controller will re send the same data when NAK is received This cycle will go on continuously until either recovery is achieved or the data...

Page 23: ...end data Controller send Host computer send Host computer send S T X O Z 0 0 0 0 0 0 E T X B C C 02H 4FH 5AH 30H 30H 30H 30H 30H 30H 03H 16H Data Identifier E O T 04H 0 30H 1 M 1 E N Q 05H 31H 4DH 31H...

Page 24: ...to initiate data link before selecting sequence 2 Sending selecting address from the host computer Host computer sends selecting address for the selecting sequence Device address 2 digits The device...

Page 25: ...with 001 5 01 5 1 5 1 50 1 500 at the time of 1 5 controller can receive a data When the host computer send data with decimal point to item of without decimal point controller receives a message with...

Page 26: ...r it sends a negative acknowledgment NAK to the host computer Corrections such as re send must be made at the host computer The controller will send NAK in the following cases When an error occurs on...

Page 27: ...31H 32H 30H 30H 2EH 30H 03H 4DH E O T 0 1 Identifier A C K 06H S T X A 1 5 0 E T X B C C 02H 41H 31H 35H 2EH 30H 03H 58H 04H A C K 06H E O T Host computer send Selecting address Data Send data Contro...

Page 28: ...ing limiter high RO Bottom hold value monitor HQ Setting limiter low to Setting limiter high RO EXCD time TH 0 00 to 999 59 0 min 00 sec to 999 min 59 sec RO Limit action release HR Transfer of limit...

Page 29: ...easured value PV Set value SV Same as input range Deviation Span to Span Temperature input Input range high limit Voltage current inputs 100 0 Analog output scale low 4 5 HW Temperature input Input ra...

Page 30: ...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...

Page 31: ...0 The contents of the buffer memory do not match with those of the EEPROM As data is being written to the EEPROM in backup mode do not turn the power off If turned off no set values are stored If the...

Page 32: ...12 RTD Pt100 13 RTD JPt100 14 Voltage 0 to 5 V DC Current 0 to 20 mA DC 15 Voltage 1 to 5 V DC Current 4 to 20 mA DC 16 Voltage 0 to 10 V DC For the current input specification a resistor of 250 must...

Page 33: ...selected input range to Setting limiter high Temperature input Minimum value of the selected input range Voltage current inputs 0 0 Note 1 Output logic operation selection LO See Table 1 P 30 Note 2 N...

Page 34: ...larm 3 Process high alarm 4 Process low alarm 5 Deviation high alarm 6 Deviation low alarm 7 Deviation high low alarm 8 Band alarm Note 2 Note 1 Alarm 2 hold action WB 0 Without alarm hold action 1 Ef...

Page 35: ...ime of power ON 1 Limit action output turned ON at the time of power ON 1 Note 1 RST key operation time selection RT 0 Press for one second 1 Press once 1 Note 1 Reset action selection RS 0 All data i...

Page 36: ...it output De energized No output 8 Limit output Energized OR output of alarm 1 and alarm 2 Energized 9 Limit output Energized AND output of alarm 1 and alarm 2 Energized 10 Limit output Energized Alar...

Page 37: ...front key panel of the controller For details see 4 2 Setting the Communication Parameters P 7 Although all connected slaves receive the query message sent from the master only the slave with the slav...

Page 38: ...7 255 06H Preset single register 8 8 8 8 08H Diagnostics loopback test 8 8 8 8 6 3 Communication Mode Signal transmission between the master and slaves is conducted in Remote Terminal Unit RTU mode RT...

Page 39: ...the slave detects an error the slave will return an error response message to all query messages The function code of each error response message is obtained by adding 80H to the function code of the...

Page 40: ...owing sequence 1 Load a 16 bit CRC register with FFFFH 2 Exclusive OR the first byte 8 bits of the message with the CRC register Return the result to the CRC register 3 Shift the CRC register 1 bit to...

Page 41: ...Register 0 n Shift CRC Register right 1 bit Carry flag is 1 No Yes CRC Register A001H CRC Register n 1 n No Yes n 7 No Yes Is message complete END CRC Register next byte of the message CRC Register Th...

Page 42: ...0000H to 0002H are the read out from slave address 2 Query message Slave address 02H Function code 03H Starting number High 00H Low 00H Quantity High 00H Low 03H CRC 16 High 05H Low F8H Normal respon...

Page 43: ...itten into the holding register 0010H of slave address 1 Query message Slave address 01H Function code 06H Holding register High 00H number Low 10H Write data High 01H Low 02H CRC 16 High 08H Low 5EH...

Page 44: ...lave address 1 Query message Slave address 01H Function code 08H Test code High 00H Low 00H Data High 1FH Low 34H CRC 16 High E9H Low ECH Normal response message Slave address 01H Function code 08H Te...

Page 45: ...arm 2 status Alarm 1 hold action EXCD time min Alarm 1 process abnormality action selection EXCD time sec Alarm 1 interlock Limit action release Alarm 1 timer unit Alarm interlock release Alarm 2 type...

Page 46: ...ue SV Setting limiter low Alarm 1 set value Alarm 1 differential gap Alarm 2 set value Alarm 2 differential gap PV bias Limit action differential gap Example When the temperature set value is 20 0 C 2...

Page 47: ...tting limiter low to Setting limiter high EXCD time min 0007 7 RO 0 to 999 0 to 999 min EXCD time sec 0008 8 RO 0 to 59 0 to 59 sec Limit action release 0009 9 R W Transfer of limit action release sig...

Page 48: ...log output selection 0013 19 Note 1 0 Measured value PV 1 Set value SV 2 Deviation 0 Analog output scale high 4 0014 20 Measured value PV Set value SV Same as input range Deviation Span to Span Temper...

Page 49: ...emory rewrite times can be solved When the memory is used to frequently change the set value via communication select the buffer mode When selecting any EEPROM storage mode take notice of the followin...

Page 50: ...ermocouple U 11 Thermocouple L 12 RTD Pt100 13 RTD JPt100 14 Voltage 0 to 5 V DC Current 0 to 20 mA DC 15 Voltage 1 to 5 V DC Current 4 to 20 mA DC 16 Voltage 0 to 10 V DC For the current input specif...

Page 51: ...inimum value of the selected input range to Setting limiter high Temperature input Minimum value of the selected input range Voltage current inputs 0 0 Output logic operation selection 0037 55 Note 1...

Page 52: ...igh alarm 2 SV low alarm 3 Process high alarm 4 Process low alarm 5 Deviation high alarm 6 Deviation low alarm 7 Deviation high low alarm 8 Band alarm Note 2 Alarm 2 hold action 003F 63 Note 1 0 Witho...

Page 53: ...ess abnormality action selection 0047 71 Note 1 0 Normal processing 1 Turn the alarm output ON 0 Limit action at the time of power ON 0048 72 Note 1 0 Limit action output turned OFF at the time of pow...

Page 54: ...gized No output 8 Limit output Energized OR output of alarm 1 and alarm 2 Energized 9 Limit output Energized AND output of alarm 1 and alarm 2 Energized 10 Limit output Energized Alarm 1 output Energi...

Page 55: ...o 300 C K 14 0 to 450 C K 17 0 to 500 C K 20 0 0 to 200 0 C K 29 0 0 to 600 0 C K 37 Thermocouple 199 9 to 800 0 C K 38 0 to 800 F K A1 0 to 1600 F K A2 0 to 2502 F K A3 0 0 to 800 0 F K A4 20 to 70 F...

Page 56: ...01 Thermocouple B 0 to 1820 C 1 B 02 800 to 3200 F B A1 0 to 3308 F 1 B A2 0 to 800 C E 01 E 0 to 1000 C E 02 0 to 1600 F E A1 0 to 1832 F E A2 0 to 1200 C N 01 0 to 1300 C N 02 N 0 0 to 800 0 C N 06...

Page 57: ...to 999 9 F U A3 0 to 400 C L 01 L 0 to 800 C L 02 0 to 800 F L A1 0 to 1600 F L A2 199 9 to 649 0 C D 01 199 9 to 200 0 C D 02 100 0 to 50 0 C D 03 100 0 to 100 0 C D 04 100 0 to 200 0 C D 05 0 0 to...

Page 58: ...100 100 0 to 200 0 C P 05 0 0 to 50 0 C P 06 0 0 to 100 0 C P 07 0 0 to 200 0 C P 08 0 0 to 300 0 C P 09 0 0 to 500 0 C P 10 Input Range Table 2 Input type Input range Code Input Range 0 to 5 V DC 4 0...

Page 59: ...nection method or condition and connect correctly Breakage wrong wiring or imperfect contact of the communication cable Confirm the wiring or connector and repair or replace the wrong one Mismatch of...

Page 60: ...with the correct function is specified Otherwise correct it Error in the data format Reexamine the communication program NAK return Error occurs on the line parity bit error framing error etc Confirm...

Page 61: ...is found in the query message Re transmit after time out occurs or verify communication program The time interval between adjacent data in the query message is too long exceeding 24 bit s time Error c...

Page 62: ...L DLE SP 0 P p 0 0 0 1 1 SOH DC1 1 A Q a q 0 0 1 0 2 STX DC2 2 B R b r 0 0 1 1 3 ETX DC3 3 C S c s 0 1 0 0 4 EOT DC4 4 D T d t 0 1 0 1 5 ENQ NAK 5 E U e u 0 1 1 0 6 ACK SYM 6 F V f v 0 1 1 1 7 BEL ETB...

Page 63: ...The first edition SEP 2004 The second edition JUN 2001...

Page 64: ...IMR01J08 E1 SEP 2004 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...

Reviews: