Entering New Setpoints For The Counter And Position Decoder - Siemens SIMATIC S5-100U System Manual

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC S5-100U:
Table of Contents

Advertisement

Function Modules

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:
Diagnostic bit S2 (bit 2 in the diagnostic byte)=1:
Table 15-5. Reaction of the Counter Module during Transfer of the Setpoints
Diag. Bit
S1 = 0
New setpoint 1 is transferred and is valid immediately.
S2 = 0
New setpoint 2 is transferred and is valid immediately.
S1 = 1
New setpoint 1 only becomes active if a positive edge has appeared at the
enable input.
S2 = 1
New setpoint 2 only becomes active if a positive edge has appeared at the
enable input.
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:
Enable input
Output Q 0/
Diag. bit S 1
Output Q 1/
Diag. bit S 2
S 1
old
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
S 2
old
Figure 15-25. Requirement for New Setpoints
setpoint 1 is reached and output 1 is switched
on.
setpoint 2 is reached and output 2 is switched
on.
Response
S 1
S 2
new
S5100U
new
EWA 4NEB 812 6120-02b

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents