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-16
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 I/O controller.
Switching on
1. Switch on all the power supplies of the ET 200S.
2. Observe the status LEDs on the I/O controller , ET 200S and switch.
-- CPU 317-2 PN/DP:
DC 5V : lit
SF: off
BF2: off
LINK: lit
-- ET 200S:
SF: Off
BF: Off
ON: lit
LINK: lit
-- S w i t c h :
LINK: lit
100MB: lit

Table of Contents

Other manuals for Siemens SIMATIC ET 200S

Related product manuals