423GB PROFINET Communication Unit DL-PN1 (GT2) 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 GT2 Series Types and Number of Connectable Sensor Amplifiers Name Amplifier form DIN rail mounting type GT-2 Series Panel mounting type Large display type Main unit Maximum number of connectable units Expansion unit GT2-71(M)(C)N GT2-71(M)(C)P GT2-75N GT2-75P GT2-100N GT2-100P GT2-71(M)(C)N GT2-71(M)(C)P GT2-76N GT2-76P - 15 (1 main unit, 14 expansion units) 15 (1 main unit, 14 expansion units) 1 (1 main unit)* * Up to 11 sensor heads can be connected by adding a head conne
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: PRESET input • External input request 2: TIMING input • External input request 3: RESET input • External input request 4: ERROR CLEAR input Refer to the GT2 series user's manual.
Reading an output from a sensor amplifier Available outputs: High, Low, Go, HH, LL 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 MLEN RECORD A value is input when reading. Inputs a value when writing. 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 Set to 4. 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 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. 2byte WORD R 67 Comparator value over range When the sensor amplifier comparator value is exceeding the upper limit, the corresponding bit is set.
Index (DEC) 89 Description External input response 4 When the request reception to the "External input request 4" is complete, the corresponding bit is set.*1 2byte WORD R Stores the product code of the slot number 01 sensor amplifier.
Access Address (Slot 1 to 15) Index (DEC) 0 Function name Description Data type Attribute Default value Value Reserved for system 1 Preset request DINT C 2 Preset reset request DINT C 3 Reset request DINT C 4 Error clear DINT C 5 Initialize request DINT C DINT R 6 to 31 Reserved for system 32 Group1 Entry Count 9 Bit0: Bit1: Bit2: Bit3: Bit4: 33 Sensor amplifier error state *1 DINT R Overcurrent error (ErC) Head error (ErH) EEPROM error (ErE) Jam check error (Er.
Index (DEC) 80 Function name Description Bank 3 HIGH setting Data type Attribute Default value DINT R/W +005.0000 Value -199.9999 to +199.9999 81 Bank 3 LOW setting DINT R/W +001.0000 -199.9999 to +199.9999 82 Bank 3 preset value DINT R/W 000.0000 -199.9999 to +199.9999 83 Bank 3 HH setting *8 DINT R/W +007.0000 -199.9999 to +199.9999 84 Bank 3 LL setting *8 DINT R/W -001.0000 -199.9999 to +199.
Index (DEC) Description Data type Attribute Default value Value When the connected sensor head is GT2-H***/A*** When the connected sensor head is GT2-P*** 0: 1: 2: 3: 4: 5: HSP (12 ms) 20ms 40ms 400ms 2000ms 4000ms HSP (3.0 ms) 5 ms 10 ms 100 ms 500 ms 1000 ms 132 Response time DINT R/W 3 133 Timing type DINT R/W 0 0: External timing input 1: Rising self 2: Falling self 134 Self-timing level DINT R/W +000.5000 -199.9999 to +199.
Index (DEC) Function name Description Data type Attribute Default value Value 154 Batch setting (GT2-100* only) *14 DINT R/W 0 0: Individual 1: Batch 155 Analog Range setting *15 DINT R/W 0 0: Default 1: Free range setting 156 Free range setting (Hi) *15 DINT R/W +012.0000 -199.9999 to +199.9999 157 Free range setting (Lo) *15 DINT R/W 000.0000 -199.9999 to +199.9999 15 158 to 159 Reserved for system 160 Group5 Entry count DINT R 161 R.V. (base of calc.
Index (DEC) Function name Description Data type Attribute Default value Value 201 Product name 2 *17 DINT/ STRING R GT2-7* main unit:="71*/" GT2-7* expansion unit:="72*/" GT2-71MC:="71MC" GT2-100*:="100*" 202 Product name 3 *17 DINT/ STRING R GT2-7* main unit:="75* " GT2-7* expansion unit:="76* " GT2-71MC:="* " GT2-100*:="" 203 Product name 4 *17 DINT/ STRING R GT2-7* main unit:="" GT2-7* expansion unit:="" GT2-71MC:="" GT2-100*:="" 204 to 217 218 219 to 223 Reserved for system Uni
*11 When a sensor amplifier of GT2-100* series is used, this parameter cannot be written to units other than the main unit (Slot: 01). *12 These parameters can be read/written to only the main unit (Slot: 01) of sensor amplifiers. *13 Each parameter is specified as a combination of calculation mode and calculation setting. The calculation mode is defined in the tens digit, while the calculation setting is defined in the ones digit.
Appendix Specifications The specifications of the DL-PN1 are as follows: Product name Model DL-PN1 Suitable network Compliant standards Ethernet Transmission rate 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 DLPN1 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.