
Fig. 10-2:
Selecting objects for import
⇒ The MLD-1G project is converted.
10.3.2
Compiling errors after converting projects
Syntax of the Direct Variables
After porting the user program in MLD-2G, the direct variables can be
changed by global "Find and Replace".
Example:
"Find and Replace"
MLD-1G:
DV_P_0_1370 := DV_P_0_1371;
MLD-2G:
DV_Axis[1].P_0_1370 := DV_Axis[1].P_0_1371;
Better:
DV_Axis[AXIS_1].P_0_1370 := DV_Axis[AXIS_1].P_0_1371;
Write Protection of Parameters
P-0-1410 to P-0-1429
If the parameters P-0-1410 to P-0-1429 had been write-accessed in a project
of MLD-1G, PLC outputs must instead be defined and written in MLD-2G.
Example:
MyOutput0 : WORD AT %QB0;
instead of
DV_P_0_1410
MyOutput1 : WORD AT %QB2;
DOK-INDRV*-MLD3-**VRS*-AP02-EN-P
Bosch Rexroth AG
257/267
Rexroth IndraDrive Rexroth IndraMotion MLD (2G) as of MPx-18
Converting projects
LSA Control S.L. www.lsa-control.com [email protected] (+34) 960 62 43 01