456GB PROFINET Communication Unit DL-PN1 (SK-1000) 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 SK-1000 Series Types and Number of Connectable Sensor Amplifiers Name SK-1000 Series Amplifier form DIN rail mounting type Main unit Expansion unit SK-1000 Maximum number of connectable units 8 (1 main unit, 7 expansion units) SK-1050 The DL-PN1 can connect to multiple sensor amplifiers (a single main unit and multiple expansion units) which support D-bus. "D-bus" is the name of KEYENCE's wiring-saving system for sensor amplifiers.
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: TIMING input • External input request 3: RESET input • External input request 4: ERROR CLEAR input Refer to the SK-1000 series instruction 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 67 Comparator value over range 68 Comparator value under range When the sensor amplifier comparator value is exceeding the lower limit, the corresponding bit is set. 2byte WORD R 69 Comparator value Invalid When the sensor amplifier comparator value is invalid, the corresponding bit is set. 2byte WORD R 2byte WORD R Output 1 When the control output of sensor amplifier is High, the corresponding bit is set.
Index (DEC) 135 136 to 143 144 Function name Product code 8 151 160 Revision 1 : Revision 8 168 to 175 2byte WORD R Stores the revision of slot number 01 sensor amplifier. 2byte WORD R : : Stores the revision of slot number 08 sensor amplifier. 2byte WORD R Used when reading comparator value (P.V.value) of slot number 01.*2 4byte DINT R : Comparator value 0 (Slot Number 1) : Comparator value 0 (Slot Number 8) : : Used when reading comparator value (P.V.value) of slot number 08.
Access Address (Slot 1 to 8) Index (DEC) 0 Function name Description Data type Attribute Default value Value Reserved for system 1 Zero shift execution request DINT C 2 Zero shift reset execution request DINT C 3 Reset request DINT C 4 Reserved for system 5 Initial reset request DINT C 6 System parameter set request DINT C DINT R 7 to 31 Reserved for system 32 Group1 Entry Count 24 Bit0: Bit1: Bit2: Bit3: Bit4: Bit5: Bit6: Bit7: 33 Sensor amplifier error state *1 DI
Index (DEC) Function name Description Data type Attribute Default value Value 52 External input status *17 DINT R 0 to 15 53 EEPROM write result *9 DINT R 1 0: Writing 1: Normal termination 2: Abnormal termination 54 Zero shift/Zero shift reset result *10 DINT R 1 0: Executing 1: Normal termination 2: Abnormal termination 55 Reset request result *10 DINT R 1 0: Executing 1: Normal termination 2: Abnormal termination 56 System parameter current state *11 DINT R 0 Main
Index (DEC) Description Data type Attribute Default value Value 133 Averaging DINT R/W 4 0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 134 Output mode DINT R/W 0 0: N.O. 1: N.C.
Index (DEC) Function name Description Data type Attribute Default value Value 155 to 159 Reserved for system 160 Group5 Entry count DINT R 4 161 Distance correction method DINT R/W 0 0: Initial state 1: User setting 162 Near-side distance correction amount DINT R/W 25 5 to 50 163 Far-side distance correction amount DINT R/W 100 60 to 120 164 Area scaling DINT R/W 1.00 0.10 to 1.
*7 This is 999.8 when the humidity is not acquired correctly. *8 If a prohibited combination of functions is written, it results in "abnormal setting (1)". For details of each function, refer to the SK-1000 Series Instruction Manual. *9 The result of the "initial reset request" motion command is included in this item. Regarding Data No.
*15 To have the sensor amplifier reflect the settings written in data numbers 146 to 149, it is necessary to set data number 145 to "1" (user setting), or to set the external input to "user setting" via button operation on the sensor amplifier. *16 The read value of the two-digit value can be translated to a binary number, so that the ON/OFF state of each bit can be noted to know the status of judgment output and alarm output. Bit Judgment output N.O. mode N.C.
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.8 ms 5 19.8 ms 6 21.8 ms 7 25.
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 • Data exchange via data I/O communication is not being carried out normally. Solid red • • • • 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 Read destination address RECORD M6.0 M9.1 VALID M9.1 BUSY ERROR Error information STATUS Status information LEN Reply data length 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.