427GB PROFINET Communication Unit DL-PN1 (IB) 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 IB Series Types and Number of Connectable Sensor Amplifiers Name Amplifier form Main unit Expansion unit Maximum number of connectable units DIN rail mounting type IB-1000 IB-1050 4 (1 main unit, 3 expansion units) Panel mounting type IB-1550 4 (1 main unit, 3 expansion units) IB Series IB-1500 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. 1: Disabled status “----”, “FFFF”, or “-FFFF” 2 Comparator value property 3 Reserved for system - - 4 Reserved for system - - 5 Reserved for system - - 6 Warning One of the sensor amplifiers is in warning state.
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 - - 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: Adjust input Functions assigned to the external input request 1 to 4 can be changed. Refer to the IB 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 Error state When the sensor amplifier is in the error state, the corresponding bit is set. "Types of error and error code" (page 29) 2byte WORD R 65 Warning status When the sensor amplifier is in the warning state, the corresponding bit is set. "Types of error and error code" (page 29) 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 : 99 100 to 111 112 : 4th Sensor Head 1 Identification 115 128 1st Sensor Head 2 Identification : 4th Sensor Head 2 Identification 132 to 143 144 Product code 1 : Product code 4 147 160 : 163 164 to 175 176 Value 0: Sensor head is not connected, or light receiver is connected.
Index (DEC) 180 to 191 Function name Description Data type Attribute Value Reserved for system 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) Function name Data type Attribute 10 Reference light registration request DINT C 11 Adjust request DINT C 12 Adjust reset request DINT C 13 Reserved for system 14 Tolerance tuning request DINT C 15 Two-point turning HIGH side 1st request DINT C 16 Two-point turning HIGH side 2nd request DINT C 17 Two-point turning LOW side 1st request DINT C 18 Two-point turning LOW side 2nd request DINT C 19 Measured correction 1st request DINT C 20 Measured correction
Index (DEC) Function name Description Data type Attribute 39 Peak-hold value in hold mode *4 *5 *7 DINT R -999.99 to +999.99 40 Bottom-hold value in hold mode *4 *6 *7 DINT R -999.99 to +999.99 41 Reserved for system 42 Analog output value *8 DINT R Analog voltage output: -5.000 to +5.000 Analog current output: +04.00 to +20.
Index (DEC) 64 Function name Description Group2 Entry count Data type Attribute Default value DINT R 12 Value 65 HIGH setting value (BANK 0) *7 DINT R/W +20.00 -999.99 to +999.99 66 LOW setting value (BANK 0) *7 DINT R/W +10.00 -999.99 to +999.99 67 Shift target value (BANK 0) *7 DINT R/W 0.00 -999.99 to +999.99 68 HIGH setting value (BANK 1) *7 DINT R/W +20.00 -999.99 to +999.99 69 LOW setting value (BANK 1) *7 DINT R/W +10.00 -999.99 to +999.
Index (DEC) Description Data type Attribute Default value Value 130 Measurement mode DINT R/W 0 0: Percent mode 1: Dimension mode 131 Received/Blocked light mode DINT R/W 0 0: Received light mode 1: Blocked light mode 132 Reserved for system 133 Averaging/High-pass filter DINT R/W 5 Averaging 0: 1 time 1: 2 times 2: 4 times 3: 8 times 4: 16 times 5: 64 times 6: 256 times 7: 1024 times 8: 4096 times 9: 16384 times High-pass filter 10: 0.1Hz 11: 0.2Hz 12: 0.
Index (DEC) Function name 146 External input 1 function selection 147 External input 2 function selection 148 External input 3 function selection 149 External input 4 function selection 150 Bank switching method 151 Reserved for system 152 Zero shift value memory function 153 Reserved for system Description *18 *18 *18 *18 Data type DINT DINT DINT Attribute R/W R/W R/W Default value Value 0 0: 1: 2: 3: 4: Zero shift input Bank A input Bank B input Laser emission stop input
Index (DEC) Function name Description Data type Attribute Default value Value 167 Error output mode DINT R/W 0 0: Normal mode (Default) 1: LX2 compatible mode 168 Hysteresis for trigger level DINT R/W 0 0: Default 1: User setting 169 Hysteresis set value for trigger level DINT R/W 1.00 0.00 to 999.
*3 If the judgment value is correct, the parameter range is from - 999.97 to +999.98 (percent mode). from - 99.997 to +99.998 (size mode). If the current value is over range, under range, or invalid, the previous value is retained without updating the current value. Use the value with the judgment value property. *4 If the read data has one of the values listed below, it has a different meaning than the judgment value. In % mode: +999.99: The value is above the upper limit of the display range. -999.
*10 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 command reads the execution result of the "tolerance tuning request", "2-point tuning HIGH side 2nd request", or "2-point tuning LOW side 2nd request" motion command whichever was last issued. *14 This parameter works if "Bank switching method" is set to "button." *15 These parameters are OFF only if data "0" is written and the wiring is configured to turn off external input.
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. master Sensor amplifier DL RST LINK /ACT SF BF (1) (2) (3) (4) DL-PN1 Maximum data processing time = (1) + (2) + (3) + (4) (1) I/O controller data update time (2) Network data update time (3) Data update time between the DL-PN1 and sensor amplifiers Number of connected sensor amplifiers Output, judgment value, or current value 1 7.8 ms 2 9.8 ms 3 13.8 ms 4 15.
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.