ADVERTISEMENT

DL-RS1A_IM_96M11219_11219_E_1.pdf

Konfiguracja DL-RS1A z S7-1200: Błąd 8180 Invalid value for the port ID

Witam! Posiadam DL-RS1A wraz z czujnikiem odległości serii GT2 firmy KEYENCE. Chciałbym sczytać wartość odległości używając do tego sterownika SIEMENS S7-1200. Problem pojawia się w trakcie konfigurowania bloku odpowiedzialnego za komunikację z modułem DL-RS1A. Próbowałem go konfigurować już na wiele sposobów, jednak mimo tego nadal nie mogę odczytać wartości. Instrukcja do tego czujnika i modułu jest w załączniku. Na dodatek otrzymuję błąd nr 8180 czyli "Invalid value for the port ID". Chciałbym prosić o pomoc w rozwiązaniu tego problemu. http://obrazki.elektroda.pl/3338744300_1339937249.jpg


Download file - link to post

96M11219
NOTICE

RS-232C Communication Unit

DL-RS1A Instruction Manual

• Be sure to turn off the power to the DL-RS1A and any
connected devices before connecting or
disconnecting the cables. Otherwise, there may be a
risk of damaging the unit.
• Do not turn off the power while setting a parameter.
Otherwise, the settings may be partially or completely lost.

 Proper environment and conditions
To use the DL-RS1A properly and safely, do not install the DL-RS1A in
locations with the following conditions. Use of this equipment in an
improper environment may cause equipment failure.
• Locations with high humidity, a large amount of dust, or poor ventilation
• Locations where the temperature rises excessively due to direct sunlight, etc.
• Locations where corrosive or flammable gas exists
• Locations where the DL-RS1A is directly subjected to vibration or impact
• Locations where water, oil or chemicals may splash the DL-RS1A
• Locations where static electricity is easily built up

 Noise countermeasures
Installation near a source of noise such as a power source or power cable may
cause a malfunction or failure in the equipment. Adopt appropriate
countermeasures against noise by using a noise filter or wiring cables in separate
ducts, attaching insulation to the sensor amplifier or the sensor head, etc.

Safety Precautions

Package Contents

 Symbols

The product package should include the following items. Check that all items
are included before use.

The following symbols alert you to matters concerning the prevention of injury
and product damage.
WARNING

It indicates a hazardous situation which, if not avoided, could
result in death or serious injury.

CAUTION

It indicates a hazardous situation which, if not avoided, could
result in minor or moderate injury.

NOTICE

Important

Point

Reference

Expansion connector cover

It indicates a situation which, if not avoided, could result in
product damage as well as property damage.
RS-232C Communication unit
DL-RS1A

It indicates cautions and limitations that must be followed
during operation.

End unit x 2
OP-26751

Switch protection sticker

All possible care was taken in packaging; however, if any parts are found to be
defective or broken, please contact your nearest KEYENCE sales office.

It indicates additional information on proper operation.

Parts Names

It indicates tips for better understanding or useful information.
Read/write setting switch

 General Cautions
• At startup and during operation, be sure to monitor the functions and
performance of the DL-RS1A.
• Provide appropriate safety measure to avoid any damage in the event that
the DL-RS1A malfunctions.
• Do not modify the DL-RS1A or use it in any way other than described in the
specifications. The functions and performance of products used or modified
in this way cannot be assured.
• When the DL-RS1A is used in combination with other instruments, its
functions and performance may be degraded, depending on the operating
conditions and surrounding environment. Use the DL-RS1A after fully
studying the effects of combined use with other instruments.
• Do not use the DL-RS1A for the purpose of protecting the human body.
• Do not expose the DL-RS1A and peripheral devices to sudden temperature
changes. This may cause condensation, damaging the equipment.

Alarm indicator (red)

Communication
terminal block

If the following conditions are encountered, immediately
turn off the power. Continuing to use the DL-RS1A under
abnormal conditions may cause fire, electric shock or
equipment failure.
• When water or foreign matter enters the controller
• When the DL-RS1A is dropped or the housing is
damaged
• When the DL-RS1A produces smoke or an abnormal
smell

