The leader in industrial automation and control solutions

Introduction

All Maple Systems HMIs programmed with EBPro (EasyBuilder Pro), including every cMT X Series and cMT Series model, are compatible with a Siemens S7-1200/S7-1500 (Absolute Addressing) Ethernet. Configure your Controller and HMI/cMT with the following parameters to establish reliable communication.

Supported Series: Siemens S7-300/1200/1500 Series, ET200SP series

Website: http://www.siemens.com/entry/cc/en/

HMI Setting

ParametersRecommendedOptionsNotes
PLC typeSiemens S7-1200/S7-1500 (Absolute Addressing) (Ethernet)
PLC I/FEthernet
Port no.102
Rack0
CPU slot1
On-line simulatorYes
Multi-HMI connectTIA Settings *Note

*Connect S7-300 settings

EasyBuilder Device Settings dialog showing IP Address Settings with port 102, and CPU Settings with Rack 0 and CPU slot 2.

NOTE: According to Connection resource / HMI Communication settings

TIA Portal Connection resources panel showing HMI communication row highlighted with maximum 4 connections and 0 configured.

Support Device Type

Data typeEasyBuilder data formatMemo
Boolbit
Byte16-bit BCD, Hex, Binary, Unsigned8-bit
SInt16-bit BCD, Hex, Binary, Signed8-bit
USInt16-bit BCD, Hex, Binary, Unsigned8-bit
Word16-bit BCD, Hex, Binary, Unsigned16-bit
Int16-bit BCD, Hex, Binary, Signed16-bit
UInt16-bit BCD, Hex, Binary, Unsigned16-bit
DWord32-bit BCD, Hex, Binary, Unsigned32-bit
DInt32-bit BCD, Hex, Binary, Signed32-bit
Real32-bit Float32-bit
UDInt32-bit BCD, Hex, Binary, Unsigned32-bit
LInt64-bit Signed
ULInt64-bit Unsigned
LReal64-bit Double
Array

NOTE1: EBPro (EasyBuilder Pro) V6.03.02 or later supports 64 bits data type, but please note that the address limit range is 48 bits in maximum.

NOTE2: Importing data types other than those in the above table may result in failure to communicate.

Both single-dimensional arrays and multi-dimensional arrays can start with non-zero values. Example: [1..9], or [1..3,2..5]

Address tags do not allow the use of special characters, such as: [ ] " etc., which may cause unexpected situations such as import exceptions or communication exceptions.

