EasyManua.ls Logo

Siemens ET 200S - Page 44

Siemens ET 200S
564 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
Loading...
Brief Instructions on Commissioning ET 200S
2-6
Distributed I/O System ET 200S
EWA 4NEB 780 6024-02 07
Integration in the user program
1. Create the user program in the LAD/STL/FBD editor in OB1.
Example 1: Reading an input and driving an output:
STL Explanation
A I 0.0
A M 2.0
S Q 0.0
If input bit 0.0 and
memory bit 2.0 are set, then
set output bit 0.0
Example 2: Transferring an input byte to an output byte:
STL Explanation
L PIB 0
T PQB 0
Load I/O byte 0 in the accumulator
(bits 0.0 to 0.7)
Transfer the contents of the accumulator to
I/O output byte 0 (bits 0.0 to 0.7)
2. Save the project in SIMATIC Manager.
3. Load the configuration in the DP master.
Switching On
1. Switch on all the power supplies of the ET 200S.
2. Watch the status LEDs on the DP master and ET 200S.
CPU 315-2 DP:
5 VDC: Lights up
SF DP: Off
BUSF: Off
ET 200S:
SF: Off
BF: Off
ON: Lights up
Diagnostics
1. In the event of a fault, OB 82 is started. Evaluate the start information in OB 82.
Tip: Call SFC13 in OB 82, and evaluate the diagnostic frame. See
Section 6.6.1.

Table of Contents

Related product manuals