Application Examples; Example 1 - Siemens Metro 21 M216KA Operator's Manual

Distributed i/o device
Table of Contents

Advertisement

13.7 Application Examples

Example 1

Figure 13-18 Example 1
ET 200L, ET 200L-SC and ET 200L-SC IM-SC Distributed I/O Device
EWA 4NEB 780 6009-02c
The following example shows how to count upward in a single pass, with
gate function, without output.
Conditions: The input and output address of the counter module have been
parameterized as 0.
Single-pass
counting
Parameterize
single-pass counting with gate
function without output
Set loaded value,
stop gate,
disable output,
accept loaded value
Loaded value
accepted?
Yes
Do not accept loaded value
Loaded value not
accepted?
Yes
The 1COUNT40kHz Counter Module
AW0 = "loaded value"
A 4.0 = 0
A 4.1 = 0
A 4.2 = 1
No
E 4.4 = 1 ?
A 4.2 = 0
No
E 4.4 = 0 ?
13-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents