Chapter 9
136
Logic programming – Function blocks
Parameters of the function block
Parameter
Possible values
Stopping mode
Immediately
After last clock
Clock period (cycle duration)
2 to 65535
Duration = Parameter value × Logic execution time
Pulse time
1 to 65534
Duration = Parameter value × Logic execution time
The pulse time has to be lower than the clock period.
If the logic execution time of the configuration changes (e.g. through addition or
subtraction of function blocks), the clock period and the pulse time will change.
Sequence/timing diagram
9.7.11
Event counter (Up, Down and Up and down)
Function block diagram
General description
The Event counter function blocks allow to count events, either upward and/or
downward. When a pre-defined overflow value is reached, this will be indicated on the
Overflow
output or, when zero is reached, this will be indicated on the
Underflow
output. Depending on the required counting direction there are the function blocks
Event counter (Up), Event counter (Down) and Event counter (Up and down).
Parameters of the function block
Parameter
Possible values
Counter reset
Manual
Automatic
Counter reload
Manual
Automatic
Overflow limit
Integer between 1 and 65,535. The overflow value limit has to
be higher than or equal to the reload value.
Reload value
Integer between 1 and 65,535
Min. restart pulse time
100
ms
350
ms
Min. reload pulse time
100
ms
350
ms
Table 39:
Parameters of the Clock
generator function block
Note
Figure 110:
Timing diagram for the
Clock generator function
block
Figure 111:
Function block diagram for
the Event counter (Up and
down) function block
Table 40:
Parameter for the Event
counter function blocks
Summary of Contents for SW1DNN-WS0ADR-B
Page 2: ......
Page 288: ...Chapter 15 285 Annex ...
Page 289: ...Chapter 15 286 Annex ...
Page 290: ...Chapter 15 287 Annex ...
Page 291: ...Chapter 15 288 Annex ...
Page 292: ...Chapter 15 289 Annex ...
Page 293: ...Chapter 15 290 Annex ...
Page 294: ...Chapter 15 291 Annex ...
Page 295: ...Chapter 15 292 Annex ...
Page 296: ...Chapter 15 293 Annex ...
Page 297: ...Chapter 15 294 Annex ...
Page 298: ...Chapter 15 295 Annex 15 1 2 Example application Wood scanner ...
Page 299: ...Chapter 15 296 Annex ...
Page 300: ...Chapter 15 297 Annex ...
Page 301: ...Chapter 15 298 Annex ...
Page 302: ...Chapter 15 299 Annex ...
Page 303: ...Chapter 15 300 Annex ...
Page 304: ...Chapter 15 301 Annex ...
Page 305: ...Chapter 15 302 Annex ...
Page 306: ...Chapter 15 303 Annex ...
Page 307: ...Chapter 15 304 Annex 15 1 3 Example application Ramp down detection ...
Page 308: ...Chapter 15 305 Annex ...
Page 309: ...Chapter 15 306 Annex ...
Page 310: ...Chapter 15 307 Annex ...
Page 311: ...Chapter 15 308 Annex ...
Page 312: ...Chapter 15 309 Annex ...
Page 313: ...Chapter 15 310 Annex ...
Page 314: ...Chapter 15 311 Annex ...
Page 321: ......