User Define Type

  1. User define type can be established in PLC data type.
    TIA Portal PLC data types panel showing a UDT with UDT_Bool (Bool) and UDT_Int (Int) members.

    2. User define type can be used in DB. User-defined types mapping address function are not supported. When using a user-defined type, please add it to the end of DB, to avoid influencing import and communication (address offset calculation).

    TIA Portal Program Blocks view of All_Types DB showing Static_1 member of UDT type with UDT_Bool and UDT_Int sub-members.

    3. User define type cannot be imported automatically, you need to manually create an address in EBPro (EasyBuilder Pro) to communicate.

      EasyBuilder address dialog with Device set to Siemens S7-1200/S7-1500, Address type DB2Bit, Address 2820, and format DDDDDo range 0 to 655327.
      EasyBuilder address dialog with Device set to Siemens S7-1200/S7-1500, Address type DB2, Address 284, and format DDDDD range 0 to 65532.

      Device Address

      Bit/WordDevice typeFormatRangeMemo
      BIDDDDDo0 ~ 655357Input (I)
      BQDDDDDo0 ~ 655357Output (O)
      BMDDDDDo0 ~ 655357Bit Memory
      BDBnBitFFFFFDDDDo0 ~ 6553599997
      BDBxBitFFFFFDDDDDo0 ~ 10700655327
      BDB1Bit–DB99BitDDDDDo0 ~ 655357Data Register Bit
      BYTEIBDDDDD0 ~ 65535Input (I)
      WIWDDDDD0 ~ 65533Input (I)
      DWIDDDDDD0 ~ 65535Input (I)
      LWILDDDDD
      BYTEQBDDDDD0 ~ 65535Output (O)
      WQWDDDDD0 ~ 65533Output (O)
      DWQDDDDDD0 ~ 65535Output (O)
      LWQLDDDDD0 ~ 65535
      BYTEMBDDDDD0 ~ 65535Bit Memory
      WMWDDDDD0 ~ 65533Bit Memory
      DWMDDDDDD0 ~ 65535Bit Memory
      LWMLDDDDD0 ~ 65535
      BYTEDBBnFFFFFDDDD0 ~ 655359999Data Register
      BYTEDBBxFFFFFDDDDD0 ~ 1070065535Data Register
      WDBnFFFFFDDDD0 ~ 655359999Data Register
      WDBxFFFFFDDDDD0 ~ 1070065535Data Register
      DWDBDnFFFFFDDDD0 ~ 655359999Data Register
      DWDBDxFFFFFDDDDD0 ~ 1070065535Data Register
      LWDBLxFFFFFDDDDD0 ~ 1070065535
      LWDBLnFFFFFDDDD0 ~ 599999999
      WDBn_StringFFFFFDDDD0 ~ 655359999Char Array
      WDBx_StringFFFFFDDDDD0 ~ 1070065535Char Array
      WDBn_String1FFFFFDDDD0 ~ 655359999String
      WDBx_String1FFFFFDDDDD0 ~ 1070065535String
      DWDBDn_StringFFFFFDDDD0 ~ 655359999Char Array
      DWDBDx_StringFFFFFDDDDD0 ~ 1070065535Char Array
      WDB1 ~ DB99DDDDD0 ~ 65535Data Register
      DWS5TIME_10MsFFFFFDDDD0 ~ 65535999910MS ~ 9S990MS
      DWS5TIME_100MsFFFFFDDDD0 ~ 655359999100MS ~ 1M39S900MS
      DWS5TIME_1SFFFFFDDDD0 ~ 6553599991S ~ 16M39S
      DWS5TIME_10SFFFFFDDDD0 ~ 65535999910S ~ 2H46M30S

      NOTE: Double word and floating point value must use DBDn device type.

      NOTE: When using DBn, DBDn, DBLn, DBx, DBDx, DBLx addresses, the object address must be an even number due to the limitation of the original software protocol.

      PLC Setting

      NOTE: Please follow the settings below, or the communication may fail.

      1. Do not check [DB UTILITAIRES][Attributes][Optimized block access].
      TIA Portal DB UTILITAIRES Attributes dialog with Optimized block access checkbox unchecked.

      2. Check [General][Protection][Permit access with PUT/GET communication from remote partner].

        TIA Portal PLC Protection settings dialog with Permit access with PUT/GET communication from remote partner checkbox checked.

        How to Import Address Tags Using TIA Portal

        Exporting PLC Tags (.xlsx file format)

        1. Open PLC Tags in TIA Portal

          Under [PLC tags] create the address tags and then click the Export icon.
        2. Designate Export Directory

          Designate the directory to save the file and click OK.
          TIA Portal Export to Excel dialog showing path C:UserstonyDesktopPLC tags.xlsx with Tags checkbox checked.

        Exporting Program Blocks (.scl file format)

        1. Create Data Block in TIA Portal

          Under [Program blocks] create Data_block_1 [DB1] as shown in the following figure. Click the right mouse button on [DB1] and then click [Generate source from blocks].
          TIA Portal right-click context menu on a program block showing Generate source from blocks option highlighted.
        2. Add New PLC in EBPro (EasyBuilder)

          In EBPro (EasyBuilder) click [New PLC…], select Siemens S7-1500 (Ethernet) PLC type, and then click [Settings…] to set the parameters.
          EasyBuilder Device Properties dialog showing Siemens S7-1500 Ethernet selected in the device type list.
          EasyBuilder IP Address Settings dialog for S7-1500 PLC showing IP 192.168.1.231, port 102, link type PG, Rack 0, CPU slot 1.

        Importing Tags into EBPro (EasyBuilder)

        1. Click Import Tag Button

          Click [Import Tag…] button.
          EasyBuilder System Parameter Settings Device tab showing Local HMI and a Siemens S7-1 PLC device with Import Tag button visible.
        2. Select Import File Type

          Select file type .scl; .db or select TIA file *.apxx for import (TIA File is recommended). Compiling the TIA file by using TIA software before import is necessary to avoid importing incomplete data.
          NOTE: Before importing TIA Files, users need to compile the file and download it to the PLC (*.ap12~17).
          EasyBuilder Import Tags dialog showing two importer types: Import Files (*.scl;*.db) as Linear and Import Files (*.ap*) as Hierarchical.
        TIA Portal Edit menu open with the Compile option highlighted.

        NOTE: CPU 1510SP-1 PN (6ES7510-1DJ01-0AB0) — unable to import using TIA project (*.ap*), please use [Get tag info] instead.

        Import Files (*.scl; *.db)

        Select the PLC Tags and Program Blocks to be imported, click [Import] button, and then click [OK] to leave when the tags are imported successfully.

        NOTE: At least one db file must be imported. If only plc tags are selected, import cannot complete successfully.

        EasyBuilder Import Tags dialog with PLC tags file and DB1.scl Program Block loaded, showing Import tag information successfully status for both.

        Import Files (*.ap*)

        Select the tags to be imported and then click OK. (Support multiple devices in the same project)

        TIA Portal tag tree selection dialog for TIA project import showing PLC with Blocks, UDTs, and Tags checkboxes.

        NOTE: Before importing the file, the editor needs to confirm that the TIA project is compiled and downloaded to the PLC and runs correctly.

        The ‘Import tag information successfully’ message window is shown if the import has succeeded.

        Get Tag Info

        1. In S7-1200/1500 program software create PLC program and tag and then download
          to PLC.

          Select Go offline, EBPro (EasyBuilder) will connect to PLC and get tag data. In PLC type select “SIEMENS S7-1200/1500 (Absolute Addressing) (Ethernet)”.
        2. Click “Settings…”, input PLC IP address

          Click “Settings…”, input PLC IP address
        3. Check the PLC that is not connected to any PC. Click “Get Tag Info…”

          Check the PLC that is not connected to any PC. Click “Get Tag Info…”
        4. Added Tag Manager that allows selecting the Siemens S7-1200/1500 PLC tags to be
          imported.

          NOTE:

          Both single-dimensional arrays and multi-dimensional arrays can start with non-zero values. Example: [1..9] , or [1..3,2..5]

          Importing data types other than those in the above table may result in failure to communicate.

          Address tags do not allow the use of special characters, such as: [ ] ” “,. etc., which may cause unexpected situations such as import exceptions or communication exceptions.

        5. Create an object and click read address “Settings…”

          Create an object and click read address “Settings…”
        6. In device select “S7-1200/1500” then select “user-defined tag”.

          In device select “S7-1200/1500” then select “user-defined tag”.
        7. Select PLC tag.

          Select PLC tag.

        Wiring Diagram

        The diagram below shows the Ethernet cable wiring.

        Ethernet cable wiring diagram showing 8-wire color-coded pin-to-pin connections: W/Orange, Orange, W/Green, Blue, W/Blue, Green, W/Brown, Brown.