425GB PROFINET Communication Unit DL-PN1 (IL) User's Manual Read this manual before use. Keep this manual in a safe place for future reference.
Introduction This manual describes the basic operations and hardware functions of the DL-PN1. Read the manual carefully to ensure safe performance and function of the DL-PN1. Keep this manual in a safe place for future reference. Ensure that the end user of this product receives this manual. Symbols The following symbols alert you to matters concerning the prevention of injury and product damage. WARNING It indicates a hazardous situation which, if not avoided, could result in death or serious injury.
Overview of PROFINET What is PROFINET? PROFINET is an open industrial networking standard developed and maintained by the PI (PROFINET International). All supported devices can use the communication network regardless of the vendor. PROFINET allows easy integration with the currently used field bus (such as PROFIBUS), enabling you to protect the existing assets without modifying the legacy system.
Specifying the IP address using the DCP protocol In the PROFINET communication, you can specify the IP address of I/O devices using the DCP protocol (Discovery and Configuration Protocol). The DCP protocol offers two methods for setting the IP address. (1) The IP address can be set by the I/O controller based on the device name information of the I/O device. (2) The IP address and device name of the I/O device can be set by the I/O supervisor (PC, etc.).
Communicating with the IL Series Types and Number of Connectable Sensor Amplifiers Name Amplifier form Main unit Expansion unit Maximum number of connectable units DIN rail mounting type IL-1000 IL-1050 8 (1 main unit, 7 expansion units) Panel mounting type IL-1500 IL-1550 8 (1 main unit, 7 expansion units) IL Series The DL-PN1 can connect to multiple sensor amplifiers (a single main unit and multiple expansion units) which support D-bus.
DL-PN1 PROFINET Communication Overview The DL-PN1 enables you to read or write various settings and conditions of the sensor amplifier via PROFINET. Examples are shown below.
Data I/O communication device map (DL-PN1 PROFINET I/O controller) DL-PN1 (Slot 0) Input Address 0 1 2 to 15 Bit Description Value 0 Reserved for system Function name - - 1 Reserved for system - - 0: Normal Stores the comparator value status.
Address Bit 0 17+7(a-1)* 18+7(a-1)* Function name Reserved for system Value - - 0: Normal Stores the comparator value status. 1: Comparator value invalid “----” 1 Comparator value invalid 2 0: Normal Comparator value under range Stores the comparator value status. 1: Comparator value under range “-FFFF” 3 Comparator value over range 4 Reserved for system - - 5 Reserved for system - - 6 Reserved for system - - 0: Normal Stores the comparator value status.
*1 External input request to the sensor amplifiers connected to the DL-PN1 (Slot 0) can be executed en bloc. (Smart Access function) Functions assigned to the external input request 1 to 4 are as follows: • External input request 1: ZERO SHIFT input • External input request 2: RESET input • External input request 3: TIMING input • External input request 4: Not used Functions assigned to the external input request 1 to 4 can be changed. Refer to the IL series user's manual.
Reading an output from a sensor amplifier Available outputs: High, Low, Go This example shows how to read the High output from Slot 1 (ID01). Master 1 0 Slot 1 Bit 0 of the input address 16 Sensor amplifier ON Output High output of ID01 (1) OFF (1) The output from the sensor amplifier entered into Bit 0 of the input address 16 via data I/O communication. This example shows how to read the High output from the sensor amplifier ID01.
Reading comparator values (P.V.
Record Data Communication What is record data communication? Record data communication is a function that performs communication by issuing commands when desired. It is used for applications which do not require the punctuality of data I/O communication, such as reading and writing I/O device settings.
Parameter name RECORD VALID Replies as to whether the action was valid. BUSY Replies as to whether the unit is busy. ERROR Replies as to whether there is an error. STATUS Replies with status information (including error information). LEN Point Description A value is input when reading. Inputs a value when writing. Replies the length of the reply data. To input the ID number for the DL-PN1 into ID, refer to the instruction manual for each PLC.
Index (DEC) Description Data type Attribute 2byte WORD R 64 Error state When the sensor amplifier is in the error state, the corresponding bit is set. "Types of error and error code" (page 29) 65 Warning status When the sensor amplifier is in the warning state, the corresponding bit is set. 2byte WORD R 66 Comparator value property When the sensor amplifier comparator value is invalid or exceeding the upper or lower limit, the corresponding bit is set.
Index (DEC) 96 Function name 1st Sensor Head 1 Identification : 103 104 to 127 128 : 8th Sensor Head 1 Identification 136 to 143 144 Product code 1 : Product code 8 152 to 159 160 : 167 168 to 175 176 Attribute Stores the type of the slot number 01 sensor head (light transmitter). 4byte DINT R : : : Stores the type of the slot number 08 sensor head (light transmitter). 4byte DINT R 2byte WORD R Stores the product code of the slot number 01 sensor amplifier.
Index (DEC) Function name Data type Description Attribute 192 Setting error When the sensor amplifier setting is abnormal, the corresponding bit is set. 2byte WORD R 193 EEPROM writing When the sensor amplifier is reflecting the setting after the setting change, the corresponding bit is set. 2byte WORD R 194 Laser emission stop status When the light emission of the sensor amplifier stops, the corresponding bit is set.
Index (DEC) 3 Function name Reset request Description Data type Attribute DINT C 4 Reserved for system 5 Initial reset request DINT C 6 System parameter set request DINT C 7 to 13 Default value Value Reserved for system 14 Tolerance tuning request DINT C 15 Two-point tuning HIGH side 1st point confirmation operation request DINT C 16 Two-point tuning HIGH side 2nd point confirmation operation request (Determine HIGH setting value.
Index (DEC) 33 Function name Sensor amplifier error state Description *1 Data type DINT Attribute Default value Value Bit0: Bit1: Bit2: Bit3: Bit4: Bit5: Bit6: Bit7: Bit8: R Bit9: Bit10: Bit11: Bit12: Bit13: Bit14: Bit15: 34 to 35 Reserved for system 36 Judgment output/Alarm output *2 *19 DINT R Bit0: HIGH judgment output 0: OFF, 1: ON Bit1: LOW judgment output 0: OFF, 1: ON Bit2: GO judgment output 0: OFF, 1: ON Bit3: Alarm output 0: OFF, 1: ON 37 Comparator value (P.V.
Index (DEC) 56 57 to 59 Function name System parameter current state Description Data type Attribute Default value Value *11 DINT R 0 Main unit: 0 to 9 Expansion unit: 0 to 1 *12 DINT R 1 0: Executing 1: Normal termination 2: Abnormal termination DINT R 1 0: Executing 1: Normal termination 2: Abnormal termination Reserved for system 60 Tolerance tuning/2 point tuning result 61 Calibration result 62 to 63 Reserved for system 64 Group2 Entry count DINT R 20 65 HIGH setting va
Index (DEC) 104 Sub display's screen 105 System parameter settings 106 Tolerance tuning - tolerance setting range Description Data type Attribute Default value DINT R/W 0 *11 DINT R/W 0 *15 DINT R/W 0.200 107 Calibration function DINT R/W 0 108 Calibration function SET1 *4 DINT R/W 0.000 109 Calibration function SET2 *4 DINT R/W +5.
Index (DEC) Function name 136 Hold function setting 137 Auto peak hold or auto bottom hold trigger level 138 139 Description Data type Attribute Default value Value 0: 1: 2: 3: 4: 5: Sample hold Peak hold Bottom hold Peak-to-peak hold Auto peak hold Auto bottom hold DINT R/W 0 DINT R/W +1.000 Timing input setting DINT R/W 0 0: Level 1: Edge Delay timer DINT R/W 0 0: 1: 2: 3: 140 Timer duration DINT R/W 60 5 to 9999 141 Hysteresis DINT R/W 0.
Index (DEC) Function name Description Data type Attribute Default value Value 155 Power saving function DINT R/W 0 0: OFF 1: Half 2: All 156 Head display mode DINT R/W 0 0: Initial state 1: OK/NG display 2: OFF 157 Display color DINT R/W 0 0: GO Green 1: GO Red 2: Always Red 158 Timer duration of diff. count filter DINT R/W 10 2 to 9999 0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 0.1Hz 0.2Hz 0.
*2 Details of output status can be checked by noting the ON/OFF state of each bit. *3 Use this parameter in combination with the judgment value property or with the judgment value "invalid," "over," or "under." If the judgment value is correct, the parameter range is - from - 99.997 to +99.998 (IL-S025/IL-030/IL-S065/IL-065/IL-100). - from - 999.97 to +999.98 (IL-300/IL-600). - from - 9999.7 to +9999.8 (IL-2000). • For IL-S025/IL-030/IL-S065/IL-065/IL-100: When the comparator value is over range, "+99.
*9 The result of the "initial reset request" motion command is included in this item. Regarding Data No. 53 (EEPROM writing result), a "0: writing in progress" status is maintained for 2 seconds after completion of the final write command transmission to the nonvolatile memory (EEPROM). Writing begins 2 seconds later, and if completed normally, the result is "1: successfully completed". Example: After every-second write command transmissions, a "0: writing in progress" status is established for 2 seconds.
*13 This parameter works if "Bank switching method" is set to "button." *14 These parameters are OFF only if data "0" is written and the wiring is configured to turn off external input. *15 When using IL-300/IL-600, -999.99 to +999.99. When using IL-2000, -9999.9 to +9999.9. *16 A write control error results if data is rewritten to an expansion unit.
Appendix Specifications The specifications of the DL-PN1 are as follows: Product name Model DL-PN1 Suitable network Compliant standards Transmission rate Ethernet Transmission medium Maximum cable length Compatible functions No.
Dimensions (Unit : mm) (42.5) 38.1 29.4 25.6 43.5 35.4 94.
Data Processing Time The data update time for data I/O communication is shown below.
Troubleshooting The indicator LEDs on the DL-PN1 can be used to determine the causes of errors. Link/activity indicator (Green) System Failure indicator (Orange, Red) Bus Failure indicator (Red) Sensor communication indicator (Green, Red) Link/activity indicator (LINK/ACT) This indicator indicates whether the DL-PN1 is communicating correctly. LED Status Green Condition Corrective Action Solid The DL-PN1 is normally linked. - Flashing The DL-PN1 is normally linked and is now exchanging data.
Bus Failure indicator (BF) This indicator indicates whether the DL-PN1 is communicating correctly with PROFINET. LED Status Condition Corrective Action • Solid red Data exchange via data I/O communication is not being carried out normally. • • • • Not lit The DL-PN1 is normally operating. Check if the number of connected sensor amplifiers exceeds the maximum number of connectable units. Check if the IP address is correct. Check if the slot number is correct.
Types of error and error code Error code list The following error codes may occur in the DL-PN1. DL-PN1 Error code 0 Description No error Cause - Actions • 51 Unassigned ID error The main unit assigned no ID within 10 seconds after the DL-PN1 had been started. • Check if the number of connected sensor amplifiers exceeds the maximum number of sensor amplifiers that can be connected to the main unit.
Reference programs This section introduces reference programs for carrying out PROFINET communication. If you use these program, ensure that error handling etc. is taken into account when programming. Read comparator value (P.V. value) MOV M6.0 EN IN Network1 ENO OUT ID19 MD40 Explanation of the program M6.0 (Address 6, Bit 0) turns ON. The amplifier (main unit) comparator value (P.V. value) is written to MD40. Input PRESET M6.0 Network1 I 17.1 Q 1.0 S Explanation of the program M6.
Rewrite the HI setting value MOV M6.0 Network1 HI setting value EN IN ENO OUT MDxx SFB52 "RD REC" M6.0 M9.0 Network2 EN ENO REQ ID number of the amplifier (main unit) ID 65 (the Index number of the HI setting value) IN D EX 4 (fixed value) MLEN VALID M9.1 BUSY ERROR Error information STATUS Status information LEN Reply data length Read destination address RECORD M6.0 M9.1 M9.2 Network3 S M9.0 R SFB53 "WR REC" M6.0 M9.
Network3 If the READ command send processing is successful, M9.1 (Address 9, Bit 1) turns ON. M9.2 (Address 9, Bit 2) turns ON, and M9.0 (Address 9, Bit 0) turns OFF. Network4 When M6.0 (Address 6, Bit 0) and M9.2 (Address 9, Bit 2) are ON, WRITE command send processing is carried out.
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.
Copyright (c) 2014 KEYENCE CORPORATION. All rights reserved.