This instruction manual describes the communication interface (RS-232C/RS-485) which is an optional function of the SR90 series (SR91, SR92, SR93 and SR94). For details of SR90 product’s overview, performance, parameters, how to install, wiring, operation, and so on, please refer to the separate document "SR90 Series (SR91, SR92, SR93, SR94) Digital Controller Instruction Manual".
4-9. Setting of memory mode ..........8 (4) Read/Write of <Reserved> data ........20 (5) Option-related parameters ..........20 5. Outline of Shimaden protocol......9 (6) Parameters not displayed on the front panel ..... 20 7-2. Communication data address ........21 5-1. Communication procedure .........9 8.
CAUTION: This heading indicates hazardous conditions that could cause damage to equipment and/or facilities unless extreme caution is exercised. WARNING The SR90 Series Digital Controller is designed for controlling temperature, humidity and other physical quantities in general industrial facilities. It must not be used in any way that may adversely affect the safety, health or working conditions of those who come into contact with the effects of its use.
2. Outline 2-1. Communication interface There are two types of communication systems, RS-232C and RS-485, employable in the SR90 series communication interface (however, only RS-485 applies to SR91). Each of them is capable of setting various data for the SR90 and reading through a personal computer or the like, using signals that comply with EIA standards.
MODBUS protocol This is a communication protocol developed for PLCs by Modicon Inc. (AEG Schneider Automation International S.A.S.) Though the specifications of this protocol are open, only the communication protocol is defined in this protocol, and physical layers, such as the communication medium, are not stipulated. The table below shows the specifications of this protocol.
3. Connecting controller with host computer The SR90 series controller is only provided with 3 lines for input and output, i.e., for data transmission, data reception and grounding for signals, and not with any other signal lines. In these instructions, the drawings give an example of control signal processing methods. Please refer to the documents that came with your host computer for further details.
4. Setting of parameters There are the following 9 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 "6. Explanation of Screen Group and Setting" of the separate instruction manual for the controller and follow the described steps.
EEP, Ram, r_E Since the volatile memory EEPROM used in SR90 series has its limits in number of writing cycles, 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.
5. Outline of Shimaden protocol SR90 series support the Shimaden standard serial communication protocol. This enables you to acquire and/or change data from instruments, which employ the Shimaden protocol, by using the same format. 5-1. Communication procedure (1) Master/slave relation •...
Device address 0 (30H, 30H) cannot be used as the device address as it is used when the broadcast command is issued. As SR90 series controller doesn’t support broad cast command, address 0 has no response. c: Subaddress [(4): 1 digit] •...
Example 1: Read command (R) at BCC i Add setting (10) (12) (13) (14) (15) 02H+30H+31H +31H +52H +30H +31H+30H +30H+30H +03H =1DAH Lower 1 byte of add result (1DAH) = DAH (13): "D" = 44H, (14): "A" = 41H Example 2: Read command (R) at BCC i Add_two's cmp setting (10) (12)
Page 12
e: Start data address [(6), (7), (8), (9): 4 digits] • Specifies the read start data address of the Read command (R) or the write start data address of the Write (W) command. • The start data address is specified by binary 16-bit (1 word / 0 to 65535) data. •...
5-3. Details of Read command (R) The Read command (R) is used to read (load) various SR90 data from a master personal computer or PLC. (1) Format of Read command (R) • The following shows the format of the text section of the Read command (R). Basic format section I and basic format section II are common to all commands and command responses.
• In actual terms, the following data is returned in order as the response data to the Read command (R). Data address Data 16 bits (1 word) 16 bits (1 word) Decimal Read start 0400 001E data address (0400H) 0401 0078 0402 001E...
(1) Format of Write command (W) The following shows the format of the text section of the Write command (W). Basic format section I and basic format section II are common to all commands and command responses. Text section (10) (11) Write data •...
(3) 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. Text section •...
6-3. Slave address The slave address is settable within the range 1 to 247 (SR90 series supports to 255). The master device can specify the slave address in a request message to recognize each of the subordinate devices. The subordinate device notifies the master which slave is responding by setting and returning its own slave address to the response message.
6-5. Data The data structure differs depending on the function code. With request messages from the master device, the data consist of data item, number of data and setting data. With response messages from a subordinate device, the data consist of number of bytes or data in response to the request, and in the case of a negative response, an error code.
Writing SV value (SV = 10.0°C) to subordinate device No.1 • Request message from master device Slave Function Data Error check Header Data Delimiter address code address (01H) (06H) (0300H) (0064H) (92H) (CR•LF) Number of characters (17) • Response message from subordinate device in normal operation (SV = 10.0°C) Slave Function Data...
7. Communication data address 7-1. Details of communication data addresses Note: Error response codes here follow Shimaden protocol. (1) Data address and read/write • In a data address, binary numbers (16-bit data) are expressed by hexadecimal numbers, with 4 bits as a unit.
7-2. Communication data address Data Setting range address Parameter (hex) 0040 Series code Series code 0041 Series code 0042 0043 Series code • The address areas listed above become product ID data areas and data are ASCII data, 8 bits as a unit. Therefore, one address represents two data.
Page 22
Data address Setting range Parameter (hex) 0500 EV1_MD (option) Event 1 mode See "8-2 Event type list." EV1_SP (option) 0501 Event 1 set value See "8-2 Event type list." A change through communication is also possible when is set for the event mode but any change of event mode is followed by initialization. (Writable range = –1999 ~ 9999) EV1_DF (option)
8-2. Table of event types Alarm code Event type Initial valu e Setting range Number None Higher limit deviation 2000 Unit –1999 2000 Unit Lower limit deviation –1999 Unit –1999 2000 Unit Outside higher/lower limit deviations 2000 Unit 2000 Unit Within higher/lower limit deviations 2000 Unit 2000 Unit...
Need help?
Do you have a question about the SR90 Series and is the answer not in the manual?
Questions and answers