Option 2: TIA Components ......................17 5.2.3 Option 3: Directly Access the Object Directory ................17 Data Format ..............................18 Object Directory ............................. 19 Sequence When Writing and Reading Acyclical Data .................. 26 Sequence When Writing Structured Data ..................... 29 IF2030/PNET...
Page 4
A 4.4 INC5701 ................................. 48 A 4.5 ACS7000 ................................ 50 A 4.6 IFC2421, IFC2422, IFC2451, IFC2461, IFC2471 ................... 52 A 4.7 ILD1320, ILD1420 ............................53 A 4.8 ILD1750 ................................54 A 4.9 ILD2300 ................................55 A 4.10 ODC2520 ............................... 56 IF2030/PNET...
> Damage to or destruction of the interface module The supply voltage must not exceed the specified limits. > Damage to or destruction of the interface module Avoid shocks and impacts to the interface module. > Damage to or destruction of the interface module IF2030/PNET Page 5...
- The IF2030/PNET must only be operated within the limits specified in the technical data; see Chap. 2.2. - The IF2030/PNET must be used in such a way that no persons are endangered or machines and other material goods are damaged in the event of malfunction or total failure.
Functional Principle, Technical Data Functional Principle, Technical Data Functional Principle The IF2030/PNET interface module is used to convert the internal Micro-Epsilon sensor protocol (RS485 or RS422) to Profinet IO. Features: - Synchronization output, LED status display - Profinet interface - Housing for top-hat rail...
After unpacking, check immediately for completeness and transport damage. If there is damage or parts are missing, immediately contact the manufacturer or supplier. Download GSDML file, available at https://www.micro-epsilon.de/service/download/ TIA function components for easier configuration, available at https://www.micro-epsilon.de/ser- vice/download/ Storage Storage temperature: -20 to +70 °C (-4 to +158 °F)
Terminal 1 Terminal 3 shield connection Fig. 2 Interface module terminals 1) Internally connected to supply ground 2) If the distance between IF2030/PNET and the sensor/controller is long, a separate supply for the sensor/controller may be advisable. IF2030/PNET Page 11...
1 to a voltage supply. Maximum cable length 3 m. The voltage supply must match that of the connected sensor, because the voltage is internally daisy-chained. MICRO-EPSILON recommends using the optionally available power supply PS2020, input 100 - 240 VAC, output 24 VDC/2.5 A, see appendix.
ODC2520 Fig. 5 Connection examples for IF2030/PNET The length of the cable between IF2030/PNET and sensor/controller is 10 m at most. Because of the PCx/8-M12 cable, the sensor supply for ACC5703 and INC5701 sensors is possible only via the IF2030/PNET.
We recommend a 120 Ohm terminating resistor between the signal lines at both the bus start and end. IF2030/PNET works as a master for both interfaces; internally, a 120 Ohm terminating resistor has already been permanently incorporated. The IF2030/PNET should be at the bus start.
(MRP = Media Redundancy Protocol) between the output port of the last slave device and channel 1 of the IO controller. IF2030 can participate in an MRP ring as a client; however, it cannot manage the ring. To achieve ring functionality, all participants must be configured as ring participants. IF2030/PNET Page 15...
Please refer to the operating instructions of the corresponding sensor for detailed information on config- uring the sensor. Baud Rate and Sensor Interface IF2030/PNET must be set for the interface used and the sensor’s baud rate. The baud rate and sensor interface can be configured in various ways. Sensor/Controller Baudrate [Baud] RS485 RS422...
5.2.2 Option 2: TIA Components The download package with the GSDML file includes preset function components that allow for easy access to options for the IF2030/PNET. Select the IF2030_BaudrateInterface component and transfer the parameters, see Chap. 5.7.3. 5.2.3 Option 3: Directly Access the Object Directory Use the WRREC_DB function component to send the desired baud rate and sensor interface to the IF2030/PNET, see Chap.
0: Disable HTTL synchronization 0x2027 0 Uint8 HTTL Sync 1: Enable HTTL synchronization enable/disable cyclic 0: Disable 8 byte status header in cyclic data 0x2028 0 Uint8 status header 1: Enable 8 byte status header in cyclic data IF2030/PNET Page 19...
Page 20
Test software version Uint8 Test hour Uint8 Test day Uint8 Test month Uint8 Test year Int32 Article number circuit board Int32 Serial number circuit board Uint8[32] Name Uint8 sensor/channel count Uint8 protocol block count Uint8[164] R protocol blocks IF2030/PNET Page 20...
Page 21
RS485 bus diagnostic block (if available) Uint8 NrOfObjects Specifying an index lets you scroll through exist- Uint8 RW page index to read ing pages Uint8 number of pages Uint8 diagnose Type Uint8[235] R String Page Diagnostic message IF2030/PNET Page 21...
Page 22
Float Nominal offset Nominal offset Float current measuring range Actual measuring range Float current offset Actual offset Uint8[32] Target material Target material Uint8[32] Sensor/channel name Sensor/channel name uint8 extension length Length of block extension uint8[138] R extension IF2030/PNET Page 22...
Page 23
NrOfObjects Please refer to the sensor documentation for avai- Uint16 RW Parameter ID lable parameter IDs and their types Uint8 RW Reserved Float RW Value Value Uint8[14] Name Designation Uint8[8] Unit Unit as a string Float Float IF2030/PNET Page 23...
Page 24
NrOfObjects Please refer to the sensor documentation for avai- Uint16 RW Parameter ID lable parameter IDs and their types Uint8 RW Reserved Uint32 RW Value Value Uint8[14] Name Designation Uint8[8] Unit Unit as a string Uint32 Uint32 IF2030/PNET Page 24...
Page 25
Buffer for a 128-character ASCII command, termi- Uint8[128] RW Send Cmd nation with ‘\n’ or 0x0A Answer from sensor without shortening, e.g., Line Uint8[896] R Cmd Answer feed; if buffer overflows, e.g., PRINT ALL, answer is truncated IF2030/PNET Page 25...
5.7.1 General You can configure your IF2030/PNET via S7 by using several function components. They cover core functions that can be used for all compatible Micro-Epsilon sensors. The components are available in an unencrypted form to allow you to view the code (“Structured Control Language”) and use it as a template for your own programs.
Open the context menu by right-clicking the file and select the Generate blocks from source function in that menu. If displayed, confirm a message that existing blocks will be overwritten. IF2030/PNET Page 31...
Page 32
Program compo- nents folder. You can also view the re- sult of generating them in the Inspec- tion window on the Info > Compile tab. Please note that these messages refer to the source file. IF2030/PNET Page 32...
Now create the necessary variables, depending on the function component. The starting value is the value used when the data component is loaded into the CPU’s memory. Next, click the Save project button (top left on the function bar). IF2030/PNET Page 33...
Page 34
Open the Main [OB1] organization component by double-clicking it. Mark your function component and drag it into the pro- gram of the previously opened organization component. There is no requirement that the call be performed via the main program OB1; that program is always processed by the CPU by default. IF2030/PNET Page 34...
Page 35
The components that were translated successfully are then displayed under Inspection window > Info > Translation. After successful translation, the entire control system with the program generated, including the hardware configuration, can be load- ed by using the Load to device symbol button. IF2030/PNET Page 35...
5.7.4 Basic Settings Module You can specify basic settings using the TIA portal inter- face. Proceed as follows to configure the IF2030/PNET based on a few basic parameters. In the Hardware catalog, select the Basic settings output module and place it in the next free slot in the Device overview.
Page 37
Reboot the IF2030/PNET to have the changes take effect! This step is necessary because of the selected/used mechanism for establishing a GUI to parameterize the IF2030/PNET; it pre- vents the configuration from being sent repeatedly to the CPU as programs are run.
The liability for material defects is 12 months from delivery. Within this period, defective parts, except for wearing parts, will be repaired or replaced free of charge, if the device is returned to MICRO-EPSILON with shipping costs prepaid. Any damage that is caused by improper handling, the use of force or by repairs or modifications by third parties is not covered by the liability for material defects.
Import the GSDML file. To do so, in the Extras > Manage device description files (DDF) menu, select the path for the file <GSDML-Vx-MICRO-EPSILON-IF2030.xml>. Click the Install button. Fig. 18 Importing the device description file After installation, switch to the project view.
Page 41
> PROFINET IO > I/O > MICRO-EPSILON MESSTECHNIK GmbH > PNS > IF2030/ PNET. Connect the green PN port in the device diagram to the PN network or to the PN connection of the SPS. Fig. 19 Selecting IF2030/PNET as the hardware IF2030/PNET Page 41...
Page 42
Enter the device name for identification in the PN network. Switch to the Device view, dou- ble-click your IF2030/PNET and set its device name in the Inspection win- dow (Properties > General tab). The device name is used to identify the device on the PN network and as an address;...
Page 43
In the open dialog window, click the Update list button. Potential devices on the PN network are displayed. In the list that is now displayed, mark the row with your IF2030/PNET that is to be renamed; field Status, “Device name is differ- ent”. Finally, click the Assign name button.
Page 44
TIA); drag it to the first free slot in the Device overview. In the hardware catalog, select the output mod- ule Basic settings and drag it to the next free slot in the device overview. IF2030/PNET Page 44...
The sensors or controllers do not solely output distance values. The overview below describes the conversion during output of dis- tance values. Please refer to the corresponding operating instructions for detailed information on conversion when additional values are output. IF2030/PNET Page 45...
Measuring value 1 z-axis [bit 8:15] manuals/man--inerti- Float 32 bit Data[n+m+2] Measuring value 1 z-axis [bit 16:23] alSENSOR-ACC5703- Data[n+m+2] Measuring value 1 z-axis [bit 24:31] -en.pdf Fig. 21 Encoding of Measured Data in the Transmission Protocol, ACC5703 IF2030/PNET Page 46...
Measuring value m [31:24] measurements are output. Fig. 22 Encoding of Measured Data in the Transmission Protocol, DT6120 Please refer to the operating instructions for the capacitive displacement measuring system for more information. The current version is available at: https://www.micro-epsilon.de/download/manuals/man--capaNCDT-6110-6120IP--en.pdf IF2030/PNET Page 47...
Measured value 2 [bit 0:7] Float 32 bit Data[13] Measured value 2 [bit 8:15] Data[14] Measured value 2 [bit 16:23] Data[15] Measured value 2 [bit 24:31] Fig. 23 Encoding of Measured Data in the Transmission Protocol, INC5701S IF2030/PNET Page 48...
Page 49
Measuring value 2 SF [bit 24:31] Data[n + 5] Measuring value 2 SF [bit 24:31] Fig. 24 Encoding of Measured Data in the Transmission Protocol, INC5701D 1) LP = Low pass filter 2) SF = SensorFUSION filter IF2030/PNET Page 49...
Measuring rate 250 Hz ex factory, all color values and color distances. Up to 32 output values can be transmitted at the same time. Baud rate 115200 b/s ACS7000 supplies 3 bytes per value at the output. These bytes are coded by the IF2030/PNET into 4 bytes, see Chap. 5.3. Scaled Group Name...
Page 51
MinDistID Fig. 25 Overview of output data via RS422 Please refer to the operating instructions for the color measuring system colorCONTROL ACS7000 for more information, especially about possible output values. The current version is available at: https://www.micro-epsilon.com/download/manuals/man--colorCONTROL-ACS7000--en.pdf IF2030/PNET Page 51...
IFC24xx supplies 3 bytes per value at the output. These bytes are coded by the IF2030/PNET into 4 bytes, see Chap. 5.3. The linearized measuring values can be converted in µm using the following formula:...
The digital measurements are output at the sensor as unsigned digital values (raw values). The sensors supply 3 bytes per value at the output. These bytes are coded by the IF2030/PNET into 4 bytes, see Chap. 5.3. The linearized measuring values can be converted in µm using the following formula:...
The digital measurements are output at the sensor as unsigned digital values (raw values). The sensors supply 3 bytes per value at the output. These bytes are coded by the IF2030/PNET into 4 bytes, see Chap. 5.3. The linearized measuring values can be converted in µm using the following formula:...
The digital measurements are output at the sensor as unsigned digital values (raw values). 16 Bit per value are transmitted. The sen- sors supply 3 bytes per value at the output. These bytes are coded by the IF2030/PNET into 4 bytes, see Chap. 5.3.
RS422 interface. The ODC2520 supplies 3 bytes per value at the output. These bytes are coded by the IF2030/PNET into 4 bytes, see Chap. 5.3. The linearized measuring values can be converted in µm using the following formula: x = Measuring value (edge position, difference, center axis) in μm...
Need help?
Do you have a question about the IF2030/PNET and is the answer not in the manual?
Questions and answers