hit counter script

Bool, Byte, Word, And Dword Data Types - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Table 4- 15
Format
BCD16
BCD32
4.4.1

Bool, Byte, Word, and DWord data types

Table 4- 16
Bit and bit sequence data types
Data
Bit
Number
type
size
type
Bool
1
Boolean
Binary
Octal
Hexadecimal
Byte
8
Binary
Unsigned integer
Octal
Hexadecimal
Word
16
Binary
Unsigned integer
Octal
Hexadecimal
DWord
32
Binary
Unsigned integer
Octal
Hexadecimal
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
Size and range of the BCD format
Size (bits)
Numeric Range
16
-999 to 999
32
-9999999 to 9999999
Number
range
FALSE or TRUE
0 or 1
8#0 or 8#1
16#0 or 16#1
2#0 to 2#11111111
0 to 255
8#0 to 8#377
B#16#0 to B#16#FF
2#0 to 2#1111111111111111
0 to 65535
8#0 to 8#177777
W#16#0 to W#16#FFFF,
16#0 to 16#FFFF
2#0 to
2#111111111111111111111111
11111111
0 to 4294967295
8#0 to 8#37777777777
DW#16#0000_0000 to
DW#16#FFFF_FFFF,
16#0000_0000 to
16#FFFF_FFFF
Constant Entry Examples
123, -123
1234567, -1234567
Constant
examples
TRUE, 1,
0, 2#0
8#1
16#1
2#00001111
15
8#17
B#16#F, 16#F
2#1111000011110000
61680
8#170360
W#16#F0F0, 16#F0F0
2#111100001111111100
001111
15793935
8#74177417
DW#16#F0FF0F,
16#F0FF0F
97BPLC concepts
4.4 Data types
Address
examples
I1.0
Q0.1
M50.7
DB1.DBX2.3
Tag_name
IB2
MB10
DB1.DBB4
Tag_name
MW10
DB1.DBW2
Tag_name
MD10
DB1.DBD8
Tag_name
87

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents

Save PDF