EasyManua.ls Logo

Siemens Simatic S7-300 CP 341 - Table 2- 23 Display Types in the Conversion Statement

Siemens Simatic S7-300 CP 341
253 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...
Basic Principles of Serial Data Transmission
2.8 Configuration data
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
Manual, 09/2008, A5E02191071-01 101
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- 23 Display types in the conversion statement
Display type Associated data type Default display Width of the
default display
Description
A DATE, WORD (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 –06–10 (American) 10 Date format compliant with
ICE 1131-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 1999
P
(2)
INT, WORD Set page number 5
R REAL, DWORD E–04 8 Floating point, with exponent
S STRING Text output Text strings
T
(1)
TIME, DWORD d_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
(16)
(32)
1
8
16
32
Binary format
Y
(3)
DATE_AND_TIME_
OF_DAY, DT
10.06.1992
–15:42:59.723
25 Date and time of day
Z TIME_OF_DAY
DWORD
15:42:59.723 12 Time
(1)
If there is no message text number or system time in these display types, 6 "*" characters appear in the printout instead
(the CP 341 does not keep the time). %N is the only conversion statement which cannot be used in the message text.
(2)
The P display type is only permitted in the format string. P is not permitted in configurable message texts.
(3)
The current time and date must be read first by means of the SFC 1 "READ_CLOCK" system function and stored in the
user memory (bit memory, data).
该文档极速PDF编辑器生成
如果想去掉该提示,请访问并下载
http://www.jisupdfeditor.com/
长沙工控帮教育科技有限公司
www.gkbpx.com

Table of Contents

Related product manuals