1.9.6 Example: Determine the DO number for the Motor Module
The DO number of a type 11 (servo) Motor Module can be determined as follows:
All connected drive objects are listed with their slot number in field p978 of the relevant CU.
The component type numbers are listed in the field p101 and the component types are listed
in the field p107 simultaneously.
A separate indexing is to be used for each of the following component types:
CU – Control Units
DC – Drive Controls (Motor Module)
CULNK – Expansion Modules (HUBs)
TM – Terminal Modules
LM – Line Modules
The addressing index can be determined by running through the field p107 in ascending order
for each connected CU, and the type index is incremented by one each time the desired type
occurs. The basic value is one. If NX components are found in this field, the counting on an
NX component is not continued until the current array has been run through completely. The
NX and CU components are executed in the order found.
Index determination: CUI with NX
CUI NX1 Addressing index
DO CU
p107[0] [3]SINAMICS 1
p107[2] [11]SERVO 1
p107[3] [11]SERVO 2
p107[4] [11]SERVO 3
p107[5] [254]CU-LINK 2
p107[6] [11]SERVO 4
p107[1] [11]SERVO 5
p107[2] [11]SERVO 6
p107[3] [11]SERVO 7
This topology contains seven Motor Modules. Indices one to four address the Motor Modules
assigned to the CU. Indices five to seven address the Motor Modules of the NX. Index one is
to be used to access the CU. The NX is addressed twice by the index.
Generating user dialogs
1.9 Addressing components
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 89