Download SmartWire-Darwin Gateways

Transcript
Programming the
EU5C-SWD-DP
MN05013002Z-EN
The data of the SWD slaves which can be read or written
acyclically are described in the following as DP-V1 objects.
The number and meaning of the available DP-V1 objects are
described in the relevant slave documentation (e.g.
MN05006001Z-EN (previously AWB2723-1613en) “SmartWire-Darwin slaves”).
The address of a DP-V1 object is defined by the slot number
(uiSlot), the index (uiIndex) and the read/write data length.
The slot number corresponds to the address of the SmartWire-Darwin slave. The first slave therefore has the slot
number 1, the second 2 etc. The index addresses the V1
object. Also here, the first object is assigned the number 1,
the second 2 etc. With the SmartWire-Darwin slave
PKE-SWD-32, object 1 supplies the current value Irel.
Please observe the following guidelines when using these
function blocks:
• Do not access these modules cyclically as it will unnecessarily load cyclic bus operation.
• For each master program a maximum of one function block
for reading and one function block for writing.
• Interlock the read and write function blocks so that only
one function block can be active at a time!
The slaves must therefore be accessed consecutively via the
function blocks. DP-V1 objects of a slave must also be
processed consecutively.
40