Professional Documents
Culture Documents
Ethernet (TCP/IP)
Compatible Network Unit
DL-EN1
User’s Manual (IX)
Read this manual before using the product in order to
achieve maximum performance.
Keep this manual in a safe place for future reference.
Introduction
This manual describes the basic operations and hardware functions of the DL-EN1.
Read the manual carefully to ensure safe performance and function of the DL-EN1.
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.
DANGER
It indicates a hazardous situation which, if not avoided, will result in
death or serious injury.
WARNING
It indicates a hazardous situation which, if not avoided, could result
in death or serious injury.
Important It indicates cautions and limitations that must be followed during opera-
tion.
General Precautions
• Before and while operating this product, confirm its performance and functions
operate correctly.
• Implement sufficient safety measures to prevent human and property damage
in case this product fails.
• Be aware that the product functions and performance are not warranted if the product is
used outside the range of stated specifications or is modified by the customer.
• Combining this product with other equipment requires sufficient consideration
because the proper functions and performance may not be met depending on
the environment.
• Do not expose equipment, including peripherals, to rapid temperature
changes. Equipment failure may result from condensation build up.
Do not turn off the power while you are setting any item.
NOTICE
Doing this may cause loss of data settings.
Equipment Environment
For safe, trouble-free operation of this product, the product must not be installed
in the following environments:
• Humid, dusty, or poorly ventilated.
• Exposed to direct sunlight or heat source.
• Exposed to corrosive or flammable gases.
• Exposed directly to vibration or shock.
• Exposed to water, oil, or chemical splashes.
• Exposed to static electricity.
986GB 1
Noise Protection
If this product is installed in a location near an electrical noise source, e.g., a power
source or high-voltage line, it may malfunction or fail because of noise. Take
protective measures, such as using a noise filter or running the cables separately.
UL Certification
This product is an UL/C-UL Listed product.
• UL File No. E207185
• Category NRAQ, NRAQ7
Be sure to consider the following specifications when using this product as an UL/C-
UL Listed Product.
• Use this product under pollution degree 2.
• For wiring to the power supply connector, use a power supply with Class 2 output
defined in NFPA70 (NEC: National Electric Code).
• This product is an open type device. Therefore, it must be installed in an
enclosure with an IP 54 or higher rating. (e.g. Industrial control panel)
CE Marking
Keyence Corporation has confirmed that this product complies with the essential
requirements of the applicable EU Directive, based on the following specifications.
Be sure to consider the following specifications when using this product in a member
state of European Union.
EMC Directive
• Applicable standards EMI: EN55011, Class A
EMS: EN61000-6-2
• Use an STP (shielded twisted pair) cable for connection to the network.
These specifications do not give any guarantee that the end-product with this
product incorporated complies with the essential requirements of EMC Directive. The
manufacturer of the end-product is solely responsible for the compliance on the end-
product itself according to EMC Directive.
1 Before Using
This chapter provides an overview of the DL-EN1
and describes its part names and functions.
1
2
This chapter describes the procedures from
Connection and installing the DL-EN1 and sensor amplifiers to
Configuration configuring communication.
2
3
List of commands
supported by the
DL-EN1
3
4
List of commands
supported by the
IX Series
4
Appendix
App
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 1-1
1-1 DL-EN1 Overview
The DL-EN1 cannot be used together with sensor amplifiers (main unit/expansion
unit) other than the IX Series.
1-2 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
1-2 Checking the Package Contents
Before using the DL-EN1, make sure that the following equipment and accessories
are included in the package. We have thoroughly inspected the package contents
before shipment. 1
However, in the event of defective or broken items, contact your nearest KEYENCE
office.
Before Using
Package Contents
■ Package contents
DL-EN1 main unit x 1 Expansion connector End unit x 2
sticker x 1 OP-26751
Instruction manual x 1
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 1-3
1-3 Names and Functions of Each Part
This section describes the part names and functions of the DL-EN1.
1
Before Using
Name Description
(1) RJ-45 connector Attach the network cable to this connector.
(2) Reset switch When held down for three seconds or longer, the DL-
EN1 settings will be reset to the default settings.
(3) Link/activity indicator Normal: Green LED lights up or blinks
For details, refer to "Troubleshooting".
(4) Module status indicator Normal: Green LED lights up
For details, refer to "Troubleshooting".
(5) Network status indicator Normal: Green LED lights up
For details, refer to "Troubleshooting".
(6) Sensor communication Indicates the status of communication between the
indicator DL-EN1 and sensor amplifiers.
Normal: Green LED lights up
For details, refer to "Troubleshooting".
(7) MAC address MAC address for this DL-EN1
(8) Sensor amplifier Attach the sensor amplifier to this connector. When
connector (for DIN rail not using this connector, remove it and replace with
mount type) the protective sticker.
1-4 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
Connection and Configuration
This section describes procedures from installing the DL-EN1 and
sensor amplifiers to configuring communication. 2
2-1 Communication Data Allocation Setting and
Measurement Value Number ..................................2-2
2-1 Wiring......................................................................2-2
2-3 Configuring Communication with the DL-EN1 .... 2-7
2-4 Commands and Responses ............................... 2-8
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 2-1
2-1 Communication Data Allocation Setting and Measurement Value Number
With the DL-EN1, the tool result allocated with the [Output Assignment] setting of the
IX Series is output as [measurement value n (n: 1 to 15)].
(For details on the [Output Assignment setting], see the IX Series User's Manual.)
This setting assigns the measurement value of each tool.
The I/O result is assigned to the specified device number, so there is no need to
2-2 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
2-1 Communication Data Allocation Setting and Measurement Value Number
For example, if the communication data has been allocated as shown in the following
figure, the measurement values are assigned to measurement values 1 to 15 as
shown below.
Invalid (----) is the result of measurement values for which "OFF" is selected.
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 2-3
2-1 Communication Data Allocation Setting and Measurement Value Number
Byte Swapping (used when changing the FTP transmission file name)
To enable data area byte swapping,
select [Enable].
2
Connection and Configuration
Point You can change the order in which data is stored in memory. The storage
order can be changed in units of two bytes.
• Disable: Low to high (example: ABCDEF)
• Enable: High to low (example: BADCFE)
Set byte swapping to match the specifications of the PLC. For details, see
the user's manual of the PLC.
2-4 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
2-2 Wiring
STP/UTP cable
2
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 2-5
2-2 Wiring
The cable may be bent and used when installed. Bending the cable
at a sharp angle may cut the wires in the cable or the cable may be
Connection and Configuration
NOTICE
disconnected during use. Install or lay the cable to be used with
attention to the recommended bending radius R of the cable.
The following describes how to connect the DL-EN1 to the RJ-45 connector.
2 Connect one modular jack of the STP/UTP cable to the 100BASE port of
the Ethernet switch to be used.
Insert the modular jack until a "click" is heard. The modular jack and connector
will lock.
Point
・ Keep the length of the STP/UTP cable to be used 100 m or less.
・ Carefully check the state of connector (port) on the Ethernet
switch before connecting the DL-EN1. There are various Ethernet
switches. Some Ethernet switches have a different shape
connector (AUI connector or BNC connector, etc.) from the RJ-45,
while some have connectors used to connect Ethernet switches
together (cascade ports).
3 Connect the modular jack on the other end of the STP/UTP cable to the
DL-EN1 connector port.
Insert the jack until a "click" is heard. The modular jack and connector will lock.
2-6 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
2-3 Configuring Communication with the DL-EN1
DL-EN1 Settings
The following describes how to set communication with the DL-EN1.
2
Setting the IP address
Set the IP address with the DL-EN1 wired and with the power supplied.
By default, the IP address is not set. However, you can use the BOOTP client function
to set the IP address via Ethernet.
What is BOOTP?
Reference
BOOTP is the abbreviation of BOOT strap Protocol. This protocol is used
by the client device in the TCP/IP network to make the network settings
assigned from the server.
If there is a BOOTP server in the same network as the device running as
the BOOTP client, an IP address is assigned to the device connected as
the BOOTP client.
IP address assignment
Via Ethernet
Ethernet
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 2-7
2-4 Commands and Responses
Format
Send the "command format" in ASCII code from an external device.
For details on the parameters used with the command format, refer to "Command
2
and Response Parameters".
M 0 CR LF
Response format
Reference
The measurement value is fixed to a positive or negative sign and the
measurement value represented as nine characters.
Example: When two sensors are connected to the DL-EN1 and the
obtained measurement values are 12.345 and -56.789
The measurement value response from the first sensor is
"+000012345," and the measurement value response from the
second sensor is "-000056789."
If an error occurs on a sensor, the value "+100000000" is output.
When a sensor over range has occurred (the sensor amplifier displays
FFFF), "+099999999" is output.
When a sensor under range has occurred (the sensor amplifier displays
-FFFF), "-099999999" is output.
When a sensor's value is invalid (the sensor amplifier displays ----),
"-099999998" is output.
2-8 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
2-4 Commands and Responses
*1 The measurement value set to be last with the communication data allocation is
output at the end of the response format.
Also, invalid is the comparison result for numbers for which communication data
allocation has not been performed.
Response: M0,+000001234,+000002345,+000003456,
-099999998,+000000080CRLF
(2) SR command
Command format
Amplifier
S R number Data CR LF
*1 number
, ,
Response format
Amplifier
S R number Data CR LF
*1 number Data*2
, , ,
*1 Enter "01" for the main unit, "04" for the expansion unit, and "00" for the DL-EN1.
No other numbers can be used.
*2 The data is fixed to a positive or negative sign and the data represented as
nine characters.
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 2-9
2-4 Commands and Responses
(3) SW command
Command format
Amplifier
S W number Data CR LF
number Data setting*2
*1
, , ,
2
Response format
Amplifier
S W number Data CR LF
*1 number
, ,
Connection and Configuration
*1 Enter "01" for the main unit and "04" for the expansion unit.
No other numbers can be used.
*2 The data setting is fixed to a positive or negative sign and the setting value
represented as nine characters.
E R * * d d d CR LF
, ,
**: This varies depending on the sent command.
M0, SR or SW is inserted here.
*1 The sensor does not support writing to the specified amplifier number when:
• A value other than "01" or "04" is specified with a main unit and an expansion
unit connected.
• "04" is specified with no expansion unit connected.
2-10 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
List of Commands Supported
by the DL-EN1
3
3-1 List of Commands Supported by the DL-EN1 .... 3-2
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 3-1
3-1 List of Commands Supported by the DL-EN1
Command List
The amplifier number of the DL-EN1 is 00.
Data
Name Description Attribute
number
Indicates the status of this unit and connected sensor
amplifier.
000 Status Bit 0: DL-EN1 Error Status R
Bit 1 to bit 14: Reserved for system
3-2 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
3-1 List of Commands Supported by the DL-EN1
Data
Name Description Attribute
number
Measurement
Indicates the result of measurement value 1.
Value
044 Parameter range: R
(Measurement
-999999999 to +999999999 (initial value: 0)
value 1)*1
045 to 057 :
Measurement
Indicates the result of measurement value 15.
Value
058 Parameter range: R
(Measurement
-999999999 to +999999999 (initial value: 0)
value 15)*1
059 to 075 Reserved for system
Set up the condition to determine if the sensor amplifier
3
error is a recoverable DL-EN1 error (MS LED blinks in
red). If mask is selected, MS LED does not blink in red
*1 If the measurement value is over range (FFFF), under range (−FFFF), or invalid
(----), the previous value is retained without updating the measurement value.
Use the value with the measurement value property.
*2 Error code list
For the error codes that may occur on the DL-EN1 and sensor amplifiers, see
"Error Code List" (Page 3-4)
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 3-3
3-1 List of Commands Supported by the DL-EN1
3
exceeds the maximum number
of sensor amplifiers that can
be connected to the main unit.
The main unit assigned no "Types and Number of
connection within 10
List of Commands Supported by the DL-EN1
3-4 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
3-1 List of Commands Supported by the DL-EN1
Error
device Code Description Cause Actions
number
100 System error The IP address is incorrect.
A default gateway setting
101 System error
error occurred.
An attempt to read data in
102 System error EEPROM such as the MAC
address has failed.
An attempt to start the
103 System error Contact your nearest
0 protocol stack has failed.
3
KEYENCE office.
An attempt to access
104 System error
FlashROM has failed.
The number of held IDs is
150 System error
incorrect.
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 3-5
3-1 List of Commands Supported by the DL-EN1
● IX Series
Error
Error
device
code Description Cause Corrective action
number
(HEX)
(HEX)
• Cycle power to the DL-
Internal Communication may not be EN1.
01 communication performed normally between • If the same error occurs,
error the sensor and the DL. contact your nearest sales
office.
3
• Initialize the
corresponding program.
A data error has occurred in • Cycle power to the DL-
the program. EN1.
Program The power may have been • Do not turn the power off
02
List of Commands Supported by the DL-EN1
corruption error turned off during the writing while settings are being
of settings or the DL-EN1 saved.
may be affected by noise. • If the same error occurs,
contact your nearest sales
office.
• Initialize the settings on
the sensor.
• A data error has occurred. • Cycle power to the DL-
• The power may have been EN1.
Nonvolatile turned off during the • Do not turn the power off
03
memory error writing of settings or the while settings are being
DL-EN1 may be affected saved.
by noise. • If the same error occurs,
contact your nearest sales
office.
nnh*
• Check whether the sensor
head is connected.
• Check whether the head
• The sensor head is not cable is broken.
Non-connected connected to the sensor • After checking the above
04
sensor head error amplifier. items, cycle power to the
• The head cable is broken. DL-EN1.
• If the same error occurs,
contact your nearest sales
office.
• Cycle power to the DL-
EN1.
An error may have occurred
0A System error • If the same error occurs,
within the sensor.
contact your nearest sales
office.
The zero offset function was
used while "-----" was
Execute this function while
displayed for the
0F Zero offset error numbers are displayed for
measurement value. (When
the measurement value.
the zero offset error is set to
[Enable].)
A trigger was sent while the
DL-EN1 was busy. (When the Do not send triggers while
10 Trigger error
trigger error is set to the DL-EN1 is busy.
[Enable].)
* For "nn," 01h is used for the main unit and 04h is used for the expansion unit.
3-6 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
List of Commands Supported
by the IX Series
4
4-1 List of Commands Supported by the IX Series .......4-2
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 4-1
4-1 List of Commands Supported by the IX Series
4
033 Sensor amplifier error status R
Bit 3: Non-connected sensor head error
Bit 10: System error
Bit 13: FTP error
Bit 14: Zero shift error
Bit 15: Trigger error
List of Commands Supported by the IX Series
4-2 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
4-1 List of Commands Supported by the IX Series
Data
number Parameter name Description Attribute
(DEC)
000 to 255
Converts a binary number into a three-digit number
(decimal) and writes this number.
4
OFF: Do not write
131 FTP file name reading execution request Bits 4 to 7: Reserved for system R/W
Bit 8: Reading execution request classification
specification
ON: Read the file name saved to the nonvolatile
memory.
OFF: Read the current file name.
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 4-3
4-1 List of Commands Supported by the IX Series
Data
number Parameter name Description Attribute
(DEC)
Sets the emission stop input.
162 Emission stop input*10 0: Emission stop input OFF R/W
1: Emission stop input ON
Specify the number of the program to change to.
0: Program 0
163 *11*12*4 1: Program 1 R/W
Program change execution request
:
31: Program 31
Indicates the execution result corresponding to a
program change execution request. The last result
executed is held.
164 Program change execution result*13 0: Execution in progress
R
1: Normal termination
2: Abnormal termination
4
Use this to read a currently set threshold. Specify the
number of the threshold to read.
Range: 0 to 32
0: Tool 1 lower limit threshold
1: Tool 1 upper limit threshold
List of Commands Supported by the IX Series
4-4 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
4-1 List of Commands Supported by the IX Series
Data
number Parameter name Description Attribute
(DEC)
Specify the number of the measurement value to read.
(Reading range: 0 to 18)
0: Tool 1
1: Tool 2
Measurement value reading execution 2: Tool 3
171 R/W
request*23*24*25 :
15: Tool 16
16: Position adjustment
17: Tilt adjustment (scan)
18: Tilt adjustment (line)
Indicates the execution result corresponding to a
measurement value reading execution request. The
Measurement value reading execution last result executed is held.
172 R
result*23*26*25 0: Execution in progress
1: Normal termination
*1 To check whether the zero offset has completed normally or not, read the "zero
offset execution result."
When performing the same execution request in succession, check that the
previous execution request is complete before performing the next execution
request. If the next request is executed while the previous request is being
executed, this next request will not be processed.
Also, when using an execution request with a different type of execution request,
execute the request after first checking that the other request is not being
executed. If a different execution request is performed while an execution
request is being performed, the execution result of this different request will be
abnormal termination.
*2 To record the zero offset status in nonvolatile memory, it is necessary to set the
zero/offset recording to [Use] by accessing [Sensor Expansion Settings] [Input
Settings] [Input Functions] [Zero/offset Recording].
*3 Zero/offset is not executed for tools that are not set as zero/offset targets in
[Output Assignment] [Expansion Functions] [Zero/offset Target Tools].
*4 When the main unit/expansion unit synchronized input function is enabled,
functions are executed on the expansion unit just by performing function
execution requests on the main unit. The execution result indicates only that of
the main unit (even if the expansion unit's execution fails, if the main unit
succeeds, the result will be normal termination).
*5 To check whether the zero offset clear has completed normally or not, read the
"zero offset clear execution result."
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 4-5
4-1 List of Commands Supported by the IX Series
When performing the same execution request in succession, check that the
previous execution request is complete before performing the next execution
request. If the next request is executed while the previous request is being
executed, this next request will not be processed.
Also, when using an execution request with a different type of execution request,
execute the request after first checking that the other request is not being
executed. If a different execution request is performed while an execution
request is being performed, the execution result of this different request will be
abnormal termination.
*6 To check whether resetting has completed normally or not, read the "reset
execution result."
When performing the same execution request in succession, check that the
previous execution request is complete before performing the next execution
4 request. If the next request is executed while the previous request is being
executed, this next request will not be processed.
Also, when using an execution request with a different type of execution request,
List of Commands Supported by the IX Series
execute the request after first checking that the other request is not being
executed. If a different execution request is performed while an execution
request is being performed, the execution result of this different request will be
abnormal termination.
*7 Regardless of the output mode, with the NO setting, bits that correspond to ON
output are 1, and bits that correspond to OFF output are 0.
*8 Abnormal termination occurs in the following situations.
(1) During execution of the function execution request from the DL, a different
type of function execution is requested.
Example: If zero offset execution is requested during reset execution request
processing
(2) The sensor amplifier is not in run mode.
(3) Among all the tools that can be executed (height, height difference, MAX/
MIN, and calculation), it was not possible for even one tool to perform the
zero offset (zero offset execution when measurement values are disabled).
(Tool measurement values are disabled in the following situations.
• The latest measurement value does not exist. [Immediately after
operation, after resetting, and when not even one comparison has been
performed]
• There are no measurement values due to measurement not being
possible.)
(4) An execution request targeted at the expansion unit was performed with no
expansion unit connected.
(5) An execution request targeted at the expansion unit was performed when the
main unit/expansion unit synchronized input function was enabled.
*9 Abnormal termination occurs in the following situations.
(1) During execution of the function execution request from the DL, a different
type of function execution is requested.
Example: If zero offset clear execution is requested during reset execution
request processing
4-6 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
4-1 List of Commands Supported by the IX Series
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 4-7
4-1 List of Commands Supported by the IX Series
4
*18 Read the threshold after first checking that the [threshold reading execution
result] command has ended normally.
If the threshold (for reading) is read while the [threshold reading execution result]
command is being executed or has terminated abnormally, the threshold (for
List of Commands Supported by the IX Series
reading) is set to the last threshold that was read with normal termination.
*19 To change a threshold, perform the following three steps in order.
(1) Write the threshold with the [threshold (for writing)].
(2) Specify the threshold number with the [threshold writing execution request].
(3) Check the [threshold writing execution result].
For details, see "Communication Examples With Message Communication"
(page 4-12).
*20 To check whether the threshold writing execution request has completed
normally or not, read the "threshold writing execution result."
When performing requests in succession, check that the previous processing is
not being executed before performing an execution request. If the next request is
executed while the previous request is being executed, this next request will not
be processed.
*21 Abnormal termination occurs in the following situations.
(1) During execution of the function execution request from the DL, a different
type of function execution is requested.
Example: If threshold writing execution is requested during reset execution
request processing
(2) The sensor amplifier is not in run mode.
(3) An invalid threshold or threshold number is written.
(4) An execution request targeted at the expansion unit was performed with no
expansion unit connected.
*22 The following cases correspond to "An invalid threshold or threshold number is
written." listed above.
(1) The tool or the threshold of the specified threshold number does not exist.
Example: An attempt was made to write the lower limit threshold of tool 1
regardless of tool 1 not being set.
4-8 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
4-1 List of Commands Supported by the IX Series
Example: An attempt was made to write the upper limit threshold of tool 2
regardless of tool 2 being a monochrome area tool and the upper
limit threshold being invalid.
(2) A value outside the range specified by the tool's upper and lower limits is set.
Example: An attempt was made to write "500" for the upper limit threshold of
tool 2 regardless of tool 1 being a monochrome area tool and the
upper limit threshold being valid with a setting scale of 0 to 200.
(3) An attempt was made to set the tool's lower limit threshold to a value greater
than the tool's upper limit threshold.
Example: An attempt was made to write +2.00 for the lower limit threshold of
tool 1 with the upper limit threshold of tool 1 set to +1.00.
(4) An attempt was made to set the tool's upper limit threshold to a value smaller
than the tool's lower limit threshold.
4
Example: An attempt was made to write +1.00 for the upper limit threshold of
tool 1 with the lower limit threshold of tool 1 set to +2.00.
*23 Measurement values indicate the measurement values assigned with the
4 *32 • Add a NULL (0x00) character after the character string that you want to
change to.
• The file name cannot be changed to the correct value if the NULL (0x00)
List of Commands Supported by the IX Series
Data number
File name
133 134 135 136 137 138 to 159
16706 17220 17734 00000
Writing not Writing not
ABCDEF (0x4142) (0x4344) (0x4546) (0x0000)
required required
(AB) (CD) (EF) ([NUL][NUL])
12594 13108 13622 14136 14592
Writing not
1234567 (0x3132) (0x3334) (0x3536) 0x3738 (0x3900)
required
(12) (34) (56) (78) (9[NUL])
*33 • The data is all NULL (0x00) characters when no characters to read exist.
• The characters to read are output as ASCII code. Set byte swapping correctly
to match the specifications of the PLC.
• Example of reading the file name
The five-character data read with the SR command must be converted to the
file name (two characters).
For example, if the five characters of the response are 16706, the file name is
AB.
1 6 7 0 6 → 0x4142 → A B
Conversion to an Conversion to a
(0x31) (0x36) (0x37) (0x30) (0x36) integer (HEX) (16706) character string (0x41) (0x42)
4-10 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
4-1 List of Commands Supported by the IX Series
Data number
File name
133 134 135 136 137 138 to 159
16706 17220 17734 00000 00000 00000
ABCDEF (0x4142) (0x4344) (0x4546) (0x0000) (0x0000) (0x0000)
(AB) (CD) (EF) ([NUL][NUL]) ([NUL][NUL]) ([NUL][NUL])
12594 13108 13622 14136 14592 00000
1234567 (0x3132) (0x3334) (0x3536) 0x3738 (0x3900) (0x0000)
(12) (34) (56) (78) (9[NUL]) ([NUL][NUL])
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 4-11
4-1 List of Commands Supported by the IX Series
repeatedly read the result until a response of [1: Normal termination] is returned.
PLC side DL side
(1)
SW command: Command
SW,01,001,+000000001CRLF
*2
Response
(2)
SR command: Command
SR,01,054CRLF
Response
NO
[0: Execution in
progress]*1
(3)
Is the response
[1: Normal termination]?
YES
Stop
4-12 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
4-1 List of Commands Supported by the IX Series
*1 Possible causes for the [zero offset execution result] being [2: Abnormal
termination] are shown below.
• During execution of the function execution request from the DL, a different
type of function execution is requested.
(Example: If zero offset execution is requested during reset execution request
processing)
• The sensor amplifier is not in run mode.
• Among all the tools that can be executed (height, height difference, MAX/MIN,
and calculation), it was not possible for even one tool to perform the zero
offset.
The zero offset will not be executed normally when the measurement value is
invalid. Tool measurement values are disabled in the following situations.
- The latest measurement value does not exist. (Immediately after operation,
4
after resetting, and when not even one comparison has been performed)
- There are no measurement values due to measurement not being possible.
• An execution request targeted at the expansion unit was performed with no
expansion unit connected.
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 4-13
4-1 List of Commands Supported by the IX Series
Changing programs
This example illustrates how to change the program number of the main unit to 3.
(1) Use the [program change execution request] to write the number of the program to
change to.
(2) Read the [program change execution result]. Check that the result is [1: Normal
termination] and that the program change is complete.
If the result is [0: Execution in progress], the program change is not yet complete,
so repeatedly read the result until a response of [1: Normal termination] is
returned.
(3) If the response is [0: Execution in progress], the processing is not yet complete, so
repeatedly read the result until a response of [1: Normal termination] is returned.
SW,01,163,+000000003CRLF
Response
(2)
Response
NO
[0: Execution in
progress]*1
(3)
Is the response
[1: Normal termination]?
YES
Stop
*1 Possible causes for the [program change execution result] being [2: Abnormal
termination] are shown below.
• During execution of the function execution request from the DL, a different
type of function execution is requested.
Example: If program change execution is requested during reset execution
request processing
• The sensor amplifier is not in run mode.
4-14 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
4-1 List of Commands Supported by the IX Series
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 4-15
4-1 List of Commands Supported by the IX Series
4
request]
Command
SW command:
SW,04,165,+000000005CRLF
List of Commands Supported by the IX Series
Response
(2)
Response
NO
[0: Execution in
progress]*1
(3)
Is the response
[1: Normal termination]?
YES
(4)
SR command: Command
SR,04,167CRLF
Response
Example: 1234
Stop
4-16 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
4-1 List of Commands Supported by the IX Series
*1 Possible causes for the [threshold reading execution result] being [2: Abnormal
termination] are shown below.
• During execution of the function execution request from the DL, a different
type of function execution is requested.
(Example: If threshold reading execution is requested during reset execution
request processing)
• The sensor amplifier is not in run mode.
• The tool of the specified threshold number does not exist.
(Example: An attempt was made to read the lower limit threshold of tool 2
regardless of tool 2 not being set.)
• An execution request targeted at the expansion unit was performed with no
expansion unit connected.
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 4-17
4-1 List of Commands Supported by the IX Series
Command
4
SW command:
SW,04,168,+000001234CRLF
List of Commands Supported by the IX Series
Response
(2)
Response
(3)
Response
NO
[0: Execution in
progress]*1
(4)
Is the response
[1: Normal termination]?
YES
Stop
4-18 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
4-1 List of Commands Supported by the IX Series
*1 Possible causes for the [threshold writing execution result] being [2: Abnormal
termination] are shown below.
• During execution of the function execution request from the DL, a different
type of function execution is requested.
Example: If threshold writing execution is requested during reset execution
request processing
• The sensor amplifier is not in run mode.
• An invalid threshold or threshold number is written.
• An execution request targeted at the expansion unit was performed with no
expansion unit connected.
4
(1) The tool or the threshold of the specified threshold number does not exist.
Example: An attempt was made to write the lower limit threshold of tool 1
regardless of tool 1 not being set.
Example: An attempt was made to write the upper limit threshold of tool 2
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 4-19
4-1 List of Commands Supported by the IX Series
4
Command
SW command:
SW,01,171,+000000001CRLF
List of Commands Supported by the IX Series
Response
(2)
[Measurement values
reading execution result]
Command
SR command:
SR,01,172CRLF
NO Response
[0: Execution in
progress] *1
(3)
Is the response
[1: Normal termination]?
YES
(4)
Response
Example: 1234
Stop
4-20 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
4-1 List of Commands Supported by the IX Series
*1 Possible causes for the [measurement value reading execution result] being [2:
Abnormal termination] are shown below.
• During execution of the function execution request from the DL, a different
type of function execution is requested.
(Example: If measurement value reading execution is requested during reset
execution request processing)
• The sensor amplifier is not in run mode.
• The tool of the specified measurement value number does not exist.
(Example: An attempt was made to read the lower limit threshold of tool 2
regardless of tool 2 not being set.)
• An execution request targeted at the expansion unit was performed with no
expansion unit connected.
4
Reading the FTP file name (text input area)
This example illustrates how to read "ABCDE," which is currently set for the
"transmission condition 2 file name (text input area)" of the expansion unit.
(1) Write the number corresponding to the information that you want to read in the
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 4-21
4-1 List of Commands Supported by the IX Series
(1)
[FTP file name reading execution
request] Command
SW command:
SW,04,131,+000000002[CR][LF]
Response
(2)
[FTP file name reading execution
result] Command
SR command:
SR,04,132[CR][LF]
4 NO
Response
[0: Execution in
List of Commands Supported by the IX Series
progress] *1
(3)
Is the response
[1: Normal termination]?
YES
(4)-1
[FTP file name 1]
Command
SR command:
SR,04,133[CR][LF]
Response
Example: AB
(4)-2
[FTP file name 2]
SR command:
SR,04,134[CR][LF]
Response
Example: CD
(4)-3
[FTP file name 3]
SR command:
SR,04,135[CR][LF]
Response
Example: E (NULL)
Stop
4-22 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
4-1 List of Commands Supported by the IX Series
*1 Possible causes for the [FTP file name reading execution result] being [2:
abnormal termination] are shown below.
• During execution of the processing for the function execution request from the
DL, a different type of function execution is requested.
(Example) If reset execution is requested during FTP file name reading
execution request processing
• The sensor amplifier is not in run mode.
• An execution request targeted at the expansion unit was performed with no
expansion unit connected.
• An execution request targeted at the IX-1050 was performed with the IX-1050
(R1.00) connected to the IX-1000 (R2.00 and later versions).
4
This example illustrates how to change the "transmission condition 2 file name (text
input area)" on the expansion unit to "ABCDEF." Nothing is written to the nonvolatile
memory.
(1) Write the (ASCII) text to change to in [FTP file name 1] to [FTP file name 4].
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 4-23
4-1 List of Commands Supported by the IX Series
(1)-1
[FTP file 1] Example: AB Command
Example: 1234
SW command:
SW,04,133,+000016706[CR][LF]
Response
(1)-2
[FTP file 2] Example: CD
SW command:
SW,04,134,+000017220[CR][LF]
Response
4 (1)-3
[FTP file 3] Example: EF
SW command:
List of Commands Supported by the IX Series
SW,04,135,+000017734[CR][LF]
Response
(1)-4
[FTP file 4] Example: [NULL][NULL]
SW command:
SW,04,136,+000000000[CR][LF]
Response
SW command:
SW,04,129,+000000002CRLF
Response
Is the response
[1: Normal termination]?
YES
Stop
4-24 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
4-1 List of Commands Supported by the IX Series
*1 Possible causes for the [FTP file name writing execution result] being [2:
abnormal termination] are shown below.
• During execution of the processing for the function execution request from the
DL, a different type of function execution is requested.
(Example) If reset execution is requested during FTP file name writing
execution request processing
• The sensor amplifier is not in run mode.
• A value that is not valid has been entered for the text.
• An execution request targeted at the expansion unit was performed with no
expansion unit connected.
• An execution request targeted at the IX-1050 was performed with the IX-1050
(R1.00) connected to the IX-1000 (R2.00 and later versions).
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - 4-25
4-1 List of Commands Supported by the IX Series
MEMO
4
List of Commands Supported by the IX Series
4-26 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
Appendix
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - A-1
A-1 Specifications
A
Indicator lamps Network status indicator (NS): 2-color (green/red) LED
Sensor communication indicator (N-bus): 2-color (green/red)
LED
20 to 30 VDC ±10%, including ripple (p-p)10% (supplied from
Power voltage
the connected sensor amplifiers)
Appendix
A-2 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
A-2 Dimensions
(Unit : mm)
25.6
29.4
(42.5)
38.1
A
43.5 35.4
Appendix
94.5
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - A-3
A-3 Data Processing Time
A
allocations*
1 -
2 -
3 18
Appendix
4 20
5 24
6 26
7 30
8 32
9 36
10 38
11 42
12 44
13 48
14 50
15 54
* For the data processing time of the expansion unit, add 4 ms to the above values.
For information on (1), (2), and (4), refer to the manual of each device.
* The number of communication data allocations discussed here is determined by
the following rules, which are from "Communication Data Allocation Setting and
Measurement Value Number" (Page 2-2)."
Example 1: [Apply to:] set to [Main unit only] and 1 and 2 selected under [Output
Assignment]
Because [Main unit only] is selected, the number of communication
data allocations for (a) is three.
Because 1 and 2 are selected under [Output Assignment], the
number of communication data allocations for (b) is two. A
Hence, the number of communication data allocations is three (a), the
larger value.
Appendix
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - A-5
A-3 Data Processing Time
Example 2: [Apply to:] set to [Main unit only] and 1, 2, and 5 selected under
[Output Assignment]
Because [Main unit only] is selected, the number of communication
data allocations for (a) is three.
Because 1, 2, and 5 are selected under [Output Assignment], the
number of communication data allocations for (b) is five.
Hence, the number of communication data allocations is five (b), the
larger value.
A
Appendix
A-6 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
A-3 Data Processing Time
Example 4: [Apply to:] set to [Main unit only] and 1 to 15 selected under [Output
Assignment]
Because [Main unit only] is selected, the number of communication
data allocations for (a) is three.
Because 1 to 15 are selected under [Output Assignment], the number
of communication data allocations for (b) is 15.
Hence, the number of communication data allocations is 15 (b), the
larger value.
Appendix
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - A-7
A-4 Troubleshooting
The indicator LEDs on the DL-EN1 can be used to determine the causes of errors.
A
Solid The DL-EN1 is normally linked. -
Green The DL-EN1 is normally linked and
Flashing -
is now exchanging data.
• Check if the power supply is correctly
Appendix
connected.
• Check if the DL-EN1 is correctly connected
Power is not supplied to the DL- to the sensor amplifier.
Not lit EN1. • Check if the IP address is correct.
The DL-EN1 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.
* The setting can be changed so that the red LED does not flash.
A-8 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
A-4 Troubleshooting
A
sensor amplifier.
If an error occurs, you can identify the cause of the error by reading the error code.
LED
Condition Corrective Action
Status
Appendix
The DL-EN1 is communicating correctly with
Solid green -
the sensor amplifier.
Flashing After power-on, the DL-EN1 is now starting After it has started up, the DL-EN1 automatically
green up. shifts to the normal status.
The DL-EN1 could not communicate with
• Check if the DL-EN1 is correctly connected to the
the sensor amplifier during its start-up.
sensor amplifier and turn on the power again.
(Error ID number/code: 00/052 or 00/055)
• Check if an unsupported sensor amplifier is
An attempt to assign an ID number has connected to the DL-EN1 and turn on the power
failed. again.
(Error ID number/code: 00/051) • Check if the number of connected sensor
Solid red
The DL-EN1 could not communicate amplifiers exceeds the maximum number of
continuously with the sensor amplifier for connectable units.
one second or longer. • Check if there is an electrical noise source around
(Error ID number/code: 00/057) the DL-EN1.
A system error may have occurred in the If the error cannot be recovered after checking the
DL-EN1. above, contact your nearest Keyence office.
A current limitation error occurred.
Flashing (Error ID number/code: 00/056)
red
An unsupported sensor amplifier was
Repetition
connected. Check the sensor amplifier configuration.
of 4
(Error ID number/code: 00/053)
consecutive
flashes) Unconnectable models are mixed. (Error ID
number/code: 00/054)
Flashing
red Sometimes the DL-EN1 cannot temporarily Check if there is an electrical noise source around the
(Flashing at communicate with the sensor amplifier. DL-EN1. (The error is automatically reset if the cause
fixed (Error ID number/code: 00/057) is removed.)
intervals)
• Check if the DL-EN1 is correctly connected to the
Not lit Power is not supplied to the DL-EN1. sensor amplifier.
• Check if the power supply is correctly connected.
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - A-9
A-4 Troubleshooting
A
Appendix
A-10 - Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) -
A-5 Index
C
Checking the Package Contents ......... 1-3
Package Contents ....................... 1-3
Commands and Responses ................ 2-8
Format ......................................... 2-8
Communication Data Allocation Setting
and Measurement Value Number ....... 2-2
Configuring Communication with the
DL-EN1 ................................................ 2-7
DL-EN1 Settings .......................... 2-7
D
Dimensions ..........................................A-3
DL-EN1 Overview ................................ 1-2
Types and Number of connectable
sensor amplifiers ......................... 1-2
L A
List of commands supported by the
Appendix
DL-EN1 ................................................ 3-2
List of commands supported by the
IX Series .............................................. 4-2
Communication Examples With
Message Communication ......... 4-12
N
Names and Functions of Each Part ..... 1-4
S
Specifications ...................................... A-2
T
Troubleshooting ...................................A-8
W
Wiring .................................................. 2-5
Connecting a communication
cable ........................................... 2-5
- Ethernet (TCP/IP) Compatible Network Unit DL-EN1 User’s Manual (IX) - A-11
Revision History
E 1101-3
Copyright (c) 2020 KEYENCE CORPORATION. All rights reserved.
195073GB 2040-1 986GB Printed in Japan