G
D

1
2
3
4
5
6

0
#

Sensor amplifier connector
(for panel mounting type / large display type)*

*Sticker is attached.

• 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. This may
cause fire or electric shock.

0
N

WARNING

Power indicator (green)

1
2
3
4
5
6

NOTICE

Communication status
indicator (green)

Communication setting switch

1

Sensor amplifier connector
(for DIN rail mounting type)

3

Mounting and connecting
 Mounting on a DIN rail

1

2

Fit the tab of the lower part of the main
unit to the DIN rail. While inserting the
main unit in the direction of arrow 1,
push the body in the direction of arrow
2.

(3)

Mount the end units (OP-26751: a set of two pieces) on both sides of
the sensor amplifier and the RS-232C Communication Unit DL-RS1A,
then fix the end units with screws on the upper part of each end unit
(2 points x 2 units).
The mounting method of the end unit is the same as that of the RS-232C
Communication Unit DL-RS1A.
End unit

(2)

End unit
(1)

To detach the main unit, while pushing
the main unit in the direction of arrow
1, pull the body in the direction of
arrow 3.
When using a fixture (OP-60412), mount the main unit as shown below.

NOTICE

Be sure to insert the RS-232C Communication Unit DLRS1A to the sensor amplifier at the end. Turning on
the power with diagonal insertion or improper
insertion may damage the equipment.

 Connecting to a panel mounting type sensor amplifier

1

Connect the sensor amplifier to the RS-232C Communication Unit DLRS1A using the optional expansion cable (OP-35361).

Fixture: OP-60412

 How to connect to the sensor amplifier
The RS-232C Communication Unit DL-RS1A is used by connecting it to a
sensor amplifier. The connection method varies according to the mounting
type of the sensor amplifier to connect to.
Detach the protection sticker

NOTICE

When connecting the RS-232C Communication Unit
DL-RS1A, be sure to check the power of sensor
amplifier is OFF before performing the operation.
Performing the operation when the power of sensor
amplifier is ON may damage the equipment.

NOTICE

• Refer to the " RS-232C Communication Unit DLRS1A User's Manual " (page 9) for details about the
connectable sensor amplifiers.
• Refer to the Instruction Manual of each sensor
amplifier for details about how to add the sensor
amplifier.

Expansion cable (cable length: 300mm)

NOTICE

2

Detach the sensor amplifier connector (DIN rail mounting type) of the
RS-232C Communication Unit DL-RS1A with pliers and mount the
attached expansion connector.
Sensor amplifier connector
(for DIN rail mounting type)

 Connecting to a DIN rail mounting type sensor amplifier

1

• Turn OFF the power before connecting the
expansion cable and connect securely. Diagonal or
otherwise improper insertion may damage the
equipment.
• Inserting or pulling the cable when the power is
turned ON may damage the equipment.

Expansion
connector cover

Detach the expansion protective cover of the sensor amplifier to
which the communication unit is to be connected.
Sensor amplifier

 Connecting to a large display type sensor amplifier

Expansion protective cover

1
2

Connect the sensor amplifier to the RS-232C Communication Unit DLRS1A using the optional expansion cable (OP-35361).
Detach the
protection sticker

Mount the RS-232C Communication Unit DL-RS1A on the DIN rail and
connect it to the sensor amplifier.
Push and fix the RS-232C Communication Unit DL-RS1A to make sure
there is no space between the communication unit and the sensor
amplifier.
Sensor amplifier

Detach the
protection
sticker

RS-232C Communication unit
DL-RS1A
Expansion cable (cable length: 300mm)

Connector

NOTICE

Refer to the figure below, and check that the sensor
amplifier connector (for DIN rail mounting type) on the
side of the RS-232C Communication Unit DL-RS1A is
not mounted at an angle. Connecting to the sensor
amplifier with the connector diagonally may damage
the equipment.
NOTICE

