Creating A User Program; Switching On Et 200S - 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.2 Commissioning on PROFINET IO
2.2.5

Creating a user program

Proceed as follows
1. Create the user program in the LAD/STL/FBD editor in OB 1.
STL
U I 0.0
U M 2.0
S O 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 IO controller.
2.2.6

Switching on ET 200S

Procedure
1. Switch on all the power supplies of the ET 200S.
2. Observe the status LEDs on the IO controller, ET 200S, and switch.
36
Example 1: Reading an input and triggering an output:
– CPU 317-2 PN/DP:
DC 5V: lights up
SF: off
BF2: off
LINK: lights up
– ET 200S:
SF: off
BF: off
ON: lights up
LINK: lights up
– Switch:
LINK: lights up
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)
Transfer the accumulator content to
I/O output byte 0 (bytes 0.0 to 0.7)
Operating Instructions, 08/2008, A5E00515771-06
ET 200S

Advertisement

Table of Contents
loading

Table of Contents