Siemens SINAMICS S120 Function Manual page 813

Hide thumbs Also See for SINAMICS S120:
Table of Contents

Advertisement

8. Define the send data for node 1
9. Define the receive data for node 2
10. Define the send data for node 2
11. Define the receive data for node 1
Drive functions
Function Manual, (FH1), 01/2013, 6SL3097-4AB00-0BP3
– Define the PZD that node 1 should send:
p2051[0] = drive1:r0898 (PZD length is 1 word)
p2061[1] = drive1:r0079 (PZD length is 2 words)
p2061[3] = drive1:r0021 (PZD length is 2 words)
– Place this PZD into the send buffer (p8871) of node 1:
p8871[0] = 1 (r0898)
p8871[1] = 2 (r0079 first part)
p8871[2] = 3 (r0079 second part)
p8871[3] = 4 (r0021 first part)
p8871[4] = 5 (r0021 second part)
This means that you have defined the position of the data in the 16-word telegram of
node 1.
– Specify that the data placed in the receive buffer p8872 of node 2 in locations 0 to 4 is
received from node 1:
p8872[0] = 1
p8872[1] = 1
p8872[2] = 1
p8872[3] = 1
p8872[4] = 1
– Define that PZD1, PZD2 and PZD3 of node 1 are saved in the receive buffer p8870 of
node 2 in locations 0 to 4:
p8870[0] = 1 (PZD1)
p8870[1] = 2 (PZD2 first part)
p8870[2] = 3 (PZD2 second part)
p8870[3] = 4 (PZD3 first part)
p8870[4] = 5 (PZD3 second part)
– r2050 [0], r2060 [1] and r2060[3] now contain the values of PZD 1, PZD 2 and PZD 3
of node 1.
– Specify the PZD that node 2 should send:
:p2051[0] = drive1:r0899 (PZD length is 1 word)
– Place this PZD in the send buffer (p8871) of node 2:
p8871[0] = 1
– Specify the data that should be placed in the receive buffer p8872 of node 1 in
location 0, received from node 2:
p8872[0] = 2
– Define that PZD1 of node 2 is saved in the receive buffer p8870 of node 1 in location
0:
p8870 [ 0] = 1
– r2050[0] now contains the value of PZD 1 of node 2.
10.4 Communication via SINAMICS Link
Communication
811

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents