426GB PROFINET Communication Unit DL-PN1 (IG) 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 IG Series Types and Number of Connectable Sensor Amplifiers Name Amplifier form Main unit Expansion unit Maximum number of connectable units DIN rail mounting type IG-1000 IG-1050 4 (1 main unit, 3 expansion units) Panel mounting type IG-1500 IG-1550 4 (1 main unit, 3 expansion units) IG 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 5 are as follows: • External input request 1: ZERO SHIFT input • External input request 2: TIMING input • External input request 3: RESET input • External input request 4: Standard waveform input • External input request 5: Laser emission stop input Refer to the IG 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) 90 91 to 95 96 Function name External input response 5 100 to 111 112 1st Sensor Head 1 Identification : 4th Sensor Head 1 Identification 116 to 127 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 : Reserved for system : Slot 1 : bit15 : Slot 15 2byte WORD R Stores the type of the slot number 1 sensor head (light transmitter).
Index (DEC) 179 180 to 191 Function name Description Data type Attribute Number of decimal places (Current value 0, Slot Number 4) Used when reading the decimal position of the slot number 04 comparator value (P.V. value). 4byte DINT R Value Reserved for system 192 Setting error When the sensor amplifier setting is abnormal, the corresponding bit is set.
Index (DEC) Function name Data type Attribute Default value 16 Two-point tuning (HIGH, 2nd point) determination action request DINT C 1 17 Two-point tuning (LOW, 1st point) determination action request DINT C 1 18 Two-point tuning (LOW, 2nd point) determination action request DINT C 1 19 Calibration SET1 determination action request DINT C 1 20 Calibration SET2 determination action request DINT C 1 DINT R 29 21 to 31 Reserved for system 32 Group1 Entry Count Description
Index (DEC) 46 47 to 50 Description Data type Attribute Default value Value DINT R 0: Optical axis alignment NG (optical axis alignment indicator OFF) 1: Optical axis alignment OK (optical axis alignment indicator ON) *9 DINT R 0: Normal setting 1: Abnormal setting Optical axis alignment state Reserved for system 51 Abnormal setting 52 Reserved for system 53 EEPROM writing result *10 DINT R 0: Currently executing 1: Successfully completed 2: Writing failed 54 Zero shift/Zero shif
Index (DEC) Function name Description Data type Attribute Default value Value *15 DINT R 00.000 -99.999 to +99.999 73 Shift target value (BANK 1) 74 Sensitivity setting (BANK 1) DINT R 1 75 User binarize level (BANK 1) DINT R 25 76 User filter value (BANK 1) DINT R 09 77 HIGH setting value (BANK 2) *15 DINT R +08.000 -99.999 to +99.999 78 LOW setting value (BANK 2) *15 DINT R +02.000 -99.999 to +99.999 79 Shift target value (BANK 2) *15 DINT R 00.
Index (DEC) 18 Description Data type Attribute Default value 116 Specified edges interval measurement mode: Edge number 1 (BANK 0) *19 DINT R/W +001 -100 to +100 117 Specified edges interval measurement mode: Edge number 2 (BANK 0) *19 DINT R/W +002 -100 to +100 118 Pin interval judgment mode or pin diameter judgment mode: Number of pins (BANK 0) DINT R/W 02 119 Specified edges interval measurement mode: Edge number 1 (BANK 1) *19 DINT R/W +001 -100 to +100 120 Specified edg
Index (DEC) Function name 133 Averaging 134 Output mode 135 Reserved for system Description *20 Data type Attribute Default value Value DINT R/W 05 0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: hsp 1 time 2 times 4 times 8 times 16 times 32 times 64 times 128 times 256 times 512 times 1024 times 2048 times 4096 times DINT R/W 0 0: NO 1: NC 0: 1: 2: 3: 4: 5: Sample hold Peak hold Bottom hold Peak-to-Peak hold Auto peak hold Auto bottom hold 136 Hold function setting DINT R/W 0 13
Index (DEC) 20 Function name Description Data type Attribute Default value Value 151 Saving the standard waveform DINT R/W 0 0: OFF 1: ON 152 Saving zero shift value function DINT R/W 0 0: OFF 1: ON 153 Interference prevention DINT R/W 0 0: OFF 1: ON 154 Display Digit DINT R/W 2 0: 1: 2: 3: 155 Power save function DINT R/W 0 0: OFF 1: Half 2: All 156 Position monitor DINT R/W 2 0: 1: 2: 3: 157 Display color DINT R/W 0 0: GO green 1: GO red 2: Always red 158
Index (DEC) Description Data type Attribute 177 R.V. of pin diameter 3 or pin interval 3 *3 *23 DINT R 178 R.V. of pin diameter 4 or pin interval 4 *3 *23 DINT R 179 R.V. of pin diameter 5 or pin interval 5 *3 *23 DINT R 180 R.V. of pin diameter 6 or pin interval 6 *3 *23 DINT R 181 R.V. of pin diameter 7 or pin interval 7 *3 *23 DINT R 182 R.V. of pin diameter 8 or pin interval 8 *3 *23 DINT R 183 R.V. of pin diameter 9 or pin interval 9 *3 *23 DINT R 184 R.V.
*3 If the judgment value is correct, the parameter range is - 99.997 to +99.998 When the comparator value is over range, "+99.999" is stored. When the comparator value is under range, "- 99.999" is stored. When the comparator value is invalid, "- 99.998" is stored. When an error occurs, "+100.000" is stored. *4 When reading data from a main unit in which the calculation function is set to 2-head mode, the read range changes to "-999.99 - +999.99".
*13 This command reads the execution result of the "tolerance tuning request", "twopoint tuning HIGH side 2nd point confirmation operation request", or "two-point tuning LOW side 2nd point confirmation operation request" motion command whichever was last issued. *14 If calibration is executed when the measurement mode is "pin interval judgment mode or pin diameter judgment mode", the result will be "terminated with abnormal span/offset value (4)".
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.