Creating A User Program - Siemens Simatic ET 200S Operating Instructions Manual

Distributed i/o system
Hide thumbs Also See for Simatic ET 200S:
Table of Contents

Advertisement

Brief instructions on commissioning ET 200S
2.1 Commissioning on PROFIBUS DP
2.1.5

Creating a user program

Procedure
1. Create the user program in the LAD/STL/FBD editor in OB 1.
STL
A E 0.0
A M 2.0
S A 0.0
Example 2: Transferring an input byte to an output byte:
STL
L PEB 0
T PAB 0
1. Save the project in SIMATIC Manager.
2. Download the configuration to the DP master.
2.1.6
Switching on ET 200S
Procedure
1. Switch on all the power supplies on the ET 200S.
2. Observe the status LEDs on the DP master and ET 200S.
2-6
Example 1: Reading an input and controlling an output:
If input byte 0.0 and
memory bit 2.0 is set, then
set output byte 0.0
Load I/O input byte 0 in the accumulator
(bytes 0.0 to 0.7)
Transferring the accumulator content to
I/O output byte 0 (bytes 0.0 to 0.7)
– CPU 315-2 DP:
DC 5V: lights up
SF DP: off
BUSF: off
– ET 200S:
SF: off
BF: off
ON: lights up
Operating Instructions, 12/2005, A5E00515771-03
ET 200S

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents