Bosch Rexroth IndraMotion MLD Series Applications Manual page 103

Table of Contents

Advertisement

DOK-INDRV*-MLD3-**VRS*-AP02-EN-P
Rexroth IndraDrive Rexroth IndraMotion MLD (2G) as of MPx-18
Motion task in synchronism with
No motion task in synchronism
with CCD
Accessing elements in "AxisData"
Activating "AxisData"
LSA Control S.L. www.lsa-control.com comercial@lsa-control.com (+34) 960 62 43 01
The command values of the "AxisData" structure are written directly before
the master data telegram (MDT
therefore are part of the MDT.
The motion task in synchronism with CCD (see "Basic functions of Rexroth
CCD
IndraMotion MLD", section
cycle, i.e., the motion task starts after the CCD AT is processed and ends be‐
fore the next CCD MDT is processed. It is possible to consistently access all
data of the "AxisData" structure within the motion task in synchronism with
CCD. If other tasks access the axis data structure, the actual values and
command values should be read or written at the beginning of the task, if
possible. The consistency of the data of the "AxisData" structure cannot be
guaranteed in this case.
If no motion task in synchronism with CCD is used, consistent access to the
data in the "AxisData" structure cannot be guaranteed. In this case, it is rec‐
ommended to read or write the actual values and command values at the be‐
ginning of the task.
The consistency of individual structure elements is achieved by
the hardware architecture (max. 32 bits).
These are some examples of code for accessing the elements of "AxisData".
Declaration in "MX_Base":
Program:
AxisData : ARRAY[1..10] OF
MX_AXISDATA;
Examples of use in the PLC program:
Program:
bMyStandstill :=
AxisData[MyAxis.AxisNo].Axis_Standstill;
AxisData[MyAxis.AxisNo].dwUserCmdDataA_q.REAL :=
rMyValue;
rTorque :=
AxisData[Axis3.AxisNo].rActualTorqueForce_i;
The "AxisData" structure can be activated via the menu in IndraWorks (see
figure below). To do this, select the "AxisData structure supported" option
from the "PLC configuration" dialog (corresponds to "P-0-1367, PLC configu‐
ration", bit6=1).
Command values for the individual CCD slaves
1)
Bosch Rexroth AG
MLD communication interfaces and data channels
) is transmitted to all CCD slave axes and
1)
"Task
system") runs synchronously to the CCD
101/267

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rexroth indramotion mld-sRexroth indramotion mld-m

Table of Contents