96080E RS-232C Communication Unit DL-RS1A User's Manual (IG Edition) Read this manual before using the system in order to achieve maximum performance. Keep this manual in a safe place for future reference.
Introduction This manual provides an overview of the RS-232C communication unit DL-RS1A and describes the functions and procedures of the unit. Be sure to read this manual carefully to ensure safe performance and function of the unit. Keep this manual in a safe place for future reference. Ensure that this manual is passed to the end user. Safety Precautions General Cautions • At startup and during operation, be sure to monitor the functions and performance of the DL-RS1A for proper operations.
Contents T5 (Response send time from DL-RS1A) .................................................................................. 19 T6 (Sensor amplifier settings change time)............................................................................... 19 Safety Precautions General Cautions Handling Errors Operating Precautions Specifications Performance Specifications ........................................................................................... 20 Communication Specifications..............
Before Using the Unit Before Using the Unit (1) Communication setup switches You can use different ON/OFF combinations to configure the communication settings. Checking the Package Contents Setting Switch No. Combination Before using the DL-RS1A, check that the following items are all included. 1 2400bit/s 4800bit/s ON 2 Baud rate ON 1 2 3 9600bit/s* ON 1 2 3 19200bit/s 38400bit/s ON ON 1 2 3 1 2 3 1 2 3 * Factory default positions are shown.
Connecting the Unit to Sensor Amplifiers Before Using the Unit This section describes how to mount a DL-RS1A and connect it to sensor amplifiers. (5) Alarm indicator This indicator lights up in red. For information on the actions you should take when an alarm occurs, refer to "Troubleshooting" (page 21). After turning on the power, the alarm indicator lights for the following amount of time, and communication cannot be performed during this time. No.
Connecting the Unit to Sensor Amplifiers Connecting the Unit to Sensor Amplifiers Connecting the DL-RS1A to DIN rail mount sensor amplifiers Connecting the Unit to Sensor Amplifiers 1 Remove the expansion protective cover from the sensor amplifier that you want to connect to the DL-RS1A. Sensor amplifier You use DL-RS1A by connecting it to sensor amplifiers. The connection method varies according to the mounting type of the sensor amplifiers.
Connecting the Unit to External Devices Connecting the Unit to Sensor Amplifiers ■ Connecting the unit to panel mount sensor amplifiers 1 Connect DL-RS1A to the sensor amplifiers using the optional expansion cable (OP-35361). Communication Terminal Block You can connect external devices such as a PC or PLC to the communication terminal block of DL-RS1A via the communication cables.
Connecting the Unit to External Devices Connecting the Unit to External Devices ■ Connection wiring Sample wiring Refer to the connection wiring diagram shown below when connecting DL-RS1A to an external device such as a PC.
Communication Specifications Commands and Responses This section provides the communication specifications of DL-RS1A and describes how to configure the unit. Overview of Commands and Responses Communication Specifications ID No. 00 01 02 04 05 Main Exp. Exp. Exp. Exp. Command or DRQ input The following table lists the communication specifications for DL-RS1A.
Commands and Responses Commands and Responses ■ Response ■ Error response When DL-RS1A successfully receives a command from the external device, it automatically returns a response based on ASCII codes. For information on the parameters used in the response, refer to "Parameters of Commands and Responses" (page 10). If DL-RS1A could not receive a command from the external device or if the received command included an error, it automatically returns an "error response" based on ASCII codes.
Commands and Responses Commands and Responses Read output states and data from all sensor amplifiers (MS command) Reading Command External devices such as PLC's use the following communication commands to read data from DL-RS1A. Read from the specified sensor amplifier (SR command) Command S R M ID No. , , Data No. R R S , Control S Data of the sensor amplifier with ID:00 , output , Sensor amplifier with ID:00 , Data No.
Parameters of Commands and Responses Commands and Responses This section describes the parameters used with various commands and responses. Writing ■ Communication commands External devices such as PLC's use the following communication commands to write data to DL-RS1A. Point Attempting to write data with "read-only" attribute results in a communication error and an error response (error number: 22). There are two types of communication commands: read commands and write commands.
Parameters of Commands and Responses Parameters of Commands and Responses ■ Data numbers Data No. Data format *1 Data name Specify the data number using three digits (ASCII characters). No. of bytes Attribute *2 Data range 0: Writing ● Read-only data 054 EEPROM writing result*11 * 1 R * 1 R 1: Normal termination 2: Writing failure The following table lists the types of data that can be read from the IG Series sensor amplifiers.
Parameters of Commands and Responses *3 Parameters of Commands and Responses You can read data number "033" to check the error status of the sensor amplifiers. Convert the five digit number (ASCII characters) read from the sensor amplifiers to a binary number and check the ON/OFF state of each bit to check the error. Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 Read data *6 *7 *8 *9 *10 *11 *12 • When the data read from a sensor amplifier is "00033": "33" converted to binary number is "0000 0000 0010 0001".
Parameters of Commands and Responses Parameters of Commands and Responses ● Read/write data Data The following table lists the types of data that can be read from and written to IG Series sensor amplifiers. No. Data format*1 Data name No. of bytes Attribute*2 068 Sensitivity setting (BANK 0) * 1 R/W 069 User Binarize level (Bank 0) ** 2 R/W 10 to 90 Point • Reading or writing data that cannot be set on the expansion unit results in a communication error (error number: 22).
Parameters of Commands and Responses Data No. Data format*1 * No. of bytes 1 Attribute*2 R/W Data range 0: R.V. value screen 1: Analog output screen 2: HIGH setting value screen 3: LOW setting value screen 4: Shift target value setting screen 5: Calculated value display screen Default value 115 Sub display's screen 116 Tolerance tuning Tolerance setting width*9 **.*** 6 R/W 00.000 to 99.999 117 Calibration function SET1 ±**.*** 7 R/W -99.999 to +99.999 +00.
Parameters of Commands and Responses Parameters of Commands and Responses *4 The system parameter means the polarity of judgment output and edge check output, and the setting for analog output. *5 Only when data 0 is written and the external output is OFF for wiring, it operates as OFF *6 If the sensor amplifier is in the key locked state, writing is not possible. Writing results in a communication error (error number: 22).
Parameters of Commands and Responses Parameters of Commands and Responses ■ Control outputs (Judgment outputs) ■ Error numbers This parameter is used with communication command "MS" and DRQ input. For the IG Series, specify the ON/OFF state of the judgment output (HIGH/LOW/GO judgment output) and edge check output using two digits (ASCII character).
Communication Response Time This section describes the communication response time for each communication command and various time frames. Communication Response Time and Time Chart This section describes the concept of communication response time and the time chart for the communication commands. Communication Response Time ■ DRQ input The data read in response to a DRQ input is the buffered data that DL-RS1A periodically retrieves from the sensor amplifiers.
Communication Response Time Communication Response Time Time Frames of Communication Response Time Point • For the IG Series, when the data to which the setting written onto the sensor amplifier using SW command and AW command is reflected is read using the reading command (M0, MS) or DRQ input, perform this operation after additional time T elapses after the response from the DL-RS1A is finished. Time T varies depending on the data number.
Communication Response Time Communication Response Time Communication command Number of connected sensor amplifiers Command processing time (T4) IG Series AW 1 2 3 4 56.5 ms 59 ms 60 ms 62 ms ■ T5 (Response send time from DL-RS1A) The time required to send a response varies depending on the communication speed, data bit length, and number of bytes. For information on the communication settings, refer to page 2.
Specifications Specifications Performance Specifications Dimensions The following table shows the performance specifications for DL-RS1A. Item Current consumption Number of connectable sensor amplifiers Ambient temperature Relative humidity Vibration Environmental Material Weight Accessories 22.5 Varies depending on the model* 2 communication status indicators (green), alarm indicator (red), power indicator (green) Indicators 43.8 37.
Problem Cause ASCII Code Table Action Power is not Make sure that the voltage of the power supplied to the supplied. sensor amplifier main unit is 20 to 30 VDC. DL-RS1A is not The power indicator (POWER) properly inserted to Reconnect the unit following the instructions in "Connecting does not light up. the expansion the Unit to Sensor Amplifiers" (page 3). connector of the sensor amplifier.
WARRANTY Revision History Date of printing Version February 2010 First edition August 2010 Second edition KEYENCE products are strictly factory-inspected. However, in the event of a failure, contact your nearest KEYENCE office with details of the failure. Revision contents Released for each model. 1. WARRANTY PERIOD The warranty period shall be for one year from the date that the product has been delivered to the location specified by the purchaser. 2.
Copyright (c) 2010 KEYENCE CORPORATION. All rights reserved.