Siemens IP-Module Spezifikationen Seite 53

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 85
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 52
Siemens TCP/IP Ethernet Driver Help
See Also: Examples
Memory Types
Memory Type Description Address Range Data Type Access
I
E
Inputs
Dependent on S7 Data Type
Read/Write
Q
A
Outputs Read/Write
PI
PE
Peripheral Inputs Read Only
PQ
PA
Peripheral Outputs Read/Write
M
F
Flag Memory Read/Write
DB Data Blocks Read/Write
T Timers T0-T65535 DWord, Long Read/Write
C
Z
Counters C0-C65535
Z0-Z65535
Word, Short Read/Write
See Also: Examples
S7 Data Types
The S7 data type is used to coerce the data type for a tag. It does not apply to Timers and Counters. The default
data types are shown in bold.
Data Type Description Address Range Data Type
X Bit X0.b-X65534.b
.b is Bit Number 0-15
Boolean
B
Byte
Unsigned Byte B0-B65535
BYTE0-BYTE65535
Byte, Char
Char Signed Byte CHAR0-CHAR65535
Byte, Char
W
Word
Unsigned Word W0-W65534
WORD0-WORD65534
Word, Short, BCD
INT Signed Word INT0-INT65534 Word, Short, BCD
D
DWORD
Unsigned
Double Word
D0-D65532
DWORD0-DWORD65532
DWord, Long, LBCD, Float
DINT Signed
Double Word
DINT0-DINT65532 DWord, Long, LBCD, Float
REAL IEEE Float REAL0-REAL65532 Float
String S7 String STRING0.n-STRING65532.n
.n is string length.
0<n<= 210.
String
See Also: Examples
Array Support
The <.array size> notation is appended to an address to specify an array (such as MW0.10). Boolean arrays and
string arrays are not supported.
Examples
S7 Data Type Data Type Input Flags Data Blocks
X Boolean IX0.7 MX0.7 DB1,X0.7
B
Byte
Byte
Array
IB0
IBYTE0
IB0,10
IBYTE0,10
MB0
MBYTE0
MB0,10
MBYTE0,10
DB1,B0
DB1,BYTE0
DB1,B0,10
DB1,BYTE0,10
Char Char ICHAR0 MCHAR0 DB1,CHAR0
www. kepware.com
53
Seitenansicht 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 84 85

Kommentare zu diesen Handbüchern

Keine Kommentare