Siemens EF 83H Series Manual de usuario Pagina 160

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 187
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 159
Reference Data
A-6
SIMATIC 505 PROFIBUS-FMS CP User Manual
A.2 Data Access between SIMATIC S7 and SIMATIC 505 Systems
Variables
in the SIMA
TIC 505 system are addressed sequentially starting
from 1 regardless of the data size, and the quantity of data is measured in
multiples of the variable size. For example, V1, 1 represents 16 bits of data
and LSP1, 1 represents 32 bits of data.
In the SIMA
TIC S7 system, variables are numbered from 0 and use
“byte.bit” addressing, and the quantity of data is measured in multiples of a
specified data type. For example, DB1 DBX0.0 WORD 1 represents 16 bits
of data and DB1 DBX0.0 DWORD 1 represents 32 bits of data.
Packed bits (XP
, YP
, CP) can only be accessed in multiples of 8 bits using S7
addresses. Use the S7 data type BYTE to access packed bits.
Each unpacked bit (X, Y
, C) in the SIMA
TIC 505 is represented by eight
bits, which correspond to the S7 BOOL data type. However
, S7 addressing
restricts BOOL data to single items. T
o access multiple unpacked bits, use
the BYTE data type.
T
able
A-2 shows examples of the equivalent addressing formats between a
SIMA
TIC 505 programmable controller system and a SIMA
TIC S7 system.
These examples show how to use S7 protocol read and write requests to
access data in the SIMA
TIC 505 system.
T
able A-2
Equivalent Addr
ess For
mats for SIMA
TIC 505 and S7 Systems
505 Addressing Format S7 Addressing Format
V1,
1
V2, 1
V3, 1
V4, 1
V1, 2
DB256 DBX0.0 WORD 1
DB256 DBX2.0 WORD 1
DB256 DBX4.0 WORD 1
DB256 DBX6.0 WORD 1
DB256 DBX0.0 WORD 2
V32768, 1
V32769, 1
V32770, 1
DB256 DBX65534.0 WORD 1
DB257 DBX0.0 WORD 1
DB257 DBX2.0 WORD 1
X1, 1
Y2, 1
DB3 DBX0.0 BOOL 1
DB4 DBX1.0 BOOL 1
XP1, 8
YP1, 8
CP1, 8
I 0.0 BYTE 1*
Q 0.0 BYTE 1*
M 0.0 BYTE 1
WX1, 1
TCC1, 1
LSP1, 1
LSP2, 1
DB9 DBX0.0 WORD 1
DB15 DBX0.0 WORD 1
DB43 DBX0.0 DWORD 1
DB43 DBX4.0 DWORD 1
DCP6 S4, 2
DB18 DBX10.3 WORD 2
*I
0.0 and Q 0.0 are the mnemonics used in the International Mnemonic set. The equivalent
mnemonics in the SIMA
TIC set are E 0.0 and A 0.0, respectively
.
SIMATIC 505
Addressing
SIMA
TIC S7
Addressing
Special
Considerations
Addressing
Examples
Vista de pagina 159
1 2 ... 155 156 157 158 159 160 161 162 163 164 165 ... 186 187

Comentarios a estos manuales

Sin comentarios