Strong Data Type Checking User Selected And Equivalent Data Types; Simple Data Type Checking: User Selected And Equivalent Data Types - Siemens SIMATIC S7-200 System Manual

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

Advertisement

Strong data type checking is performed only within IEC 1131-3 modes. See
Table 4-4.
Table 4-4
User Selected Data Type
BOOL
BYTE
WORD
INT
DWORD
DINT
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
User Selected Data Type
BOOL
BYTE
WORD
INT
DWORD
DINT
REAL
S7-200 Programmable Controller System Manual
A5E00066097-02
Basic Concepts for Programming an S7-200 CPU

Strong Data Type Checking User Selected and Equivalent Data Types

Simple Data Type Checking: User Selected and Equivalent Data Types

Equivalent Data Type
BOOL
BYTE
WORD
INT
DWORD
DINT
REAL
Equivalent Data Type
BOOL
BYTE
WORD, INT
WORD, INT
DWORD, DINT
DWORD, DINT
REAL
4-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents