Page 1
SR23 Series Digital Controller Instruction Manual Communication Interface (RS-232C/RS-485) Thank you for purchasing the Shimaden SR23 Series Digital Controller. Check that the delivered product is the correct item you ordered. Do not begin operating this product until you have read and thoroughly understood the contents of this Instruction Manual.
Page 3
Request Make sure that this instruction manual is given to the final user of the device. Keep this manual at the work site during operation of the SR23 Series. Preface This Instruction Manual describes the basic functions and method of use of the “Communications Interface (RS-232C/RS-485)”...
Page 4
Caution To avoid damage to connected peripheral devices, facilities or the product itself due to malfunction of this device, safety countermeasures such as proper installation of the fuse or installation of overheating protection must be taken before use. No warranty, express or implied, is valid in the case of use resulting in an accident without having taken the proper safety countermeasures...
Setting the Communication Delay Time (No.5-9)...........8 3-10 Setting the Communication Control Code (No.5-10)........8 3-11 Setting the Communication BCC Data Operation Method (No.5-10) .....9 4 EXPLANATION OF SHIMADEN PROTOCOL ........11 Communication Procedure ................11 (1) Master and slave..................... 11 (2) Communication procedure..................11 (3) Timeout ........................
Page 6
Details of Read Command (R)..............18 (1) Format of Read command (R)................. 18 (2) Format of normal response to Read command (R)..........18 (3) Format of error response to Read command (R) ............ 20 Details of Write Command (W) ..............20 (1) Format of Write command (W) ................
1 OUTLINE 1 OUTLINE Communication Interface As an option, the SR23 Series supports two communication interfaces: RS-2323C and RS-485. Using these communication interfaces, you can set up or read various data from a personal computer. The RS-2323C and RS-485 communication interface are data communication standards determined by the EIA (Electronic Industries Alliance) of the United States.
Page 10
1 OUTLINE SHIMADEN standard protocol This is a SHIMADEN proprietary communication protocol. The table below shows the specifications of this protocol. Data length 7/8 bits Parity EVEN, ODD, NONE Stop bit 1/2 bits Communication address 01 to 98 Communication memory mode...
2 CONNECTING THE CONTROLLER TO A HOST COMPUTER CONNECTING THE CONTROLLER TO A HOST COMPUTER The SR23 Series controller is connected to the host computer by three lines, send data, receive data and signal ground. The following shows connection examples.
Page 12
2 CONNECTING THE CONTROLLER TO A HOST COMPUTER Host SR23 Controller 1 +(13) -(14) SG(12) Controller 2 +(13) -(14) SG(12) Controller N +(13) -(14) SG(12) Terminator (120 Ω) About tri-state output control When the RS-485 interface is used, the connection becomes a multidrop connection. For this reason, to avoid conflict between send signals, the transmission output is held at high-impedance at all times during reception or when communication is not performed.
3 COMMUNICATION SETUP PARAMETERS COMMUNICATION SETUP PARAMETERS The SR23 Series has 11 communication setup parameters, of which two are exclusively for the SHIMADEN standard protocol. • Setting the communication mode (No.1-1) • Setting the communication protocol (No.5-8) • Setting the device address (No.5-8) •...
3 COMMUNICATION SETUP PARAMETERS Setting the Communication Protocol (No.5-8) Setting range : SHIMADEN, MOD_ASC, MOD_RTU COM PROT: SHIMADEN Default : SHIMADEN ADDR: BPS : 9600 MEM : EEP Set the communication protocol. SHIMADEN SHIMADEN standard protocol MOD_ASC MODBUS communication protocol (ASCII mode)
STOP: DELY: 10 ms 7 or 8 bits can be set only in the SHIMADEN standard protocol. The default data length is 7 bits. The data length in the MODBUS communication protocol is fixed to 7 bits in the ASCII...
In particular, it sometimes takes about 400 ms to process commands in the case of the write command. 3-10 Setting the Communication Control Code (No.5-10) This setting item is available only in the SHIMADEN standard protocol. Set the communication control code. 5-10 Setting range...
3 COMMUNICATION SETUP PARAMETERS 3-11 Setting the Communication BCC Data Operation Method (No.5-10) This setting item is available only in the SHIMADEN standard protocol. 5-10 Setting range : ADD, ADD_two's cmp, XOR, None COM CTRL : STX_ETX_CR Default : ADD BCC :...
Page 18
3 COMMUNICATION SETUP PARAMETERS This page left intentionally blank...
(new start character). Communication Format The SR23 Series supports various protocols, and so various selections can be made by the communication format (control codes, BCC operation method) or communication data format (data bit length, parity, stop bit length).
4 EXPLANATION OF SHIMADEN PROTOCOL Outline of communication format The formats of the communications commands sent from the master and the communication response formats sent from the slave comprise three blocks: basic format section I, text section and basic format section II.
4 EXPLANATION OF SHIMADEN PROTOCOL Details of basic format section I a: Start character [(1): 1 digit/STX (02H) or "@" (40H)] • The start character indicates the start of the communication message. • When the start character is received, it is judged to be the 1 character of a new communication message.
Page 22
4 EXPLANATION OF SHIMADEN PROTOCOL Addition operation is performed from start character (1) through to text end character (12) in ASCII data 1-character (1-byte) units, and the two’s complement of the lower 1 byte of the operation result is taken.
Page 23
4 EXPLANATION OF SHIMADEN PROTOCOL j: End character (delimiter) [(15), (16): 1 digit or 2 digits/CR or CR LF] • Indicates the end of the communication message. • The following two types can be selected as the end character: (15), (16): CR (0DH) (LF is not appended by CR alone.)
4 EXPLANATION OF SHIMADEN PROTOCOL Outline of text section The text section differs according to the command type and communication response. For details, see “4-3 Details of Read Command (R)” and “4-4 Details of Write Command (W).” d: Command type [(5): 1 digit] •...
Page 25
4 EXPLANATION OF SHIMADEN PROTOCOL f: Number of data [(10): 1 digit] • Specifies the number of read data in the Read command (R) and the number of write data in the Write command (W). • The number of data is specified by converting binary 4-bit data to ASCII data.
4 EXPLANATION OF SHIMADEN PROTOCOL Details of Read Command (R) The Read command (R) is used to read (load) various SR23 data from a master personal computer or PLC. Format of Read command (R) • The following shows the format of the text section of the Read command (R).
Page 27
4 EXPLANATION OF SHIMADEN PROTOCOL • <R(52H)> indicating a response to the Read command (R) is inserted at d ((5)). • <00(30H and 30H)> indicating a normal response to the Read command (R) is inserted at e ((6) and (7)).
4 EXPLANATION OF SHIMADEN PROTOCOL Format of error response to Read command (R) • The following shows the format (text section) of an error response to the Read command (R). Basic format section I and basic format section II are common to all commands and command responses.
4 EXPLANATION OF SHIMADEN PROTOCOL Format of Write command (W) • The following shows the format of the text section in the case of the Write command (W). Basic format section I and basic format section II are common to all commands and command responses.
4 EXPLANATION OF SHIMADEN PROTOCOL Data address Data 16 bits (1 word) 16 bits (1 word) Decimal Decimal 0400 1024 00C8 Write start data address (300H) 0401 1025 007D Number of writer data 0402 1026 0078 1 (0H) Format of normal response to Write command (W) •...
4 EXPLANATION OF SHIMADEN PROTOCOL Format of error response to Write command (W) • The following shows the format (text section) of an error response to the Write command (W). Basic format section I and basic format section II are common to all commands and command responses.
4 EXPLANATION OF SHIMADEN PROTOCOL Details of Response Codes Type of response codes Communication responses to the Read command (R) and Write command (W) must contain a response code. There are two types of response codes: normal response code and error response code.
5 EXPLANATION OF MODBUS COMMUNICATION PROTOCOL EXPLANATION OF MODBUS COMMUNICATION PROTOCOL The MODBUS communication protocol has two transfer modes: ASCII mode and RTU mode. Outline of Transfer Mode ASCII mode The 8-bit binary data in commands is divided into upper 4 bits (Hex) and lower 4 bits (Hex), each of which is sent as ASCII characters.
5 EXPLANATION OF MODBUS COMMUNICATION PROTOCOL RTU mode In this mode, messages begin after an idle time of 3.5 characters transfer time or more, and end after an idle time of 3.5 characters transfer time or more has elapsed. Idle 3.5 Slave Function Idle 3.5...
5 EXPLANATION OF MODBUS COMMUNICATION PROTOCOL Error Code Details 1 (01H) illegal Function (non-existent function) 2 (02H) illegal data address (non-existent data address) 3 (03H) illegal data value (value out of setting range) Data The structure of data differs according to the function code. With request messages from the master, data is configured by data item, number of data and setting data.
5 EXPLANATION OF MODBUS COMMUNICATION PROTOCOL CRC-16 calculation method By the CRC method, the information to be sent is divided by a generating function, and the information is appended with the remainder and then sent. Generating function: X 1. Initialize the data of CRC (taken to be x) to (FFFFH). 2.
Page 37
5 EXPLANATION OF MODBUS COMMUNICATION PROTOCOL In a response message during normal operation, “1” is set to the MSB of the function code (83H). An error code 02H (non-existent data address) is returned as the response message for the error content. Writing device No.1, SV1=10.0°C •...
5 EXPLANATION OF MODBUS COMMUNICATION PROTOCOL RTU mode Reading device No.1, SV1 • Request message from master Idle 3.5 Slave Function Data Number of Error check Idle 3.5 characters address code address data characters (01H) (03H) (0300H) (0001H) (844EH) Number of characters (8) •...
Page 39
5 EXPLANATION OF MODBUS COMMUNICATION PROTOCOL Setting device No.1, SV1=10.0°C • Request message from master Idle 3.5 Slave Function Data Error check Idle 3.5 Data characters address code address characters (01H) (06H) (0300H) (0064H) (8865H) Number of characters (8) • Slave response message in normal operation (SV1=10.0°C) Idle 3.5 Slave Function...
Page 40
5 EXPLANATION OF MODBUS COMMUNICATION PROTOCOL This page left intentionally blank...
Reading/writing parameters in a 2-loop specification In a 2-loop specification, the value of the parameter corresponding to each loop can be read by sub-address=1/2 in the case of the SHIMADEN standard protocol, and by slave address=device address/device address+1 in the case4 of the MODBUS communication protocol.
Execution of broadcast In the SHIMADEN standard protocol, use the “B” command. In the MODBUS communication protocol, set “0” to the slave address. Parameters that can be broadcast are indicated by “B” (broadcast) at the right edge of the communication addresses show below.
6 LIST OF COMMUNICATION DATA ADDRESSES Communication Data Address Data Addr. Parameter Setting Range R/W T/B (Hex) 0040 S_CODE1 Series code 1 “S”, “R” 0041 S_CODE2 Series code 2 “2”, “3” 0042 S_CODE3 Series code 3 0043 S_CODE4 Series code 4 0100 PV_W PV value...
Page 44
6 LIST OF COMMUNICATION DATA ADDRESSES Data Addr. Parameter Setting Range R/W T/B (Hex) 0110 UNIT Measurement unit 0:°C 1:°F 2: % 3: K 4: NONE Measuring range 0 to 19: Thermocouple 31 to 58: 0111 RANGE Resistor 71 to 77: Voltage mV 81 to 87: Voltage V (See “7-1 Setting Range Code Table.”.) 0112 Cold junction compensation...
Page 45
6 LIST OF COMMUNICATION DATA ADDRESSES Data Addr. Parameter Setting Range R/W T/B (Hex) 018C Communication mode 0: LOC 1: COM 018D EV1-3, DO1-13 direct control COMDI ・ When the operation mode is set to LOGIC for EV1 to 3 and DO1 to 3, and to DIRECT for DO6 to 15, the output values of EV1 to 3 and DO1 to 15 can be controlled directly by writing to COMDI.
Page 46
6 LIST OF COMMUNICATION DATA ADDRESSES Data Addr. Parameter Setting Range R/W T/B (Hex) 0300 SV No.1 0301 SV No.2 0302 SV No.3 0303 SV No.4 0304 SV No.5 0305 SV No.6 0306 SV No.7 0307 SV No.8 0308 SV No.9 0309 SV10 SV No.10...
Page 48
6 LIST OF COMMUNICATION DATA ADDRESSES Data Addr. Parameter Setting Range R/W T/B (Hex) 0400 PID01-OUT1 Proportional band: 0.0 to 999.9% (0.0=OFF) 0401 Integral time: 0 to 6000Sec (0=OFF) 0402 Derivative time: 0 to 3600Sec (0=OFF) 0403 Manual reset: -50.0 to 50.0% 0404 Hysteresis: 1 to 9999 Unit 0405...
Page 49
6 LIST OF COMMUNICATION DATA ADDRESSES Data Addr. Parameter Setting Range R/W T/B (Hex) 0420 PID05-OUT1 Proportional band: 0.0 to 999.9% (0.0=OFF) 0421 Integral time: 0 to 6000Sec (0=OFF) 0422 Derivative time: 0 to 3600Sec (0=OFF) 0423 Manual reset: -50.0 to 50.0% 0424 Hysteresis: 1 to 9999 Unit 0425...
Page 50
6 LIST OF COMMUNICATION DATA ADDRESSES Data Addr. Parameter Setting Range R/W T/B (Hex) 0440 PID09-OUT1 Proportional band: 0.0 to 999.9% (0.0=OFF) 0441 Integral time: 0 to 6000Sec (0=OFF) 0442 Derivative time: 0 to 3600Sec (0=OFF) 0443 Manual reset: -50.0 to 50.0% 0444 Hysteresis: 1 to 9999 Unit 0445...
Page 51
6 LIST OF COMMUNICATION DATA ADDRESSES Data Addr. Parameter Setting Range R/W T/B (Hex) 0470 PB23 PID03-OUT2 Proportional band: 0.0 to 999.9% (0.0=OFF) 0471 IT23 Integral time: 0 to 6000Sec (0=OFF) 0472 DT23 Derivative time: 0 to 3600Sec (0=OFF) Manual reset : -50.0 to 50.0% 0473 MR23/DB23 Dead band: -199999 to 20000UNIT...
Page 52
6 LIST OF COMMUNICATION DATA ADDRESSES Data Addr. Parameter Setting Range R/W T/B (Hex) 0490 PB27 Proportional band: 0.0 to 999.9% PID07-OUT2 (0.0=OFF) 0491 IT27 Integral time: 0 to 6000Sec (0=OFF) 0492 DT27 Derivative time: 0 to 3600Sec (0=OFF) Manual reset : -50.0 to 50.0% 0493 MR27/DB27 Dead band: -199999 to 20000UNIT...
Page 53
6 LIST OF COMMUNICATION DATA ADDRESSES Data Addr. Parameter Setting Range R/W T/B (Hex) 04C0 ZSP1 CH1 side No.1 PID zone: Within measuring range 04C1 ZSP2 CH1 side No.2 PID zone: Within measuring range 04C2 ZSP3 CH1 side No.3 PID zone: Within measuring range 04C3 ZSP4 CH1 side No.4 PID zone: Within measuring range...
Page 54
6 LIST OF COMMUNICATION DATA ADDRESSES Data Addr. Parameter Setting Range R/W T/B (Hex) CH information/operation mode 0500 EV1_MD Event1 Channel information (upper 8 bits) 0: CH1 1: CH2 Operation mode (lower 8 bits) 0: None 1: DEV Hi 2: DEV Low 3: DEV Out 4: DEV In 5: PV Hi 6: PV Low 7: SV Hi 8: SV Low 9: AT 10: MAN 11: REM 12: RMP 13: STBY...
Page 55
6 LIST OF COMMUNICATION DATA ADDRESSES Data Addr. Parameter Setting Range (Hex) CH information/operation mode 0518 DO1_MD Channel information (upper 8 bits) 0: CH1 1: CH2 Operation mode (lower 8 bits) 0: None 1: DEV Hi 2: DEV Low 3: DEV Out 4: DEV In 5: PV Hi 6: PV Low 7: SV Hi 8: SV Low 9: AT 10: MAN 11: REM 12: RMP 13: STBY 14: S0 15: PV S0 16: REM S0...
Page 56
6 LIST OF COMMUNICATION DATA ADDRESSES Data Addr. Parameter Setting Range R/W T/B (Hex) CH information/operation mode 0538 DO5_MD Channel information (upper 8 bits) 0: CH1 1: CH2 Operation mode (lower 8 bits) 0: None 1: DEV Hi 2: DEV Low 3: DEV Out 4: DEV In 5: PV Hi 6: PV Low 7: SV Hi 8: SV Low 9: AT 10: MAN 11: REM 12: RMP 13: STBY...
Page 57
6 LIST OF COMMUNICATION DATA ADDRESSES Data Addr. Parameter Setting Range R/W T/B (Hex) CH information/operation mode 0558 DO9_MD Channel information (upper 8 bits) 0: CH1 1: CH2 Operation mode (lower 8 bits) 0: None 1: DEV Hi 2: DEV Low 3: DEV Out 4: DEV In 5: PV Hi 6: PV Low 7: SV Hi 8: SV Low 9: AT 10: MAN 11: REM 12: RMP 13: STBY...
Page 58
6 LIST OF COMMUNICATION DATA ADDRESSES Data Addr. Parameter Setting Range R/W T/B (Hex) CH information/operation mode 0578 DO13_MD Channel information (upper 8 bits) 0: CH1 1: CH2 Operation mode (lower 8 bits) 0: None 1: DEV Hi 2: DEV Low 3: DEV Out 4: DEV In 5: PV Hi 6: PV Low 7: SV Hi 8: SV Low 9: AT 10: MAN 11: REM 12: RMP 13: STBY...
Page 59
6 LIST OF COMMUNICATION DATA ADDRESSES Data Addr. Parameter Setting Range R/W T/B (Hex) Channel information (upper 8 bits) 0580 0: CH1 1: CH2 2: CH1+2 Operation mode (lower 8 bits) 0: None 1: MAN 2: REM 3: AT 4: STBY 5: ACT 6: ACT2 7: PAUSE 8: DIR Channel information (upper 8 bits) 0581...
Page 60
6 LIST OF COMMUNICATION DATA ADDRESSES Data Addr. Parameter Setting Range R/W T/B (Hex) 0590 Heater burnout alarm 0.0 to 50.0A (0.0=OFF) 0591 Heater loop alarm 0.0 to 50.0A (0.0=OFF) 0592 HB_MD Heater burnout mode 0: Lock 1: Real 0597 HB_SEL HB selection 0: OUT1 1: OUT2...
Page 61
6 LIST OF COMMUNICATION DATA ADDRESSES Data Addr. Parameter Setting Range R/W T/B (Hex) 064F MORTOR_TM Motor stroke time: 5 to 300 s 0651 SER_FB Servo feedback 0: OFF 1: ON 0652 SER_DB Servo dead band: 0.2 to 10.0 % 0654 MAN_ST_DRC Set position at restart...
Page 62
6 LIST OF COMMUNICATION DATA ADDRESSES Data Parameter Setting Range Addr. (Hex) Ten-segment linearizer input 1: -5.00 to 105.00% 0720 Ten-segment linearizer output 1: -5.00 to 105.00% 0721 Ten-segment linearizer input 2: -5.00 to 105.00% 0722 Ten-segment linearizer output 2: -5.00 to 105.00% 0723 Ten-segment linearizer input 3: -5.00 to 105.00% 0724...
Page 63
7 APPENDIX APPENDIX Setting Range Code Table Code Code Measurement Range Measurement Range 0.0 to 1800.0°C 0 to 3300°F 0.0 to 1700.0°C 0 to 3100°F 0.0 to 1700.0°C 0 to 3100°F -100.0 to 400.0°C -150.0 to 750.0°F 0.0 to 400.0°C 0.0 to 750.0°F 0.0 to 800.0°C 0.0 to 1500.0°F...
Page 64
7 APPENDIX JPt1 -200.0 to 500.0°C -300.0 to 900.0°F JPt2 -100.00 to 100.00°C -150.0 to 200.0°F JPt3 -100.0 to 300.0°C -150.0 to 600.0°F JPt4 -60.00 to 40.00°C -80.00 to 100.00°F JPt5 -50.00 to 50.00°C -60.00 to 120.00°F JPt6 -40.00 to 60.00°C -40.00 to 140.00°F JPt7 -20.00 to 80.00°C...
Need help?
Do you have a question about the SR23 Series and is the answer not in the manual?
Questions and answers