122
AP
3ADW000379R0501 DCS550 Manual e e
Bset
Logical function
Illustration
Operation
With Bset, it is possible to set the value of a certain bit in a word. Connect the word to be
processed at IN1. Define the number of the bit to be changed at IN2. Define the desired bit
value at IN3 (e.g. 1 for true and 0 for false). OUT is the result of the operation. Connect OUT
to the word to be processed.
Connections
IN1: 16-bit integer (packed boolean); word to be processed e.g. MainCtrlWord (7.01)
IN2: 0 … 15; bit to be changed
IN3: boolean; desired bit value
OUT: 16-bit integer (packed boolean), result
Compare
Arithmetical function
Illustration
Operation
Only bits 0, 1 and 2 of OUT are valid:
−
If IN1 > IN2
⇒
OUT = 001 (OUT bit 0 is true),
−
if IN1 = IN2
⇒
OUT = 010 (OUT bit 1 is true) and
−
if IN1 < IN2
⇒
OUT = 100 (OUT bit 2 is true).
Connections
IN1 and IN2:
16 bit integer (15 bit + sign)
IN3:
not used
OUT:
16 bit integer (15 bit + sign)
Count
Arithmetical function
Illustration
Operation
The counter counts the rising edges of IN1. Rising edges at IN2 reset the counter. IN3 limits
OUT. IN3 > 0: OUT increases to the set limit. IN3 < 0: OUT increases up to the absolute
maximum value (32768). When the maximum value is reached, the output will be set to 0 and
the counter starts counting from zero.
Connections
IN1: boolean; counts rising edges
IN2: boolean; reset input (high active)
IN3: 16 bit integer (15 bit + sign); limit
OUT: 16 bit integer (15 bit + sign); shows the counted value
D-Pot
Arithmetical function
Illustration
Summary of Contents for DCS550 Series
Page 1: ... DCS550 Manual DCS550 Drives 20 A to 1000 A ...
Page 141: ...141 Winder 3ADW000379R0501 DCS550 Manual e e ...
Page 143: ...143 Winder 3ADW000379R0501 DCS550 Manual e e ...
Page 145: ...145 Winder 3ADW000379R0501 DCS550 Manual e e ...
Page 147: ...147 Winder 3ADW000379R0501 DCS550 Manual e e ...