Starting Up the PLC
11.4 PLC programming
11-171
SINUMERIK 802D sl Instruction Manual (BA), 05/2005 Edition
6FC5 397-0CP10-1BA0
Table 11-2 PLC data types permitted in the control system, continued
Data type Range for arithmetic operationsRange for logical operationsAddress
alignment
Size
WORD 2 bytes 2 0000 ... FFFF –32 768 ... + 32 767
DWORD
(Double
Word)
4 bytes 4 0000 0000 ... FFFF FFFF –2 147 483 648 ...
+2 147 483 647
REAL 4 bytes 4 – $10
–37
... $10
38
PLC project
The PLC 802 Programming Tool always manages one project (combinational logic, symbols
and comments). All important information of a project can be stored in the control system via
a download. The information is transmitted from the control to the PC via upload.
The control system can save max. 6,000 instructions and 1,500 symbols. The PLC memory
required is influenced by the following components:
S number of instructions
S number and length of the symbol names
S number and length of the comments
S7-200 Ladder Diagram
The addresses and operations can be defined using the representation type “International”.
When using the ladder diagram, the user programs his program in networks. Each network
corresponds to a logic reflecting a certain sequence. The basic elements of a ladder diagram
are contacts, coils and boxes. The contacts, in turn, are divided into normally opened and
normally closed contacts. Each coil corresponds to a relay. Boxes are used to represent a
certain function. A box can be activated using an enable bit.
11.4.1 Command overview
Table 11-3 Operand identifier
Operand identifier
Description Area
V Data V1000 0000.0 to V7999 9999.7
T Timers T0 to T15 (100 ms)
T16 to T39 (10 ms)
C Counter C0 to C31
I Image of digital inputs I0.0 to I17.7
Q Image of digital outputs Q0.0 to Q11.7
M Flags M0.0 to M383.7
Siemens Automation Parts