Interrupt Events - Siemens SIMATIC S7-200 Manual

Software conversion tool
Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

Symbol names for S7-200 V memory addresses as defined in the STEP 7-Micro/WIN
Symbol table are converted to data names in the S7-1200 DB1.
STEP 7-Micro/WIN allows the creation of symbols with overlapping V memory data
addresses. When a S7-200 symbol is assigned a four byte double word V memory address,
you can also create separate symbols for bit, byte, and word addresses contained within the
four bytes.
STEP 7 Basic does not allow symbolic access to overlapping data block addresses. If the
STEP 7-Micro/WIN Symbol table has groups of V memory symbols with overlapping data
addresses, then the symbol name for the largest sized data element is put in the converted
DB1 data block. All other overlapping symbol references are discarded. You must assign
discarded symbol names to new DB1 addresses.
The STEP 7 Basic data block supports an array data type (Array [lo..hi] of type).
Data arrays are created for S7-200 V memory data addresses where:
● No symbol name was assigned.
● There is a V memory address gap between symbolic declarations.
Table 3- 8
Data description
Decimal value
Binary value
Hexadecimal value
Floating Point
ASCII characters
Byte size
Word size
Dword size
Multiple ASCII
characters
String
1
2
3
3.5

Interrupt events

The S7-200 interrupt attach (ATCH) and detach (DTCH) instructions are converted to
generic box instruction placeholders. You must enable S7-1200 interrupt events with the
CPU device configuration. Then, replace the generic box instructions with S7-1200 ATTACH
and DETACH instructions that use a configured interrupt event.
STEP 7-Micro/WIN program INT interrupt routines are converted to hardware interrupt OBs
or cyclic interrupt OBs, as shown in the following tables.
SIMATIC S7-200 to SIMATIC S7-1200 software conversion tool
Manual, 1/2010
V memory to DB1 data conversion examples
S7-200 data block format
255
2#1010
16#FFFF
1
7.77
1, 2, or 4 bytes
'a'
'ab'
'abcd'
3, 5, or more bytes
2
'abcde'
"abcde"
3
Size descriptor ("w") depends upon data type
Converted to S7-1200 string format
The S7-1200 string storage format requires one byte more than the S7-200 string storage format.
The extra byte is used to store the maximum string length.
Program structure conversion
3.5 Interrupt events
Converted S7-1200 DB1 format
255
2#1010
w#16#FFFF
7.77
'a'
'ab'
'abcd'
'abcde'
'abcde'
19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents