SIEMENS
Pr~gramma~ble Controller
Programming Instructions
Order No.: GWA 4NEB 810 2120-02 a
Fig.
1
S5-101U programmable controller
CONTENTS Page Page
THE PROGRAMMING LANGUAGE
4.2.1
STEP 5 programming language
1.1
4.2.2
Program structure
1.1
4.2.3
PRINCIPLE
OF
OPERATION 4.2.4
OF THE PC
Program processing 2.1
"RUN
and "STOP" modes 2.2 5.
Memor
i
es 2.2 5.1
5.1.1
NOTES
ON
PROGRAM
DEVELOPMENT 5.1.2
Power-up 3.1 5.1.3
Battery mon
i
tor
i
ng 3.2 5.1.4
Ren ten
tive/non-rententive 5.1.5
flags 3.2 5.1.6
Interrupt processing 3.2
Intercompatibi
l
i
ty between 5.1.7
LAD,
CSF and STL 3.4 5.1.8
Operation in the SINEC L1 3.7 5.2
local area network 5.2.1
5.2.2
PROGRAM START-UP 5.2.3
Loading and dumping a
5.2.4
program
4.1
5.2.5
Program test
4.2
6.
Search function
Signal status display
Forcing of outputs and
flags
Forcing of timers and
counters
PROGRAMMING EXAMPLES
Basic operations
Binary logic operations
Setting/resetting operations
Load and transfer operations
Timer functions
Counter functions
Comparison (relational)
operations
Arithmetic operations
Other functions
Supplementary operations
Logic operations (word mode)
Conversion functions
Shift operations
Jump operations
Cond
i
t
i
on codes
OPERATION SET