Function Modules
S5100U
Starting the Counter
The counter is reset and started by setting the SYNC bit in the diagnostic byte during the reference
point approach operation. The active pulses are counted according to the rotation direction of the
position encoder. The count value is incremented during a positive count direction, and decremen-
ted during a negative count direction.
Enabling the Outputs - Reaching the Setpoints - Resetting the Outputs
The two outputs are enabled for switching by a positive pulse edge at the enable input.
An output and the associated diagnostic bit “setpoint reached” are set if all of the following
statements are true:
•
The position decoder was synchronized (SYNC bit=1 and overflow bit=0).
•
The enable signal (terminal 3 on the terminal block) is set to “1” signal.
•
The actual value corresponds to the selected setpoint.
The setpoint can be reached in the up-count or down-count direction.
Figure 15-21. Enabling the Outputs - Reaching the Setpoints - Resetting the Outputs
a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a
SYNC bit
(in diagnostic
byte
)
Counter status
Counting
pulses
Enable
input
Output Q0
(setpoint 1
reached)
Output Q1
(setpoint 2
reached)
0
1
3
2
4
5
6
7
8
9
10
Measured counting pulse
7
a a a
a a a
a a a
a a a
a a a
a a a
a a a
a a a
a a a
Counter is still disabled
0
-1
-3
-2
-4
-5
-6
7
-8
-9
-10
-7
1
Up-count direction
SYNC bit is set to begin
Down-count direction
SYNC bit is constantly set
After reaching setpoint 1, the output Q 0 is energized and the status bit S1 is set. After reaching
setpoint 2, the output Q 1 is energized and status bit S2 is set.
As long as the enable input is active, the outputs are switchable through the module. If the enable
command is cancelled, the outputs are switched off and the diagnostic bits are reset. The current
actual value is still being measured and incremented or decremented depending on the direction of
rotation.
15-34
EWA 4NEB 812 6120-02b
Summary of Contents for SIMATIC S5-100U
Page 6: ...EWA 4NEB 812 6120 02b ...
Page 16: ...EWA 4NEB 812 6120 02b ...
Page 21: ...1 The SIMATIC S5 System Family EWA 4NEB 812 6120 02b ...
Page 22: ...Figures 1 1 Members of the SIMATIC S5 System Family 1 1 EWA 4NEB 812 6120 02b ...
Page 23: ......
Page 27: ......
Page 36: ...EWA 4NEB 812 6120 02b ...
Page 40: ......
Page 41: ......
Page 42: ......
Page 43: ......
Page 48: ......
Page 49: ......
Page 50: ......
Page 102: ...EWA 4NEB 812 6120 02b ...
Page 156: ...EWA 4NEB 812 6120 02b ...
Page 232: ...EWA 4NEB 812 6120 02b ...
Page 268: ...EWA 4NEB 812 6120 02b ...
Page 272: ...EWA 4NEB 812 6120 02b ...
Page 336: ...EWA 4NEB 812 6120 02b ...
Page 352: ...EWA 4NEB 812 6120 02b ...
Page 412: ...EWA 4NEB 812 6120 02b ...
Page 482: ...EWA 4NEB 812 6120 02b ...
Page 484: ...EWA 4NEB 812 6120 02b ...
Page 505: ...B Dimension Drawings EWA 4NEB 812 6120 02b ...
Page 515: ...C Active and Passive Faults in Automation Equipment EWA 4NEB 812 6120 02b ...
Page 516: ...EWA 4NEB 812 6120 02b ...
Page 522: ...EWA 4NEB 812 6120 02b ...
Page 523: ...D Information for Ordering Accessories EWA 4NEB 812 6120 02b ...
Page 524: ...EWA 4NEB 812 6120 02b ...
Page 530: ...EWA 4NEB 812 6120 02b ...
Page 531: ...E Reference Materials EWA 4NEB 812 6120 02b ...
Page 532: ...EWA 4NEB 812 6120 02b ...
Page 534: ...EWA 4NEB 812 6120 02b ...
Page 535: ...F Siemens Addresses Worldwide EWA 4NEB 812 6120 02b ...
Page 536: ...EWA 4NEB 812 6120 02b ...
Page 542: ...EWA 4NEB 812 6120 02b ...
Page 543: ...Index EWA 4NEB 812 6120 02b ...
Page 544: ...EWA 4NEB 812 6120 02b ...
Page 550: ...EWA 4NEB 812 6120 02b ...