Shimaden SR90 series Instruction Manual

Shimaden SR90 series Instruction Manual

Communication interface manual
Hide thumbs Also See for SR90 series:

Advertisement

COMMUNICATION INTERFACE
Thank you for purchasing the Shimaden SR90 series controller.
Please check that the delivered product is the correct item you ordered. Please do not begin operating
this product until you have read this instruction manual thoroughly and you understand its contents.
This instruction manual describes the communication interface which is an optional
function of the SR90 digital controller. For details of SR90's performance and
parameters, please refer to the separate instruction manual.
SR90 Series
Digital Controller
(RS-232C/RS-485)
INSTRUCTION MANUAL
CONTENTS
1. Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
3. Connecting controller with host computer . . . . . . . . . . . . . 2 ~ 3
3-1 RS-232C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
3-2 RS-485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3-3 3-state output control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
4-1 Setting of communication mode. . . . . . . . . . . . . . . . . . . . . 3
4-2 Setting of communication address . . . . . . . . . . . . . . . . . . . 4
4-3 Setting of communication data format . . . . . . . . . . . . . . . . 4
4-4 Setting of start character . . . . . . . . . . . . . . . . . . . . . . . . . . 4
4-6 Communication rate setting screen. . . . . . . . . . . . . . . . . . . 4
4-7 Setting of delay time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
5-1 Communication procedure . . . . . . . . . . . . . . . . . . . . . . . . . 5
5-2 Communication format . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5-3 Details of read commands (R) . . . . . . . . . . . . . . . . . . . . . . 8
5-4 Details of write commands (W) . . . . . . . . . . . . . . . . . . . . . 9
5-5 Details of response codes . . . . . . . . . . . . . . . . . . . . . . . . . 10
6. Communication data address list . . . . . . . . . . . . . . . . . . . 12 ~ 15
7. Supplementary explanation . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
7-1 Table of measuring range codes . . . . . . . . . . . . . . . . . . . . 15
7-2 Table of event types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
8. ASCII code list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
- 1 -
SR90C-1AE
Dec. 2001

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Shimaden SR90 series

  • Page 1: Table Of Contents

    (RS-232C/RS-485) INSTRUCTION MANUAL Thank you for purchasing the Shimaden SR90 series controller. Please check that the delivered product is the correct item you ordered. Please do not begin operating this product until you have read this instruction manual thoroughly and you understand its contents.
  • Page 2: Outline

    3. Connecting controller with host computer The SR90 series controller is provided with only 3 lines for input and output, i.e., for data transmission, data reception and grounding for signals, not with any other signal lines. Since the controller has no control line, control signals should be taken care of on the host side.
  • Page 3: 3-State Output Control

    4. Setting of parameters related to communication There are the following 8 communication-related parameters for the SR90 series controller. These parameters are unable to be set or changed by communication; use front key for setting and changing. When parameters are set, see 5. Explanation of Screen and Setting of the separate instruction manual for the controller and follow the described steps.
  • Page 4: Setting Of Communication Address

    4-2. Setting of communication address 1-35 Initial value: 1 Setting range: 1 ~ 255 While one SR90 controller is connected to one host computer in the case of 232C, RS-485 employs the multidrop system allowing it to be connected to a maximum of 32. Actually, however, communication has to be carried out bilaterally.
  • Page 5: Communication Memory Mode Selecting Screen

    Selectable range: EEP, Ram, r_E Since the number of writing cycles of volatile memory EEPROM used in SR90 series is fixed, the life of EEPROM is shortened if SV data or the like are rewritten frequently by communication. To prevent this, in case data are to be rewritten frequently by communication, set the RAM mode in which only RAM data are rewritten without rewriting EEPROM, thereby maintaining the life of EEPROM as long as possible.
  • Page 6 • Since the machine address=0 (30H, 30H) is used for broadcast instruction, it cannot be used as a machine address. As the SR90 series controller does not support broadcast instruction, address=0 has no response. c : Sub-address [ : 1 digit] •...
  • Page 7 Example 2: In the case of a read command (R) with Add + 2's complement set for BCC +30H +31H +31H +52H +30H +31H +30H +30H +30H +03H = 1DAH Low position 1 byte of result of addition (1DAH)=DAH Two's complement of low position 1 byte (DAH)=26H : "2"=32H, : "6"=36H Example 3: In the case of a read command (R) with XOR set for BCC...
  • Page 8: Details Of Read Commands (R)

    • Data is always preceded by comma ("," 2CH) to show the subsequent portion is data. • No punctuation code is used between data and data. • The number of data is determined by the number of data (f: ) of the communication command format. •...
  • Page 9: Details Of Write Commands (W)

    Data address Data 16 bits (1 word) 16 bits (1 word) Hexadecimal decimal Hexadecimal Read head 0400 001E data address (0400H) 0401 0078 The number of data 0402 001E to be read (4H: 5) 0403 0000 0404 0003 • To the above read command (R), the following data are returned one by one as response data: Thus, the above data can be read.
  • Page 10: Details Of Response Codes

    Front data address of data to be written = 0400H (hexadecimal) = 0000 0100 0000 0000 (binary) The number of data to be written = 0H (hexadecimal) = 0000 (binary) (decimal) (The actual number of data) = one (0+1) Data to be written = 0028H (hexadecimal) = 0000 0000 0010 1000 (binary)
  • Page 11: Details Of Communication Data Addresses

    A List of Response Codes Response code Type of code Description Binary numbers ASCII 0000 0000 "0", "0" : 30H, 30H Normal response Normal response to read command (R) or write command (W) Hardware error When a hardware error such as framing overrun or 0000 0001 "0", "1"...
  • Page 12: Communication Data Address List

    Example) How to express 16 bit data Data with code Data without code Decimal Hexadecimal Decimal Hexadecimal 0000 0000 0001 0001 32767 7FFF 32767 7FFF -32768 8000 32768 8000 -32767 8001 32769 8001 FFFE 65534 FFFE FFFF 65535 FFFF (4) <Reserved> in parameter portions •...
  • Page 13 Data address Setting range Parameter (hex) PV_W 0100 Measured value 0101 SV_W SV value in execution OUT1_W 0102 Control output 1 value OUT2_W 0103 Control output 2 value (without option = 0000H) 0104 EXE_FLG Action flag (bit without action = 0) EV_FLG 0105 Event output flag (without option = 0000H)
  • Page 14 Data address Setting range Parameter (hex) EV1_MD (option) 0500 Event 1 mode See "7-2 Event type list." EV1_SP (option) 0501 Event 1 set value See "7-2 Event type list." A change to communication is also possible when is set for the event mode but any change of event mode is followed by initialization.
  • Page 15: Supplementary Explanation

    Data Setting range address Parameter (hex) UNIT Unit of input data 0704 0: "˚C" 1: "˚F" 0705 RANGE Refer to 7-1. Table of measuring range codes Reserved 0706 0707 0: None 1: 0.1 2: 0.01 3: 0.001 Unchangeable except linear input 0708 SC_L –1999 ~ 9989 UNIT...
  • Page 16: Ascii Code List

    The contents of this instruction manual are subject to change without notice for improvement. Temperature and Humidity Control Specialists Head Office: 2-30-10 Kitamachi, Nerima-Ku, Tokyo 179-0081 Japan Phone: +81-3-3931-7891 Fax: +81-3-3931-3089 E-MAIL: exp-dept@shimaden.co.jp URL: http://www.shimaden.co.jp PRINTED IN JAPAN - 16 -...

Table of Contents