Manual – DFD11B DeviceNet Fieldbus Interface
35
5
Programming samples in RSLogix 5000
Project Planning and Startup
6. In order to copy the data from the drive to the new data structure, CPS commands
are added into the 'MainRoutine' that read the data from the local I/O (
→
following
figure).
Make sure that these CPS commands are executed
after
the automatically (by
DeviceNet Tag Generator) generated
DNet_ScannerInputsRoutine
.
Please note that the structure DNet_Scanner_N10_POL_I.Data contains the PD
from all drives on the gateway, so that the 6 data bytes of each drive have to be cop-
ied from the structure with a specific offset: [0], [6], [12] ... [42].
11759AXX
0
0
I