EasyManua.ls Logo

Siemens SIMATIC ET 200S - Integration in the user program; Switching on

Siemens SIMATIC ET 200S
652 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
ET 200S Distributed I/O System
EWA-4NEB 780602402-12
Integration in the user program
1. Create the OB 1 user program in the LAD/STL/FBD editor.
Example 1: Reading an input and controlling 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:
DC 5V : lit
SF DP: off
BUSF: off
-- ET 200S:
SF: Off
BF: Off
ON: lit

Table of Contents

Other manuals for Siemens SIMATIC ET 200S

Related product manuals