Function Modules
S5100U
15.6.5 Entering New Setpoints for the Counter and Position Decoder
Entering new setpoints is always possible via the PIQ. However, a setpoint is only valid if the
respective output is not switched on. The status of the outputs is displayed with diagnostic bits S1
and S2.
Diagnostic bit S1 (bit 1 in the diagnostic byte)=1:
setpoint 1 is reached and output 1 is switched
on.
Diagnostic bit S2 (bit 2 in the diagnostic byte)=1:
setpoint 2 is reached and output 2 is switched
on.
Table 15-5. Reaction of the Counter Module during Transfer of the Setpoints
Diag. Bit
S1 = 0
S2 = 0
S1 = 1
S2 = 1
New setpoint 1 is transferred and is valid immediately.
New setpoint 2 is transferred and is valid immediately.
New setpoint 1 only becomes active if a positive edge has appeared at the
enable input.
New setpoint 2 only becomes active if a positive edge has appeared at the
enable input.
Response
Example:
You want to control a drive by using the outputs of the counter module. After a run of positioning,
both setpoints are reached and both outputs are turned on. You can enter the new setpoints by
using the following sequence:
Figure 15-25. Requirement for New Setpoints
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
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
Output Q 0/
Diag. bit S 1
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
Output Q 1/
Diag. bit S 2
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
S 2
new
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
S 1
old
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
S 1
new
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
S 2
old
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
Transfer the new setpoints to the module. Since both diagnostic bits S1 and S2 are set to “1”,
the actual values are not yet accepted.
Switch the signal now at the enable input to “0”. With the falling edge, the outputs are switched
off and the diagnostic bits are reset.
Switch the signal at the enable input again to “1”. The new setpoints are accepted and are
now active.
After reaching the new setpoints, the respective output is switched on again.
15-38
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 ...