EasyManua.ls Logo

Siemens Simatic S7-400 - Multicomputing

Siemens Simatic S7-400
136 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuration and operation
4.5 Data types
CP 443-1 OPC UA
Operating Instructions, 01/2017, C79000-G8976-C427-02
41
Table 4- 1 Data types
Size [bit],
type
Area
Data type
Remark
Operand area of
the CPU
SIMATIC S7
IEC 61131-3
OPC UA
1 0 .. 255 BOOL BOOL Boolean 0 = false
1 .. 255 = true
I, Q, PI, PQ, M,
DB
Numbers
8, UInt8 0 .. 255 BYTE BYTE,
USINT
Byte I, Q, PI, PQ, M,
DB
8, UInt8 0 .. 255 CHAR CHAR Byte ASCII characters
32 .. 255
I, Q, PI, PQ, M,
DB
16, UInt16 0 .. 65535 WORD WORD,
UINT
UInt16 I, Q, PI, PQ, M,
DB
16, Int16 -32768 .. 32767 INT INT Int16 I, Q, PI, PQ, M,
DB
32, UInt32 0 .. 4294967295 DWORD DWORD,
UDINT
UInt32 I, Q, PI, PQ, M,
DB
32, Int32
2147483648 ..
2147483647
DINT DINT Int32 I, Q, PI, PQ, M,
DB
32, Float
±1.175 495e-38 ..
3.402823e+38
REAL REAL Float DB
Time and date
16, UInt16 0 .. 999 S5TIME TIME UInt16 SIMATIC time
For the coding see online
help of STEP 7.
DB
16, UInt16
D#1990-1-1 ..
D#2168-12-31
(0 .. 65378)
DATE DATE UInt16 IEC date [d] DB
32, UInt32
TOD#0:0:0.0 ..
TOD#23:59:59.999
(0 .. 86399999)
TIME_OF_
DAY
(TOD)
TIME_OF_
DAY
UInt32 Time of day [ms] DB
32, UInt32
-24D_20H_31M_
23S_648MS ..
T#24D_20H_31M_
23S_647MS
(-2147483648 ..
2147483647)
TIME TIME UInt32 IEC time [ms] DB
Complex data types
64
1990-1-1-0:0:0.0 ..
2089-12-31-
23:59:59.999
DATE_AND_
TIME
DT DATE_
AND_TIM
E
UInt32+
UInt32
Date and time of day
For the coding see online
help of STEP 7.
DB
254 * 8
STRING *
STRING
String
Max. 254 bytes user data
DB
ARRAY
*
Multidimensional field of
elementary or complex
data types
DB
UDT
*
User-defined data type
for specific parameter
groups
DB
* For the coding see below.

Table of Contents

Other manuals for Siemens Simatic S7-400

Related product manuals