Basic Principles of Serial Data Transmission
2.7 Parameterization Data
PtP coupling and configuration of CP 340
Manual, 04/2011, A5E00369892-03
79
Display type
The table below describes the possible display types for the values of the variables. Display
types N and P are exceptions and are explained below the table.
The display type supports both uppercase and lowercase letters.
Table 2- 18 Display types in the conversion statement
Display type
Associated data type
Default display
Width of the default
display
Description
A
DATE, WORD
10.06.1992 (German)
10
German
date format
C
CHAR, BYTE
WORD
DWORD
ARRAY OF CHAR
ARRAY OF BYTE
A, B
AB
ABCD
ABCDE ...
ABCDE ...
1
2
4
–
–
Alphanumeric characters
D
DATE, WORD
1996–06–10 (American)
10
Date format according to
ICE 61131-3
F
REAL, DWORD
0.123456
8
Floating point, without
exponent
H
All data types incl.
ARRAY OF BYTE
In accordance with the
data type
In accordance with
the data type
Hexadecimal format
I
INT, WORD
DINT, DWORD
–32767
–2147483647
Max. 6
Max. 11
Integer range
N
(1)
WORD (text number)
Message text output
–
Integer 0 to 999
P
(2)
INT, WORD
Set page number
5
–
R
REAL, DWORD
0.12E–04
8
Floating point, with
exponent
S
STRING
Text output
–
Text strings
T
(1)
TIME, DWORD
2d_3h_10m_5s_250ms
Max. 22
Duration (negative
duration is identified by a
leading (-) minus sign)
U
BYTE
WORD
DWORD
255
65535
4294967295
Max. 3
Max. 5
Max. 10
Integer range, unsigned
X
BOOL
BYTE
WORD
DWORD
1
11101100
11001... (16)
11001... (32)
1
8
16
32
Binary format
Summary of Contents for SIMATIC CP 340
Page 6: ...Preface PtP coupling and configuration of CP 340 6 Manual 04 2011 A5E00369892 03 ...
Page 10: ...Table of contents PtP coupling and configuration of CP 340 10 Manual 04 2011 A5E00369892 03 ...
Page 200: ...Index PtP coupling and configuration of CP 340 200 Manual 04 2011 A5E00369892 03 ...