Siemens SIMATIC ET 200S Operating Instructions Manual page 125

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

Advertisement

STL
Network 3: Read from the feedback interface
L
PED 256
T
DB1.DBD8
L
PED 260
T
DB1.DBD12
Testing
Use "Monitor/Modify Variables" to monitor the count value and the gate.
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.
6. Use your encoder to generate pulses.
Result
You can now see that:
● The UP LED on the 1Count5V is on. The status of the UP LED changes with each new
● The count value in the block changes.
Technological Functions
Operating Instructions, 06/2010, A5E00124867-07
menu command to insert the VAT 1 variable table, and then confirm with OK.
DB1.DBD8 (current count value)
DB1.DBx13.0 (internal gate status)
The "internal gate status" bit must be set.
pulse.
3.3 Brief instructions on commissioning the 1Count5V
Description
//Read 8 bytes from the 1Count5V
//Configured start address of the inputs
1Count5V
125

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents