KEYENCE DL-RS1AFD-MH User Manual

RS-232C Communication Unit
DL-RS1A
User's Manual (FD-MH 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.

Symbols

The following symbols alert you to important messages. Be sure to read these messages carefully.
It indicates cautions and limitations that must be followed during operation.
It indicates additional information on proper operation.
It indicates tips for better understanding or useful information.
It indicates a hazardous situation which, if not avoided, will result in death or serious injury.
It indicates a hazardous situation which, if not avoided, could result in death or serious injury.
It indicates a hazardous situation which, if not avoided, could result in minor or moderate injury.
It indicates a situation which, if not avoided, could result in product damage as well as property damage.
DANGER
WARNING
CAUTION
NOTICE
Important
Point
Reference

Safety Precautions

General Cautions

At startup and during operation, be sure to monitor the functions and performance of the DL-RS1A for proper op erations.
We recommend that you take substantial safety measures to avoid any damage in the event that a problem occurs.
Do not modify the DL-RS1A or use it in any way other than described in the specifications.
When the DL-RS1A is used in combination with other instrum ents, functions and performance may be degraded,
depending on the operating conditions and surrounding environment.
Do not use the DL-RS1A for the purpose of protecting the human body.
Do not change the temperature drastically around the DL-RS1A and other devices including the accessories. Otherwise
condensation may be generated.

Handling Errors

Operating Precautions

Installation environment
To use the DL-RS1A correctly and safely, avoid installing it in the following locations. Failure to do so to may cause fire, electric shock, and malfunction.
Locations that are humid, dusty, or poorly ventilated
Locations with a high temperature, such as a place exposed to direct sunlight
Locations where there are flammable or corrosive gases
Location where the unit may be directly subjected to vibration or impact
Locations where water, oil, or chemicals may splash onto the DL-RS1A
Locations where static electricity is easily generated
Noise countermeasures
Isolate the unit from devices that generate high frequency electrical signals, power supply lines, or power lines. Otherwise, noise could cause a malfunction.
Turn off the power immediately in the following cases. Using the unit in abnormal conditions could cause fire, electric shock, or accident. Contact the nearest KEYENCE office for repair.
If fluids including water, chemicals, or debris enter the unit
If the unit is dropped or the case is damaged
If abnormal smoke or odor is present
NOTICE
Do not use the DL-RS1A with a voltage other than specified voltage, as this may cause fire, electric shock or equipment failure.
Do not disassemble or modify the DL-RS1A. Doing so may cause fire or electric shock.
Be sure to turn off the power to the DL-RS1A and any connected devices before connecting or disconnecting the cables. Failure to do so may damage the unit.
Do not turn off the power while setting a parameter. Otherwise, the settings may be partially or completely lost.
WARNING
NOTICE

Contents

Safety Precautions
General Cautions Handling Errors Operating Precautions
Installation environment Noise countermeasures
Before Using the Unit
Checking the Package Contents ............................................................................ .........2
Part Names and Functions....... ........................................................................................ 2
Connecting the Unit to Sensor Amplifiers
Mounting the Unit ............................................................................................................. 3
Mounting the unit on the DIN rail.................................................................................................3
Connecting the Unit to Sensor Amplifiers ........................................................................ 4
Available sensor amplifiers .........................................................................................................4
Connecting the DL-RS1A to DIN rail mount sensor amplifiers.................................................... 4
Connecting the Unit to External Devices
Communication Terminal Block ....................................................................................... 5
Terminal connection.................................................................................................................... 5
Connection wiring........................................................................................................................5
Optional cable............................................................................................................................. 5
Input circuit diagram ...................................................................................................................6
Communication Specifications
Communication Specifications.................................. .......................................................6
Sensor Amplifier ID Number Assignments.................................... ...................................6
DIN rail mount sensor amplifiers................................................................................................. 6
Commands and Responses
Overview of Commands and Responses...................................... ...................................7
Command format.........................................................................................................................7
Response ....................................................................................................................................7
Error response.............................................................................................................................8
Reading.................................... ........................................................................................ 8
Read from the specified sensor amplifier (SR command).......................................................... 8
Read all data from all sensor amplifiers (M0 command) ............................................................8
Read output states and data from all sensor amplifiers (MS command).................................... 9
Read with external input to the DRQ terminal (DRQ read)..........................................................9
Writing .............................................................................................................................. 9
Write to the specified sensor amplifier (SW command).............................................................. 9
Write to all sensor amplifiers (AW command)............................................................................. 9
Parameters of Commands and Responses
Electromagnetic Digital Flow Sensor FD-MH Series ...................................................... 10
Communication commands ......................................................................................................10
ID numbers................................................................................................................................10
Data numbers............................................................................................................................10
Control outputs.......................................................................................................................... 12
Error numbers............................................................................................................................13
Communication Response Time
Communication Response Time and Time Chart ................................................... .......13
SR command.............................................................................................................................13
M0 command and MS command.............................................................................................. 13
DRQ input..................................................................................................................................14
SW command and AW command............................................................................................. 14
Time Frames of Communication Response Time ................................................... .......14
T2 (DL-RS1A data processing time) .........................................................................................14
T3 (Command send time from external device)........................................................................14
T4 (DL-RS1A command processing time) ................................................................................15
T5 (Response send time from DL-RS1A) ..................................................................................15
T6 (Sensor amplifier settings change time)...............................................................................15
Specifications
Performance Specifications ........................................................................................... 16
Communication Specifications.................................. .....................................................16
Dimensions................................................................ ..................................................... 16
When the unit is mounted on the DIN rail..................................................................................16
When the optional fixture (OP-60412) is used...........................................................................16
Troubleshooting
ASCII Code Table
96143E
1

Before Using the Unit

Checking the Package Contents

Before using the DL-RS1A, check that the following items are all included.
All possible care was taken in packaging before shipment. However, in the event of defective broken, or missing items, please contact your nearest KEYENCE office.

Part Names and Functions

End unit x 2
OP-26751
RS-232C communication unit
DL-RS1A
Expansion connector cover
Switch protection sticker
Instruction manual
102#345
6
G
D
3.
Sensor amplifier connecto
r
(for panel mount type/ large display type)*
10
2N345
6
* A sticker is attached as factory default.
4. Communication status indicators (green)
5. Alarm indicator (red)
6. Read/write setting switch
7. Power indicator (green)
8. Communication terminal block
1.
Communication setup switch
2.
Sensor amplifier connector
(for DIN rail mount type)
Before Using the Unit
(1) Communication setup switches
You can use different ON/OFF combinations to configure the communication settings.
• Make sure you cycle the power to the unit after modifying the communication settings. The modifications are not applied to the unit until it is powered down and power has been reapplied.
• Place the switch protection sticker supplied with the unit over the switches after you modify the settings.
(2) Sensor amplifier connector (for DIN-rail mount type)
Use this connector to connect DL-RS1A to a DIN-rail mount type sensor amplifier.
(3) Sensor amplifier connector (for panel mount type)
Use this connector to connect DL-RS1A to a panel mount type sensor amplifier. The optional extension cable (OP-35361) must be used for connection.
You cannot connect DL-RS1A simultaneously to a DIN-rail mount type sensor amplifier and a panel mount type sensor amplifier.
(4) Communication status indicators
These indicators show the communication status of DL-RS1A.
Setting Switch No. Combination
Baud rate
1
* Factory default positions are shown.
Do not use combinations other than those shown above for switches 1, 2, and 3.
2
3
Data bit length
4
* Factory default positions are shown.
Parity
5
* Factory default positions are shown.
6
ON ON
ON
ON
ON
123 123 123 123 123
2400bit/s 4800bit/s
9600bit/s*19200bit/s 38400bit/s
Important
ON4ON
4
8 bit* 7 bit
ON56ON56ON56ON
56
None* Even Odd None
Important
Switch protection sticker
Point
Indicator Behavior
SD Lights up in green while data is being transmitted. RD Lights up in green while data is being received.
2
Before Using the Unit
(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 17). After turning on the power, the alarm indicator lights for the following amount of time, and communication cannot be performed during this time.
(6) Read/write setting switch
Use this switch to allow or prohibit writing to the sensor amplifiers. (You can only manipulate this switch while the unit is active (turned on).)
(7) Power indicator
Lights up in green when the unit has power.
(8) Communication terminal block
Use the terminals on the terminal block to attach communication cables for connecting the unit with external devices.
* Recommended communication cable
KPEV-SP(1P) wire with balanced type twisted shield (strand wire) Nominal cross-section area 0.16mm
2
(AWG25) min.
A terminal cover is attached to the terminal block. The terminal cover must be placed over the terminal block when you finish connecting the cables.
The terminals for SG (Nos. 1, 4, and 5) are used in common with the blue wire of the sensor am plifier main unit.
No. of connected units Incommunicable time
1 to 5 Approx. 2 s
6 to 10 Approx. 4 s
11 to 15 Approx. 6 s
Position of the switch Description
R
(Factory default position)
The unit can read data from the sensor amplifiers. However, it cannot write settings to the sensor amplifiers.
RW
The unit can both read data from and write settings to the sensor amplifiers.
SG
RD
SD
SG
SG
DRQ
Communication cable
To external device
KPEV-SP(1P) wire with balanced type twisted shield (strand wire)
Terminal No.
Term inal Description
1SG
Connects to the shielded wire of the communication cable.
The terminals for SG (Nos. 1, 4, and 5) are internally shor t-circuited. 2 RD (input) Connects to the SD terminal of an external device via a co mmunication cable. 3 SD (output) Connects to the RD terminal of an external device via a communication cable. 4 SG The terminals for SG (Nos. 1, 4, and 5) are internally short-circuited. 5 SG The terminals for SG (Nos. 1, 4, and 5) are internally short-circuited.
6 DRQ (input)
When there is a short-circuit between DRQ and SG, the sensor amplifier data is
transmitted even without a command from the external device.
Point
Reference

Connecting the Unit to Sensor Amplifiers

This section describes how to mount a DL-RS1A and connect it to sensor amplifiers.

Mounting the Unit

Mounting the unit on the DIN rail
1 Fit the tab of the lower part of the unit to the
DIN rail. While inserting the unit in the
direction of arrow (1), push the body down in
the direction of arrow (2).
2 To detach the unit, lift the unit in the direction
of arrow (3) while pushing it in the direction
of arrow (1).
When using the mounting bracket (OP-60412), install it as shown in the illustration below.
(1)
(3)
(2)
Mounting bracketOP-60412
3

Connecting the Unit to Sensor Amplifiers

Connecting the Unit to Sensor Amplifiers
You use DL-RS1A by connecting it to sensor amplifiers. The connection method varies according to the mounting type of the sensor amplifiers. Before connecting DL-RS1A, you must install the main unit and expansion units of the sensor amplifiers. For information on installing the sensor amplifiers, refer to the user's manual supplied with the sensor amplifiers.
Available sensor amplifiers
*1 You cannot connect DL-RS1A to panel mount sensor amplifiers.
Make sure that the sensor amplifiers are turned off before connecting the RS­232C communication unit DL-RS1A to them. Connecting the unit while the sensor amplifiers are turned on may damage the unit.
Name Type of amplifier Main unit
Expansion unit
Max. connectable number
Electromagnetic digital
flow sensor
FD-MH Series
*1
DIN rail mount
FD-MA1(A)
FD-MA1(A)P
FD-MA2(A)
FD-MA2(A)P
11 units (Main: 1, Expansion: 9, DL-RS1A: 1)
NOTICE
Connecting the Unit to Sensor Amplifiers
Connecting the DL-RS1A to DIN rail mount sensor amplifiers
1 Remove the expansion protective cover from the sensor amplifier that you want to connect to
the DL-RS1A.
2 Mount the DL-RS1A on the DIN rail and connect it to the sensor amplifier.
Make sure there is no space between the unit and the sensor amplifier.
3 Mount the end units (OP-26751, two units included) on either side of the sensor amplifier and
DL-RS1A unit and tighten the two screws on the top of each end unit.
(You can mount the end units in the same way you mount DL-RS1A.)
Sensor amplifier
Expansion protective cove
r
Sensor amplifier
DL-RS1
A
Connector
Check that the sensor amplifier connector (for DIN rail mounting) located on the side of DL-RS1A is not installed at an angle as shown in the illustration to the right. Connecting the unit with its connector installed at an angle to a sensor amplifier may damage the unit.
NOTICE
Sensor amplifier connector
RS-232C communication unit DL-RS1
A
End unit
End unit
Make sure you firmly insert DL-RS1A all the way into the sensor amplifier. Turning the power on when the unit is not inserted straight or firmly connected may damage the unit.
NOTICE
4

