You are on page 1of 3

Permissible addresses and data types of PLC tags

Sayfa 1 / 3

Permissible addresses and data types of PLC tags


The addresses of PLC tags are made up of the particulars of the operand area and the address within this area.
The addresses must be unique throughout the CPU. If you enter an address that is already assigned to another tag, the
address will be highlighted at both places in yellow and an error message will be issued.
Operand areas
The following table shows the possible operand areas. The available data types depend on the CPU you use:
Operand area

Description

International
mnemonics

German
mnemonics

Input bit

Data
type

BOOL

Format

I x.y

Address area:
S7-1200

S7-300/400

S7-1500

0.0..1023.7

0.0..65535.7

0.0..32767.7

0.0..32760.0

0..1023

0..65535

0..32767

0..1022

0..65534

0..32766

0..1020

0..65532

0..32764

0.0..1023.7

0.0..65535.7

0.0..32767.7

0.0..32760.0

E x.y
I

IB

IW

ID

EB

EW

ED

Input (64bit)

LWORD,
LINT,
ULINT,
LTIME,
LTOD,
LDT,
LREAL,
PLC
data type

I x.0

Input byte

BYTE,
CHAR,
SINT,
USINT,
PLC
data type

IB x

WORD,
INT,
UINT,
DATE,
S5TIME,
PLC
data type

IW x

Input
double
word

DWORD,
DINT,
UDINT,
REAL,
TIME,
TOD,
PLC
data type

ID x

Output bit

BOOL

Q x.y

Input word

E x.0

EB y

EW y

ED y

A x.y
Q

Output
(64-bit)

LWORD,
LINT,

Q x.0
A x.0

mk:@MSITStore:C:\Program%20Files%20(x86)\Siemens\Automation\Portal%20V13... 19.12.2014

Permissible addresses and data types of PLC tags

Sayfa 2 / 3

ULINT,
LTIME,
LTOD,
LDT,
LREAL,
PLC
data type
QB

QW

QD

AB

AW

AD

Output
byte

BYTE,
CHAR,
SINT,
USINT,
PLC
data type

QB x

Output
word

WORD,
INT,
UINT,
DATE,
S5TIME,
PLC
data type

QW x

Output
double
word

DWORD,
DINT,
UDINT,
REAL,
TIME,
TOD,
PLC
data type

QD x

0..1023

0..65535

0..32767

0..1022

0..65534

0..32766

0..1020

0..65532

0..32764

AB y

AW y

AD y

Memory bit

BOOL

M x.y

0.0..8191.7

0.0..65535.7

0.0..16383.7

Bit
memory
(64-bit)

LREAL

M x.0

0.0..8184.0

0.0..16376.0

Bit
memory
(64-bit)

LWORD,
LINT,
ULINT,
LTIME,
LTOD,
LDT

M x.0

0.0..16376.0

MB

MB

Memory
byte

BYTE,
CHAR,
SINT,
USINT

MB x

0..8191

0..65535

0..16383

MW

MW

Memory
word

WORD,
INT,
UINT,
DATE,
S5TIME

MW x

0..8190

0..65534

0..16382

MD

MD

Memory
double
word

DWORD,
DINT,
UDINT,

MD x

0..8188

0..65532

0..16380

mk:@MSITStore:C:\Program%20Files%20(x86)\Siemens\Automation\Portal%20V13... 19.12.2014

Permissible addresses and data types of PLC tags

Sayfa 3 / 3

REAL,
TIME,
TOD
T

Time
function
(for S7300/400
only)

Timer

Tn

0..65535

0..2047

Counter
function
(for S7300/400
only)

Counter

Zn

0..65535

0..2047

Cn

Addresses
The following table shows the possible addresses of tags:
Data type

Address

Example

BOOL

Tags with BOOL data type are addressed with a byte number and a bit
number. The numbering of the bytes begins for each operand area at 0. The
numbering of the bits goes from 0 to 7.

A 1.0

BYTE, CHAR,
SINT, USINT

Tags with BYTE, CHAR, SINT, and USINT data type are addressed with a byte
number.

MB 1

WORD, INT,
UINT, DATE,
S5TIME

Tags with WORD, INT, UINT, DATE, S5TIME data type consist of two bytes.
They are addressed with the number of the lowest byte.

IW 1

DWORD,
DINT, UDINT,
REAL, TIME,
TOD

Tags with DWORD, DINT, UDINT, REAL, TIME, TOD data type consist of four
bytes. They are addressed with the number of the lowest byte.

AD 1

LWORD,
LINT, ULINT,
LTIME,
LTOD, LDT,
LREAL

Tags of data type LWORD, LINT, ULINT, LTIME, LTOD, LDT, and LREAL
consist of eight bytes. They are addressed with it number 0 and the number of
the lower byte.

I 1.0

Mnemonics used
The addresses that you enter in the PLC tag table are automatically adapted to the set mnemonics.

mk:@MSITStore:C:\Program%20Files%20(x86)\Siemens\Automation\Portal%20V13... 19.12.2014

You might also like