Specifications

Basic Concepts for Programming an S7-200 CPU
4-13
S7-200 Programmable Controller System Manual
C79000-G7076-C233-01
Strong data type checking is performed only within IEC 1131-3 modes. See
Table 4-4.
Table 4-4 Strong Data Type Checking User Selected and Equivalent Data Types
User Selected Data type
Equivalent Data Type
BOOL BOOL
BYTE BYTE
WORD WORD
INT INT
DWORD DWORD
DINT DINT
REAL REAL
Simple Data Type Checking In the simple data type checking mode, when a
symbol or a variable is given a data type, it is also automatically assigned all data
types that match the bit size of the selected data type. For example, if you select
DINT as the data type, the local variable also automatically assigns the data type
DWORD because both are 32-bit data types. The data type REAL is not
automatically assigned, even though it is also a 32-bit data type. The data type
REAL is defined as having no other data type equivalent; it is always unique.
Simple data type checking is only performed within SIMATIC modes when you use
local variables. See Table 4-5.
Table 4-5 Simple Data Type Checking: User Selected and Equivalent Data Types
User Selected Data type
Equivalent Data Type
BOOL BOOL
BYTE BYTE
WORD WORD, INT
INT WORD, INT
DWORD DWORD, DINT
DINT DWORD, DINT
REAL REAL