Div_ - Division; Dnc_ - Divide By N Counter - Siemens 353 User Manual

Process automation controller
Hide thumbs Also See for 353:
Table of Contents
UM353-1B

3.2.30 DIV_ - Division

DIV_ function blocks perform simple arithmetic division.
The output will be the quotient of the two configured
inputs N/D. The output will be limited to the maximum
real number and, if the divisor is 0.0, the output will go to
the maximum real number with the sign determined by the
numerator. If the numerator is 0.0, the output will be 0.0.
Any unconfigured inputs will be set equal to 1.0.
N
Numerator
D
.
Denominator
BLOCK DIAGRAM

3.2.31 DNC_ - Divide by N Counter

DNC_ function blocks provide a single output pulse for a
pre-selected number of input pulses. The output will go
high (1) with a positive transition of the input P, edge
triggered, and will return to a low (0) output on the
succeeding positive transition.
N
3
R
Reset
2
.
P
BLOCK DIAGRAM
April 2012
O1
Output 1
01 = N/D
Rev 2
Output 1
Divide By 3
O1
Output 1
.
Divide By 2
Pulse Input
POWER UP - During a hot or a warm start, with PU LAST
set to YES, the block will retain the last count and continue at
the last input/output states. If set to NO, during a warm or a
cold start, the output and count will be initialized to 0.
DIVISION
DIV_
ESN = 000
Numerator
N
DIVISION
Denominator
D
P
U
I
N
T
N
INPUT N
..........
(H)
P
I
N
U
T
D
INPUT D
..........
(H)
E
S N
Exec. Seq. No.
DIVIDE BY N COUNTER
DNC_
ESN = 000
Pulse Input
P
DIVIDE BY N
COUNTER
R
Reset
N
Counter Divisor N
P U
L A S T
Power Up LAST
(S)
I
N
P
U
T
P
INPUT P
...........
(H)
I
N
P
U
T
R
INPUT R
...........
(H)
E S N
Exec. Seq. No.
(H)
Function Blocks
Output 1
O1
loop tag.block tag.output
(null)
loop tag.block tag.output
(null)
................ 001 to 250
(H)
O1
Output 1
............. 2 - 999999
(2)
(S)
................... NO/YES (YES)
loop tag.block tag.output
(null)
loop tag.block tag.output
(null)
................. 001 to 250
3-37

Hide quick links:

Table of Contents
loading

Table of Contents