Siemens SIMATIC S7-300 Manual For Migrating page 57

Tia portal
Hide thumbs Also See for SIMATIC S7-300:
Table of Contents

Advertisement

5 Software Conversion
New data types
For the programming in TIA Portal some new data types have been introduced,
among others also 64 bit data types. This makes it possible to process
considerably larger and more precise values.
Table 5-11
Data type
USInt
SInt
UInt
UDInt
ULInt
Lint
LWord
LReal
Time data types
DTL
LTime
LTIME_OF_DAY
Unicode data types
WCHAR
WSTRING
Pointer data type
VARIANT
PLC data type
The PLC data types are a new feature. Just as with the UDTs an independent data
type can be designed in STEP 7 V5.x that can be reused in the entire program,
typically in data blocks but also in interfaces of function blocks. A change can
therefore be carried out centrally and is updated in all the places used.
Migration S7-300/S7-400 nach S7-1500
Entry ID: 109478811,
V1.1,
Size
8 bit
8 bit
16 bit
32 bit
64 bit
64 bit
64 bit
64 bit
Reads the current system time (setting in: YEAR, MONTH, DAY,
WEEKDAY, HOUR, MINUTE, SECOND, NANSECOND)
64 bit
64 bit
2 byte
(4+2*n)Byte
A parameter of the VARIANT type is a pointer that can point to tags
of different data types. In contrast to the ANY pointer the VARIANT
is a pointer with type test. I.e. the target structure and source
structure are checked at runtime and have to be identical.
05/2017
Range of values
0 .. 255
-128 .. 127
0 .. 6535
0 .. 4.3 m
0 .. 18.4 (10 )
-9.2 .. 9.2 (10 )
16#0000 0000 0000 0000 to
16# FFFF FFFF FFFF FFFF
-1.79e+308 .. 1.79e+308
LT#-106751d23h47m16s854ms775us808ns
up to
LT#+106751d23h47m16s854ms775us807ns
LTOD#00:00:00.000000000
up to
LTOD#23:59:59.999999999
Popular unicode characters
Preset value:
254 characters
Max. value: 16382 characters
57

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-400Simatic s7-1500

Table of Contents