EasyManua.ls Logo

Siemens S5-100U - Page 416

Siemens S5-100U
512 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...
Function Modules S5-100U
Addressing
A counter module can be addressed like a two-channel digital module (channel “0” or “1”). For
enabling and resetting the counter, you address the module like a digital output module. The
counter reading is scanned in the same way as a digital input module.
Figure 15-5. Scanning the Counter Module (500 Hz)
Channel number
Slot address
Counter enable S Q x . 0 Channel “0”
(Set to start value) S Q x . 1 Channel “1”
Counter reset R Q x . 0
R Q x . 1
Scan A I x . 0
“1” = Counter at zero A I x . 1
Timing Diagram
Counting
pulses
1
0
1
0
1
0
6
0
Enable
Output Q
Time
S Q x.0 R Q x.0
Figure 15-6. Timing Diagram: Setting and Resetting an Output of the
Counter Module (500 Hz)
EWA 4NEB 812 6120-02
15-15

Table of Contents

Related product manuals