Connecting the Unit to External Devices

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.
Terminal connection
* Recommended communication cable
KPEV-SP(1P) wire with balanced type twisted shield (strand wire) Nominal cross-section area 0.16mm
2
(AWG25) min.
A terminal cover is attached to the terminal block. The terminal cover must be placed over the terminal block when you finish connecting the cables.
The terminals for SG (Nos. 1, 4, and 5) are used in common with the blue wire of the sensor am plifier
main unit.
Crimp-type terminal
Use the Y or round terminal for wiring to the I/O terminal. Use the Y or round terminal with the following dimensions.
Y terminal
Round terminal
SG
RD
SD
SG
SG
DRQ
Communication cable
To external device
KPEV-SP(1P) wire with balanced type twisted shield (strand wire)
Terminal No.
Term inal Description
1SG
Connects to the shielded wire of the communication cable.
The terminals for SG (Nos. 1, 4, and 5) are internally shor t-circuited. 2 RD (input) Connects to the SD terminal of an external device via a co mmunication cable. 3 SD (output) Connects to the RD terminal of an external device via a communication cable. 4 SG The terminals for SG (Nos. 1, 4, and 5) are internally short-circuited. 5 SG The terminals for SG (Nos. 1, 4, and 5) are internally short-circuited.
6 DRQ (input)
When there is a short-circuit between DRQ and SG, the sensor amplifier data is
transmitted even without a command from the external device.
Point
Reference
Excerpted from dimensions of the Y terminal areas B: Outer size of Y area d: Width of inner Y area
(joint area with screw)
Applicable dimension B: 6mm max. d: 3.2mm min.
Excerpted from dimensions of the round terminal areas B: Outer diameter d: Inner diameter
(joint area with screw)
Applicable dimension B: 6mm max. d: 3.2mm min.
B
B
φd
d
Connecting the Unit to External Devices
Connection wiring
Refer to the connection wiring diagram shown below when connecting DL-RS1A to an external device such as a PC.
• The length of the communication cable must not exceed 15 m.
Connect the shield wire of the communication cable to the SG terminal of the external device.
• Make sure that the shield wire does not touch other signal wires or the other terminals on the terminal block.
Optional cable
An optional cable shown below is used to connect to an external device such as a PC that has a D-sub 9-pin I/O connector.
Part number: OP-81283
Pin layout for D-sub 9-pin connector
*1 Pin numbers 4 and 6 are connected inside the connector. *2 Pin numbers 7 and 8 are connected inside the connector. *3 Two cables (black and black/white) are connected to the pin number 5.
SD
RD
DR
ER
RS
CS
SG
2
1
3
4
5
6
RD
SG
SD
SG
SG
DRQ
DL-RS1A
External device
(D-sub 9-pin)
Shield
Point
Pin No. Cable color
1-
2 Red/white
3Red
4
*1
-
5 Black, black/white
*3
6*1-
7
*2
-
8
*2
-
9-
33.2 25
16
5000
39.5 1
50
φ7.1
Front
5
96
1
5
Connecting the Unit to External Devices
Sample wiring
*1 Insulate either the black or black/white cable that is not used. *2 Connect the shield wire to the SG terminal of DL-RS1A. (Shield wire is connected to the
connector casing.)
The green and green/white-striped wires are not connected to any of the connector pins.
Input circuit diagram
* The terminals for SG (Nos. 1, 4, and 5) are connected internally with the blue wire of the sensor
amplifier main unit.
2
3
4
5
6
7
RD
Red/White
Red
SD
DR
SG
ER
RS
8CS
2
1
3
4
5
6
RD
SG
SD
SG
SG
DRQ
Black, Black/White
*
1
DL-RS1A
(Communication terminal block)
External device
(D-sub 9-pin)
Shield
*2
Reference
Main circuit
(Short-circuit current: 1 mA max.)
6 (DRQ)
+5V
1,4,5 (SG)
*

Communication Specifications

This section provides the communication specifications of DL-RS1A and describes how to configure the unit.

Communication Specifications

The following table lists the communication specifications for DL-RS1A.
For communication settings, refer to pa ge 2.

Sensor Amplifier ID Number Assignments

When the main sensor amplifier that is connected to DL-RS1A supports expansion units, the main sensor amplifier ID number "00" is automatically assigned to the main unit and ID numbers "01 to 09" to the expansion units.
You cannot change the assignment of sensor amplifier ID numbers.
DIN rail mount sensor amplifiers
Item Specifications
Communication method Full duplex Synchronization method Asynchronous Transmission code ASCII Communication speed 2400, 4800, 9600, 19200, 38400 bit/s (Factory default: 9600 bit/s) Data bit length 7 or 8 bits (Factory default: 8 bits) Parity check None, even, odd (Factory default: none) Stop bit length 1 bit
Data delimiter
Receive: automatically detect CR or CR + LF Send: fixed to CR + LF
Point
ID No. 00
Main Exp. Exp. Exp. Exp.
01 02 08 09
Sensor amplifier DL-RS1A
6
Loading...
+ 16 hidden pages