Вы находитесь на странице: 1из 36

425GB

PROFINET Communication Unit

DL-PN1 (IL)
User's Manual
Read this manual before use.
Keep this manual in a safe place for future reference.
Introduction

This manual describes the basic operations and hardware functions of the DL-PN1.
Read the manual carefully to ensure safe performance and function of the DL-PN1.
Keep this manual in a safe place for future reference.
Ensure that the end user of this product receives this manual.

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

It indicates a hazardous situation which, if not avoided, could result in


WARNING
death or serious injury.

It indicates a hazardous situation which, if not avoided, could result in


CAUTION
minor or moderate injury.

It indicates a situation which, if not avoided, could result in product


NOTICE
damage as well as property damage.

Important It indicates cautions and limitations that must be followed during


operation.

Point It indicates additional information on proper operation.

Reference It indicates tips for better understanding or useful information.


Overview of PROFINET

What is PROFINET?
PROFINET is an open industrial networking standard developed and maintained by the
PI (PROFINET International).
All supported devices can use the communication network regardless of the vendor.
PROFINET allows easy integration with the currently used field bus (such as
PROFIBUS), enabling you to protect the existing assets without modifying the legacy
system.

The PROFINET communication for the DL-PN1 series supports the PROFINET I/O
communication, which transmits data between I/O controllers (PLC etc.) and I/O
devices, and complies with Conformance Class A.

The PROFINET I/O communication offers the following two types of communication
methods for cyclic data: Real-time communication (RT) and isochronous real-time
communication (IRT).
Real-time communication provides similar communication performance as the existing
field bus, such as the device control in normal factory automation, using Ethernet. The
isochronous real-time communication is capable of meeting stringent real-time
requirements, including synchronized motion control.

The real-time communications offer the following two types of communications: Data I/O
communication for sending and receiving data periodically, and record data
communication for sending and receiving commands/responses at arbitrary timings. In
the data I/O communication, you can set the Update time (Communication cycle) based
on the priority of the data to be sent/received, enabling sending/receiving of data with
adjusted overall communication load. The record data communication is used for
communication applications that require little punctuality (unlike the data I/O
communication).

The DL-PN1 Series supports real-time data I/O communication and record data
communication.

425GB 1
Specifying the IP address using the DCP protocol
In the PROFINET communication, you can specify the IP address of I/O devices using
the DCP protocol (Discovery and Configuration Protocol).

The DCP protocol offers two methods for setting the IP address.
(1) The IP address can be set by the I/O controller based on the device name
information of the I/O device.
(2) The IP address and device name of the I/O device can be set by the I/O supervisor
(PC, etc.).

(1) Check the presence of an I/O device

(2) Response
PROFINET
communication
(3) Set the IP address
I/O Controller
(4) Response
I/O device

Reference If the IP address of the I/O device will be set by the I/O controller, the I/O
device name must match the name in the config of the I/O controller.

2 - PROFINET Communication Unit DL-PN1 User's Manual (IL) -


Communicating with the IL Series

Types and Number of Connectable Sensor Amplifiers


Name Amplifier form Main unit Expansion unit Maximum number of connectable units
8
DIN rail mounting type IL-1000 IL-1050
(1 main unit, 7 expansion units)
IL Series
8
Panel mounting type IL-1500 IL-1550
(1 main unit, 7 expansion units)

The DL-PN1 can connect to multiple sensor amplifiers (a single main unit and multiple
expansion units) which support D-bus. "D-bus" is the name of KEYENCE's wiring-saving
system for sensor amplifiers.
Different types of sensor amplifiers with D-bus support can be connected to a single
DL-PN1 unit.
How many and what types of sensor amplifiers can be connected depends on the
sensor amplifiers or units to be connected. Please inquire for details.

Assigning ID Numbers and Slot Numbers


Several sensor amplifiers can be connected to the DL-PN1. ID numbers and slot
numbers for data identification are assigned to each sensor amplifier.
The method for assigning ID numbers and slot numbers is as follows:
The numbers are assigned in order, starting from the sensor amplifier that is the main
unit. (Optional numbers cannot be assigned.)
00 is assigned as the ID number and slot number of the DL-PN1.

Point You cannot change the ID numbers and slot numbers assigned to
the sensor amplifiers.
In this manual, ID number 00 to ID number 08 are denoted as ID00 to
ID08, and slot number 00 to slot number 08 are denoted as Slot0 to
Slot08 respectively.

For DIN rail mounting type For panel mounting type


Slot number 01 02 07 08 00 Slot number ID number Sensor amplifier
ID number 01 02 07 08 00

01 01 Main unit
RST

LINK
/ACT

SF

BF

02 02 Expansion unit
DL-PN1

Main Expansion Expansion Expansion


unit unit unit unit
...

...

...

Sensor amplifier

07 07 Expansion unit
Slot number 00
ID number 00

08 08 Expansion unit

- PROFINET Communication Unit DL-PN1 User's Manual (IL) - 3


DL-PN1 PROFINET Communication Overview
The DL-PN1 enables you to read or write various settings and conditions of the sensor
amplifier via PROFINET.
Examples are shown below.
Data I/O Record Data Reference
Item
Communication Communication page
Reading the sensor amplifier control output 8
Executing the external input to the sensor amplifier 8
Reading the sensor amplifier comparator value 9
Changing the sensor amplifier setting value 14

DL-PN1 PROFINET functions are specified in a GSDML file.


You can download the GSDML file from the KEYENCE website:
http://www.keyence.com

Data I/O Communication


What is data I/O communication?
This function enables cyclic (i.e. in fixed intervals) data communications with the
PROFINET devices. This function provides high-speed control with several to several
tens of milliseconds.
The communication can be controlled by referencing and updating the variables in the
PLC, making it easy to control the programs on the PLC side.

PROFINET
communication
I/O Controller

Input Area Output Area

Status result Status result


Control/status/error result Control/status/error result
Read comparator value Update time Read comparator value
(Communication
Output Area cycle) Input Area

Execute external input Execute external input

Point Communication settings for the data I/O communication, such as


Update time (communication cycle) and the data size, will be
configured on the PLC side.
In a network with many connected devices (including the PROFINET
devices), a network delay and/or packet loss may occur when there
is a heavy load on the network. Conduct a thorough verification
before the operation.

4 - PROFINET Communication Unit DL-PN1 User's Manual (IL) -


Data I/O communication device map (DL-PN1 PROFINET I/O controller)
DL-PN1 (Slot 0)
Input
Address Bit Function name Description Value
0 Reserved for system - -
1 Reserved for system - -
0: Normal
2 Comparator value property Stores the comparator value status. 1: Disabled status
----, FFFF, or -FFFF
3 Reserved for system - -
0 4 Reserved for system - -
5 Reserved for system - -
6 Reserved for system - -
Stores the error status of the sensor
amplifiers. 0: No error occurred.
7 Error status
"Types of error and error code" 1: Error occurred.
(page 29)
Stores the external input response 0: No input
0 External input response 1
to the sensor amplifier. 1: Input reception
Stores the external input response 0: No input
1 External input response 2
to the sensor amplifier. 1: Input reception
Stores the external input response 0: No input
2 External input response 3
to the sensor amplifier. 1: Input reception
1 Stores the external input response 0: No input
3 External input response 4
to the sensor amplifier. 1: Input reception
4 Reserved for system - -
5 Reserved for system - -
6 Reserved for system - -
7 Reserved for system - -
2 to 15 0 to 7 Reserved for system - -

Sensor amplifier (Slot 1 to 8)


Input
Address Bit Function name Description Value
ON/OFF of the High state of the 0: OFF
0 High
sensor amplifiers is output. 1: ON
ON/OFF of the Low state of the 0: OFF
1 Low
sensor amplifiers is output. 1: ON
ON/OFF of the Go state of the 0: OFF
2 Go
sensor amplifiers is output. 1: ON
16+7(a-1)*
3 Reserved for system - -
4 Reserved for system - -
5 Reserved for system - -
6 Reserved for system - -
7 Reserved for system - -

