S5-100U
Function Modules
You can read the current count in the STEP 5 program. The actual value is displayed as a signed
whole number in two's complement and lies in the range - 32,768 to +32,767.
Note
Before you enable the outputs to be switched on by setting the enable input to “1”,
make sure the following conditions exist:
•
Both setpoints were transferred.
•
The overflow bit=0.
•
The SYNC bit=1.
If you ignore these prerequisites, the outputs are switched on directly when the actual
value=0.
The diagnostic bit and the output are reset with the “0” signal at the enable input. Outputs Q 0 and
Q 1 are also reset when the programmable controller goes from RUN to STOP.
The following examples show the switching on of the output at the selected setpoint. There are
three possibilities:
•
Reaching the setpoint in the direction of a rising actual value
•
Reaching the setpoint in the direction of a falling actual value
•
Reaching the setpoint in the direction of a rising actual value, then a reversal of direction and a
reapproaching of the setpoint in the opposite direction
Example 1:
Approaching a Setpoint in Up-Count Direction
Figure 15-22. Approaching a Setpoint in Up-Count Direction
Output,
diagnostic bit
setpoint reached
Example of
actual value
Enable input
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
Direction of traverse
1000
2000
3000
4000
5000
6000
7000
Setpoint
•
Actual value=1000: The enable input is set to “1”.
•
Actual value=3000: The setpoint is reached, output and diagnostic bit “setpoint reached” are
set.
•
Actual value=6000: The enable input is set to “0”, output and diagnostic bit are reset.
.
EWA 4NEB 812 6120-02b
15-35
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 ...