EasyManua.ls Logo

Siemens SINAMICS S110 - Page 298

Siemens SINAMICS S110
714 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Drive functions
7.3 Function modules
Function Manual
296 Function Manual, 01/2011, 6SL3097-4AB10-0BP3
Example 3: Interconnecting the PROFIBUS receive word (WORD)
The PZD receive word 2 (CO: r2050[1], function diagram 2460) is to be interconnected with
the free function block ADD 0 (function diagram 7220).
+
ADD 0 Input X 0
1024
p20094 [0]
ADD 0 Input X 1
(0)
p20094 [1]
ADD 0 Input X 2
(0)
p20094 [2]
ADD 0 Input X 3
(0)
p20094 [3]
r20095
ADD 0 Output Y
X1
X2
X0
X3
Y
x1
x2
4000 hex
x1
x2
PZD -Receive word 1
PZD -Receive word 2
r2050 [ 0]
PZD -Receive word 3
r2050 [ 1]
ADD 0 Runtime group
p20096 = 0
Figure 7-70 Example 3: Interconnecting the PROFIBUS receive word (WORD)
The PROFIBUS process data of data type WORD (16 bits) has the reference variable 4000
hex. At the inputs of the free function blocks, this reference variable is equivalent to 1.0.
Assumption:
p20096 = 0
Assign function block ADD 0 to runtime group 0.
p20000[0] = 1002
Call runtime group 0 with the sampling time 2 x r20003. The runtime group number zero
was chosen at random.
PROFIBUS receive word 2: r2050[1] = 6000 hex
Result:
r20095 = (6000 hex/4000 hex) x 1.0 = 1.5

Table of Contents

Other manuals for Siemens SINAMICS S110

Related product manuals