2

Sensor amplifier connector

• Turn OFF the power before connecting the
expansion cable and connect securely. Diagonal or
otherwise improper insertion may damage the
equipment.
• Inserting or pulling the cable when the power is
turned ON may damage the equipment.

Detach the sensor amplifier connector (DIN rail mounting type) of the
RS-232C Communication Unit DL-RS1A with pliers and mount the
attached expansion connector.
Sensor amplifier connector
(for DIN rail mounting type)

RS-232C Communication Unit DL-RS1A

2

Expansion
connector cover

 Input circuit diagram

Connecting to an External Device

+5V

 Connection

Main circuit

KPEV-SP(1P) wire with balanced
type twisted shield (strand wire)
Communication cable

SG

To an external device

RD
OP-81283

SD

6(DRQ)

1,4,5(SG)*

(Short-circuit current 1mA max.)

SG
SG

*

DRQ

Recommended communication cable:
KPEV-SP(1P) wire with balanced type twisted shield (strand wire)
Nominal cross-section area 0.16mm2(AWG25) min.
Terminal No. Terminal symbol

Communication Settings
Use the communication setting switch for communication settings.

Description
Connect the shield wire of the
communication cable. Terminals 1, 4 and 5
are internally connected.

SG

2

RD (input)

Connect to SD of an external device with
the communication cable.

3

SD (output)

Connect to RD of an external device with
the communication cable.

4

SG

Terminals 1, 4 and 5 are internally connected.

5

SG

Terminals 1, 4 and 5 are internally connected.

6

DRQ (input)

If terminals 6 (DRQ) and terminals 1, 4 or 5
(SG) are short circuited, data is transmitted
without a command from an external device.

Point

A terminal cover is attached to the terminal block. After
performing the wiring, be sure to reattach the terminal
cover.

1
2
3
4
5
6

0
N

Communication setting switch

6
0

1
2
3
4
5
6

1

0
N

*

Pin No. 1, 4 and 5 (SG) are common to the 0V blue wire on the main
sensor amplifier.

Switch No. Setting item Combination
2400bit/s 4800bit/s 9600bit/s* 19200bit/s 38400bit/s

1

ON

ON

1 2 3

2

1 2 3

1 2 3

1 2 3

1 2 3

Do not use the switches No.1
to 3 in combinations other than
those shown above.

Important

3

ON

ON

Communication
speed
*Settings before shipment.

 Crimp-type terminal
Use Y or round terminals for wiring to the I/O terminal of the following sizes.

ON

B

Y terminal
Excerpted from dimensions of the Y terminal areas
B: Outer size of Y area
d: Width of inner
Y area (joint area with screw)

d

Applicable dimension
B: 6mm max.
d: 3.2mm min.

8bit *

4

Data bit
length

ON

7bit
ON

4

4

*Settings before shipment.

Round terminal
Excerpted from dimensions of the round terminal areas
B: Outer size of round area
d: Diameter of inner round area
(joint area with screw)

Applicable dimension
B: 6mm max.
d: 3.2mm min.

B

φd

None *

5

ON

Even
ON

Odd
ON

None
ON

Parity check
6

5 6

5 6

5 6

5 6

*Settings before shipment.

 Wiring
To connect to an external device including a PC,
refer to the following wiring diagram for connection.
RS-232C Communication unit
DL-RS1A

External connecting
device (including a PC)

Important

Shield
SG

1

RD

2

SD

3

SD

SG

4

DR

SG

5

ER

DRQ

6

RS

RD

CS
SG

Point

• The cable to be used for communication should be
15m or less.
• Be sure to connect the shield wire of the shield
cable to the SG terminal on the external device.
• The shield wire connected to SG terminal should
not contact with other signal cables or terminal
blocks.

3

• After changing the
communication
settings, be sure to
cycle power.
• After setting, reattach
the included switch
protection sticker.

Switch protection sticker

Specifications

Warranty

 Main unit
Item

KEYENCE products are strictly factory-inspected. However, in the event of a
failure, contact your nearest KEYENCE office with details of the failure.

Specification

Model

DL-RS1A

1. WARRANTY PERIOD

Supply voltage

20 to 30 VDC, including 10% ripple (P-P). Class2
(supplied from the connected sensor
amplifier)

The warranty period shall be for one year from the date that the product has
been delivered to the location specified by the purchaser.

Current consumption

25 mA max.

Number of connectable
sensor amplifiers

Varies depending on the model*

Indicator

Communication status indicator (green x 2),
Alarm indicator (red), Power indicator (green)

(1) If a failure attributable to KEYENCE occurs within the abovementioned
warranty period, we will repair the product, free of charge. However, the
following cases shall be excluded from the warranty scope.
• Any failure resulting from improper conditions, improper environments,
improper handling, or improper usage other than described in the
instruction manual, the user’s manual, or the specifications specifically
arranged between the purchaser and KEYENCE.
• Any failure resulting from factors other than a defect of our product, such
as the purchaser’s equipment or the design of the purchaser’s software.
• Any failure resulting from modifications or repairs carried out by any
person other than KEYENCE staff.
• Any failure that can certainly be prevented when the expendable part(s)
is maintained or replaced correctly as described in the instruction
manual, the user’s manual, etc.
• Any failure caused by a factor that cannot be foreseen at a scientific/
technical level at the time when the product has been shipped from
KEYENCE.
• Any disaster such as fire, earthquake, and flood, or any other external
factor, such as abnormal voltage, for which we are not liable.
(2) The warranty scope is limited to the extent set forth in item (1), and
KEYENCE assumes no liability for any purchaser’s secondary damage
(damage of equipment, loss of opportunities, loss of profits, etc.) or any
other damage resulting from a failure of our product.

Ambient
temperature

-10 to +55°C (No freezing)

Relative
humidity

35 to 85%RH (No condensation)

Vibration

Environmental
resistance

10 to 55 Hz, Horizontal amplitude: 1.5 mm, 2
hours each in X, Y, and Z axis

Material

Main unit cover: Polycarbonate

Weight

Approx. 53 g

Accessory
*

2. WARRANTY SCOPE

Instruction Manual, End unit x 2, Expansion
connector cover, Switch protection sticker

The number of connectable sensor amplifiers varies depending on the
model to be connected.
For the number of connection units, refer to the DL-RS1A User’s
Manual.

3. PRODUCT APPLICABILITY

 Communication
Item
Communication type

Full duplex

Synchronization type

KEYENCE products are designed and manufactured as general-purpose
products for general industries.
Therefore, our products are not intended for the applications below and are not
applicable to them. If, however, the purchaser consults with us in advance
regarding the employment of our product, understands the specifications,
ratings, and performance of the product on their own responsibility, and takes
necessary safety measures, the product may be applied. In this case, the
warranty scope shall be the same as above.
• Facilities where the product may greatly affect human life or property,
such as nuclear power plants, aviation, railroads, ships, motor vehicles,
or medical equipment
• Public utilities such as electricity, gas, or water services

Specification
Asynchronous

Transmission code

ASCII

Communication
speed

Select from 2400, 4800, 9600, 19200, 38400
(Before shipment: 9600 bit/s)

Data bit length

Select either 8 bits or 7 bits (Before shipment: 8 bits)

Parity check

Select from none, even and odd (Before
shipment: none)

Stop bit length

1 bit

Data separator

At reception: Automatically recognizes CR or CR+LF
At transmission: fixed to CR+LF

• Usage outdoors, under similar conditions or in similar environments

Dimensions

43.8

37.2

(48.2)

22.5

 When mounting on a DIN rail

21.1

35.4
70

Unit: mm

5

51.3
43.8
37.2

 When using an optional fixture (OP-60412)

31.4

15
70

2-φ3.4

22.5

2-(4.4×3.4)

15
28.5
35.5

Unit: mm

2010

11219E 0120-1 96M11219

4