Siemens SIMATIC ET 200S Operating Instructions Manual page 270

Hide thumbs Also See for SIMATIC ET 200S:
Table of Contents

Advertisement

2PULSE
5.3 Example: Starting 2PULSE
Testing
Start a pulse output with SW_ENABLE = 1 and monitor the STS_ENABLE and STS_DO
feedback bits using "Monitor/Modify Variables".
1. Select the "Block" folder in your project. Choose the "Insert > S7 Block > Variable Table"
2. Open the VAT 1 variable table, and enter the following variables in the "Address" column:
3. Choose "PLC > Connect To > Configured CPU" to switch to online.
4. Choose "Variable > Monitor" to switch to monitoring.
5. Switch the CPU to RUN mode.
Result
The following table shows you which activity triggers which result.
Activity
When you switch the CPU to RUN, the following results are
obtained:
Start the pulse output by setting memory bit 30.0 (Variable →
Modify → )
Directly after the start...
After the 500 ms pulse duration has expired
To start further pulse output, you must delete SW_ENABLE (memory bit M30.0 = 0) and
reset it (memory bit M30.0 = 1).
You can change the pulse duration in the control program.
270
menu command to insert the VAT 1 variable table, and then confirm with OK.
M20.0 (STS_ENABLE)
M20.1 (STS_DO)
M30.0 (SW_ENABLE)
Result
All the LEDs are turned off
STS_ENABLE = 0
STS_DO = 0
STS_ENABLE = 1
STS_DO = 1
LED 4 for DO 0 lights up
STS_ENABLE = 0
STS_DO = 0
LED 4 for DO 0 is turned off
Operating Instructions, 06/2010, A5E00124867-07
Technological Functions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents