Forum

Share:
Notifications
Clear all

Configuring and Parameterizing HART Modules

1 Posts
1 Users
0 Reactions
204 Views
Posts: 17277
Admin
Topic starter
(@click2electro)
Member
Joined: 3 years ago

This guide describes how to configure HART modules for connecting HART devices in the TIA Portal and parameterize the HART devices with SIMATIC PDM.

Step 1: Requirements

  •  SIMATIC Field PG as Engineering Station with:
    – TIA Portal: In this example we use STEP 7 V13 SP 1 Udp4 (TIA Portal).
    – SIMATIC PDM: In this example we use SIMATIC PDM V8.2 SP1 in "Standalone" mode without STEP 7.
    2. PROFINET IO controller: CPU 1516-3 PN/DP (article number: 6ES7516-3AN01-0AB0), for example.
    3. PROFINET IO device, ET 200SP, for example, consisting of:
    a. IM 155-6 PN HF
    b. AI 4xI 2-wire 4..20mA HART
    4. HART device: SITRANS TH300

Step 2: Configuring the HART Module in the TIA Portal

  • Open the TIA Portal and create a new project.
  • Add a new S7 CPU, for example CPU 1516-3 PN/DP.
  • As PROFINET IO device you configure the ET 200SP consisting of the modules below:
    1. Interface module: IM 155-6 HF
    2. Analog input module: AI 4xI 2-wire 4..20mA HART.
  • In the Device View of the ET 200SP you mark the HART module AI 4xI 2-wire 4..20mA HART. The properties of the HART module are displayed in the inspector window.
  • In the "General" tab you navigate to "AI 4 > Inputs > Channel 0". For channel 0, to which the HART device SITRANS TH300 is connected, you enable diagnostics, set the parameters for measuring and enable the HART function.
  • Go to the "General" tab and navigate to "AI 4 > HART variables settings". Select the relevant primary, secondary, tertiary and quaternary variables of the HART device. Up to 4 HART variables can be shown on the process image. Detailed information about the HART variables is available in the manual of the module AI 4xI 2-wire 4..20mA HART, in the section entitled HART variables.
  • Go to the "General" tab and navigate to "AI 4 > I/O addresses". Here you canchange the start address of the input addresses of the module "AI 4xI 4..20mA HART" if it is outside the process image of the CPU, for example.
  • In the project tree you mark the device folder of the S7-CPU. In the toolbar you click the "Download to device" button to download the configuration and user program into the S7-CPU.

Step 3: Configuring and Parameterizing the HART Device with SIMATIC PDM

This step divide into two part:

  • First: The configuration of the HART device (SITRANS TH300) in the SIMATIC Manager.
  • Second: The parameterization of the HART device in SIMATIC PDM.

Configuration of the HART Device in the SIMATIC Manager

Proceed as follows to configure the HART device in the SIMATIC Manager:

  • Open the SIMATIC Manager. This is supplied with SIMATIC PDM and is installed when you install SIMATIC PDM.
  • Create a new project in the SIMATIC Manager.
  • In the SIMATIC Manager you open the Process Device Network View via the menu "View > Process Device Network View".
  • In the Process Device Network View you right-click the project name. Via the pop-menu "Insert New Object > Networks" you insert the object "Networks".
  • Right-click the "Networks" object. Via the pop-menu "Insert New Object > Communication Networks" you open the dialog "Insert Object – networks"
  • Click the "Assign Device Type" button. The "Insert Object – Assign Device Type" dialog opens.
  • Under "Networks > PROFINET > PROFINET networks" you select the PROFINET network. Click "OK" to close the dialog.
  • The object name "PROFINET network" is displayed in the "Insert Object – networks" dialog. Click "OK" to close the dialog.
  • Right-click the "PROFINET network" object. Via the pop-menu "Insert New Object > Object" you open the dialog "Insert Object – PROFINET network"
  • Click the "Assign Device Type" button. The "Insert Object – Assign Device Type" dialog opens.
  • Under "Devices > PROFINET > Remote IO > Siemens AG > ET 200SP" you select the relevant interface module. In this example we use an IM 155-6 High-Feature V2.2 or higher. Click "OK" to close the dialog.
  • The object name "IM 155-6 High-Feature V2.2 or higher" is displayed in the dialog "Insert Object – PROFINET network". Enter the IP address 192.168.0.4 of the IM 155-6 PN HF. Click "OK" to close the dialog.
  • Right-click the object "IM 155-6 High-Feature V2.2 or higher". Via the pop-menu "Insert New Object > Object" you open the dialog "Insert Object – IM 155-6 High- Feature V2.2 or higher".
  • Click the "Assign Device Type" button. The "Insert Object – Assign Device Type" dialog opens.
  • Under "Devices > PROFINET > Remote IO > Siemens AG > ET 200SP > Module" you select the HART module. In this example we use an AI4 x 2-wire HART. Click "OK" to close the dialog.The object name "AI4 x 2-wire HART" is displayed in the dialog "Insert Object – IM 155-6 High-Feature V2.2 or higher". The slot must match the slot of the module in the TIA Portal. Click "OK" to close the dialog.
  • Right-click the object "Channel 0" of the HART module AI4 2-wire HART. Via the pop-menu "Insert New Object > Object" you open the dialog "Insert Object – Channel 0".
  • Click the "Assign Device Type" button. The "Insert Object – Assign Device Type" dialog opens
  • Select the HART device. In this example we us a SITRANS TH300. This HART device is located under "Sensors > Temperature > Siemens AG". Click "OK" to close the dialog.
  • The object name "SITRANS" is displayed in the "Insert Object – Channel 0" dialog. Click "OK" to close the dialog.
  • Right-click the "SITRANS" object. In the pop-up menu you select "Open object".
    SIMATIC PDM opens.

Parameterization of the HART Device in SIMATIC PDM

Proceed as follows to parameterize the HART device in SIMATIC PDM:

  • In SIMATIC PDM you set the parameters for the HART device SITRANS TH300. Under "SITRANS > SITRANS TH300 > Setup > Sensor" you can set the type and sensor connection, for example. In this example we use the type Pt100 DIN IEC 751 and a two-wire sensor connection.
  • Under "SITRANS > SITRANS TH300 > Setup > Mapping of Variables" you see which values are assigned to the primary, secondary, tertiary and quaternary variables. You can read these out later via the monitoring table in the TIA Portal or you access the HART variables from the user program via the process image.
  • Under "SITRANS > SITRANS TH300 > Characteristics > Mechanical Construction" you enter the installation date. Then click the "Load to Devices" button. The "Load to Devices" dialog opens.
  • Click "Start". The parameterization is downloaded to the HART device - SITRANS TH300, for example.
  • At the end of download the status "Load to device: Action finished." is displayed. The HART device "SITRANS" is displayed green. Click the "Close" button to end the dialog.
  • You can use SIMATIC PDM to access the HART device online. Select the menu "View > Process Variables". The "SITRANS – Process Variables – (Online)" dialog opens.
  • Here you get a display of the measured value, trend view, operating hours and the min/max pointer of the SITRANS TH300 temperature sensor.
  • In the TIA Portal you can have the values of the HART variables displayed in the monitoring table. You access the HART variables via the process image of the inputs. Each HART variable consists of 4 Value bytes and one Quality Code byte
Share: