Siemens SINUMERIK 828D Function Manual page 1105

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Complex data types
TONR
CTU
CTD
CTUD
The Programming Tool PLC828 has two data type check stages:
1. Elementary data type check
For the elementary data type check, if a symbol or a variable is assigned a data type, then all data types are
automatically assigned, which correspond to the bit size of the user-defined data type. If, for instance, you specify
DINT as data type, then the local variable is also automatically assigned the DWORD data type, because both
data types are 32-bit types. The REAL data type is not automatically assigned although it also involves a 32-bit
data type. The REAL data type is defined so that it does not have any equivalent data types: it is always clear.
The elementary data type check is only performed when using local variables.
User-defined data types
BOOL
BYTE
WORD
INT
DWORD
DINT
REAL
2. No data check
This mode is only available for global variables where no data types can be specified. If a data type check is not
active, all data types of the same size are automatically assigned to the symbol.
Example:
A symbol, which is assigned to address DB1400.DBD4, then the following data types are automatically assigned
by the programming software: DWORD, DINT and REAL.
User-defined address
DB1400.DBX0.0
DB1400.DBB0
DB1400.DBW2
DB1400.DBD4
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Description
Switch-on delay, latching
Up counter
Down counter
Up-down counter
Equivalent data type
BOOL
BYTE
WORD, INT
WORD, INT
DWORD, INT
DWORD, DINT
REAL
Assigned equivalent data type
BOOL
BYTE
WORD, INT
DWORD, DINT, REAL
P4: PLC for SINUMERIK 828D
Memory area
100 ms T0 ... T15
10 ms from T16
C0 ... C63
C0 ... C63
C0 ... C63
14.3 Programming
1105

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents