SIEMENS S7-1200/S7-1500 Absolute Addressing Ethernet User Guide

June 9, 2024
SIEMENS

SIEMENS-LOGO

SIEMENS S7-1200/S7-1500 Absolute Addressing Ethernet

SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-
PRODUCT

Supported Series: Siemens S7-300/1200/1500 Series, ET200SP series
Website: http://www.siemens.com/entry/cc/en/

Settings

HMI Setting

Parameters Recommended Options Notes
PLC type Siemens S7-1200/S7-1500 (Absolute Addressing) (Ethernet)
PLC I/F Ethernet  
Port no. 102  
Rack 0  
CPU slot 1  
On-line simulator Yes Multi-HMI connect TIA Settings *Note
--- --- --- ---

Connect S7-300 settings

SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-
FIG-1

Note: According to Connection resource / HMI Communication settingsSIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-
FIG-2

Support Device Type:

S7-1200 data type EasyBuilder data format Memo
Bool bit
Byte 16-bit BCD, Hex, Binary, Unsigned 8-bit
SInt 16-bit BCD, Hex, Binary, Signed 8-bit
USInt 16-bit BCD, Hex, Binary, Unsigned 8-bit
Word 16-bit BCD, Hex, Binary, Unsigned 16-bit
Int 16-bit BCD, Hex, Binary, Signed 16-bit
UInt 16-bit BCD, Hex, Binary, Unsigned 16-bit
DWord 32-bit BCD, Hex, Binary, Unsigned 32-bit
DInt 32-bit BCD, Hex, Binary, Signed 32-bit
Real 32-bit Float 32-bit
UDInt 32-bit BCD, Hex, Binary, Unsigned 32-bit
LInt 64-bit Signed
ULInt 64-bit Unsigned
LReal 64-bit Double
Array  

Note: 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.

User define type

  1. User define type can be established in PLC data typeSIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-3
  2. User define type can be used in DB. User-defined types mapping address fuction 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).SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-4
  3. User define type cannot be imported automatically, you need to manually create an address in EasyBuilder Pro to communicate.SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-5 SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-6

Device Address:

Bit/Word Device type Format Range Memo
B I DDDDDo 0 ~ 655357 Input (I)
B Q DDDDDo 0 ~ 655357 Output (O)
B M DDDDDo 0 ~ 655357 Bit Memory
B DBnBit FFFFFDDDDo 0 ~ 6553599997
B DBxBit FFFFFDDDDDo 0 ~ 10700655327
B DB1Bit-DB99Bit DDDDDo 0 ~ 655357 Data Register Bit
BYTE IB DDDDD 0 ~ 65535 Input (I)
W IW DDDDD 0 ~ 65533 Input (I)
DW ID DDDDD 0 ~ 65535 Input (I)
BYTE QB DDDDD 0 ~ 65535 Output (O)
W QW DDDDD 0 ~ 65533 Output (O)
DW QD DDDDD 0 ~ 65535 Output (O)
BYTE MB DDDDD 0 ~ 65535 Bit Memory
W MW DDDDD 0 ~ 65533 Bit Memory
DW MD DDDDD 0 ~ 65535 Bit Memory
BYTE DBBn FFFFFDDDD 0 ~ 655359999 Data Register
BYTE DBBx FFFFFDDDDD 0 ~ 1070065535 Data Register
W DBn FFFFFDDDD 0 ~ 655359999 Data Register
W DBx FFFFFDDDDD 0 ~ 1070065535 Data Register
DW DBDn FFFFFDDDD 0 ~ 655359999 Data Register
DW DBDx FFFFFDDDDD 0 ~ 1070065535 Data Register
W DBn_String FFFFFDDDD 0 ~ 655359999 Char Array
W DBx_String FFFFFDDDDD 0 ~ 1070065535 Char Array
W DBn_String1 FFFFFDDDD 0 ~ 655359999 String
W DBx_String1 FFFFFDDDDD 0 ~ 1070065535 String
DW DBDn_String FFFFFDDDD 0 ~ 655359999 Char Array
DW DBDx_String FFFFFDDDDD 0 ~ 1070065535 Char Array
W DB1 ~ DB99 DDDDD 0 ~ 65535 Data Register
DW S5TIME_10Ms FFFFFDDDD 0 ~ 655359999 10MS ~ 9S990MS
DW S5TIME_100Ms FFFFFDDDD 0 ~ 655359999 100MS ~ 1M39S900MS
DW S5TIME_1S FFFFFDDDD 0 ~ 655359999 1S ~ 16M39S
DW S5TIME_10S FFFFFDDDD 0 ~ 655359999 10S ~ 2H46M30S
  • Double word and floating point value must use DBDn device type.
  • 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]SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-7
  2. Check [General] -> [Protection] -> [Permit access with PUT/GET communication from remote partner]SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-8

How to import address tags using TIA portal?

Exporting PLC Tags (.xlsx file format).

  1. Under [PLC tags] create the address tags and then click the Export icon.SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-9
  2. Designate the directory to save the file and click OK button.SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-10

Exporting Program Blocks (.scl file format).

  1. 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].SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-11

  2. In EasyBuilder click [New PLC…], select Siemens S7-1500 (Ethernet) PLC type, and then click [Settings…] to set the parameters.SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-12SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-13

  3. Click [Import Tag…] button.SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-14

  4. Select file type (.scl; .db) or select TIA file (.apxx) for import. Compiling the TIA file by using TIA software before import is necessary to avoid importing incomplete data.
    Note1. Please compile your project before importing TIA files (
    .ap12~17).SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-
FIG-16
    Note: CPU 1510SP-1 PN (6ES7510-1DJ01-0AB0)
    Unable to import using TIA project (.ap), please use [Get tag info] instead.

  5. 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.
    * At least one db file must be imported. If only plc tags cannot be imported successfully.SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-
FIG-17

  6. Import Files (.ap)
    Select the tags to be imported and then click OK. (Support multiple devices in the same project)SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-
18SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-
FIG-18

  7. The following message window is shown if the import has succeeded.SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-19

Get Tag Info:

  1. In S7-1200/1500 program software create PLC program and tag and then download to PLC.
  2. Select Go offline, EasyBuilder will connect to PLC and get tag data. In PLC type select “SIEMENS S7-1200/1500 (Absolute Addressing) (Ethernet)”.SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-20
  3. Click “Settings …”, input PLC IP address.SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-21
  4. Check the PLC that is not connected to any PC. Click “Get tag info…”.SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-22
  5. Added Tag Manager that allows selecting the Siemens S7-1200/1500 PLC tags to be imported.SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-23
  6. Create an object and click read address “Settings…”SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-24
  7. In the device select “S7-1200/1500” then select “user-defined tag”.SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-25
  8. Select PLC tag.SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-FIG-26

Wiring Diagram

Ethernet cable:SIEMENS S7-1200-S7-1500 Absolute Addressing Ethernet-
FIG-27

Documents / Resources

| SIEMENS S7-1200/S7-1500 Absolute Addressing Ethernet [pdf] User Guide
S7-1200 S7-1500 Absolute Addressing Ethernet, S7-1200 S7-1500, Absolute Addressing Ethernet, Addressing Ethernet
---|---

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Related Manuals