Documente Academic
Documente Profesional
Documente Cultură
Purpose of Documentation This documentation describes the function blocks, functions, data types and
the example project of the AxisInterface. It provides an easy-to-operate inter‐
face for the drive functionality. Less code and commands with a higher per‐
formance accelerate the development of the application programs.
Table of Contents
Table of Contents
Page
1 Overview........................................................................................................................ 5
6 Operation Modes......................................................................................................... 33
6.1 Overview............................................................................................................................................... 33
6.2 Drive Ready.......................................................................................................................................... 35
6.3 Drive Halt.............................................................................................................................................. 35
6.4 Homing Drive........................................................................................................................................ 35
6.5 Absolute Positioning............................................................................................................................. 36
6.6 Relative Positioning.............................................................................................................................. 36
6.7 Additive Positioning.............................................................................................................................. 37
6.8 Velocity Control..................................................................................................................................... 38
6.9 Operation Mode Phase Synchronization.............................................................................................. 38
6.10 Operation Mode Velocity Synchronization............................................................................................ 39
II/IV Bosch Rexroth AG | Electric Drives Rexroth IndraMotion | Functional Description
and Controls
Table of Contents
Page
6.11 Operation Mode Electronic Cam........................................................................................................... 39
6.12 Operation Mode Electronic MotionProfile............................................................................................. 40
6.13 Operation Mode Electronic FlexProfile................................................................................................. 41
6.14 Operation Mode External Function Block............................................................................................. 42
7 Global Variables........................................................................................................... 45
Table of Contents
Page
MB_AXIS_SYNC_STATUS Structure............................................................................................. 89
Index............................................................................................................................ 97
IV/IV Bosch Rexroth AG | Electric Drives Rexroth IndraMotion | Functional Description
and Controls
Functional Description | Rexroth IndraMotion Electric Drives | Bosch Rexroth AG 5/99
and Controls
Overview
1 Overview
The AxisInterface pools and extends PLCopen motion FBs and provides an
easy-to-operate interface for the drive functionality. Less code and commands
with a higher performance accelerate the development of the application pro‐
grams. The AxisInterface contains control signals and parameters for the
various operation modes of the master axis and slave axis as well as the setting
options for the process values selected.
The AxisInterface is supported by both the MLC control system and the MLD
drive system. The following table shows the supported target systems and li‐
braries that contain the function blocks and data structures for the AxisInterface:
Overview
Overview
Use the AxisNo of the AXIS_REF structure as index for the array,
e.g. arAxisCtrl[MyVirtualAxis.AxisNo].Admin. etc.
EnableCyclicScanning The internal handling of certain command values can be controlled by the arA‐
xisCtrl[ ].Admin.EnableCyclicScanning element. If "EnableCyclicScanning" is
set to TRUE, certain command values of the arAxisCtrl[ ] structure are scanned
cyclically and become effective immediately when a value changes.
8/99 Bosch Rexroth AG | Electric Drives Rexroth IndraMotion | Functional Description
and Controls
Overview
Overview
A diagnostic number and a diagnostic text are now provided in the status
structure arAxisStatus[].Diag. Cyclic polling of the diagnostic number is
controlled vis arAxisCtrl[].Admin.DiagNbrRefreshTime. If the diagnostic
number changes, the diagnostic text is updated.
● FlexProfile operation mode:
The new "FlexProfile" operation mode introduced in MLC 04VRS is sup‐
ported by the AxisInterface. The profile-specific control variables for the
operation modes "MotionProfile" and "FlexProfile" are now combined in
the new structure arAxisCtrl[].SyncMode.Profile.
● Pointer to AxisData:
The new structure element arAxisStatus[].PtrAxisData permits access to
the AxisData structure of the respective axis using pointers.
For example:
arAxisStatus[i].PtrAxisData^.rActualPosition has the same meaning as
AxisData[i].rActualPosition.
As a result, the entire interface can be operated via the two structures
arAxisCtrl[] and arAxisStatus[]. However, note that the pointer can be ac‐
cessed only after the initialization was successfully completed (MB_Axi‐
sInitType01).
IndraControl and its function modules must only be used with the
accessories and mounting parts listed in this documentation. Do not
install or connect components not expressly specified in this docu‐
mentation. This also applies to cables and lines.
The unit may be operated only with the explicitly specified compo‐
nent configurations and combinations and only with the software
and firmware specified in the appropriate functional description.
Typical scopes of use where IndraControl and its function modules can be ap‐
plied are:
● [Handling and assembly systems]
● [Packaging and food machines]
● [Printing and paper-processing machines]
IndraControl and its function modules must only be operated under the mount‐
ing and installation conditions, the position, and the ambient conditions (tem‐
perature, type of protection, moisture, EMC, etc.) specified in this documenta‐
tion.
this is not the case, they are excluded. Safety-relevant are all such appli‐
cations which can cause danger to persons and property damage.
● The information given in the application documentation with regard to the
use of the delivered components contains only examples of applications
and suggestions.
The machine and installation manufacturer must
– make sure that the delivered components are suited for his individual
application and check the information given in this application docu‐
mentation with regard to the use of the components,
– make sure that his individual application complies with the applicable
safety regulations and standards and carry out the required meas‐
ures, modifications and complements.
● Commissioning of the delivered components is only allowed once it is sure
that the machine or installation in which the components are installed
complies with the national regulations, safety specifications and standards
of the application.
● Operation is only allowed if the national EMC regulations for the applica‐
tion are met.
● The instructions for installation in accordance with EMC requirements can
be found in the section on EMC in the respective application documenta‐
tion.
The machine or installation manufacturer is responsible for compliance
with the limit values as prescribed in the national regulations.
● The technical data, connection and installation conditions of the compo‐
nents are specified in the respective application documentations and must
be followed at all times.
National regulations which the user must take into account
● European countries: According to European EN standards
● United States of America (USA):
– National Electrical Code (NEC)
– National Electrical Manufacturers Association (NEMA), as well as
local engineering regulations
– Regulations of the National Fire Protection Association (NFPA)
● Canada: Canadian Standards Association (CSA)
● Other countries:
– International Organization for Standardization (ISO)
– International Electrotechnical Commission (IEC)
Contact with parts conducting voltages above 50 volts can cause personal
danger and electric shock. When operating components of the drive and control
system, it is unavoidable that some parts of these components conduct dan‐
gerous voltage.
Functional Description | Rexroth IndraMotion Electric Drives | Bosch Rexroth AG 17/99
and Controls
High housing voltage and high leakage current! Danger to life, risk of
injury by electric shock!
● Before switching on and before commissioning, ground or connect the
WARNING components of the drive and control system to the equipment grounding
conductor at the grounding points.
● Connect the equipment grounding conductor of the components of the
drive and control system permanently to the main power supply at all
times. The leakage current is greater than 3.5 mA.
● Establish an equipment grounding connection with a copper wire of a
cross section of at least 10 mm2 (8 AWG) or additionally run a second
equipment grounding conductor of the same cross section as the original
equipment grounding conductor.
Health hazard for persons with heart pacemakers, metal implants and
hearing aids in proximity to electric components!
● Persons with heart pacemakers and metal implants are not allowed to
WARNING enter the following areas:
– Areas in which components of the drive and control systems are
mounted, commissioned and operated.
– Areas in which parts of motors with permanent magnets are stored,
repaired or mounted.
● If it is necessary for somebody with a heart pacemaker to enter such an
area, a doctor must be consulted prior to doing so. The noise immunity of
implanted heart pacemakers differs greatly so that no general rules can
be given.
● Those with metal implants or metal pieces, as well as with hearing aids,
must consult a doctor before they enter the areas described above.
1. Mark the control in the IndraWorks project and open the context menu
using the right mouse button. Select the Properties dialog box and change
the "Firmware version" from MLC03VRS to MLC04VRS in the "Configu‐
ration" tab.
2. Only if the example project was used as the basis and if the program parts
in the "AxisInterface" folder and the supplied visualizations were not
changed:
● Import from MLC-CD3:
\\AddOns\AxisInterface\Updates\AXISINTERFACE_EXAM‐
PLE_MLC04VRS_UPDATE.EXP and
\\AddOns\AxisInterface\Updates\ML_AXISINTERFACE_VI‐
SUS.EXP
● Exclude program AxisInterface/_Readme and all programs in the
AxisInterface/Documentation folder from translation.
3. Global variables:
Rename the structures
● AXIS_CONTROL_TYPE01 in MB_AXIS_CONTROL_TYPE01
● AXIS_STATUS_TYPE01 in MB_AXIS_STATUS_TYPE01.
The constant MAX_AXIS_IF_CYCLES in the Global_Axis_Interface is no
longer required.
4. Task configuration:
Change the call "ImcInterface()" to "MB_ImcInterface()".
5. The following structure elements were moved / renamed and must be
adapted when they are used in the user program:
● arAxisStatus[i].Active -> arAxisStatus[i].Admin.Active
● arAxisCtrl[i].SyncMode.AdjCamShaftDist -> arAxisCtrl[i].SyncMode.AdjCamShaftDistance
● arAxisCtrl[i].Comment -> arAxisStatus[i].Admin.Name
● arAxisCtrl[i].SyncMode.InputRev -> arAxisCtrl[i].SyncMode.InputRevolution
● arAxisCtrl[i].SyncMode.OutputRev -> arAxisCtrl[i].SyncMode.OutputRevolution
● arAxisCtrl[i].SyncMode.CamShaftDist -> arAxisCtrl[i].SyncMode.CamShaftDistance
● arAxisCtrl[i].SyncMode.AdjCamShaftDist -> arAxisCtrl[i].SyncMode.AdjCamShaftDistance
5.2 MB_AxisInterfaceType01
Short Description Function block "MB_AxisInterfaceType01" is used to configure the AxisInter‐
face for a single axis. This function block must be called cyclically as long as
the user is in the operating mode.
The function block checks the inputs of arAxisCtrl[ ] and internally generates
the requested commands for the axis. The outputs of arAxisStatus[ ] are up‐
dated depending on the result of this command. For example, setting arA‐
xisCtrl[ ].Admin._OpMode from ModeAb to ModePosAbs leads to the following
sequence:
● Check the required states to activate a motion command such as "Axis in
Ab"
● Activate PLCopen function block MC_Power
● Wait for the acknowledgement that the power of the axis has been added
(AH/AF)
● Activate PLCopen function block MC_MoveAbsolute with the command
values of PosModeCtrl
● Acknowledge arAxisStatus[ ].Admin._OpModeAck to ModePosAbs (Bit
MODE_POS_ABS)
● Scan the values of PosModeCtrl.Position and PosModeCtrl.Velocity and
reactivate MC_MoveAbsolute in the case of modifications
Functional Description | Rexroth IndraMotion Electric Drives | Bosch Rexroth AG 31/99
and Controls
Operation Modes
6 Operation Modes
6.1 Overview
There are two methods to activate an operation mode:
1. Selection via Enum values
Assigning a value of TYPE AXIS_MODE to
arAxisCtrl[ ].Admin._OpMode:
arAxisCtrl[].Admin._OpMode: = ModePosAbs;
or
arAxisCtrl[].Admin._OpMode: = ModeAB;
2. Using the bit access
Delete "_OpMode" via programming... first
arAxisCtrl[].Admin._OpMode: = ModeAB;
The set a bit using the bit access functionality.
arAxisCtrl[].Admin.MODE_POS_ABS: = TRUE;
Only the attributes (e.g. position and velocity) that are used or
whose default value was changed must be declared before the cur‐
rent operation mode switchover is carried out.
Operation Modes
The following section describes the operation modes supported by Axis Inter‐
face Type01 and the attributes that can be assigned.
Functional Description | Rexroth IndraMotion Electric Drives | Bosch Rexroth AG 35/99
and Controls
Operation Modes
The following table contains the attributes supported by this operation mode:
Cyclic
Element Name Type Default
scanning
Admin.StopDeleration REAL 100.0 No
arAxisCtrl[ ]
Admin.Axis AXIS_REF No
The following table contains the attributes supported by this operation mode:
Cyclic
Element Name Type Default
scanning
Admin.StopDeleration REAL 100.0 No
arAxisCtrl[ ]
Admin.Axis AXIS_REF No
arAxisStatus Admin.MODE_AH BOOL Omitted
Operation Modes
The following table contains the attributes supported by this operation mode:
Cyclic
Element Name Type Default
scanning
arAxisCtrl[ ] Admin.Axis AXIS_REF No
Admin.MODE_HOMING BOOL Omitted
arAxisStatus[ ]
Admin.CmdDone BOOL Omitted
The following table contains the attributes supported by this operation mode:
Cyclic
Element Name Type Default
scanning
PosMode.Position REAL 0.0 Yes
PosMode.Velocity REAL 10.0 Yes
arAxisCtrl[ ] PosMode.Acceleration REAL 10.0 No
PosMode.Deceleration REAL 10.0 No
Admin.Axis AXIS_REF No
Admin.MODE_POS_ABS BOOL Omitted
arAxisStatus[ ]
Admin.CmdDone BOOL Omitted
Operation Modes
arAxisCtrl[].Admin.MODE_POS_REL := TRUE;
The following acknowledgement must follow the operation mode command. It
returns TRUE when the drive reached its target position.
arAxisStatus[].Admin.CmdDone
The following table contains the attributes supported by this operation mode:
Cyclic
Element Name Type Default
scanning
PosMode.Distance REAL 0.0 Yes
PosMode.Velocity REAL 10.0 Yes
arAxisCtrl[ ] PosMode.Acceleration REAL 10.0 No
PosMode.Deceleration REAL 10.0 No
Admin.Axis AXIS_REF No
Admin.MODE_POS_REL BOOL Omitted
arAxisStatus[ ]
Admin.CmdDone BOOL Omitted
The following table contains the attributes supported by this operation mode:
Cyclic
Element Name Type Default
scanning
PosMode.Distance REAL 0.0 Yes
PosMode.Velocity REAL 10.0 Yes
arAxisCtrl[ ] PosMode.Acceleration REAL 10.0 No
PosMode.Deceleration REAL 10.0 No
Admin.Axis AXIS_REF No
38/99 Bosch Rexroth AG | Electric Drives Rexroth IndraMotion | Functional Description
and Controls
Operation Modes
Cyclic
Element Name Type Default
scanning
Admin.MODE_POS_ADD BOOL Omitted
arAxisStatus[ ]
Admin.CmdDone BOOL Omitted
The following table contains the attributes supported by this operation mode:
Cyclic
Element Name Type Default
scanning
VelMode.Velocity REAL 10.0 Yes
VelMode.Acceleration REAL 10.0 No
arAxisCtrl[ ]
VelMode.Deceleration REAL 10.0 No
Admin.Axis AXIS_REF No
arAxisStatus[ ] Admin.MODE_VEL BOOL Omitted
The following table contains the attributes supported by this operation mode:
Functional Description | Rexroth IndraMotion Electric Drives | Bosch Rexroth AG 39/99
and Controls
Operation Modes
Cyclic
Element Name Type Default
scanning
SyncMode.OutputRevolution UINT 1 Yes
SyncMode.InputRevolution UINT 1 Yes
SyncMode.Fineadjust REAL 0.0 Yes
SyncMode.SyncDirection MC_SYNC_DIRECTION SHORTEST_WAY No
SyncMode.StartMode MC_START_MODE ABSOLUTE No
arAxisCtrl[ ]
SyncMode.Master AXIS_REF Yes
Admin.Axis AXIS_REF No
SyncMode.PhaseOffset REAL 0.0 Yes
SyncMode.PhaseOffsetVel REAL 1.0 No
SyncMode.PhaseOffsetAcc REAL 100.0 No
arAxisStatus[ ] Admin.MODE_SYNC_PHASE BOOL Omitted
The following table contains the attributes supported by this operation mode:
Cyclic
Element Name Type Default
scanning
SyncMode.OutputRevolution UINT 1 Yes
SyncMode.InputRevolution UINT 1 Yes
arAxisCtrl[ ] SyncMode.Fineadjust REAL 0.0 Yes
SyncMode.Master AXIS_REF Yes
Admin.Axis AXIS_REF No
arAxisStatus[ ] Admin.MODE_SYNC_VEL BOOL Omitted
Operation Modes
arAxisCtrl[].Admin._OpMode := ModeSyncCam;
or
arAxisCtrl[].Admin.MODE_SYNC_CAM := TRUE;
The following table contains the attributes supported by this operation mode:
Cyclic
Element Name Type Default
scanning
SyncMode.OutputRevolution UINT 1 Yes
SyncMode.InputRevolution UINT 1 Yes
SyncMode.Fineadjust REAL 0.0 Yes
SyncMode.CamShaftDistance REAL 360.0 Yes
SyncMode.SyncDirection MC_SYNC_DIRECTION SHORTEST_WAY No
SyncMode.StartMode MC_START_MODE ABSOLUTE No
arAxisCtrl[ ]
SyncMode.CamTableID MC_CAM_ID CAM_TABLE_1 Yes
SyncMode.Master AXIS_REF Yes
Admin.Axis AXIS_REF No
SyncMode.PhaseOffset REAL 0.0 Yes
SyncMode.PhaseOffsetVel REAL 1.0 No
SyncMode.PhaseOffsetAcc REAL 100.0 No
SyncMode.PhasingSlaveDone BOOL
arAxisStatus[ ] SyncMode.CamActiveID MC_CAM_ID
Admin.MODE_SYNC_CAM BOOL Omitted
The following table contains the attributes supported by this operation mode:
Functional Description | Rexroth IndraMotion Electric Drives | Bosch Rexroth AG 41/99
and Controls
Operation Modes
Cyclic
Element Name Type Default
scanning
SyncMode.OutputRevolution UINT 1 Yes
SyncMode.InputRevolution UINT 1 Yes
SyncMode.Fineadjust REAL 0.0 Yes
SyncMode.Profile.SetSelection UINT 0 Yes
SyncMode.Profile.RelativePositioning BOOL FALSE No
SyncMode.SyncDirection MC_SYNC_DIRECTION SHORTEST_WAY No
arAxisCtrl[ ]
SyncMode.StartMode MC_START_MODE ABSOLUTE No
SyncMode.Master AXIS_REF Yes
Admin.Axis AXIS_REF No
SyncMode.PhaseOffset REAL 0.0 Yes
SyncMode.PhaseOffsetVel REAL 1.0 No
SyncMode.PhaseOffsetAcc REAL 100.0 No
SyncMode.PhasingSlaveDone BOOL Omitted
arAxisStatus[ ] SyncMode.ProfileActiveSet UINT Omitted
Admin.MODE_SYNC_CAM BOOL Omitted
The following table contains the attributes supported by this operation mode:
42/99 Bosch Rexroth AG | Electric Drives Rexroth IndraMotion | Functional Description
and Controls
Operation Modes
Cyclic
Element Name Type Default
scanning
SyncMode.OutputRevolution UINT 1 Yes
SyncMode.InputRevolution UINT 1 Yes
SyncMode.Fineadjust REAL 0.0 Yes
SyncMode.Profile.SetSelection UINT 0 Yes
SyncMode.Profile.UseSwitchingPosi‐
BOOL FALSE No
tion
SyncMode.Profile.SwitchingPosition REAL 0.0 No
SLAVE_ORI‐
MB_PRO‐
SyncMode.Profile.ProfileEntry GIN_MASTER_ORI‐ No
FILE_START_POINT
GIN
SyncMode.Profile.MasterOffset REAL 0.0 No
SyncMode.Profile.SlaveOffset REAL 0.0 No
arAxisCtrl[ ]
SYNC_RAM‐
SyncMode.Profile.SyncType MB_SYNC_TYPE PIN_SHORT‐ No
EST_WAY
SyncMode.Profile.SyncVelocity REAL 10.0 No
SyncMode.Profile.SyncAcceleration REAL 10.0 No
EXECUTE_CY‐
SyncMode.Profile.ExecutionMode MB_EXECUTION_MODE No
CLIC
SyncMode.Master AXIS_REF Yes
Admin.Axis AXIS_REF No
SyncMode.PhaseOffset REAL 0.0 Yes
SyncMode.PhaseOffsetVel REAL 1.0 No
SyncMode.PhaseOffsetAcc REAL 100.0 No
SyncMode.PhasingSlaveDone BOOL Omitted
arAxisStatus[ ] SyncMode.ProfileActiveSet UINT Omitted
Admin.MODE_SYNC_CAM BOOL Omitted
The Axis Interface uses the MC_Power and PLCopen function block
internally to carry out the switchover.
The following table contains the attributes supported by this operation mode:
Functional Description | Rexroth IndraMotion Electric Drives | Bosch Rexroth AG 43/99
and Controls
Operation Modes
Cyclic
Element Name Type Default
scanning
arAxisCtrl[ ] Admin.Axis AXIS_REF No
arAxisStatus[ ] Admin.MODE_EXTERNAL_FB BOOL Omitted
Global Variables
7 Global Variables
Library ML(X)_AxisInterface.lib contains a list of global variables Glob‐
al_MB_AxisInterfaceVars. This list defines constants for bit access to OpMode
variables
(arAxisCtrl[ ].Admin._OpMode and
arAxisStatus[ ].Admin._OpModeAck)
and defines masks for the synchronization operating modes.
Fig.7-1: Global_MB_AxisInterfaceVars
46/99 Bosch Rexroth AG | Electric Drives Rexroth IndraMotion | Functional Description
and Controls
Functional Description | Rexroth IndraMotion Electric Drives | Bosch Rexroth AG 47/99
and Controls
The state machine can be used to integrate the Axis Interface into
an existing program.
For a completely new project, we strongly recommend that the
Rexroth IndraMotion Programming Template is used.
Visualization Description
System_Overview_All_Axis General overview of all defined axes, including simple diagnostic, status and jogging
control elements.
Axis_Overview Indicates the current command and values for Position and Velocity, together with nav‐
igation for the position, velocity and synchronization display for the current axis. The
axes can also be homed and switched off.
Position_mode Monitoring of the positioning mode
Velocity_mode Monitoring of the velocity mode
Synchronization_mode Monitoring of the synchronization mode
Profile_mode Monitoring of the synchronization mode with profiles
ImcInterface_Status_Control MLC control and status interface of the operating modes, acknowledgements and sys‐
tem diagnostics.
Adjusting Value setting
PLC_load Indicates the minimum, current and maximum PLC task cycle time for AxisInterface‐
Type01Prog.
The steps above must be repeated for all axes that are subse‐
quently added to the project.
50/99 Bosch Rexroth AG | Electric Drives Rexroth IndraMotion | Functional Description
and Controls
Navigation system overview An overview display of the individual axes can be opened by clicking the axis
name button, which is located in the Details column in the axis table. From the
axis overview display, the user can navigate to the position, velocity and syn‐
chronization operating mode display.
For velocity synchronization, see chapter 6.10 "Operation Mode Velocity Syn‐
chronization" on page 39.
For cam, see chapter 6.11 "Operation Mode Electronic Cam" on page 39.
The following table contains the (general) Axis Interface structure elements that
are used as part of the visualization:
8.3.9 Adjusting
The Adjusting visualization is used to make additional settings to the system
due to special application requirements. In applications such as printing, it may
be necessary to set the position or velocity of certain axes in such a way that
they are precisely aligned to the printed image or text. For this reason, the user
can add Adjusting visualizations for the Position, Velocity or Synchronization
operating modes to the current project.
Adding an adjusting visualization To add additional Adjusting visualizations, follow the steps described briefly
below:
1. Open the corresponding IndraLogic project and select the tab Visualiza‐
tion.
2. With IndraLogic in offline mode, click the right mouse button on the Ad‐
justing folder, select Add object... and enter a name for the new visuali‐
zation.
3.
Select the button of the Visualization toolbar and generate an outline
in the working area on the right side.
This section describes how the AxisInterface can be extended e.g. by adding
the MB_Phasing functionality. The MB_Phasing function block allows to add an
offset to a master axis. The master axis is connected as input to the MC_Ca‐
mIn or the MC_GearInPos synchronization function block.
The MB_PhasingSlave functionality is integrated into the AxisInterface using
the
● arAxisCtrl[ ].SyncMode.PhaseOffset, (.PhaseOffsetVel), (.PhaseOffse‐
tAcc) elements and the
● arAxisStatus[ ].SyncMode.PhasingSlaveDone output
The following table shows the user interface for the Axis Interface data struc‐
ture:
Operating mode selection Operating modes can be selected using all of the following methods:
● Selection using Enum values
Assigning a value of type AXIS_MODE to
arAxisCtrl[ ].Admin._OpMode
e.g. arAxisCtrl[ ].Admin._OpMode :=ModePosAbs; or
arAxisCtrl[].Admin._OpMode := ModeAB;
● Selection using bit access
First delete "_OpMode" by arAxisCtrl[ ].Admin._OpMode := ModeAB;, then
use the bit access function to set only one bit.
e.g. arAxisCtrl[ ].Admin.MODE_POS_ABS := TRUE;
MB_AXIS_SYNCHRONISATION Structure
MB_AXIS_SYNCHRONISATION
Brief description The MB_AXIS_SYNCHRONISATION structure is a substructure of MB_AX‐
IS_CONTROL_TYPE01 and contains command values and settings for the
synchronization mode. The following figure shows the current MB_AXIS_SYN‐
CHRONISATION structure:
Fig.10-19: MB_Axis_Mode
For details, see chapter "MB_Axis_Mode" on page 74.
MB_AXIS_CONFIG
Brief description MB_AXIS_CONFIG is an enumeration type that is used by the MB_AXIS_AD‐
JUST_STATUS structure.
11.2 Parameterization
To use the AxisInterface on an MLD, the following parameterization has to be
carried out:
● PLC controls the drive permanently: P-0-1367 "PLC configuration", bit 4
is set
● Support of the AxisData structure: P-0-1367 "PLC configuration", bit 6 is
set
● Exemplary the settings for a virtual rotary axis that can rotate in both di‐
rections:
– Rotary scaling in modulo format: P-0-0756 "Virtual master axis, scal‐
ing type", bit 2/1/0 = 010, bit 7 is set
– Shortest distance: P-0-0769 "Virtual master axis, command value
mode", bit 1/0 = 10
MB_AxisInterfaceType1a FB: Due to the missing error recovery Defdb00105763 "Writing of electronic gear
was swapped by the AxisInterface", the FB was renamed in the MLD system.
The usage of the electronic device in the user program has to be checked by
the user. In order to indicate an incompatible modification for the user, the FB
Functional Description | Rexroth IndraMotion Electric Drives | Bosch Rexroth AG 93/99
and Controls
Additionally cyclically scanned da‐ The following additional elements of the axis control structure are scanned cy‐
ta: clically in the MLD design of the AxisInterface library:
● arAxisCtrl[].Admin.StopDecelaration
● arAxisCtrl[].VelMode.Acceleration
● arAxisCtrl[].VelMode.Deceleration
Notes on the virtual axis: ● Access on the structures in the AxisInterface using the VMA_INT_IDX de‐
fine (index 11)
● Irrespective of the system, the index can be determined on the MLC and
MLD using the MB_GetAxisInterfaceIndex() function
● The AxisInterface copies a part of the information - provided in the Axis‐
Data structure for real axes - for the virtual axis. This information can be
accessed in the AxisStatus structure via a pointer.
Note: This pointer is initialized by the AxisInterface Init FB. The pointer
and thus the information can only be accessed after a successful initiali‐
zation.
Information available for the virtual axis:
– arAxisStatus[VMA_INT_IDX].PtrAxisData^.rActualPosition_i;
– arAxisStatus[VMA_INT_IDX].PtrAxisData^.rActualVelocity_i;
– arAxisStatus[VMA_INT_IDX].PtrAxisData^.Axis_CmdValueReach‐
ed;
– arAxisStatus[VMA_INT_IDX].PtrAxisData^.Axis_Standstill;
The following information is always set to TRUE in the operating mode:
– arAxisStatus[VMA_INT_IDX].PtrAxisData^.Axis_Inbb;
– arAxisStatus[VMA_INT_IDX].PtrAxisData^.Axis_InAb;
– arAxisStatus[VMA_INT_IDX].PtrAxisData^.Axis_Power;
– arAxisStatus[VMA_INT_IDX].PtrAxisData^.Axis_Homed;
94/99 Bosch Rexroth AG | Electric Drives Rexroth IndraMotion | Functional Description
and Controls
Functional Description | Rexroth IndraMotion Electric Drives | Bosch Rexroth AG 95/99
and Controls
Time 1) Mo-Fr 7:00 am - 6:00 pm CET Mo-Fr 6:00 pm - 7:00 am CET Outwith Germany please con‐
Sa-Su 0:00 am - 12:00 pm CET tact our sales/service office in
your area first.
Phone +49 (0) 9352 40 50 60 +49 (0) 171 333 88 26 For hotline numbers refer to the
or sales office addresses on the
Internet.
+49 (0) 172 660 04 06
e-mail service.svc@boschrexroth.de –
Internet http://www.boschrexroth.com
You will also find additional notes regarding service, maintenance (e.g. delivery addresses) and
training.
Preparing Information For quick and efficient help please have the following information ready:
● detailed description of the fault and the circumstances
● information on the type plate of the affected products, especially type co‐
des and serial numbers
● your phone, fax numbers and e-mail address so we can contact you in
case of questions.
96/99 Bosch Rexroth AG | Electric Drives Rexroth IndraMotion | Functional Description
and Controls
Functional Description | Rexroth IndraMotion Electric Drives | Bosch Rexroth AG 97/99
and Controls
Index
Index
A M
Adding an adjusting visualization........................ 59 MB_AXIS_ADJUST_DATA........................... 75, 78
Adding an axis to the system overview............... 49 MB_AXIS_ADJUST_STATUS....................... 85, 88
arAxisCtrl[ ].......................................................... 63 MB_AXIS_CONTROL_TYPE01.......................... 71
Axis_Ref.............................................................. 75 MB_AXIS_DIAGNOSIS....................................... 87
AxisInterface MB_AXIS_MODE................................................ 86
Overview ........................................................ 5 MB_AXIS_POS_STATUS................................... 88
Axis interface structure elements MB_AXIS_POSITIONING................................... 76
positioning mode visualization ..................... 52 MB_AXIS_STATUS_TYPE01............................. 84
synchronization mode visualization .............. 55 MB_AXIS_SYNC_STATUS................................. 89
synchronization mode with profiles .............. 56 MB_AXIS_VEL_STATUS.................................... 89
velocity mode visualization ........................... 53 MB_AxisInitType01............................................. 27
Axis Interface structure elements MB_AxisInterfaceType01.................................... 29
axis overview visualization ........................... 51 MB_GetAxisInterfaceIndex................................. 93
ImcInterface control ...................................... 58 MB_Phasing........................................................ 63
ImcInterface status ....................................... 58 MB_PhasingSlave............................................... 63
Axis interface structures
MB_AXIS_ADJUST_DATA ..................... 75, 78
MB_AXIS_ADJUST_STATUS ................ 85, 88
N
MB_AXIS_ADMINISTRATION ..................... 72 Navigation system overview............................... 50
MB_AXIS_CONFIG ...................................... 87 Non-intended use
MB_AXIS_CONTROL_TYPE01 ................... 71 consequences, exclusion of liability ............. 11
MB_AXIS_CONTROL_TYPE01 structure .... 71
MB_AXIS_DIAGNOSIS ................................ 87 O
MB_AXIS_MODE ......................................... 86 Operation mode
MB_AXIS_POS_STATUS ............................ 88 Electronic cam .............................................. 39
MB_AXIS_POSITIONING ............................ 76 Operation modes
MB_AXIS_STATUS_TYPE01 ....................... 84 Absolute positioning ..................................... 36
MB_AXIS_SYNC_STATUS .......................... 89 Additive positioning ...................................... 37
MB_AXIS_VEL_STATUS ............................. 89 Drive halt ...................................................... 35
MB_AXIS_VELOCITY .................................. 77 Drive ready ................................................... 35
Axis Interface structures Electronic FlexProfile ................................... 41
Axis_Mode .................................................... 74 Electronic MotionProfile ............................... 40
MB_AXIS_SYNCHRONISATION ................. 80 Homing drive ................................................ 35
ML_AXIS_PROFILE ..................................... 82 Operation mode external function block ....... 42
MX_AXIS_PROFILE ..................................... 82 Overview ...................................................... 33
Phase synchronization ................................. 38
C Relative positioning ...................................... 36
Configuration....................................................... 23 Velocity control ............................................. 38
Converting AxisInterface projects....................... 24 Velocity synchronization ............................... 39
E P
EnableCyclicScanning.......................................... 7 PELV................................................................... 17
Protective extra-low voltage................................ 17
G
Global_MB_AxisInterfaceVars............................ 45
S
Global variables.................................................. 45 Safety instructions for electric drives and con‐
trols..................................................................... 13
Service Hotline.................................................... 95
I State machine - Axis Interface............................ 47
Improper use....................................................... 12 State of the art.................................................... 11
InitProg FB.......................................................... 47 Support
Intended use....................................................... 11 see Service Hotline ...................................... 95
scopes of application .................................... 11 System_Overview_All_Axis................................. 48
98/99 Bosch Rexroth AG | Electric Drives Rexroth IndraMotion | Functional Description
and Controls
Index
U V
Use Visualization
improper use ................................................ 12 adjusting ....................................................... 59
intended use ................................................. 11 axis overview ................................................ 50
User extension ImcInterface control ...................................... 57
arAxisCtrl[ ] ................................................... 63 ImcInterface status ....................................... 57
User-defined types ....................................... 66 overview ....................................................... 48
User Extension PLC load ...................................................... 61
arStatusCtrl[ ] ............................................... 65 positioning mode .......................................... 52
User extensions.................................................. 63 setting ........................................................... 59
Program ....................................................... 67 synchronization mode .................................. 54
synchronization mode with profiles .............. 55
system overview ........................................... 48
velocity mode ............................................... 53
Functional Description | Rexroth IndraMotion Electric Drives | Bosch Rexroth AG 99/99
and Controls
Notes
Bosch Rexroth AG
Electric Drives and Controls
P.O. Box 13 57
97803 Lohr, Germany
Bgm.-Dr.-Nebel-Str. 2
97816 Lohr, Germany
Tel. +49 (0)93 52-40-0
Fax +49 (0)93 52-48 85
www.boschrexroth.com
Printed in Germany
R911322054 DOK-IM*MLC-TF*AX*IFV04-FK03-EN-P