EasyManuals Logo

Siemens SINUMERIK 802D sl Instruction Manual

Siemens SINUMERIK 802D sl
262 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #172 background imageLoading...
Page #172 background image
11.4 PLC programming
Starting Up the PLC
11-170
SINUMERIK 802D sl Instruction Manual (BA), 05/2005 Edition
6FC5 397-0CP10-1BA0
11.4 PLC programming
The PLC user program is created using the PLC 802 Programming Tool.
The handling of this tool for an S7-200 is described in the documentation “SIMATIC S7-200
Automation System Manual”. The PLC 802 Programming Tool constitutes a subset of this
documentation.
Compared to the S7-200 MicroWin base system, the following is to be observed:
S The user program can only be programmed in ladder diagram.
S Only a subset of the S7-200 programming language is supported.
S The compilation of the user program is performed offline on a PG/PC or automatically
when downloading into the control system.
S The project can be loaded into the control system (download).
S It is also possible to load the project from the control system (upload).
S Indirect data addressing is not possible. Thus, no programming errors will occur during
the runtime.
S The user must manage the data and process information type-specifically.
For all accesses to the data, it is imperative to use consistently the agreed data type.
Example:
Information 1 T value Memory size DInt (32-bit)
Information 2 Override Memory size Byte (8-bit)
User data
Memory double-word MD0 DInt (information 1)
Memory byte MB4 Byte (information 2)
S Furthermore, the alignment towards certain memory addresses is dependent on the data
type. This alignment is performed towards bus addresses which can be divided by the
byte length of the data type without remainder.
BOOL and BYTE can start at any byte address (0, 1, 2, 3, ...),
WORD and INT must start at an even byte address (0, 2, 4, 6, ...) and
DWORD, DINT, REAL must start at a byte address which can be divided by 4
(0, 4, 8, 12, ...).
Example:
Memory bits MB0.1,MB3.5
Memory bytes MB0,MB1,MB2
Memory word MW0,MW2,MW4
MW3, MW5 ... are not permissible
Memory double words MD0,MD4,MD8
MD1,MD2,MD3, MD5 ... are not permissible
Table 11-2 PLC data types permitted in the control system
Data type
Size Address
alignment
Range for logical operations Range for arithmetic operations
BOOL 1 Bit 1 0.1
BYTE 1 byte 1 00 ... FF 0 ... +255

Table of Contents

Other manuals for Siemens SINUMERIK 802D sl

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 802D sl and is the answer not in the manual?

Siemens SINUMERIK 802D sl Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 802D sl
CategoryController
LanguageEnglish

Related product manuals