96169E EtherNet/IP Compatible Network Unit DL-EP1 User’s Manual (IB) 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-EP1. Read the manual carefully to ensure safe performance and function of the DL-EP1. 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.
Safety Information for DL-EP1 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.
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. About the Power Supply • Noise superimposed on the power supply may result in malfunction. Use a stabilized DC power supply configured with an isolation transformer.
Relevant Manuals The manuals relevant to this document are as follows: Manuals related to CPU unit KV -D N20 MS NS ON PLC CPU unit EtherNet/IP scanner unit TE RM .
MEMO 4 - EtherNet/IP Compatible Network Unit DL-EP1 User’s Manual (IB) -
Manual Organization 1 Before Using This chapter provides an overview of the DL-EP1 and describes its part names and functions. 2 Connection and Configuration This chapter describes the procedures from installing the DL-EP1 and sensor amplifiers to configuring communication. 2 3 Communicating with the IB Series This chapter describes the configuration of memory that communicates with the EtherNet/IP compatible network unit and a communication timing chart.
Table of Contents Safety Information for DL-EP1 ..................................................................... 1 General Precautions ...................................................................... 1-1 Precautions for Use ........................................................................ 1-1 Precautions on Regulations and Standards ................................... 1-2 Relevant Manuals ..........................................................................................
3-4 Actions which can be completed with Cyclic Communication ........ 3-6 Usable Connections ....................................................................... 3-7 Assignment to IN Area (DL-EP1 to Scanner) ................................. 3-8 Assignment to OUT Area (Scanner to DL-EP1) ........................... 3-16 Communication Methods ............................................................. 3-18 Checking the Device Compatibility ...............................................
Terms Used in This Document This document uses the following terms: Term Sensor Scanner Adaptor Main unit Expansion unit D-bus PLC Ladder program 8 Description A sensor amplifier The EtherNet/IP scanner device The EtherNet/IP adaptor device A sensor amplifier that has a power line and can operate alone A sensor amplifier that does not have a power line and must be connected to a main unit The name of KEYENCE's wiring-saving system for sensor amplifiers Supports IB Series thrubeam type laser detection sen
Before Using This chapter provides an overview of the DL-EP1 and describes its part names and functions. 1-1 DL-EP1 Overview ............................................... 1-2 1-2 Checking the Package Contents ........................ 1-3 1-3 Names and Functions of Each Part....................
1-1 1 DL-EP1 Overview Overview Before Using The DL-EP1 operates as an EtherNet/IP communication adaptor. EtherNet/IP communications enable you to output the ON/OFF control signals and current values of the DL-EP1 and sensor amplifiers connected to the DL-EP1 as communication data to a PLC or other equipment. The DL-EP1 supports EtherNet/IP cyclic communication (Implicit messaging) and message communication (Explicit messaging). Cyclic communication enables data exchange without a ladder program.
1-2 Checking the Package Contents Package Contents ■ Package contents DL-EP1 main unit x 1 Expansion connector sticker x 1 End unit x 2 OP-26751 Instruction manual x 1 ■ List of Optional Parts • STP (shielded twisted pair) cable (Category 5e, straight) - OP-51504 (0.2m) - OP-51505 (0.5m) - OP-51506 (1m) - OP-51507 (3m) - OP-51508 (5m) * The working ambient temperature of the above cables are 0 to 50°C.
1-3 1 Names and Functions of Each Part This section describes the part names and functions of the DL-EP1.
1-3 Names and Functions of Each Part Name Attach the sensor amplifier to this connector. A protective seal is attached when shipped from the factory. The optional expansion cable (OP-35361) is used for this connection.
1-3 Names and Functions of Each Part MEMO 1 Before Using 1-6 - EtherNet/IP Compatible Network Unit DL-EP1 User’s Manual (IB) -
Connection and Configuration This section describes procedures from installing the DL-EP1 and sensor amplifiers to configuring communication. 2-1 Procedures from Installation before Using the DL-EP1 to Configuration...........................................................2-2 2-2 Installation and Connection to Sensor Amplifiers ...2-3 2-3 Wiring ................................................................. 2-8 2-4 Configuring Communication with the DL-EP1 ..
Procedures from Installation before Using the DL-EP1 to Configuration 2-1 This section describes the procedures before you use the DL-EP1. Configuration Procedures 2 1. Installation and Connection to Sensor Amplifiers Connection and Configuration Connecting the DL-EP1 to sensor amplifiers (Page 2-4) Assigning ID Numbers (Page 2-6) 2. Wiring Connecting a communication cable (Page 2-8) 3. Configuring Communication with the DL-EP1 Setting the IP address (Page 2-10) 4.
2-2 Installation and Connection to Sensor Amplifiers Number of Connectable Sensor Amplifiers Name IB Series Amplifier form Main unit IB-1050 IB-1550 Maximum number of connectable units 4 (1 main unit, 3 expansion units) 4 (1 main unit, 3 expansion units) This section describes how to mount the DL-EP1 on the DIN rail and to connect it to sensor amplifiers. Sensor amplifiers supporting D-bus are connectable.
2-2 Installation and Connection to Sensor Amplifiers Connecting the DL-EP1 to sensor amplifiers The EtherNet/IP Compatible Network Unit DL-EP1 must be connected to sensor amplifiers before it can function. The connecting procedure varies with the mounting type of the sensor amplifiers to be connected. 2 NOTICE Connection and Configuration Point Make sure that the sensor amplifiers are turned off before connecting the EtherNet/IP Compatible Network Unit DL-EP1.
2-2 Installation and Connection to Sensor Amplifiers 3 Mount the supplied end units (OP-26751: a set of two pieces) on the outer ends of the amplifier and the EtherNet/IP Compatible Network Unit DLEP1. Then, fix the end units with the screws on the top of each end unit (2 points x 2 units). (Tightening torque : 0.6 N•m or less) Mount the end units in the same way as the EtherNet/IP Compatible Network Unit DL-EP1.
2-2 Installation and Connection to Sensor Amplifiers Assigning ID Numbers 2 Connection and Configuration Several sensor amplifiers can be connected to the DL-EP1. ID numbers for data identification are assigned to each sensor amplifier. The method for assigning ID numbers is as follows: • ID numbers are assigned in order, starting from the sensor amplifier that is the main unit. (Optional numbers cannot be assigned.) • 0 is assigned as the ID number of the DL-EP1.
2-2 Installation and Connection to Sensor Amplifiers For panel mount type ID number Sensor amplifier Expansion unit 03 ... 02 ...
2-3 Wiring The DL-EP1 uses the power supplied to sensor amplifiers, so there is no power cable wiring. This section describes the wiring of communication cables used by the DLEP1. 2 Connecting a communication cable Connection and Configuration Use the following procedures to connect the DL-EP1 to the communication cable required for EtherNet/IP communication. Usable cable Usable cables depend on whether the system is configured with 10BASE-T or 100BASE-TX.
2-3 Wiring DL-EP1 connector port The DL-EP1 connector port accepts an RJ-45 8-pole modular connector (ISO8877 compliant) used with 10BASE-T and 100BASE-TX and complies with the IEEE802.3 Standards. Precautions for connecting a STP/UTP cable to the DL-EP1 connector port Take care not to apply a load to the DL-EP1 connector port when connecting the STP/UTP cable to the DL-EP1. Connecting the DL-EP1 to EtherNet/IP The following describes how to connect the DL-EP1 to the RJ-45 connector.
2-4 Configuring Communication with the DL-EP1 This section describes settings for connecting the DL-EP1 to the EtherNet/IP system. DL-EP1 Settings 2 The following describes how to set communication with the DL-EP1. Connection and Configuration Setting the IP address Set the IP address with the DL-EP1 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.
2-4 Configuring Communication with the DL-EP1 Point Select the device for which to set the IP address and click [Setup IP addr.(I)] to display [Setup IP addr.]. Compare the MAC address to be displayed with the front MAC address on the DL-EP1 and select the device for which to set the IP address. Set an IP address which is not currently used in "IP addr.(required)(I)" and click the [OK] button. Reference Using the [Search available IP addresses (F)] button enables you to search for open IP addresses.
2-4 Configuring Communication with the DL-EP1 3 The IP address has now been set. 2 Connection and Configuration Reference What is BOOTP? 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.
2-5 Configuring Communication with the Scanner This section describes scanner side configuration for connecting the DL-EP1 to the EtherNet/IP system. When communicating with an Allen-Bradley scanner, also refer to the "Procedures for Communicating with an Allen-Bradley ControlLogix PLC" (Page 5-6). 2 Setting the scanner Setting the IP address Set the IP address of the scanner.
2-5 Configuring Communication with the Scanner MEMO 2 Connection and Configuration 2-14 - EtherNet/IP Compatible Network Unit DL-EP1 User’s Manual (IB) -
Communicating with IB Series 3 This chapter describes the configuration of memory that communicates with the EtherNet/IP compatible network unit and a communication timing chart. 3-1 What is EtherNet/IP?.......................................... 3-2 3-2 DL-EP1 EtherNet/IP Communication Function .. 3-3 3-3 Cyclic communication......................................... 3-5 3-4 Message Communication .................................
3-1 What is EtherNet/IP? What is EtherNet/IP? 3 EtherNet/IP is an industrial communication network with open specifications. The specifications are managed by ODVA (Open DeviceNet Vendor Association, Inc.). Industrial protocol has been combined with the Ethernet and standardized as EtherNet/IP (Industrial Protocol). Communication is realized by combining the protocols known as Common Industrial Protocol (CIP) with TCP/IP and Ethernet. This allows regular Ethernet to be used together with the network.
3-2 DL-EP1 EtherNet/IP Communication Function This section describes the EtherNet/IP functions supported by the DL-EP1. The DL-EP1 functions as an EtherNet/IP adaptor, and supports both cyclic and message EtherNet/IP communications.
3-2 DL-EP1 EtherNet/IP Communication Function Cyclic communication This function sends and receives data between the scanner and DL-EP1 at the set RPI (Requested Packet Interval). The function can exchange data such as the sensor amplifier's output signals and comparator values and error status without ladder programs. PLC EtherNet/IP scanner * RPI (Requested Packet Interval) can be set individually for each connection. 3 Communicating with IB Series RPI=10 (ms)* RPI=5 (ms)* RPI=3 (ms)* RPI=0.
Cyclic communication 3-3 This section describes the cyclic communication functions and how to use them. What is cyclic communication? Cyclic communication is a function that exchanges data with the EtherNet/IP device in a cyclic manner (at a set cycle). In cyclic communication, data can be exchanged when one device successfully opens a logical communication line called a "connection" with the other device.
3-3 Cyclic communication Configuring Cyclic Communication The following settings are required to execute cyclic communication with the DLEP1. [DL-EP1] The DL-EP1 does not require any setting. 3 Communicating with IB Series [Scanner] (1) Set the connection to be used. (2) Set the devices used in cyclic communication. Refer to the scanner manual for details on how to make the above settings. (* No ladder program is required when cyclic communication is used.
3-3 Cyclic communication Usable Connections EtherNet/IP requires that a connection must be opened from the scanner when cyclic communication is started. There are various types of connections, and the type usable by each device is defined in the EDS file.
3-3 Cyclic communication Assignment to IN Area (DL-EP1 to Scanner) The data from the DL-EP1 is assigned to the EtherNet/IP scanner's IN area. DL-EP1 data Address 0 Address 1 3 Monitor Data (Assembly Instance: 100) Scanner IN area Communicating with IB Series Address 167 1-byte (8-bit) data Reference The data such as 16-bit data extending over multiple bytes is stored into an area which starts with an even address in order from the lowest-order byte.
3-3 Cyclic communication Monitor Data (84 Words (168 Bytes)) Assembly Instance (Instance ID): 64H This is the device map for the monitor data to be assigned to the IN area. For details on each parameter, refer to "Parameter List" (Page 3-11). For details on current value 0 and current value 1, refer to "Current Value 0/ Current Value 1" (Page 3-13). ID numbers (ID01 to ID04) are assigned for each sensor amplifier according to the number of sensor amplifiers.
3-3 Cyclic communication Name Output 5 (Unassigned) External Input Response 1 (External input 1) 3 External Input Response 2 (External input 2) Communicating with IB Series External Input Response 3 (External input 3) External Input Response 4 (External input 4) Address (Byte) 26 bit7 bit6 ID08 bit5 bit4 bit3 bit2 bit1 .....
3-3 Cyclic communication Address (Byte) 108 Name 109 110 Current Value 1 (Unassigned) 111 : 164 165 166 167 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 ID Number 1 (Current Value 1) (32-bit signed integer) : ID Number 15 (Current Value 1) (32-bit signed integer) 3 Parameter List Description The error status of the DL-EP1 is output. DL-EP1 Error ON: An error occurred. Status OFF: No error occurred. The warning statuses of all the connected sensor amplifiers are output.
3-3 Cyclic communication Item Current Value n Invalid (n: 0 to 1) 3 Output n (n: 1 to 5) Communicating with IB Series External Input Response n (n: 1 to 5) Error ID Number Error Code Warning ID Number Warning Code Current Value n (n: 0 to 1) 3-12 Description The status of current value n (n: 0 to 1) of the sensor amplifier with the target ID number is output. ON: The current value of the sensor amplifier with the target ID number is invalid.
3-3 Cyclic communication Current Value 0/Current Value 1 Name Model Conditions Function Current Value 0 Main unit/ expansion unit - Comparator value (P.V.) Current Value 1 Main unit/ expansion unit - (Unassigned) Error code list The following error codes may occur in the DL-EP1 and sensor amplifiers. 3 ● DL-EP1 Code Description Cause Actions 0 No error - 51 Unassigned ID error The main unit assigned no ID within 10 seconds after the DL-EP1 had been started.
3-3 Cyclic communication Error ID Number 3 Communicating with IB Series 0 3-14 Code Description Cause 56 Current limitation error The number of connected sensor amplifiers exceeds the allowable range. 57 Communication error between sensor amplifiers An error occurred during communication between sensor amplifiers. 70 IP address duplicate error The IP address is the same as another device. 100 System error The IP address is incorrect.
3-3 Cyclic communication ● IB Series Error ID Number Code 01H 02H 03H 05H 01H to 04H (Each ID number) Sensor amplifier error 1 of each ID number Sensor amplifier error 2 of each ID number Sensor amplifier error 3 of each ID number Sensor amplifier error 4 of each ID number Sensor amplifier error 5 of each ID number Cause Overcurrent error (ErC) EEPROM error (ErE) T/R reverse connection error (alternate flashing of ErH/tr and ErH/rt) Transmitter internal error (ErH/t.
3-3 Cyclic communication Assignment to OUT Area (Scanner to DL-EP1) The data to the sensor amplifier is assigned to the OUT area of the EtherNet/IP scanner. DL-EP1 data External Input (Assembly Instance: 101) Scanner's OUT area 3 Address 0 Address 1 Address 9 1-byte (8-bit) data Communicating with IB Series External Input (5 Words (10 Bytes)) assembly instance (Instance ID): 65H ID numbers (ID01 to ID04) are assigned for each sensor amplifier according to the number of sensor amplifiers.
3-3 Cyclic communication Parameter List Name Function External input 1 External Input Request 2 External input 2 External Input Request 3 External input 3 External Input Request 4 External input 4 External Input Request 5 (Unassigned) ON: Turns on timing external input 3. Turning on external input 3 also turns on external input response 3. OFF: Turns off external input 3. Turning off external input 3 also turns off external input response 3. ON: Turns on timing external input 4.
3-3 Cyclic communication Communication Methods 3 The following describes how the scanner cyclically communicates with the DL-EP1 (cyclic communication). "Reading an output from a sensor amplifier" (Page 3-18) "Entering an external input to a sensor amplifier" (Page 3-19) "Reading comparator values (P.V. values) from sensor amplifiers" (Page 3-20) For the message communication method, refer to "Message communication" (Page 3-4).
3-3 Cyclic communication Entering an external input to a sensor amplifier Available external inputs: External input 1, External input 2, External input 3, External input 4 Device assignments: "External Input (5 Words (10 Bytes)) assembly instance (Instance ID): 65H" (Page 3-16) PLC External Input request OUT area [2]Bit0 External Input response IN area [30]Bit0 1 0 1 0 (1) (2) 3 Sensor amplifier This example shows how to enter external input 2 to the sensor amplifier ID01.
3-3 Cyclic communication Reading comparator values (P.V. values) from sensor amplifiers Comparator values (P.V. values) are read from the IN area to which the ID number of each sensor amplifier is assigned.
3-3 Cyclic communication Checking the Device Compatibility Compatibility check is a function executed when the scanner communicates with the DL-EP1. This function checks if the device set with the scanner matches the DL-EP1 to prevent communicating with the wrong device. This function is executed when a connection is opened. When using scanners of other manufacturers For how to use the scanners of other manufacturers, refer to the manual of each scanner.
Message Communication 3-4 3 This section describes the message communication functions and how to use them. What is Message communication (Explicit messaging)? Message communication is a function that performs communication by issuing commands using the objects and services (Service Codes) prepared for each EtherNet/IP device. Message communication is used for applications which do not require the punctuality of cyclic communication, such as reading and writing adaptor settings.
3-4 Message Communication Configuring Message Communication The following settings are required to execute message communication with the DLEP1. [DL-EP1] The DL-EP1 does not require any setting. [Scanner] Set the applicable service, Class ID, Instance ID, Attribute ID, and service data, and send the commands used for message communication.
3-4 Message Communication (2) Writing data to a sensor amplifier Message communication writes parameters to the DL-EP1 and the sensor amplifier connected to the DL-EP1.
3-4 Message Communication (5) Reading the number of decimal places from a sensor amplifier Message communication reads the number of decimal places of settings read from the sensor amplifier.
3-4 Message Communication Objects and Services Message communication uses objects and services to send and receive data. Executing a service (1) for a DL-EP1 object enables data read (2), parameter change (3), specified operation execution (4), and read of the number of decimal places (5), etc.
3-4 Message Communication Reference ・ In EtherNet/IP (CIP), the method called "object modeling" is used to express a device. The device is handled as a group of objects. Objects abstractly express the configuration elements in the device. A class is a group of objects expressing the configuration elements of the same type. An instance actually expresses a specific object contained in a class. Each instance in the class has the same attribute group, but each uses a unique attribute value.
3-4 Message Communication Objects Usable by DL-EP1 The following describes the objects usable by the DL-EP1. EtherNet/IP unit Command 3 Response DL Object Message Router Object Connection Manager Object Identity Object Assembly Object TCP/IP Interface Object Ethernet Link Object Communicating with IB Series Class ID Description Reference Page DL Object 67H This object provides the statuses of the DL-EP1 and the sensor amplifiers connected to the DL-EP1 and writes and reads parameters.
3-4 Message Communication Basic Format and Processing Flow of Message Communication The EtherNet/IP scanner and the DL-EP1 exchange Explicit messages for communication. The following provides a basic example of the command format of Explicit messages to be sent and the response format returned from the DL-EP1 to the scanner. ● Commands 3 ・Command format Item Description Designates the service code to be used (Service Code). Designates a class ID (Class ID) tailored to the service*1 to be used.
3-4 Message Communication Command processing order and error response Check whether each ID is within the supported range in the following order: Class ID check No Path Destination Unknown (05H) returned as general status Yes Instance ID check No 3 Path Destination Unknown (05H) returned as general status Yes Communicating with IB Series Service check No Service not Supported (08H) returned as general status Yes Attribute ID check No Attribute not Supported (14H) returned as general status
3-4 Message Communication Reading the DL Object Table Reading the attribute ID Example) Excerpt from DL Object attribute ID (2) (3) (4) (5) (6) Instance ID Attribute ID Name Description Attribute Data Type Output 1 Stores the HIGH output (output 1) status of each sensor amplifier. When HIGH is output, the bit corresponding to the ID number of the sensor amplifier is set to ON.
3-4 Message Communication DL Object (Class ID:67H) The DL Object provides the DL-EP1 connection status and device write/read. This object is unique to the DL-EP1. ● Services 3 Communicating with IB Series Service Code Service Name 0EH Parameter read Reads parameters from the DL-EP1 and the sensor amplifier connected to the DL-EP1. For examples of using this service, refer to "(1) Reading parameters from a sensor amplifier" (Page 3-53).
3-4 Message Communication ・Lock setting Setting Description 0 Does not execute lock. 1 Executes key lock (inhibition of operations other than basic screen display switching and [RESET] button).
3-4 Message Communication ● Attributes Instance ID Attribute ID Attribute Data Type Status Indicates the status of this unit and connected sensor amplifier. Bit0: DL-EP1 Error Status Bit 1 to bit 13: Reserved for system Bit14: Warning Status Bit15: Error Status R WORD Sensor Error Status Indicates the error status of the connected sensor amplifiers. If an error occurs, the bit of the corresponding ID number of amplifier is turned to ON.
3-4 Message Communication Instance ID Attribute ID Data Type Output2 (LOW) Indicates the LOW output (output 2) status of each amplifier. When LOW is output, the bit corresponding to the ID number of the sensor amplifier is turned ON. Bit 0 to bit 3: ID number 1 to ID number 4 Bit 4 to bit 15: Reserved for system R WORD 76H (118) Output3 (GO) Indicates the GO output (output 3) status of each amplifier. When GO is output, the bit corresponding to the ID number of the sensor amplifier is turned ON.
3-4 Message Communication Instance ID Attribute ID Name Description 91H (145) to 92H (146) 93H (147) 3 94H (148) to 9EH (158) Communicating with IB Series 9FH (159) A0H (160) to AEH (174) AFH (175) Data Type : Current Value 0 (ID Number 4) Indicates the current value 0 of the sensor of ID number 4. Parameter range: -2147483648 to 2147483647 R WORD Current Value 0 (ID Number 5) to (ID Number 15) (Unassigned) R DINT R DINT R/W UINT R UINT Indicates the error code of ID number 0.
3-4 Message Communication Instance ID 00H Reference Attribute ID Name Description 0305H (773) to 030FH (783) Error Code (ID number 5) to (ID number 15) 0310H (784) to 04FFH (1279) Reserved for system Attribute Data Type R UINT (Unassigned) - EtherNet/IP Compatible Network Unit DL-EP1 User’s Manual (IB) - "Current 3 Communicating with IB Series For details on current value 0 and current value 1, refer to Value 0/Current Value 1" (Page 3-13).
3-4 Message Communication ● Attributes for IB Series Designate the ID number (01H to 04H) of a sensor amplifier as the instance ID. If the parameter range is data with a decimal point, read or write the data as an integer, ignoring the decimal point. For example, if you want to write +1.235 (dimension mode) in HIGH setting value (BANK0), write +1235. Class Attribute ID Attribute Data Type Indicates the group 1 entry count. Parameter range: 29 R DINT *1 Reads the error status.
3-4 Message Communication Class Name Description Attribute Data Type 0326H (806) Internal measurement value (R.V.)*2 Read the R.V. value. When measurement mode is % mode: -999.99 to +999.99 When measurement mode is dimension mode: -99.999 to +99.999 R DINT R DINT R DINT Analog output value Reads the current analog output value. (Main unit only) Parameter range: Voltage: -5.000 to +5.000 (when an error occurs: +5.500) 4 to 20 mA:+4.00 to +20.00 (when an error occurs: +3.
3-4 Message Communication Class 3 Attribute ID Name Attribute Data Type R DINT Communicating with IB Series 0332H (818) Laser emission stop status Reads the transmission stop status of the actually operating sensor amplifier. Check the transmission stop status of the actually operating amplifier from this attribute.
3-4 Message Communication Class Attribute ID 0338H (824) Name System parameter current state*6 Description Attribute Data Type R DINT 3 0339H (825) (Reserved for system) 033AH (826) Ref. light registration result Reads the Ref. light registration result. Parameter range: 0 to 3 0: Ref. light registration now in progress 1: Normal end 2: Insufficient light reception error 3: Interfering light error R DINT Adjust result Reads the adjust/adjust reset execution result.
3-4 Message Communication Class 3 Communicating with IB Series Group2 3-42 Attribute ID Name Description Attribute Data Type R DINT 0340H (832) Group2 Entry count Indicates the group 2 entry count. Parameter range: 12 0341H (833) HIGH setting value (BANK 0) Sets the HIGH setting value (BANK 0). When measurement mode is % mode: -999.99 to +999.99 (initial value: 20.00) When measurement mode is dimension mode: -99.999 to +99.
3-4 Message Communication Class Attribute ID Name Attribute Data Type 034AH (842) HIGH setting value (BANK 3) Sets the HIGH setting value (BANK 3). When measurement mode is % mode: -999.99 to +999.99 (initial value: 20.00) When measurement mode is dimension mode: -99.999 to +99.999 (initial value: 2,000) R/W DINT 034BH (843) LOW setting value (BANK 3) Sets the LOW setting value (BANK 3). When measurement mode is % mode: -999.99 to +999.99 (initial value: 10.
3-4 Message Communication Class 3 Attribute ID Communicating with IB Series Attribute Data Type Sets the laser emission stop input status. Check the emission stop input status of the operating sensor amplifier from the transmission stop status (0332H(818)). The sensor amplifier operates based on OR of the external input line and cyclic communication.
3-4 Message Communication Class Group4 036CH (876) Meas./Logical correct target 1 036DH (877) Meas./Logical correct target 2 036EH (878) to 0372H (882) Attribute Data Type Sets the 1st-point target value of the measured correction or logical correction. When measurement mode is % mode: -999.99 to +999.99 (initial value: 0.00) When measurement mode is dimension mode: -99.999 to +99.999 (measured correction only) (initial value: 0.
3-4 Message Communication Class 3 Communicating with IB Series Group4 3-46 Attribute ID Name Description 0385H (901) Averaging/ High-pass filter Sets the averaging/high-path filter. Parameter range: 0 to 19 (initial value: 5) 0 : 1 times 1 : Twice 2 : 4 times 3 : 8 times 4 : 16 times 5 : 64 times 6 : 256 times 7 : 1024 times 8 : 4096 times 9 : 16384 times 10 : 0.1Hz 11 : 0.2Hz 12 : 0.
3-4 Message Communication Class Attribute ID Description Attribute Data Type Sets the timer duration. Parameter range: 1 to 9999 (initial value: 60) 1 to 9999 R/W DINT 038DH (909) Hysteresis Sets the hysteresis. When measurement mode is % mode: 0.00 to 999.99 (initial value: 0.00) When measurement mode is dimension mode: 0 to 99.999 (initial value: 0) R/W DINT 038EH (910) Analog output scaling*13 Sets the analog output scaling.
3-4 Message Communication Class Attribute ID 0394H (916) 3 0395H (917) Communicating with IB Series Group4 3-48 Description Attribute Data Type Sets the function to be assigned to external input 3. Parameter range: 0 to 4 (initial value: 0) 0: Timing input 1: Bank A input 2: Bank B input 3: Laser emission stop input 4: Not use R/W DINT R/W DINT R/W DINT R/W DINT R/W DINT R/W DINT Name Ext. IN3 function selection*14 Ext.
3-4 Message Communication Class Attribute ID 039DH (925) Data Type Judgment indicator color Sets the display colors of judgement output indicators. Parameter range: 0 to 3 (initial value: 0) 0: Only GO is green (initial status) 1: Only GO is red 2: All P.V. values are green 3: All P.V. values are red R/W DINT P.V. value display color Sets P.V. value display colors. Parameter range: 0 to 3 (initial value: 0) 0: Green when GO (initial status) 1: Red when GO 2: All P.V. values are green 3: All P.V.
3-4 Message Communication Class Attribute ID Name 03C0H (960) Group6 Entry count 03C1H (961) 03C2H (962) 3 Communicating with IB Series Data Type R DINT R DINT R DINT R DINT R DINT R STRING Indicates the group 6 entry count. Parameter range: 11 Indicates the model of the head connected to the sensor head connector (transmission side). Parameter range: 0 to 4 0: No head is connected or the R head is connected.
3-4 Message Communication *2 *4 *5 *6 Bit 0 3, 2, 1 Reference Setting 0: NPN output 1: PNP output 000: Analog output OFF 001: 0 to 5V 010: -5 to +5V 011: 1 to 5V 100: 4 to 20mA (Fixed to 000 for expansion unit) When the read data is "6": "6" is converted to "0110" in binary representation. 0110 0 Bits 3, 2, 1: 1 to 5 V Bit 0: NPN output For this reason, the sensor amplifier that read data is set to "NPN output" and "analog output 1 to 5 V".
3-4 Message Communication *8 The execution result for the lastly requested item of "measured correction" or "logical correction" is read. In the following cases, the execution result becomes "2: Abnormal end". •The setting value is out of the parameter range. •The 2nd-point correction execution is requested without the 1st-point correction execution requested. •Correction execution is requested when calibration function setting is "0: Initial setting".
3-4 Message Communication Using DL Object The following describes how to perform message communication with a DL Object.
3-4 Message Communication • Responses (when unsuccessful) Item 3 Description General status A general status for the service is returned Additional status An additional status is returned. Service response data There is no service response data. Data Example 16H - For details on the attribute ID, settings, general status, and additional status of each parameter, refer to "DL Object (Class ID:67H)" (Page 3-32) and "Attributes" (Page 3-34).
3-4 Message Communication • Responses (when unsuccessful) Item Description General status A general status for the service is returned Additional status An additional status is returned. Service response data There is no service response data. Data Example 0EH - For details on the attribute ID, settings, general status, and additional status of each parameter, refer to "DL Object (Class ID:67H)" (Page 3-32) and "Attributes" (Page 3-34).
3-4 Message Communication Attribute ID Communicating with IB Series 3-56 Description Initial reset request Initializes all the settings other than the calibration, ref. light quantity registration, and system parameters of the sensor amplifier. All parameters are stored in nonvolatile memory (EEPROM) approx. 3 minutes after the initial reset request is executed. After the initial reset request has been executed, "EEPROM write result" of the attribute for IB Series becomes normal end (1).
3-4 Message Communication Attribute ID Name 031AH (794) Logical correction 1st req (SET1 confirmation operation) 031BH (795) Logical correction 2nd req (SET2 confirmation operation) Description Executes logical correction. Set the R.V. value that you want to correct in the attribute for IB Series "logical correction 1st point measurement value" or "logical correction 2nd point measurement value". Set the R.V.
3-4 Message Communication • Responses (when successful) Item Description General status A status (00H) is returned that indicates normal completion of message communication. Service response data There is no service response data. Data Example 00H - • Responses (when unsuccessful) 3 Item Description Communicating with IB Series General status A general status for the service is returned Additional status An additional status is returned.
3-4 Message Communication (4) Locking sensor amplifier operations Message communication executes batch key lock for the sensor amplifier connected to the DL-EP1. Service code 4CH is used. The following settings are required to use this object. • Service Code • Class ID • Instance ID • Attribute ID • Service Data Item Description Data Example Service Code Designates the "batch lock setting (4CH)" (fixed value). Class ID Designates DL Object (67H)(fixed value).
3-4 Message Communication (5) Reading the number of decimal places in the parameter from a sensor amplifier 3 Message communication reads the number of decimal places in the parameter from the sensor amplifier connected to the DL-EP1. Service code 4DH is used. The following settings are required to use this object. • Service Code • Class ID • Instance ID • Attribute ID Communicating with IB Series • Commands Item Description Service Code Designates parameter read (fixed value).
Specifications 4-1 Specifications ..................................................... 4-2 4-2 Data Processing Time ........................................ 4-3 4-3 Dimensions.........................................................
4-1 Specifications The specifications of the DL-EP1 are as follows: Product name Model Compliant standards Transmission rate Ethernet specifications EtherNet/IP Compatible Network Unit DL-EP1 IEEE802.3 (10BASE-T) IEEE802.
4-2 Data Processing Time This section describes the length of time that lasts from detection by a sensor to data processing by PLC. EtherNet/IP scanner CPU unit (1) DL-EP1 (2) Sensor amplifier (3) (4) 4 (2) RPI is set with the scanner unit. It can be set in 0.5 ms increments between 0.5 ms and 10000 ms.
4-3 Dimensions (Unit : mm) 29.4 25.6 Specifications (42.5) 38.1 4 43.5 35.4 94.
Appendix 5-1 Device Profile ..................................................... 5-2 5-2 Troubleshooting .................................................. 5-3 5-3 Default Settings .................................................. 5-5 5-4 Procedures for Communicating with an Allen-Bradley ControlLogix PLC ............................................... 5-6 5-5 Objects Usable by DL-EP1............................... 5-17 5-6 Index.................................................................
5-1 Device Profile Category General status Item Description Vendor name Vendor ID Keyence Corporation 367 Device type Revision 0 (Generic Device) 1.
Troubleshooting 5-2 The indicator LEDs on the DL-EP1 can be used to determine the causes of errors. Link/activity indicator (Green) Module status indicator (Green, Red) Network status indicator (Green, Red) Sensor communication indicator (Green, Red) Link/activity indicator (LINK/ACT) This indicator indicates whether the DL-EP1 is communicating correctly. LED Status Green Condition Corrective Action Solid The DL-EP1 is normally linked.
5-2 Troubleshooting Network status indicator (NS) This indicator indicates whether the DL-EP1 is communicating correctly with EtherNet/IP. LED Status Green Solid Flashing Solid Red Not lit Flashing Condition Corrective Action If multiple connections are used, the DL-EP1 may be unable to communicate with EtherNet/IP even if the green LED is solid. Check if the DL-EP1 is registered in the scanner.
Default Settings 5-3 The DL-EP1 can be reset and initialized to the default settings by holding down the reset switch ( Page 1-4) for three seconds or longer or by using the Identity Object Reset service ( Page 5-21) for message communication. The DL-EP1 default settings are as follows: Setting Item Value after Initialization Communication speed 10/100 Mbps automatic IP address setting method BOOTP IP address 0.0.0.0* Netmask 255.255.255.0 Default gateway Multicast TTL 0.0.0.
5-4 Procedures for Communicating with an Allen-Bradley ControlLogix PLC This section explains the procedures for communicating with the DL-EP1 using an Allen-Bradley ControlLogix PLC (EtherNet/IP scanner). Procedures for Communicating with an Allen-Bradley ControlLogix PLC The DL-EP1 is capable of the following communication when connected to an AllenBradley ControlLogix PLC.
5-4 Procedures for Communicating with an Allen-Bradley ControlLogix PLC 2 Add "ETHERNET-MODULE (Generic Ethernet Module)". 3 Change the settings as required. 5 Appendix Name Choose a name. The following tags are generated based on the name set here, and are used as the data exchanged with cyclic communication. • (Name): I Data received from DL-EP1 • (Name): O Data sent to DL-EP1 • (Name): C Not used. Comm Format Designate [Data INT]. IP Address Designate the DL-EP1's IP address.
5-4 Procedures for Communicating with an Allen-Bradley ControlLogix PLC Reference • For the details of InputOnly connection, refer to multiple PLCs (InputOnly)" (Page 5-8). "Sending data to • Refer to "Usable Connections" (Page 3-7) for details on the connection. RPI Designate the cyclic communication interval. 5 Designate a value between 0.5 and 3200 ms. Appendix 4 Download the settings to the PLC.
5-4 Procedures for Communicating with an Allen-Bradley ControlLogix PLC Point To carry out cyclic communication with multiple PLCs using the InputOnly connection, the DL-EP1 input data must be sent as a Multicast packet. With ControlLogix, the DL-EP1 transmission is fixed to Multicast packet. However, caution is required when using devices, such as KV or SYSMAC, for which the connection method can be selected from Multicast or Point to Point.
5-4 Procedures for Communicating with an Allen-Bradley ControlLogix PLC 2 Add the MSG instruction to the RsLogix5000 ladder. 3 Open the "Configuration" tab in the Message instruction setting dialog, and change the MSG instruction setting. 5 Appendix Message Type Select "CIP Generic". ServiceType, Class, Instance, Attribute Designate a value which matches the message to be sent.
5-4 Procedures for Communicating with an Allen-Bradley ControlLogix PLC • Example 2: Retrieving DL Object "Output 3 (GO)" data when reading attributes Item ServiceType ServiceCode Class Instance Attribute SourceElement SourceLength Destination 4 Setting Value GetAttributeSingle - (cannot be designated) 67H 02H 76H - (cannot be designated) - (cannot be designated) Name of tag storing received data. Open the "Communication" tab, and change the MSG communication settings.
5-4 Procedures for Communicating with an Allen-Bradley ControlLogix PLC Procedures for Communication with an Allen-Bradley SLC5/05 PLC The DL-EP1 is capable of the following communication when connected to an AllenBradley SLC5/05 PLC. • Message communication function: Class3 Point Reference 5 Appendix 5-12 The size of attribute ID used for SLC5/05 Series is 1 byte or smaller. The SLC5/05 Series does not support the parameter which contains 2 byte attribute ID.
5-4 Procedures for Communicating with an Allen-Bradley ControlLogix PLC Changing the message communication configuration Message communication is carried out with a ladder program using EEM instructions. Reference 1 Refer to the "SLC 500 Instruction Set Reference Manual" (1747-RM001), etc., for details on the EEM instructions. Define the following file in the RsLogix500 "Data Files" field.
5-4 Procedures for Communicating with an Allen-Bradley ControlLogix PLC 3 Designate the File used in the EEM instruction defined in Step 1 for the EEM instruction Control Block, and open the SetupScreen. Service, Class, Instance, Attribute Designate a value which matches the message to be sent.
5-4 Procedures for Communicating with an Allen-Bradley ControlLogix PLC • Example 2: To control with same format and procedure as set cycle data, Access the Assembly Object attribute3: data.
5-4 Procedures for Communicating with an Allen-Bradley ControlLogix PLC 4 Open the "MultiHop" tab, and set the DL-EP1 IP address. The above screen is an example of when the DL-EP1 IP address is 192.168.0.10. 5 Open the "Send Data" tab and "Receive Data" tab, and check the contents of the file containing the send and receive data. 6 Describe the process for setting the send data and retrieving the receive data in a ladder program, and download it to the PLC.
5-5 Objects Usable by DL-EP1 This section describes the objects usable by the DL-EP1.
5-5 Objects Usable by DL-EP1 Identity Object Reading Each Object Table Reading class attributes and instance attributes Example) Excerpt from DL Object class attributes (1) (2) Attribute ID 01H Name Vendor ID (3) (4) (5) (6) Description Attribute Data Type Parameter Range Indicates the vendor ID. R UINT 367 Item Indicates the attribute ID in hexadecimal notation. (2) Name (3) Description Indicates the attribute name. Describes the attribute.
5-5 Objects Usable by DL-EP1 Identity Object Identity Object (Class ID: 01H) This object provides DL-EP1 identification information, general information and a reset service, etc. Class z Class service This object supports Get_Attribute_Single (0EH) and Get_Attributes_All (01H).
5-5 Objects Usable by DL-EP1 Identity Object Reference 1) Details of status (16 bits) Bit Name 0 Owned 1 Reserved 2 Reserved Always ON. 3 Reserved Always OFF. Extended Device Status Bits 4 to 7 are set according to the DL-EP1 status as follows: 0101(1): The DL-EP1 is in the unrecoverable fault status (1). 0010(2): The DL-EP1 is not (1) and one or more connections have timed out. 0011(3): The DL-EP1 is neither (1) or (2) and no connection is established.
5-5 Objects Usable by DL-EP1 Identity Object Reset service The Reset service is a CIP standard function used to emulate the same operations as power restart as much as possible. When it accepts this service, the DL-EP1 stops each function, interrupts communication, and reads the settings again. The Reset service is used as a restart request for reflecting changed parameters (e.g., IP address, Ethernet communication speed, etc.).
5-5 Objects Usable by DL-EP1 Message Router Object Message Router Object (Class ID: 02H) This object provides connection points for message communication. Class z Class service This object supports Get_Attribute_Single (0EH).
5-5 Objects Usable by DL-EP1 Message Router Object List of general and additional statuses returned to each service Name General Status Additional (Extended) Status Description 00H - The service has ended normally. Get_Attribute_Single 05H 14H - The designated instance ID does not exist. The designated attribute ID does not exist. Others 08H - The designated service is not supported.
5-5 Objects Usable by DL-EP1 Assembly Object List of general and additional statuses returned to each service Name Get_Attribute_Single Set_Attribute_Single 5 Others General Status Additional (Extended) Status 00H - The service has ended normally. 05H 14H - The designated instance ID does not exist. The designated attribute ID does not exist. 00H 05H - The service has ended normally. The designated instance ID does not exist.
5-5 Objects Usable by DL-EP1 Connection Manager Object Connection Manager Object (Class ID: 06H) This object is used for connection-type communication. Use this to establish a connection for the DL-EP1. Class z Class service/class attribute There is no class service and attribute. Instance z Instance service This object supports Forward_Close (4EH) and Forward_Open (54H). For details on instance services, refer to the CIP Specifications. z Instance attribute There is no instance attribute.
5-5 Objects Usable by DL-EP1 Connection Manager Object Name 5 General Status 01H Appendix Forward_ Open Additional (Extended) Status Description 0315H • Connection Size of the ForwardOpen network connection parameter is 0. • Connection Path of ForwardOpen does not include ConnectionPoint. • In Connection Path class ID of ForwardOpen, a value other than 0x04 was set as cyclic or a value other than 02H was set as Class 3.
5-5 Objects Usable by DL-EP1 TCP/IP Interface Object TCP/IP Interface Object (Class ID: F5H) This object provides the structure for setting the TCP/ IP network interface. The IP address, subnet mask and gateway, etc, can be set. Class z Class service This object supports Get_Attribute_Single (0EH) and Get_Attributes_All (01H).
5-5 Objects Usable by DL-EP1 TCP/IP Interface Object z Instance attributes (instance ID: 1) Attribute ID Description Attribute Data Type Parameter Range 01H Status Interface status R DWORD Reference 1 02H Configuration Capability Method for acquiring initial IP address R DWORD Reference 2 Physical Link Object Method in which the device acquires initialization at start-up Path to physical link object Path size Path size (bytes) Path Segment for identifying physical link object Padded
5-5 Objects Usable by DL-EP1 TCP/IP Interface Object *1 If an invalid value is written, the general status 09H (Invalid Attribute Value) is returned. *2 When automatic allocation is selected, the start multicast address is calculated from the expression "239.192.1.0+ ((IP address host section -1) & 03FFH) x 32). (Example) When the IP address is 192.168.0.10, the multicast address is as follows: Start address = 239.192.1.0 + (((192.168.0.10 - 1) & 0x3FF) << 5) = 239.192.1.0 + ((192.168.0.
5-5 Objects Usable by DL-EP1 TCP/IP Interface Object List of general and additional statuses returned to each service Name Get_Attributes_All Get_Attribute_Single Set_Attribute_Single Others General Status Additional (Extended) Status 00H - The service has ended normally. 05H 00H - The designated instance ID does not exist. The service has ended normally. 05H 14H - The designated instance ID does not exist. The designated attribute ID does not exist.
5-5 Objects Usable by DL-EP1 Ethernet Link Object Ethernet Link Object (Class ID: F6H) This object provides Ethernet status information. Class z Class service This object supports Get_Attribute_Single (0EH) and Get_Attributes_All (01H).
5-5 Objects Usable by DL-EP1 Ethernet Link Object Attribute ID Name In NUcast Packets In Discards In Errors 04H In Unknown Protos Out Octets 5 Out Ucast Packets Appendix Out NUcast Packets Out Discards Out Errors Media Counters Alignment Errors FCS Errors Single Collisions Multiple Collisions 05H SQE Test Errors Deferred Transmissions Late Collisions Excessive Collisions 5-32 Description Number of nonunicast packets received on the interface.
5-5 Objects Usable by DL-EP1 Ethernet Link Object Attribute ID Name Description MAC Transmit Errors 05H 06H *1 Data Type Parameter Range UDINT 0 (fixed) UDINT Current value UDINT Current value UDINT 0 (fixed) R Following structure W - WORD (Reference 2) UINT Setting value*1 The following interface speeds can be set as Forced Interface Speed.
5-5 Objects Usable by DL-EP1 Ethernet Link Object Reference 2) Control bits list Bit Name Description 0 Auto-negotiate OFF: Auto-negotiation is disabled (communication setting is fixed at 10 Mbps). ON: Auto-negotiation is enabled (communication setting is fixed at 100/10 Mbps auto).
5-6 Index Basic Format and Processing Flow of Message Communication ..........3-29 Configuring Message Communication ..........................3-23 DL Object (Class ID:67H) ..........3-32 Objects and Services ................3-26 Objects Usable by DL-EP1 ........3-28 Reading the DL Object Table ....3-31 Using DL Object ........................3-53 What can Message Communication do? ...................3-23 C D Data Processing Time ......................... 4-3 Dimensions ..................................
5-6 Index W Wiring .................................................. 2-8 Connecting a communication cable ...........................................
5-6 Index MEMO 5 Appendix - EtherNet/IP Compatible Network Unit DL-EP1 User’s Manual (IB) - 5-37
Revision History Print date Revision no.
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.
2011 195029E 1032-1a 96169E