Siemens S7-1200/1500 (Ethernet:ISO over TCP/IP) Addressing

Siemens Elementary Types

C-more Tag Data Type

Siemens Memory Types

BOOL

Discrete

I/Q/M/DBX

BYTE

Signed Int 16

IB/QB/MB/DBB

WORD

IW/QW/MW/DBW

INT

DWORD

Signed Int 32

ID/QD/MD/DBD

DINT

REAL

Floating PT 32

ID/QD/MD/DBD

CHAR

Ascii String

DBB String/DBB Char

View the PLC Variables Status

To view the Status of the Variables in the PLC, once you are Online with the PLC, from the Devices Tree of the TIA Portal (SIMATICSTEP7), add or open an existing Watch Table.

Data Block Addressing

Data Block Addressing syntax differs some between what is seen in the TIA Portal (SIMATICSTEP7) and in C-more. To view the Data Block, double click on the specific Data Block you wish to view. When a specific Data Block is selected, a window like the one shown below will open.

 

From the figure shown above:

  1. The image above shows

    DB2

    .

  2. Inside

    DB2

    , there are

    Four Variables

    :

    • MOTOR_RPM

      is addressed at

      byte

      0

      and is a

      16 bit Integer

      .

    • SETPOINT_RPM

      is addressed at

      byte

      2

      and is also a

      16

      bit Integer

      .

    • START

      is addressed at

      byte 4

      ,

      bit 0

      and is a

      Boolean

      .

    • STOP

      is addressed at

      byte 4

      ,

      bit 1

      and is a

      BOOLEAN

      .

If the “Offset” column is not displayed, right-click any column header to Show / Hide Columns.

 

These Four Variables would be Addressed as follows in C-more:

  1. MOTOR_RPM

    = Memory Type:

    DB.DBW

    Address:

    2.0

  2. SETPOINT_RPM

    = Memory Type:

    DB.DBW

    Address:

    2.2

  3. START

    = Memory Type:

    DB.DBX

    Address:

    2.4 Bit: 0

  4. STOP

    = Memory Type:

    DB.DBX

    Address:

    2.4 Bit: 1