- PROFINET Communication Unit DL-PN1 User's Manual (IL) - 5


Address Bit Function name Description Value
0 Reserved for system - -
0: Normal
1 Comparator value invalid Stores the comparator value status. 1: Comparator value invalid
----
0: Normal
2 Comparator value under range Stores the comparator value status. 1: Comparator value under
range -FFFF
0: Normal
17+7(a-1)* 3 Comparator value over range Stores the comparator value status. 1: Comparator value over
range FFFF
4 Reserved for system - -
5 Reserved for system - -
6 Reserved for system - -
Stores the error status of the sensor
amplifiers. 0: No error occurred.
7 Error status
"Types of error and error code" 1: Error occurred.
(page 29)
Stores the external input response 0: No input
0 External input response 1
to the sensor amplifier. 1: Input reception
Stores the external input response 0: No input
1 External input response 2
to the sensor amplifier. 1: Input reception
Stores the external input response 0: No input
2 External input response 3
to the sensor amplifier. 1: Input reception
18+7(a-1)* Stores the external input response 0: No input
3 External input response 4
to the sensor amplifier. 1: Input reception
4 Reserved for system - -
5 Reserved for system - -
6 Reserved for system - -
7 Reserved for system - -
19+7(a-1)* to Used when reading the comparator
0 to 7 Comparator value INT32
22+7(a-1)* value (P.V. value).
* "a" represents a Slot number. When Addresses were assigned in order, the Address
for Slot 1 is 16, 17, 18, or 19 to 22.

Data I/O communication device map (PROFINET I/O controller DL-PN1)

DL-PN1 (Slot 0)
Output
Address Bit Function name Description Value
Requests the external input to the 0: OFF
0 External input request 1*1
sensor amplifiers. 1: ON
Requests the external input to the 0: OFF
1 External input request 2*1
sensor amplifiers. 1: ON
Requests the external input to the 0: OFF
2 External input request 3*1
sensor amplifiers. 1: ON
0 Requests the external input to the 0: OFF
3 External input request 4*1
sensor amplifiers. 1: ON
4 Reserved for system - -
5 Reserved for system - -
6 Reserved for system - -
7 Reserved for system - -

6 - PROFINET Communication Unit DL-PN1 User's Manual (IL) -


*1 External input request to the sensor amplifiers connected to the DL-PN1 (Slot 0) can
be executed en bloc. (Smart Access function)
Functions assigned to the external input request 1 to 4 are as follows:
External input request 1: ZERO SHIFT input
External input request 2: RESET input
External input request 3: TIMING input
External input request 4: Not used
Functions assigned to the external input request 1 to 4 can be changed.
Refer to the IL series user's manual.

Sensor amplifier (Slot 1 to 8)


Output
Address Bit Function name Description Value
Requests the external input to the 0: OFF
0 External input request 1
sensor amplifiers. 1: ON
Requests the external input to the 0: OFF
1 External input request 2
sensor amplifiers. 1: ON
Requests the external input to the 0: OFF
2 External input request 3
sensor amplifiers. 1: ON
1 to 8 Requests the external input to the 0: OFF
3 External input request 4
sensor amplifiers. 1: ON
4 Reserved for system - -
5 Reserved for system - -
6 Reserved for system - -
7 Reserved for system - -

Functions assigned to the external input request 1 to 4 are as follows:


External input request 1: ZERO SHIFT input
External input request 2: RESET input
External input request 3: TIMING input
External input request 4: Not used
Functions assigned to the external input request 1 to 4 can be changed.
Refer to the IL series user's manual.

Communication Methods
The following describes how the I/O controller communicates with the DL-PN1 (data I/O
communication).
"Reading an output from a sensor amplifier" (page 8)
"Entering an external input to a sensor amplifier" (page 8)
"Reading comparator values (P.V. values) from sensor amplifiers" (page 9)

- PROFINET Communication Unit DL-PN1 User's Manual (IL) - 7


Reading an output from a sensor amplifier
Available outputs: High, Low, Go
This example shows how to read the High output from Slot 1 (ID01).
Master
1
Slot 1
0
Bit 0 of the input address 16

Sensor amplifier (1)


ON
Output
OFF
High output of ID01

(1) The output from the sensor amplifier entered into Bit 0 of the input address 16 via
data I/O communication.
This example shows how to read the High output from the sensor amplifier ID01.

Entering an external input to a sensor amplifier


Available external inputs: PRESET, TIMING, RESET, error clear
This example shows how to enter the TIMING input from Slot 1 (ID01).
Master (1)
1
External input request
0
Slot 1
Bit 1 of the output address 1 (2)
1
External input response
0
Slot 1
Bit 1 of the input address 18

Sensor amplifier
ON
External input
OFF
TIMING input of ID01

(1) The output address value to which an external input request was assigned is linked
via data I/O communication and the external input of the sensor amplifier is turned
on or off.
(2) You can check the input status of the sensor amplifier with the external input
response.

8 - PROFINET Communication Unit DL-PN1 User's Manual (IL) -


Reading comparator values (P.V. values) from sensor amplifiers

Master
(2)
Comparator value invalid 1
Input address 17/24/31 Bit 1 of Slot 1/2/3 0
(2)
1
Comparator value over range
0
Input address 17/24/31 Bit 2 of Slot 1/2/3
(2)
1
Comparator value under range
0
Input address 17/24/31 Bit 3 of Slot 1/2/3

Comparator value of ID 01 1234 4567 6789


Input address 19 to 22 (DEX) of Slot 1

Comparator value of ID 02 2345 5678 7890


Input address 26 to 29 (DEX) of Slot 2

Comparator value of ID 03 3456 8901


Input address 33 to 36 (DEX) of Slot 3

Sensor amplifier (1)


Comparator value of ID 01 1234 4567 6789

Comparator value of ID 02 2345 5678 7890

Comparator value of ID 03 3456 8901

This example shows how to read the comparator values (P.V.values) from the sensor
amplifiers ID01, ID02, and ID03.

(1) When the comparator value of a sensor amplifier is updated, the value of the input
address is also updated via data I/O communication.
If the comparator value is correct, the parameter range is -99.999 to +99.999 for
IL-S025/IL-030/IL-065/IL-S065/IL-100, -999.99 to +999.99 for IL-300/IL-600, and
-9999.9 to +9999.9 for IL-2000.
If the comparator value is over range, under range, or invalid, the previous value is
retained without updating the comparator value. To confirm whether the current
value is correct, use the comparator value property.
(2) The comparator value invalid, comparator value over range, or comparator value
under range is entered.
If the comparator value of a sensor amplifier is "invalid", "over", or "under", the bit
corresponding to the ID number of that sensor amplifier flips to 1.

- PROFINET Communication Unit DL-PN1 User's Manual (IL) - 9


Record Data Communication

What is record data communication?


Record data communication is a function that performs communication by issuing
commands when desired. It is used for applications which do not require the punctuality
of data I/O communication, such as reading and writing I/O device settings.
I/O controller DL-PN1 Sensor amplifier

(1) Record data


communication command
Send Receive

(2) Interpret and


execute command
Receive Send
(3) Record data
communication response

Basic Format and Flow of Record Data Communication


Record data communication uses function block, which blocks circuits being used in a
program. For Siemens SIMATEC Manager / TIA Portal, use SFB52"RD REC" and
SFB53"WR REC".
SFB52"RD REC" SFB53"WR REC"
Reads data. Writes data.

6)% 6)%
5HDGD3URFHVV'DWD5HFRUG :ULWHD3URFHVV'DWD5HFRUG
(1 5'5(& (1 (1 :55(& (1

5(4 9$/,'  5(4 9$/,'

,' %86< ,' %86<

,1'(; (5525 ,1'(; (5525

0/(1 67$786 0/(1 67$786

5(&25' /(1 5(&25'

Parameter name Description


EN Enables.
EN0 Shows that EN is enabled.
REQ Enables when making a request.
ID Enters the DL-PN1 or sensor amplifier ID number.
INDEX Enters the Access Address Index number.
MLEN Set to 4.

10 - PROFINET Communication Unit DL-PN1 User's Manual (IL) -


Parameter name Description
RECORD A value is input when reading. Inputs a value when writing.
VALID Replies as to whether the action was valid.
BUSY Replies as to whether the unit is busy.
ERROR Replies as to whether there is an error.
STATUS Replies with status information (including error information).
LEN Replies the length of the reply data.

Point To input the ID number for the DL-PN1 into ID, refer to the instruction
manual for each PLC. When inputting the ID number of the sensor
amplifier connected to the DL-PN1 into ID, input the smaller of the Slot
I Address and Q Address. If Q Address will be input, add
32768(0x8000).

Access Address (Slot 0)


Index Data
Function name Description Attribute Value
(DEC) type
bit0 : Reserved for system
The sensor amplifier enters 2byte bit1 : Slot 1
0 Key lock W
the key lock state. WORD :
bit15 : Slot 15
bit0 : Reserved for system
The key lock of the sensor 2byte bit1 : Slot 1
1 Key unlock W
amplifier is canceled. WORD :
bit15 : Slot 15
bit0 : Reserved for system
Power saving function The sensor amplifier enters 2byte bit1 : Slot 1
2 W
(ECO) the eco mode. WORD :
bit15 : Slot 15
bit0 : Reserved for system
Power saving function The eco mode of the sensor 2byte bit1 : Slot 1
3 W
(ECO) cancel amplifier is canceled. WORD :
bit15 : Slot 15
bit0 : Reserved for system
Light emission stop Light emission of the sensor 2byte bit1 : Slot 1
4 W
request amplifier is stopped. WORD :
bit15 : Slot 15
bit0 : Reserved for system
Light emission stop of the 2byte bit1 : Slot 1
5 Light emission stop cancel W
sensor amplifier is canceled. WORD :
bit15 : Slot 15
6 to 14 Reserved for system
bit0 : Reserved for system
Initializes the sensor 2byte bit1 : Slot 1
15 Initialization request W
amplifier. WORD :
bit15 : Slot 15
16 to 31 Reserved for system
Stores the DL-PN1 error
status. 2byte
32 DL-PN1 error state R
"Types of error and error WORD
code" (page 29)
Stores the number of sensor
Number of connectable 2byte
33 amplifiers connected to the R 0 to 15
units INT
DL-PN1.
34 to 63 Reserved for system

- PROFINET Communication Unit DL-PN1 User's Manual (IL) - 11


Index Data
Function name Description Attribute Value
(DEC) type
When the sensor amplifier is
bit0 : Reserved for system
in the error state, the
2byte bit1 : Slot 1
64 Error state corresponding bit is set. R
WORD :
"Types of error and error
bit15 : Slot 15
code" (page 29)
bit0 : Reserved for system
When the sensor amplifier is
2byte bit1 : Slot 1
65 Warning status in the warning state, the R
WORD :
corresponding bit is set.
bit15 : Slot 15
When the sensor amplifier
bit0 : Reserved for system
comparator value is invalid or
2byte bit1 : Slot 1
66 Comparator value property exceeding the upper or lower R
WORD :
limit, the corresponding bit is
bit15 : Slot 15
set.
When the sensor amplifier bit0 : Reserved for system
Comparator value over comparator value is 2byte bit1 : Slot 1
67 R
range exceeding the upper limit, the WORD :
corresponding bit is set. bit15 : Slot 15
When the sensor amplifier bit0 : Reserved for system
Comparator value under comparator value is 2byte bit1 : Slot 1
68 R
range exceeding the lower limit, the WORD :
corresponding bit is set. bit15 : Slot 15
bit0 : Reserved for system
When the sensor amplifier
2byte bit1 : Slot 1
69 Comparator value Invalid comparator value is invalid, R
WORD :
the corresponding bit is set.
bit15 : Slot 15
70 to 77 Reserved for system
bit0 : Reserved for system
When the control output of
2byte bit1 : Slot 1
78 Output 1 sensor amplifier is High, the R
WORD :
corresponding bit is set.
bit15 : Slot 15
bit0 : Reserved for system
When the control output of
2byte bit1 : Slot 1
79 Output 2 sensor amplifier is Low, the R
WORD :
corresponding bit is set.
bit15 : Slot 15
bit0 : Reserved for system
When the control output of
2byte bit1 : Slot 1
80 Output 3 sensor amplifier is Go, the R
WORD :
corresponding bit is set.
bit15 : Slot 15
81 to 85 Reserved for system
When the request reception bit0 : Reserved for system
to the "External input request 2byte bit1 : Slot 1
86 External input response 1 R
1" is complete, the WORD :
corresponding bit is set.*1 bit15 : Slot 15
When the request reception bit0 : Reserved for system
to the "External input request 2byte bit1 : Slot 1
87 External input response 2 R
2" is complete, the WORD :
corresponding bit is set.*1 bit15 : Slot 15
When the request reception bit0 : Reserved for system
to the "External input request 2byte bit1 : Slot 1
88 External input response 3 R
3" is complete, the WORD :
corresponding bit is set.*1 bit15 : Slot 15
When the request reception bit0 : Reserved for system
to the "External input request 2byte bit1 : Slot 1
89 External input response 4 R
4" is complete, the WORD :
corresponding bit is set.*1 bit15 : Slot 15
90 to 95 Reserved for system

12 - PROFINET Communication Unit DL-PN1 User's Manual (IL) -


Index Data
Function name Description Attribute Value
(DEC) type
0: Not connected
1: IL-030
2: IL-065
Stores the type of the slot 3: IL-100
1st Sensor Head 1 4byte
96 number 01 sensor head (light R 4: IL-300
Identification DINT
transmitter). 5: IL-600
106: IL-S025
107: IL-S065
311: IL-2000
: : : : :
0: Not connected
1: IL-030
2: IL-065
Stores the type of the slot 3: IL-100
8th Sensor Head 1 4byte
103 number 08 sensor head (light R 4: IL-300
Identification DINT
transmitter). 5: IL-600
106: IL-S025
107: IL-S065
311: IL-2000
104 to
Reserved for system
127
Stores the product code of
2byte
128 Product code 1 the slot number 01 sensor R
WORD
amplifier.
: : : : :
Stores the product code of
2byte
135 Product code 8 the slot number 08 sensor R
WORD
amplifier.
136 to
Reserved for system
143
Stores the revision of the slot 2byte
144 Revision 1 R 0101H to FFFFH
number 01 sensor amplifier. WORD
: : : : : :
Stores the revision of the slot 2byte
151 Revision 8 R 0101H to FFFFH
number 08 sensor amplifier. WORD
152 to
Reserved for system
159
Used when reading
Comparator value 0 (Slot 4byte
160 comparator value (P.V.value) R
Number 1) DINT
of the slot number 01.*2
: : : : : -99.999 to +99.999
Used when reading
Comparator value 0 (Slot 4byte
167 comparator value (P.V.value) R
Number 8) DINT
of the slot number 08.*2
168 to
Reserved for system
175
Used when reading the
Number of decimal places
decimal position of the slot 4byte
176 (Current value 0, Slot R
number 01 comparator value DINT
Number 1)
(P.V.value).
: : : : :
Used when reading the
Number of decimal places
decimal position of the slot 4byte
183 (Current value 0, Slot R
number 08 comparator value DINT
Number 8)
(P.V.value).
184 to
Reserved for system
191

- PROFINET Communication Unit DL-PN1 User's Manual (IL) - 13


Index Data
Function name Description Attribute Value
(DEC) type
bit0 : Reserved for system
When the sensor amplifier
2byte bit1 : Slot 1
192 Setting error setting is abnormal, the R
WORD :
corresponding bit is set.
bit15 : Slot 15
When the sensor amplifier is bit0 : Reserved for system
reflecting the setting after the 2byte bit1 : Slot 1
193 EEPROM writing R
setting change, the WORD :
corresponding bit is set. bit15 : Slot 15
bit0 : Reserved for system
When the light emission of
2byte bit1 : Slot 1
194 Laser emission stop status the sensor amplifier stops, R
WORD :
the corresponding bit is set.
bit15 : Slot 15
*1 Functions assigned to the external input request 1 to 4 are as follows:
External input request 1: ZERO SHIFT input
External input request 2: RESET input
External input request 3: TIMING input
External input request 4: Not used
Functions assigned to the external input request 1 to 4 can be changed.
Refer to the IL series user's manual.
*2 If the judgment value is correct, the parameter range is
IL-S025/IL-030/IL-S065/IL-065/IL-100: -99.997 to 99.998
IL-300/IL-600: -999.97 to 999.98
IL-2000: -9999.7 to 9999.8
For IL-S025/IL-030/IL-S065/IL-065/IL-100:
When the comparator value is over range, "+99.999" is stored.
When the comparator value is under range, "- 99.999" is stored.
When the comparator value is invalid, "- 99.998" is stored.
When an error occurs, "+100.000" is stored.
For IL-300/IL-600:
When the comparator value is over range, "+999.99" is stored.
When the comparator value is under range, "- 999.99" is stored.
When the comparator value is invalid, "- 999.98" is stored.
When an error occurs, "+1000.00" is stored.
For IL-2000:
When the comparator value is over range, "+9999.9" is stored.
When the comparator value is under range, "- 9999.9" is stored.
When the comparator value is invalid, "- 9999.8" is stored.
When an error occurs, "+10000" is stored.

Access Address (Slot 1 to 8)


Index Data Default
Function name Description Attribute Value
(DEC) type value
0 Reserved for system
1 Zero shift execution request DINT C
Zero shift reset execution
2 DINT C
request

14 - PROFINET Communication Unit DL-PN1 User's Manual (IL) -


Index Data Default
Function name Description Attribute Value
(DEC) type value
3 Reset request DINT C
4 Reserved for system
5 Initial reset request DINT C
System parameter set
6 DINT C
request
7 to 13 Reserved for system
14 Tolerance tuning request DINT C
Two-point tuning HIGH side
15 1st point confirmation DINT C
operation request
Two-point tuning HIGH side 2nd point
16 confirmation operation request DINT C
(Determine HIGH setting value.)
Two-point tuning LOW side
17 1st point confirmation DINT C
operation request
Two-point tuning LOW side 2nd point
18 confirmation operation request DINT C
(Determine LOW setting value.)
Calibration SET1
19 Confirmation operation DINT C
request
Calibration SET2
20 Confirmation operation DINT C
request (Perform calibration.)
Calculated value two-point
21 calibration SET1 Confirmation DINT C
operation request
Calculated value two-point
calibration SET2 Confirmation
22 operation request (Perform DINT C
calculated value two-point
calibration.)
Calculated value three-point
23 calibration SET1 Confirmation DINT C
operation request
Calculated value three-point
24 calibration SET2 Confirmation DINT C
operation request
Calculated three-point calibration
SET3 Confirmation operation
25 DINT C
request (Perform calculated
three-point calibration.)
One-point tuning request for
26 DINT C
diff. count filter
Two-point tuning 1st point
27 confirmation operation DINT C
request for diff. count filter
Two-point tuning 2nd point
confirmation operation request
28 DINT C
for diff. count filter (Determine
HIGH and LOW setting value.)
29 to 31 Reserved for system
32 Group1 Entry Count DINT R 29

- PROFINET Communication Unit DL-PN1 User's Manual (IL) - 15


Index Data Default
Function name Description Attribute Value
(DEC) type value
Bit0: Overcurrent error
Bit1: EEPROM error
Bit2: Sensor head error
Bit3: 0 (fixed)
Bit4: 0 (fixed)
Bit5: 0 (fixed)
Bit6: 0 (fixed)
Bit7: Spot light laser error
Bit8: Incompatible model
33 Sensor amplifier error state *1 DINT R
error
Bit9: 0 (fixed)
Bit10: 0 (fixed)
Bit11: Amplifier
communication error
Bit12: Number of units error
Bit13: Calculation error
Bit14: 0 (fixed)
Bit15: 0 (fixed)
34 to 35 Reserved for system
Bit0: HIGH judgment output
0: OFF, 1: ON
Bit1: LOW judgment output
Judgment output/Alarm *2 0: OFF, 1: ON
36 DINT R
output *19 Bit2: GO judgment output
0: OFF, 1: ON
Bit3: Alarm output
0: OFF, 1: ON
*3
37 Comparator value (P.V. value) DINT R -99.999 to +99.999
*4
38 Raw value (R.V. value) *4 DINT R -99.999 to +99.999
Peak hold value during hold *4
39 DINT R -99.999 to +99.999
period *5
Bottom hold value during hold *4
40 DINT R -99.999 to +99.999
period *6
Calculation value (CALC *3
41 DINT R -99.999 to +99.999
value) *4
Analog voltage output:
-5.000 to +5.000
42 Analog output value *7 DINT R
Analog current output:
+04.00 to +20.00
0: Bank 0
1: Bank 1
43 Bank status DINT R
2: Bank 2
3: Bank 3
0: During Sampling
44 Timing status DINT R
1: Not during sampling
45 to 49 Reserved for system
0: Laser emitting
50 Laser emission stop state DINT R
1: Laser stopped
0: Normal setting
51 Abnormal setting *8 DINT R
1: Abnormal setting
52 External input status *20 DINT R 0 to 15
0: Writing
53 EEPROM write result *9 DINT R 1 1: Normal termination
2: Abnormal termination
0: Executing
Zero shift/Zero shift reset
54 *10 DINT R 1 1: Normal termination
result
2: Abnormal termination
0: Executing
55 Reset request result *10 DINT R 1 1: Normal termination
2: Abnormal termination

16 - PROFINET Communication Unit DL-PN1 User's Manual (IL) -


Index Data Default
Function name Description Attribute Value
(DEC) type value
System parameter current Main unit: 0 to 9
56 *11 DINT R 0
state Expansion unit: 0 to 1
57 to 59 Reserved for system
0: Executing
Tolerance tuning/2 point
60 *12 DINT R 1 1: Normal termination
tuning result
2: Abnormal termination
0: Executing
61 Calibration result DINT R 1 1: Normal termination
2: Abnormal termination
62 to 63 Reserved for system
64 Group2 Entry count DINT R 20
65 HIGH setting value (BANK 0) *4 DINT R/W +5.000 -99.999 to +99.999
66 LOW setting value (BANK 0) *4 DINT R/W -5.000 -99.999 to +99.999
67 Shift target value (BANK 0) *4 DINT R/W 0.000 -99.999 to +99.999
Analog output - upper limit *4
68 DINT R/W +10.000 -99.999 to +99.999
value (BANK 0) *16
Analog output - lower limit *4
69 DINT R/W -10.000 -99.999 to +99.999
value (BANK 0) *16
70 HIGH setting value (BANK 1) *4 DINT R/W +5.000 -99.999 to +99.999
71 LOW setting value (BANK 1) *4 DINT R/W -5.000 -99.999 to +99.999
72 Shift target value (BANK 1) *4 DINT R/W 0.000 -99.999 to +99.999
Analog output - upper limit *4
73 DINT R/W +10.000 -99.999 to +99.999
value (BANK 1) *16
Analog output - lower limit *4
74 DINT R/W -10.000 -99.999 to +99.999
value (BANK 1) *16
75 HIGH setting value (BANK 2) *4 DINT R/W +5.000 -99.999 to +99.999
76 LOW setting value (BANK 2) *4 DINT R/W -5.000 -99.999 to +99.999
77 Shift target value (BANK 2) *4 DINT R/W 0.000 -99.999 to +99.999
Analog output - upper limit *4
78 DINT R/W +10.000 -99.999 to +99.999
value (BANK 2) *16
Analog output - lower limit *4
79 DINT R/W -10.000 -99.999 to +99.999
value (BANK 2) *16
80 HIGH setting value (BANK 3) *4 DINT R/W +5.000 -99.999 to +99.999
81 LOW setting value (BANK 3) *4 DINT R/W -5.000 -99.999 to +99.999
82 Shift target value (BANK 3) *4 DINT R/W 0.000 -99.999 to +99.999
Analog output - upper limit *4
83 DINT R/W +10.000 -99.999 to +99.999
value (BANK 3) *16
Analog output - lower limit *4
84 DINT R/W -10.000 -99.999 to +99.999
value (BANK 3) *16
85 to 95 Reserved for system
96 Group3 Entry Count DINT R 18
0: Unlock
97 Key lock function DINT R/W 0
1: Key lock
0: Switched to bank 0
1: Switched to bank 1
98 Bank function *13 DINT R/W 0
2: Switched to bank 2
3: Switched to bank 3
0: Timing input OFF
99 Timing input *14 DINT R/W 0
1: Timing input ON
0: Emission stop input OFF
100 Laser emission stop input *14 DINT R/W 0
1: Emission stop input ON
101 to
Reserved for system
103

- PROFINET Communication Unit DL-PN1 User's Manual (IL) - 17


Index Data Default
Function name Description Attribute Value
(DEC) type value
0: R.V. value screen
1: Analog value screen
2: HIGH setting value screen
104 Sub display's screen DINT R/W 0 3: LOW setting value screen
4: Shift target value setting
screen
5: CALC value screen
Main unit: 0 to 9
105 System parameter settings *11 DINT R/W 0
Expansion unit: 0 to 1
Tolerance tuning - tolerance
106 *15 DINT R/W 0.200 00 to 99.999
setting range
0: Initial state
107 Calibration function DINT R/W 0
1: User setting
108 Calibration function SET1 *4 DINT R/W 0.000 -99.999 to +99.999
109 Calibration function SET2 *4 DINT R/W +5.000 -99.999 to +99.999
0: Initial settings
Calculated value calibration
110 DINT R/W 0 1: Calculated 2-p calibration
function
2: Calculated 3-p calibration
Calculated value two-point
111 *4 DINT R/W +5.000 -99.999 to +99.999
calibration function SET1
Calculated value two-point
112 *4 DINT R/W +10.000 -99.999 to +99.999
calibration function SET2
Calculated value three-point
113 *4 DINT R/W +5.000 -99.999 to +99.999
calibration function SET1
Calculated value three-point
114 *4 DINT R/W +10.000 -99.999 to +99.999
calibration function SET3
115 to
Reserved for system
127
128 Group4 Entry count DINT R 31
0: OFF
129 Calculation function DINT R/W 0 1: Addition mode
2: Subtraction mode
130 Reserved for system
0: nor
131 Measurement direction DINT R/W 0
1: rEv
0: dEFLt
1: 0.33 ms
132 Sampling cycle DINT R/W 0 2: 1 ms
3: 2 ms
4: 5 ms
0: 1 time
1: 2 times
2: 4 times
3: 8 times
4: 16 times
5: 32 times
6: 64 times
Averaging/Diff. count filter/
133 DINT R/W 4 7: 128 times
High-pass filter
8: 256 times
9: 512 times
10: 1024 times
11: 2048 times
12: 4096 times
13: Diff. count filter
14: High-pass filter
0: N.O.
134 Output mode DINT R/W 0
1: N.C.
135 Reserved for system

18 - PROFINET Communication Unit DL-PN1 User's Manual (IL) -


Index Data Default
Function name Description Attribute Value
(DEC) type value
0: Sample hold
1: Peak hold
2: Bottom hold
136 Hold function setting DINT R/W 0
3: Peak-to-peak hold
4: Auto peak hold
5: Auto bottom hold
Auto peak hold or auto
137 *4 DINT R/W +1.000 -99.999 to +99.999
bottom hold trigger level
0: Level
138 Timing input setting DINT R/W 0
1: Edge
0: OFF
1: On delay
139 Delay timer DINT R/W 0
2: Off delay
3: One-shot
140 Timer duration DINT R/W 60 5 to 9999
141 Hysteresis DINT R/W 0.000 0.000 to 99.999
0: Initial state
*16
142 Analog output scaling DINT R/W 0 1: Free range
*18
2: Bank
*4
Analog output - upper limit
143 *15 DINT R/W +10.000 -99.999 to +99.999
value
*18
*4
Analog output - lower limit
144 *16 DINT R/W -10.000 -99.999 to +99.999
value
*18
0: Default
145 External input *17 DINT R/W 0
1: User setting
0: Zero shift input
1: Bank A input
146 External input 1 *17 DINT R/W 0 2: Bank B input
3: Laser emission stop input
4: Not used
0: Reset input
1: Bank A input
147 External input 2 *17 DINT R/W 0 2: Bank B input
3: Laser emission stop input
4: Not used
0: Timing input
1: Bank A input
148 External input 3 *17 DINT R/W 0 2: Bank B input
3: Laser emission stop input
4: Not used
0: Not used
1: Bank A input
149 External input 4 *17 DINT R/W 0
2: Bank B input
3: Laser emission stop input
0: Button
150 Bank switching method DINT R/W 0
1: External input
151 Reserved for system
Zero shift value memory 0: OFF
152 DINT R/W 0
function 1: ON
Mutual interference 0: Interference prevention OFF
153 DINT R/W 0
prevention function 1: Interference prevention ON
0: Default
1: 0.0001
2: 0.001
154 Display columns DINT R/W 0
3: 0.01
4: 0.1
5: 1

- PROFINET Communication Unit DL-PN1 User's Manual (IL) - 19


Index Data Default
Function name Description Attribute Value
(DEC) type value
0: OFF
155 Power saving function DINT R/W 0 1: Half
2: All
0: Initial state
156 Head display mode DINT R/W 0 1: OK/NG display
2: OFF
0: GO Green
157 Display color DINT R/W 0 1: GO Red
2: Always Red
Timer duration of diff. count
158 DINT R/W 10 2 to 9999
filter
0: 0.1Hz
1: 0.2Hz
2: 0.5Hz
3: 1Hz
Cutoff frequency of high-pass 4: 2Hz
159 DINT R/W 3
filter 5: 5Hz
6: 10Hz
7: 20Hz
8: 50Hz
9: 100Hz
160 Group5 Entry count DINT R 2
0: Initial state
161 Alarm setting DINT R/W 0 1: Clamp
2: User setting
162 Alarm count DINT R/W 7 2 to 1000
163 to 191 Reserved for system
192 Group6 Entry count DINT R 11
Main unit:=4022
193 Product code DINT R 4022
Expansion unit:=4023
194 Reserved for system
0: Not connected
1: IL-030
2: IL-065
3: IL-100
195 Connected sensor head DINT R 0
4: IL-300
5: IL-600
106: IL-S025
107: IL-S065
196 to 199 Reserved for system
DINT/ Main unit:="IL-1"
200 Product name 1 *21 R
STRING Expansion unit:="IL-1"
DINT/ Main unit:="000/"
201 Product name 2 *21 R
STRING Expansion unit:="050/"
DINT/ Main unit:="1500"
202 Product name 3 *21 R
STRING Expansion unit:="1550"
DINT/ Main unit:=""
203 Product name 4 *21 R
STRING Expansion unit:=""
204 to 217 Reserved for system
218 Unit
219 to 223 Reserved for system

*1 The error content of the sensor amplifier can be checked by noting the ON/OFF
state of each bit.
OFF (0): No error; ON (1): Error
More than one error may occur simultaneously. For details of each error, refer to the
IL Series User's Manual.

20 - PROFINET Communication Unit DL-PN1 User's Manual (IL) -


*2 Details of output status can be checked by noting the ON/OFF state of each bit.
*3 Use this parameter in combination with the judgment value property or with the
judgment value "invalid," "over," or "under."
If the judgment value is correct, the parameter range is
- from - 99.997 to +99.998 (IL-S025/IL-030/IL-S065/IL-065/IL-100).
- from - 999.97 to +999.98 (IL-300/IL-600).
- from - 9999.7 to +9999.8 (IL-2000).
For IL-S025/IL-030/IL-S065/IL-065/IL-100:
When the comparator value is over range, "+99.999" is stored.
When the comparator value is under range, "- 99.999" is stored.
When the comparator value is invalid, "- 99.998" is stored.
When an error occurs, "+100.000" is stored.
For IL-300/IL-600:
When the comparator value is over range, "+999.999" is stored.
When the comparator value is under range, "- 999.99" is stored.
When the comparator value is invalid, "- 999.98" is stored.
When an error occurs, "+1000.00" is stored.
For IL-2000:
When the comparator value is over range, "+9999.9" is stored.
When the comparator value is under range, "- 9999.9" is stored.
When the comparator value is invalid, "- 9999.8" is stored.
When an error occurs, "+10000" is stored.
*4 When using IL-300/IL-600, -999.99 to +999.99.
When using IL-2000, -9999.9 to +9999.9.
*5 - When in sample hold: Value "-99.998" is output.
- When not in sample hold: The peak value encountered during the sampling period
is output.
*6 - When in sample hold: Value "-99.998" is output.
- When not in sample hold: The bottom value encountered during the sampling
period is output.
*7 If the sensor amplifier is in error, the analog voltage output is +5.500 and the analog
current output is +03.00. For overcurrent errors and EEPROM errors, becomes the
voltage value (current value) based on the measurement value.
*8 If a prohibited combination of functions is written, it results in "abnormal setting (1)".
For details of each function, refer to the IL Series User's Manual.

- PROFINET Communication Unit DL-PN1 User's Manual (IL) - 21


*9 The result of the "initial reset request" motion command is included in this item.
Regarding Data No. 53 (EEPROM writing result), a "0: writing in progress" status is
maintained for 2 seconds after completion of the final write command transmission
to the nonvolatile memory (EEPROM). Writing begins 2 seconds later, and if
completed normally, the result is "1: successfully completed".
Example:
After every-second write command transmissions, a "0: writing in progress" status is
established for 2 seconds. A "0: writing in progress" status is maintained for 2
seconds after completion of the final write command transmission, and writing then
begins 2 seconds later, with a result of "1: successfully completed".
However, writing begins immediately following a initial reset executed in response to
a Data No. 5 "initial reset request". A "1: successfully completed" result then occurs
if all parameters have been saved to the nonvolatile memory (EEPROM)
approximately 3 seconds later.
When "zero shift status save" is ON, writing begins immediately for Data No. 1
"zero shift execution request" and Data No. 2 "zero shift reset execution request".
*10 The command reads the execution result of the "zero shift execution request" or
"zero shift reset execution request" whichever was last issued.
*11 By reading the "system parameter current state," the system parameters of the
sensor amplifier can be checked. The system parameters are comprised of the
settings of "judgment output/alarm output" polarity and analog output.
The "system parameter" attribute specifies the system parameters which are set
when the "system parameter set request" is executed by a motion command.
The values to be read or written are specified by translating them to binaries and
using ON or OFF in each bit of the binaries.
Bit Setting details
0: NPN output
0
1: PNP output
000: Analog output OFF
001: 0 to 5V
3, 2, 1 010: -5 to +5V
011: 1 to 5V
100: 4 to 20mA

Reference Assume the read data is "006":


Translating "6" to a binary number gives "0110".
0 110
Bit 3, 2, 1: 1 to 5 V Bit 0: NPN output

Thus, the sensor amplifier from which the data was read is set to "NPN
output" and "analog output 1 to 5 V".
*12 Of the motion commands "Tolerance tuning request", "Two-point tuning HIGH side
2nd point confirmation", "Two-point tuning LOW side 2nd point confirmation", "One-
point tuning request for diff. count filter", "Two-point tuning 2nd point confirmation for
diff. count filter", reads the execution result for the item last requested.

22 - PROFINET Communication Unit DL-PN1 User's Manual (IL) -


*13 This parameter works if "Bank switching method" is set to "button."
*14 These parameters are OFF only if data "0" is written and the wiring is configured to
turn off external input.
*15 When using IL-300/IL-600, -999.99 to +999.99.
When using IL-2000, -9999.9 to +9999.9.
*16 A write control error results if data is rewritten to an expansion unit.
*17 To have the sensor amplifier reflect the settings written in data numbers 146 to 149,
it is necessary to set data number 145 to "1" (user setting), or to set the external
input to "user setting" via button operation on the sensor amplifier.
*18 An attempt to write this data results in an error. (Reading is results in "0.")
*19 The read value of the two-digit value can be translated to a binary number, so that
the ON/OFF state of each bit can be noted to know the status of judgment output
and alarm output.

Judgment output
Bit
N.O. mode N.C. mode
0: HIGH judgment output OFF 0: HIGH judgment output ON
0
1: HIGH judgment output ON 1: HIGH judgment output OFF
0: LOW judgment output OFF 0: LOW judgment output ON
1
1: LOW judgment output ON 1: LOW judgment output OFF
0: GO judgment output OFF 0: GO judgment output ON
2
1: GO judgment output ON 1: GO judgment output OFF
0: Alarm output OFF 0: Alarm output ON
3
1: Alarm output ON 1: Alarm output OFF

Reference Assume the read data is "05":


Translating "05" to a binary number gives "0101".
N.O. mode
01 01
Bit 3: Alarm output OFF Bit 0: HIGH judgment output ON
Bit 2: GO judgment output ON Bit 1: LOW judgment output OFF

*20 The external input status is "1" when the external input is ON, and is "0" when the
external input is OFF. Bits 0, 1, 2, and 3 correspond to external inputs 1, 2, 3, and 4,
respectively.

Reference Assume the read data is "06":


Translating "6" to a binary number gives "0110".
0110
External input 4: OFF External input 1: OFF
External input 3: ON External input 2: ON
*21 Stores the read string in the remote registers in ASCII code.
For "IL-1": RWr03=312Dh, RWr02=4C49h

- PROFINET Communication Unit DL-PN1 User's Manual (IL) - 23


Appendix

Specifications
The specifications of the DL-PN1 are as follows:
Product name PROFINET I/O Communication Unit
Model DL-PN1
Suitable network PROFINET I/O communication
Compliant standards IEEE 802.3u (100BASE-TX)
Transmission rate 100 Mbps (100BASE-TX)
Ethernet
Transmission medium STP cable or Category 5e or higher UTP cable (100BASE-TX)
Maximum cable length 100 m
Data I/O communication
Compatible functions
Record data communication
No. of connectable
1
PROFINET I/O controllers
PROFINET Update Time 2 - 512 ms
GSDML version V2.3
Conformance class Conforms with Conformance Class A
Conformance test version Conforms with V2.2.4
Suitable protocols LLDP, DCP
Connectable sensors Sensor amplifiers with D-bus support
Sensor connection
Number of connectable
specifications 8 units max.
sensor units
Link/activity indicator (LINK/ACT): Green LED
System failure indicator (SF): 2-color (orange/red) LED
Indicator lamps
Bus failure indicator (BF): Red LED
Sensor communication indicator (D-bus): 2-color (green/red) LED
20 to 30 V DC, including ripple (p-p)10%
Power voltage
supplied from the connected sensor amplifiers
Power consumption 1500 mW or less (at 30 V 50 mA max.)
Operating ambient air
-20 to +55C (no freezing)
temperature
Operating ambient air
Environmental 35 to 85% RH (no condensation)
humidity
resistance
10 to 55 Hz compound amplitude 1.5 mm, 2 hours each in X, Y, Z
Vibration resistance
directions
Pollution degree 2
Materials Main unit: Polycarbonate
Weight Approx. 70 g

24 - PROFINET Communication Unit DL-PN1 User's Manual (IL) -


Dimensions

(Unit : mm)
25.6
29.4
(42.5)
38.1

43.5 35.4
94.5

- PROFINET Communication Unit DL-PN1 User's Manual (IL) - 25


Data Processing Time
The data update time for data I/O communication is shown below.

master DL Sensor amplifier

RST

LINK
/ACT

SF

BF

(1) (2) (3) (4)

DL-PN1

Maximum data processing time = (1) + (2) + (3) + (4)

(1) I/O controller data update time


(2) Network data update time
(3) Data update time between the DL-PN1 and sensor amplifiers
Sensor amplifier with calculation function OFF,
or sensor amplifier with no calculation function Sensor amplifier with calculation function ON
Number of Number of
Output, judgment value, or Output, judgment value, or
connected sensor connected sensor
current value current value
amplifiers amplifiers
1 7.8 ms 1 11.3 ms
2 9.8 ms 2 14.3 ms
3 13.8 ms 3 20.3 ms
4 15.8 ms 4 23.3 ms
5 19.8 ms 5 29.3 ms
6 21.8 ms 6 32.3 ms
7 25.8 ms 7 38.3 ms
8 27.8 ms 8 41.3 ms

(4) Sensor amplifier response time

For (1) and (2), see manuals for each model.


For (4), refer to the User's Manual of each sensor amplifier connected to the DL-PN1.

26 - PROFINET Communication Unit DL-PN1 User's Manual (IL) -


Troubleshooting
The indicator LEDs on the DL-PN1 can be used to determine the causes of errors.

Link/activity indicator (Green)

System Failure indicator (Orange, Red)

Bus Failure indicator (Red)

Sensor communication indicator (Green, Red)

Link/activity indicator (LINK/ACT)


This indicator indicates whether the DL-PN1 is communicating correctly.
LED Status Condition Corrective Action
Solid The DL-PN1 is normally linked. -
Green The DL-PN1 is normally linked and is
Flashing -
now exchanging data.
Check if the power supply is correctly connected.
Check if the DL-PN1 is correctly connected to the
sensor amplifier.
Power is not supplied to the DL-PN1.
Not lit Check if the IP address is correct.
The DL-PN1 is not linked.
Check if the power supply of the connected device
or Ethernet switch is correctly connected.
Check if the cable is correctly connected.

System Failure indicator (SF)


This indicator indicates whether the DL-PN1 is operating normally.
LED Status Condition Corrective Action
Check the D-bus LED status.
Check if the number of connected sensor
amplifiers exceeds the maximum number of
connectable units.
There may be a system error on the Check if the IP address is correct.
Solid red
DL-PN1 or a connected sensor. Check if the slot number is correct.
Check if the DL-PN1 is correctly connected to the
sensor amplifier.
Check if there is an electrical noise source near the
DL-PN1.
Flash LED was requested on the I/O
controller.
Flashing orange -
Flashes approximately 4 times per
second.
Not lit The DL-PN1 is normally operating. -

- PROFINET Communication Unit DL-PN1 User's Manual (IL) - 27


Bus Failure indicator (BF)
This indicator indicates whether the DL-PN1 is communicating correctly with PROFINET.
LED Status Condition Corrective Action
Check if the number of connected sensor
amplifiers exceeds the maximum number of
connectable units.
Data exchange via data I/O Check if the IP address is correct.
Solid red communication is not being carried out Check if the slot number is correct.
normally. Check if the DL-PN1 is correctly connected to the
sensor amplifier.
Check if there is an electrical noise source near the
DL-PN1.
Not lit The DL-PN1 is normally operating. -

Sensor communication indicator (D-bus)


This indicator indicates whether the DL-PN1 is communicating correctly with the sensor
amplifier.
If an error occurs, you can identify the cause of the error by reading the error code via
cyclic communication or message communication.
"Error code list" (page 29)
LED Status Condition Corrective Action
The DL-PN1 is communicating correctly with
Solid green -
the sensor amplifier.
Flashing After it has started up, the DL-PN1 automatically shifts
After power-on, the DL-PN1 is now starting up.
green to the normal status.
The DL-PN1 could not communicate with the
Check if the DL-PN1 is correctly connected to the
sensor amplifier during its start-up.
sensor amplifier and turn on the power again.
(Error code: 00H/52 or 00H/55)
Check if an unsupported sensor amplifier is
An attempt to assign an ID number has failed. connected to the DL-PN1 and turn on the power
(Error code: 00H/51) again.
Solid red The DL-PN1 could not communicate Check if the number of connected sensor amplifiers
continuously with the sensor amplifier for one exceeds the maximum number of connectable units.
second or longer. Check if there is an electrical noise source around
(Error code: 00H/57) the DL-PN1.
If the error cannot be recovered after checking the
A system error may have occurred in the DL-
above, contact your nearest Keyence office.
PN1.
A current limitation error occurred.
(Error code: 00H/56)
Flashing red
An unsupported sensor amplifier was
(Repetition of
connected. Check the sensor amplifier configuration.
4 consecutive
(Error code: 00H/53)
flashes)
Unconnectable models are mixed.
(Error code: 00H/54)
Flashing red
Sometimes the DL-PN1 cannot temporarily Check if there is an electrical noise source around the
(Flashing at
communicate with the sensor amplifier. DL-PN1. (The error is automatically reset if the cause is
fixed
(Error code: 00H/57) removed.)
intervals)
Check if the DL-PN1 is correctly connected to the
Not lit Power is not supplied to the DL-PN1. sensor amplifier.
Check if the power supply is correctly connected.

28 - PROFINET Communication Unit DL-PN1 User's Manual (IL) -


Types of error and error code
Error code list
The following error codes may occur in the DL-PN1.
DL-PN1
Error code Description Cause Actions
0 No error - -
Check if the number of connected sensor
amplifiers exceeds the maximum number
of sensor amplifiers that can be
connected to the main unit.
The main unit assigned no ID "Types and Number of Connectable
51 Unassigned ID error within 10 seconds after the Sensor Amplifiers" (page 3)
DL-PN1 had been started. Check the connection with the sensor
amplifiers and then turn the power on
again.
If this error cannot be recovered, contact
your nearest KEYENCE office.
Communication between sensor Check the connection with the sensor
Start-time amplifiers ended abnormally amplifiers and then turn the power on again.
52
communication error before ID assignment If this error cannot be recovered, contact
completion. your nearest KEYENCE office.
Unsupported sensor Check the model of the connected sensor
A sensor amplifier not supported
53 amplifier connection amplifier and remove the sensor amplifier if it
by the DL-PN1 is connected.
error is not supported by the DL-PN1.
Sensor amplifiers outside the Check if the models are mixable.
54 Mixed model error specifications have a mixed "Types and Number of Connectable
connection. Sensor Amplifiers" (page 3)
ID number assignment is Check the connection with the sensor
Start-time successful but communication amplifiers and then turn the power on again.
55
communication error failed during the subsequent If this error cannot be recovered, contact
initial communication. your nearest KEYENCE office.
The number of connected sensor
Current limitation Use sensor amplifiers within the allowable
56 amplifiers exceeds the allowable
error range.
range.
Check if there is a noise source around the
Communication error An error occurred during
DL-PN1.
57 between sensor communication between sensor
If the sensor communication indicator is solid
amplifiers amplifiers.
red, turn the power on again.
100 System error The IP address is incorrect.
A default gateway setting error
101 System error
occurred.
An attempt to read data in
102 System error EEPROM such as the MAC
address has failed.
An attempt to start the protocol
103 System error
stack has failed. Contact your nearest KEYENCE office.
An attempt to access FlashROM
104 System error
has failed.
The number of held IDs is
150 System error
incorrect.
The number of sensors is
151 System error
incorrect.
152 System error An initial read error occurred.

- PROFINET Communication Unit DL-PN1 User's Manual (IL) - 29


Reference programs
This section introduces reference programs for carrying out PROFINET communication.
If you use these program, ensure that error handling etc. is taken into account when
programming.

Read comparator value (P.V. value)

MOV
M6.0
EN ENO
Network1
IN OUT
ID19 MD40

Explanation of the program


M6.0 (Address 6, Bit 0) turns ON.
The amplifier (main unit) comparator value (P.V. value) is written to MD40.

Input PRESET

M6.0 I 17.1 Q 1.0


Network1 S

Explanation of the program


M6.0 (Address 6, Bit 0) turns ON.
When the amplifier (main unit) comparator value property (Address 17, Bit 1) is Valid (0),
ZERO SHIFT (Address 1, Bit 0) is performed.

30 - PROFINET Communication Unit DL-PN1 User's Manual (IL) -


Rewrite the HI setting value

MOV
M6.0
EN ENO
Network1
IN OUT
HI setting value MDxx

SFB52 "RD REC"


M6.0 M9.0
Network2 EN ENO

REQ VALID M9.1


ID number of the amplifier (main unit) ID BUSY
65 (the Index number of the HI setting value) IN D EX ERROR Error information
4 (fixed value) MLEN STATUS Status information

Read destination address RECORD LEN Reply data length

M6.0 M9.1 M9.2


Network3 S

M9.0
R

SFB53 "WR REC"


M6.0 M9.2
EN ENO
Network4
REQ VALID M9.0
ID number of the amplifier (main unit) ID BUSY
65 (the Index number of the HI setting value) INDEX ERROR Error information
4 (fixed value) LEN STATUS Status information

MDxx RECORD

Explanation of the program


Network1
M6.0 (Address 6, Bit 0) turns ON, and the HI setting value to be set is written in IN.
The HI setting value to be set is written in MDxx. It is not yet applied at this point.
Network2
When M6.0 (Address 6, Bit 0) and M9.0 (Address 9, Bit 0) are ON, READ command
send processing is carried out.
The ID number of the amplifier (main unit) is written in ID, 65 (the Index number of the HI
setting value) is written in INDEX, "4" is written in LEN, the read destination address is
written in RECORD, and REQ turns ON.
The current HI setting value is written in the read destination address.

- PROFINET Communication Unit DL-PN1 User's Manual (IL) - 31


Network3
If the READ command send processing is successful, M9.1 (Address 9, Bit 1) turns ON.
M9.2 (Address 9, Bit 2) turns ON, and M9.0 (Address 9, Bit 0) turns OFF.
Network4
When M6.0 (Address 6, Bit 0) and M9.2 (Address 9, Bit 2) are ON, WRITE command
send processing is carried out.
The ID number of the amplifier (main unit) is written in ID, 65 (the Index number of the HI
setting value) is written in INDEX, "4" is written in LEN, MDxx (the HI setting value
decided in Network1) is written in RECORD, and REQ turns ON.
The HI setting value of the amplifier (main unit) becomes the HI setting value written in
MDxx.
If the WRITE command send processing is successful, M9.0 (Address 9, Bit 0) turns
ON.

32 - PROFINET Communication Unit DL-PN1 User's Manual (IL) -


WARRANTIES AND DISCLAIMERS
(1) KEYENCE warrants the Products to be free of defects in materials and workmanship for a period of one (1)
year from the date of shipment. If any models or samples were shown to Buyer, such models or samples
were used merely to illustrate the general type and quality of the Products and not to represent that the
Products would necessarily conform to said models or samples. Any Products found to be defective must
be shipped to KEYENCE with all shipping costs paid by Buyer or offered to KEYENCE for inspection and
examination. Upon examination by KEYENCE, KEYENCE, at its sole option, will refund the purchase price
of, or repair or replace at no charge any Products found to be defective. This warranty does not apply to any
defects resulting from any action of Buyer, including but not limited to improper installation, improper
interfacing, improper repair, unauthorized modification, misapplication and mishandling, such as exposure
to excessive current, heat, coldness, moisture, vibration or outdoors air. Components which wear are not
warranted.
(2) KEYENCE is pleased to offer suggestions on the use of its various Products. They are only suggestions,
and it is Buyer's responsibility to ascertain the fitness of the Products for Buyers intended use. KEYENCE
will not be responsible for any damages that may result from the use of the Products.
(3) The Products and any samples ("Products/Samples") supplied to Buyer are not to be used internally in
humans, for human transportation, as safety devices or fail-safe systems, unless their written specifications
state otherwise. Should any Products/Samples be used in such a manner or misused in any way,
KEYENCE assumes no responsibility, and additionally Buyer will indemnify KEYENCE and hold KEYENCE
harmless from any liability or damage whatsoever arising out of any misuse of the Products/Samples.
(4) OTHER THAN AS STATED HEREIN, THE PRODUCTS/SAMPLES ARE PROVIDED WITH NO OTHER
WARRANTIES WHATSOEVER. ALL EXPRESS, IMPLIED, AND STATUTORY WARRANTIES,
INCLUDING, WITHOUT LIMITATION, THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, AND NON-INFRINGEMENT OF PROPRIETARY RIGHTS, ARE EXPRESSLY
DISCLAIMED. IN NO EVENT SHALL KEYENCE AND ITS AFFILIATED ENTITIES BE LIABLE TO ANY
PERSON OR ENTITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, SPECIAL OR
CONSEQUENTIAL DAMAGES (INCLUDING, WITHOUT LIMITATION, ANY DAMAGES RESULTING
FROM LOSS OF USE, BUSINESS INTERRUPTION, LOSS OF INFORMATION, LOSS OR
INACCURACY OF DATA, LOSS OF PROFITS, LOSS OF SAVINGS, THE COST OF PROCUREMENT OF
SUBSTITUTED GOODS, SERVICES OR TECHNOLOGIES, OR FOR ANY MATTER ARISING OUT OF
OR IN CONNECTION WITH THE USE OR INABILITY TO USE THE PRODUCTS, EVEN IF KEYENCE
OR ONE OF ITS AFFILIATED ENTITIES WAS ADVISED OF A POSSIBLE THIRD PARTYS CLAIM FOR
DAMAGES OR ANY OTHER CLAIM AGAINST BUYER. In some jurisdictions, some of the foregoing
warranty disclaimers or damage limitations may not apply.

BUYER'S TRANSFER OBLIGATIONS:


If the Products/Samples purchased by Buyer are to be resold or delivered to a third party, Buyer must
provide such third party with a copy of this document, all specifications, manuals, catalogs, leaflets and
written information provided to Buyer pertaining to the Products/Samples.

E 1101-3
Copyright (c) 2014 KEYENCE CORPORATION. All rights reserved.
425GB 1104-1 425GB Printed in Japan

Вам также может понравиться