Rexroth Visual Motion 1.1
Rexroth Visual Motion 1.1
Rexroth Visual Motion 1.1
Validity The specified data is for product description purposes only and may not
be deemed to be guaranteed unless expressly confirmed in the contract.
All rights are reserved with respect to the content of this documentation
and the availability of the product.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Table of Contents I
Table of Contents
1 About this Manual 1-1
1.1 Introduction..................................................................................................................................... 1-1
1.2 Contents of Volume 1..................................................................................................................... 1-1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
II Table of Contents Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Table of Contents III
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
IV Table of Contents Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Table of Contents V
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
VI Table of Contents Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Table of Contents VII
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
VIII Table of Contents Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 About this Manual 1-1
1.1 Introduction
The VisualMotion 11 Functional Description manual describes the
VisualMotion software, including the integration of IndraLogic, the tools
used for programming both motion and logic, and the system's
functionality.
The Functional Description manual is a two volume set. The two books
are structured as follows:
• Volume 1 contains information on how to use VisualMotion Toolkit,
IndraLogic and all the supporting tools available for programming
both motion and logic.
• Volume 2 is structured as a reference guide which presents
detailed functionality of the features supporting VisualMotion and
IndraLogic.
Chapter Description
1 About this Manual - describes the structure of the two volume functional description set.
2 VisualMotion Software Installation - describes the system requirements for installing and operating
VisualMotion 11 on your PC. It also describes the installation of VisualMotion, IndraLogic and the CAM
Builder softwares. Initial communication between the software and your system, including the control,
drives and I/O is also described.
3 Overview of VisualMotion System - describes a VisualMotion system, what it includes and how it
operates, such as operating modes
4 VisualMotion Toolkit - describes the VisualMotion Toolkit environment, the programming modes as well
as basic steps required for creating a VisualMotion motion project, the steps for importing a default IO
mapping IndraLogic project and the use of the IO Box utility for activating the project.
5 Programming Capabilities - describes the basic motion programming capabilities for Events, Position
Monitoring Groups, PID, and PLS.
7 Commissioning Tools - describes the functionality of the commissioning tools in VisualMotion including
how to configure, download and use them. IndraLogic's integration into VisualMotion is described in this
chapter.
8 Data Editing and Monitoring Tools – describes how to use data editing and monitoring tools with a
VisualMotion project.
9 Diagnostic Tools - describes tools used for diagnosing and debugging a VisualMotion project
10 Project Management Tools - describes the tools used to manage a VisualMotion project
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
1-2 About this Manual Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Software Installation 2-1
2.1 Overview
The VisualMotion software package includes the installation of the
following editors and tools:
• VisualMotion Toolkit motion programming software and tools
• IndraLogic PLC logic and motion programming software
• New CamBuilder tool
• DriveTop software for commissioning drives
The editors and tools installed as part of the VisualMotion software
package support both English and German. Separate help systems
and/or documentation for VisualMotion, IndraLogic and the CamBuilder
are available as part of the installation.
Computer
VisualMotion Toolkit can be installed on any IBM™ PC compatible
Pentium computer with the following minimum requirements:
• 500 MHz Pentium 2 Processor
• 128 MB of RAM system memory
• Windows 2000 (SP4) or Windows XP (SP1)
• 95 MB of hard drive space on drive C and 165 MB on the target
drive
• MS-IE (Microsoft Internet Explorer) 5.1 or later
Display
A super VGA monitor or better. A color monitor display makes it possible
to take full advantage of VisualMotion's graphic interface.
Printer
VMT uses the default printer installed on your computer. For optimal
resolution, especially when printing projects, use a high-resolution (300-
dpi) laser or ink jet printer.
Mouse
A mouse interface is required to use VisualMotion Toolkit, IndraLogic, and
supported tools.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
2-2 VisualMotion Software Installation Rexroth VisualMotion 11 Functional Description - Volume 1
Serial I/O
VMT can be configured to use the PC's serial port for communication
between the host PC and the PPC-R. An IKB0005 RS-232 serial cable is
required between the host PC and the PPC-R X10 or X16 communication
ports. Hardware handshaking is not supported.
ChooseLang.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Software Installation 2-3
Option Description
Modify This option allows new program components to be added or
installed components can be removed.
Repair This option overwrites existing VisualMotion components
with the files in the new release. This will not affect the
programs that have been created with an earlier release.
Programs saved on the computer’s hard drive can be
downloaded to the new release of VisualMotion.
Remove This option removes all installed components
Install_Repair.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
2-4 VisualMotion Software Installation Rexroth VisualMotion 11 Functional Description - Volume 1
Install_Destination.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Software Installation 2-5
CamBuilder Note:
If the new CamBuilder tool is unchecked during the initial
installation, the CamBuilder Utility used with VisualMotion 9 will
be installed instead. If the new CamBuilder tool is installed,
the older CamBuilder Utility can be added to the Registered
Tools menu selection under the Tools menu. Refer to the
Tools menu description in section 13.10 in volume 2 of the
VisualMotion 11 Functional Description manual.
Install_Setup_Type.tif
CamBuilder Installation 11. If the new CamBuilder tool is selected for installation, select the setup
language.
12. An InstallShield wizard will guide the user through the CamBuilder tool
installation.
13. Click the Next button to begin the CamBuilder installation.
Optional Software Installation 14. In addition to the default VisualMotion component installations,
selected optional software such as Dolfi and SyCon will follow the
IndraLogic installation.
15. Follow the InstallShield instruction until all optional components are
installed.
16. After the InstallShield wizard completes, it is recommended that the
computer be restarted.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
2-6 VisualMotion Software Installation Rexroth VisualMotion 11 Functional Description - Volume 1
The following table lists the connection type available by control type:
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Software Installation 2-7
DdeConfigure.tif
Serial_Comm.tif
6. Select the baud rate setting in the Serial Communications window that
matches the baud rate setting in the control.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
2-8 VisualMotion Software Installation Rexroth VisualMotion 11 Functional Description - Volume 1
Note: To view the current baud rate settings in the control, press the
S1 button on the front of the control 4 times. To display the
baud rate of the X16 connector, depress the S1 button 6
times.
3. Select the new baud rate setting from the drop-down menu.
Change_Baud_Rate.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Software Installation 2-9
Note: A Dde server error may be issued, indicating the baud rate on
the control no longer matches the setting in the Dde Server.
6. Click the Settings button in the error message window. This will open
the Serial Communications window.
7. Change the baud rate to match the new baud rate in the control.
6. Close VisualMotion Toolkit and cycle power to the control in order for
these changes to take affect.
After the control is powered up, the green H3 LEDs on the front of the
control will flash continuously.
EtherNet Setup The Ethernet interface can also be configured using the Control Setting
using VisualMotion Tool window under the Tools menu selection.
1. Power up the control and launch VisualMotion Toolkit in service
mode.
2. Select Tools ⇒ Control Settings… and select the Network tab.
3. Enter the EtherNet's IP Address, Subnet Mask, and Gateway IP
Address in dot notation, for example "172.18.11.205".
4. Close VisualMotion Toolkit and cycle power to the control in order for
these changes to take affect.
5. After the control is powered up, the green H3 LEDs on the front of the
control will flash continuously.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
2-10 VisualMotion Software Installation Rexroth VisualMotion 11 Functional Description - Volume 1
PCI Communication
The GMP 11 firmware for the PPC-P11.1 is designed to work in a
complete system solution consisting of a Logic Controller (Soft PLC) and
Motion Controller (PPC-PCI) inside an industrial PC with an HMI package.
On the PC, there are three main interfaces with the PPC-P11.1: a soft
PLC, VisualMotion, IndraLogic and HMI packages such as WinHMI or
WonderWare. The soft PLC will have direct access to the DPR (dual port
RAM), while VisualMotion, IndraLogic and the HMI packages will
communicate over the DPR via the Scalable Communication Platform
(SCP).
GMP firmware supports all the functionality of the GPP firmware with the
following exceptions:
• Data Mapper is not supported, thus eliminating the option of ordering
the corresponding PC104 interface boards with this system. The
parent soft control (softPLC) communicates directly to the PPC-P11.1
via the PCI bus. If additional fieldbus connectivity is required other
than Profibus and DeviceNet masters, the soft control (softPLC)
should be equipped with the capability to communicate with a PC-
resident fieldbus card. The Data Mapper software utility is used to set
up PCI cyclic channels for the softPLC. PC104 fieldbus slave cards
are not supported.
• The Register and Cyclic channels over the Dual Port RAM use the
Sercos cycle time.
• No LocalReco configurations are supported.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion 11 Overview 3-1
3 VisualMotion 11 Overview
PC PC
ASCII Protocol via RS232, SIS Protocol via RS232, SIS Protocol via RS232,
RS485 or Ethernet TCP/IP RS485 or PCI Bus RS485 or Ethernet TCP/IP
ASCII Protocol via RS232,
RS485 or PCI Bus
PPC-R22.1 PPC-R22.1
PPC-P11.1 PPC-P11.1
VisualMotion Toolkit and HMI devices can also use the VisualMotion Dde server
(ASCII protocol) when communicating with the motion functionality in the control.
Refer to the VisualMotion 9 Functional Description for details on the ACSII
protocol.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
3-2 VisualMotion 11 Overview Rexroth VisualMotion 11 Functional Description - Volume 1
Non-Coordinated Motion
Non-coordinated motion is primarily used to control a single independent
axis. There are two modes of non-coordinated motion:
• Single axis
• Velocity mode
Single axis Single axis motion commands within a Rexroth VisualMotion project are
processed by the control and sent to the digital drive. The project
communicates to the drive the target position (travel distance), the
velocity and acceleration. This information is used to develop a velocity
profile that is maintained and controlled within the intelligent digital drive.
As a result, single axis motion does not require continuous calculation by
the control and consumes minimum CPU resources.
Velocity Mode Velocity mode controls the speed of the axis, with no position control loop.
Rexroth digital drives maintain torque and velocity loops internally.
A special form of non-coordinated motion called ratioed axes permits
linking two axes by relating the number of revolutions of a slave axis to a
master axis. For example, a ratio might be required when the positioning
axis of a gantry robot has a motor on each side of its supporting track.
Coordinated Motion
The Rexroth VisualMotion control defines the following two types of
coordinated multi-axis coordinated motion:
• Standard Coordinated Motion
• Coordinated Articulation
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion 11 Overview 3-3
Coordinated Articulation
Coordinated Articulation is an advanced feature in VisualMotion 11 used
to move up to six axes in coordinated fashion based on world coordinate
inputs from an ELS Group CAM output or manual positions. This feature
provides the ability to link cyclic coordinated motion to an ELS master.
Differences from Normal The following outlines the difference in features in Coordinated
Coordinated Motion Articulation from standard Coordinated Motion:
• Points table are not supported
• Motion types supported: Coordinated and ELS Group
• Zones are not supported
• Up to 6 axis supported
• Up to 4 Coordinated Articulation configurations supported (only one
configuration allowed per any task A-D)
• No BTC06 support
• Control task register supported
• Coordinated limit parameters supported
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
3-4 VisualMotion 11 Overview Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-1
4 VisualMotion Programming
VisualMotion 11 provides a complete motion/logic programming solution
using both icon-based and PLC-based programming. The icon-based
VisualMotion Toolkit programming environment provides the user with an
easy to use pick-and-place method of programming that visually shows
the program's logical flow using icon instructions. Integrated into
VisualMotion Toolkit is an IEC 61131-3 PLC programming tool known as
IndraLogic. Refer to section 7.1, IndraLogic, for complete details.
Together, these tools allow the user to select their preferred method of
programming. However, in order to maintain a synchronized project
between the motion side and the logic side, minimal programming is
required using both tools. Icon-based programming requires that the I/O
communication between motion and logic be programmed in IndraLogic.
PLC-based programming requires that all axes, processes (e.g., ELS),
and parameter initialization used in the system be programmed in
VisualMotion Toolkit. The following diagram illustrates the basic steps
required for programming in a VisualMotion system.
A B
Icon PLC
IndraLogic setup
steps are performed
Setup IndraLogic variable
Establish VisualMotion within VisualMotion
sharing, target library, and
VisualMotion Toolkit communication with Toolkit. These steps
communication under
Project control under are required before
Tools ⇒ Options ⇒
Tools ⇒ Control Selection launching IndraLogic
IndraLogic
Launching IndraLogic
Icon or PLC Program Icon Initialization Launch IndraLogic from from VisualMotion
programming? task and/or subroutine within VisualMotion Toolkit Toolkit ensures that
all defined variables
are shared, the
Icon PLC correct target library
is used, and proper
Program Icon commnication is
Launch Program PLC configured.
Runtime
VisualMotion Initialization and Runtime
task A-D, subroutine, and
Toolkit programs
event functions
VisualMotion Control
Icon PLC
A B
Motion and Logic now
reside on control
ProgrammingMethods.vsd
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-2 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Area Description
Main Menus Pull down menu commands. Refer to chapter 13, Menu Descriptions, in volume 2 for details.
Toolbar Icons Commonly used Windows commands and programming icons. Refer to chapter 14, Icon
Descriptions, in volume 2 for details.
Project Navigator The project navigator displays a tree structure for the project folders. The Setup folder is
used to setup axes, processes, and parameter initialization. Selecting a folder displays the
icon program related to that folder. When a subroutine or event is added to the project, they
are indicated as subfolders in the subroutine and event folders.
Icon Palette Grouping of programming icons based on functionality.
Icon Workspace Area where icons are placed, configured and connected in a logical flow.
Comment Window A text window where the user can add special instructions or details about the task.
Status Bar Visual indications about program progress and programming mode.
Operating State Graphical indicator showing the current mode of operation with the control and the project.
Indicator
Main Menus
Toolbar Icons
Project Navigator
Icon Workspace
Status Bar
VM_New_Project.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-3
Main Menus
VisualMotion's main menu selections provide access to the majority of
commands; from file selection to establishing communication to the
launching of tools used to create and manipulate data in a project and on
the control. Refer to chapter 13, Menu Descriptions, in volume 2 for
complete details.
Toolbar Icons
The toolbar icons that appear just below the main menu are shortcuts to
commonly used main menu items. The following toolbar icons are only
available from the toolbar:
Project Navigator
The project navigator window displays a tree structure containing a Setup
folder, an Initialization folder, and a Runtime folder. These folders expand
to reveal additional sub folders used to configure, initialize, and program a
VisualMotion system.
ProjectNavigator.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-4 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Setup Folder
The Setup folder provides system initialization for all axis motion types,
ELS System components, CAM Indexer, and PID Loops. In addition to
axes and functionality initialization, parameter transfers can be configured
for single or multiple C, A, T, S and P parameter sets.
SetupFolder.tif
Initialization Folder
The initialization folder provides navigation to an icon based programming
workspace for a task and subroutine that are executed every time the
control transitions out of Sercos phase 2 (parameter mode).
Initialization Task Icon programming begins with the initialization task. The initialization task
serves:
• to allow modifications to motion resources such as ELS
components by means of conditional programming,
• the initialization of program variables, activation of initialization
subroutines, as well as register and parameter transfer
functionality.
Disabling a Drive in the To disable a drive from the initialization task that was configured under
Initialization Task Setup ⇒ Axes, use a Param1 icon and transfer a value of 2 to axis
parameter A-0-0007 for the relevant axis set.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-5
Runtime Folder
The runtime folder provides navigation to icon based programming
workspaces for Tasks A-D, subroutines, and event functions. Runtime
icon programs are executed in Sercos phase 4.
Tasks A-D Tasks A-D are used to build the main motion project. These tasks can
contain program icons configured with command signals for motion in the
drive. These tasks make up the majority of the icon program functionality.
VisualMotion can have up to 4 separate processes or tasks running
simultaneously in each project.
Subroutine Subroutines are optional sub-programs that are called by a task, other
subroutine, or event function when the subroutine icon is executed in the
program flow. They are used to improve readability as well as to simplify
project organization. Refer to the Subroutine icon
Event Functions Unlike subroutines, event functions are not "called" from a program.
Instead, they are "triggered" by conditions (distance, time, etc.) that are
specified in an event setup. Refer to the Event icon
Icon Palettes
VisualMotion Toolkit icon palettes are displayed below the Project
Navigator window. Five standard palettes are provided for Initialization,
Single, Coordinated, ELS and Utility icons. Icon palettes can be selected
from the View ⇒ Icon Palette menu selection or by clicking on an icon
tab, just below the icons in the palette. The initialization icon palette is
available only when the Initialization Task is selected from the Project
Navigator. Icons are selected from the palette using a single click of the
left mouse button. The selected icon is placed in the VisualMotion
workspace by positioning the cross-hair cursor over the grid area where
you want the icon to appear and clicking once.
Icon Palette
(Initialization)
Icon Palettes VisualMotion Toolkit Icon Workspace
(single, coordinated, ELS, utility)
VM_Toolkit.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-6 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Comment Window
Below the icon workspace is a comment window that is used to document
information related to the currently selected task. By default it appears
directly below the icon workspace.
The placement options for the comment window as well as other view
options are available under Tools ⇒ Options ⇒ View. The comment
window can be hidden by selecting View ⇒ Function Comment and
removing the check next to the Function Comment menu item.
Status Bar
The status bar provides a visual indication of a process that is currently
being executed.
Programming Modes
Two programming modes are supported in VisualMotion Toolkit. These
are Project mode and Service mode. The current programming mode is
displayed in the status bar of the main window and additional windows
such as the Parameter Overview.
Project Mode
Project mode refers to the state of VisualMotion Toolkit when it is possible
to interact with data in both the control's memory and in the project file
stored on the PC, depending on whether the project is online or offline.
Online and offline modes are indicated in the status bar of the
VisualMotion window in the lower right corner, see Fig. 4-6.
Sub Mode
Online Mode Offline Mode
Status Bar
Indicator
Synch. Unsynch.
Offline Mode
In offline mode, VisualMotion Toolkit is not communicating with the
control. All data management is directed to the project that is stored in a
single subdirectory on the computer.
Commissioning Tools Commissioning tools, such as the I/O Setup, Fieldbus Mapper and PLS,
in Offline Mode can be modified or configured while online or offline. If a configuration for
a commissioning tool exists in the project folder, it will automatically be
loaded when the tool is commissioned.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-7
Online Mode
In online mode, VisualMotion Toolkit is communicating with the control.
The viewing and editing of data in the control's memory is possible. The
following two modes of synchronization are supported:
Commissioning Tools Commissioning tools automatically open with their configurations loaded
in Online Mode in online mode, if previously configured. Modifications to data while
online, immediately take effect in the project and control, depending on
the state of the project and the type of data being modified.
Service Mode
Service mode is the state of VisualMotion Toolkit when it is possible to
view and edit data in the control's memory only. Making changes while in
Service mode only affects the data in the control, not the data stored in
the project files on the PC. Edits to a project can be saved to the
computer, but in a separate file from the project folder. The file can then
be imported into the project folder. Refer to chapter 10, Project
Management Tools, for details on how to Import Project Data.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-8 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
SetupFolder.tif
This new method of initializing axes and system functionality has made it
necessary to remove and/or modify existing programming icons in order
to separate initialization data from runtime data.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-9
Configuration Table
SetupConfigTable.tif
ELS_Summary.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-10 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Axes Options The available options that appear in the popup window vary based on
whether the user right clicks over an axis type (motion type) name or over
an existing axis number. Refer to the following figure and table for
details:
Option Description
Add an axis opens the Motion Selection window
Edit edits an existing axis configuration
Copy Configuration to an copies the same setup a new axis number
unused axis selected by the user from a drop down list
Delete deletes the axis from the list
Initial Start-up of Drive… launches the DriveTop axis configuration wizard
Drive Editor… launches the DriveTop overview window for the
selected axis
Print Configuration prints a list of the configured axes
Column Configuration allows user to selected columns to be displayed
Table 4-5: Axes Options
Processes Options Processes include ELS, CAM Indexer and PID Loops. The available
options are the same for all processes with the exception of the type that
is being added or modified. Refer to the following figure and table for
details:
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-11
Only Add is available when Right clicking over an empty row Right clicking over
no configurations exists with a least one configuration a configuration
ProcessOptions.tif
Option Description
Add adds a new configuration to the table
Edit edits an existing configuration
Delete deletes a configuration from the table
Print Configuration prints a list of the configured axes
Resize Contents Restores column width to default size
Column Configuration allows user to selected columns to be displayed
Table 4-6: Process Options
Parameters Options The available options are the same for all processes with the exception of
the type that is being added or modified. Refer to the following figure and
table for details:
Only Append is available Right clicking over an empty row Right clicking over
when no configurations exists with a least one configuration a configured parameter
ParametersOptions.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-12 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Option Description
Append Adds a parameter transfer configuration
Edit edits an existing configuration
Cut Removes and copies configuration to temporary
memory
Copy Copies the configuration to temporary memory
Paste Adds the contents of the temporary memory
Delete deletes a configured parameter from the table
Help Opens context sensitive help for the selected
parameter
Find searches through table for specific entry
Print Parameter List prints all configured parameters to selected printer
Table 4-7: Process Options
ModifyData.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-13
Reorder1.tif
Column Configuration
The user can chose the columns to be displayed in any configuration
table by right clicking and selecting Column Configuration. The item
names available in the Choose Columns window vary based on the
current Axes or Process Setup window.
ColumnConfig.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-14 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Note: The Axis icon has been removed from the initialization palette
for G*P 11 projects. Pre-G*P 11 projects, opened using
VisualMotion Toolkit 11 (without converting to a G*P 11
project) will display the Axis icon in the initialization palette.
These programs can be compiled and downloaded to the
control using VisualMotion Toolkit 11 with complete support for
the Axis icon.
Older firmware targets (i.e., G*P 10) that are converted to a
G*P 11 project should use Setup ⇒ Axes for any new axes
configurations. Existing Axis icons in the program will be
supported and can be compiled and downloaded to the
control. However, support for new axis parameter initialization
should be configured using Setup ⇒ Parameters. Refer to
Setup Parameters on page 4-68 for details.
AxesSetup1.tif
Note: The Not Used axis type selection at the bottom of the list
expands to display the current overview of axes that have not
been setup. Double clicking on an unused axis opens the
Motion Selection window for setting up the axis.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-15
The following table lists the entire column heading that are available by
moving the scroll bar along the bottom of the Setup Axes list.
Note: Any column right of the Axis Type / Number column can be
reordered by selecting and dragging the column heading and
moving it left or right.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-16 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Offline Mode In offline mode, the user must know ahead of time what drive hardware
and related firmware will be used for each axis.
Online Mode In online mode, with a connected control using G*P 11 firmware, the user
can retrieve the hardware and firmware types for all drives connected on
the Sercos ring. To access the Sercos ring, switch VisualMotion Toolkit
to online unsynchronized mode and selecting Commission ⇒ Drive
Overview…
These steps open the Drive Overview window displaying all connected
drives as shown in the figure below.
DriveOverview.tif
From this window, the user can view the current hardware and firmware
types for each axis in the Sercos ring. This window can remain open
during the axis setup procedure.
Add an Axis
To add an axis, right click over the desired motion type, for example
Single Axis, and select Add an axis to open the Motion Selection
window.
AxesSetup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-17
Motion Selection
The Motion Selection window is used by all axis types to setup the basic
axis information. The following table details the available selections:
Selection Details
Axis List of available axis numbers representing the Sercos address.
Number
Label Default or user-defined variable label assigned to axis.
Motion List of supported system motion types. Configured axis appears
Type under the assigned motion type.
Selection: Refer to Fig. 4-16 for available types.
Control Task assigned for the control and status of the axis:
Task Selection: Task A-D or PLC
Hardware List of supported drive hardware.
Selection: Refer to Specifying Axis Hardware and Firmware on
page 4-16 for details.
Firmware List of supported drive firmware based on selected hardware.
Table 4-9: Motion Selection Settings
MotionSelection.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-18 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Axis Properties
The Axis Properties window is used by all axis types to setup to
Positioning Mode, Encoder type, Positioning Type, and Units.
The following table details the available selections:
Selection Details
Lagless Additional velocity feed forward gain added to the position to reduce any positioning lag in the
system. Improved reaction in the system drive settings
Positioning Mode When set to Linear, the units and scaling are specified in parameter A-0-0005 Linear Position
Units. Absolute positioning is enabled in the drive. Refer to A-0-0005 for details.
When set to Rotary, the position, velocity, and acceleration units and scaling are fixed at the
drive. Modulo positioning is enabled by default, with a rollover value specified in drive
parameter S-0-0103.
Positioning Type For Rotary positioning mode, refer to A-0-0004, bit 15
For Liner positioning mode, refer to A-0-0004, bit 13
Encoder Motor (primary motor encoder) or External (secondary encoder). Refer to A-0-0004, bit 11
Redundant (available when configuring an IndraDrive using MPx 04 firmware) A-0-0004, bit 7
Units Available units are based on selected positioning mode:
For Rotary mode, units are in degrees.
For Linear mode, units are in inches or mm.
Refer to A-0-0005
Table 4-10: Axis Properties Settings
AxisProperties.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-19
ConfigureAxisProbe.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-20 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
CoordinatedAxisSetup.tif
After the Coordinated Axis Setup window, the following two windows
complete the setup:
• Axis Properties on page 4-18
• Configure Axis Probe on page 4-19
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-21
RatioAxisSetup.tif
After the Ratio Axis Setup window, the following two windows complete
the setup:
• Axis Properties on page 4-18
• Configure Axis Probe on page 4-19
Note: To keep the slave axis synchronized when the master axis is
jogging, set Axis Control register bit 4 (Synchronized Jog bit).
If the slave axis is never switched to single-axis mode, this bit
should be mapped high.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-22 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Selection Details
Group Number: Select the ELS Group number that will be assigned to the axis.
Sync Type: The following selections are available:
Velocity – the slave axis matches and follows an ELS Group's output velocity regardless of any
phase differences.
Phase – the slave axis matches and follows an ELS Group's output position.
Control CAM – the slave axis follows a control CAM profile whose master position is the ELS
Group's output.
Drive CAM – the slave axis follows a drive CAM profile whose master position is the ELS Group's
output.
Electronic Motion Profile – the slave axis follows a defined motion profile based on the selection
from 1 up to 8 segments per master revolution.
Phase Sync When the Sync Type is Phase, Synch Method specifies exactly how the Group will Phase Sync to
Method the master.
Absolute - the Group will synchronize to the exact same position as the master (with zero offset) --
if the Master is at 100.3 degrees, the Group will sync to 100.3 degrees. The Group will always
follow the exact position of the master not withstanding any phase adjustments the user later
performs.
Relative - the Group will synchronize to whatever position the master is at after the velocity has
been matched. If the master is at 100.3 degrees and the Group is at 150 degrees after velocity has
been matched, the Group will maintain this relationship/offset while following the master. Another
way to look at Relative is that whatever difference in position exists after the velocity has been
matched is incorporated as an offset. The Group is still following the position of the Master, but with
a non-zero offset.
ElsGroupAxisSetup.tif
After the ELS Group Axis Setup window, the following two windows
complete the setup:
• Axis Properties on page 4-18
• Configure Axis Probe on page 4-19
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-23
CoordArtSetup.tif
Selection Details
Group Number: This number identifies the Coordinated Articulation configuration in a VisualMotion project. Up to 4
Coordinated Articulation configurations can exist in a project at one time.
Kinematic Axis: Defines the Kinematic axis number in a Coordinated Articulation configuration. Each axis used in a
coordinated articulation application must be setup individually under a new Coordinated
Articulation axis setup.
Phase Sync When the Sync Type is Phase, Synch Method specifies exactly how the Group will Phase Sync to
Method the master.
Absolute - the Group will synchronize to the exact same position as the master (with zero offset) --
if the Master is at 100.3 degrees, the Group will sync to 100.3 degrees. The Group will always
follow the exact position of the master not withstanding any phase adjustments the user later
performs.
Relative - the Group will synchronize to whatever position the master is at after the velocity has
been matched. If the master is at 100.3 degrees and the Group is at 150 degrees after velocity has
been matched, the Group will maintain this relationship/offset while following the master. Another
way to look at Relative is that whatever difference in position exists after the velocity has been
matched is incorporated as an offset. The Group is still following the position of the Master, but
with a non-zero offset.
Table 4-12: ELS Group Axis Setup Settings
After the Coordinated Articulation Axis Setup window, the following two
windows complete the setup:
• Axis Properties on page 4-18
• Configure Axis Probe on page 4-19
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-24 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Note: The only Control Task that can be assigned to a User Position
axis is the PLC.
Note: The only Control Task that can be assigned to a User Velocity
axis is the PLC.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-25
Processes.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-26 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
DefaultLabels.tif
Editing Default Labels Default labels can be edited from the VM Data Table by selecting Edit ⇒
VM Data Table… and choosing the relevant tab (Registers, Bits, Ix, or
Fx).
User-Defined Labels It is recommended to initially use default labels. This way all default
labels will be placed in the correct locations. Afterwards, the user can
modify any labels to suit their specific application. However, the user
must then edit the declaration again and remove the checkbox.
Otherwise, all user-defined labels will be replaced with default labels if the
declaration is edited and the OK button is clicked.
Special Considerations when Default labels are assigned starting at the value defined for register
using Default Labels numbers and start ids. The following behavior should be considered when
modifying an existing register and start id numbers.
1. If default labels are not used, the user must label the register, register
bits, and program variables starting at the assigned register numbers
and start id bocks.
2. If modifications are made to the register numbers and/or start id
blocks of an existing ELS process declaration, any existing default
labels at the old location will be automatically deleted and re-labeled
at the new locations. Any user-defined labels will be ignored. User-
defined labels must be manually deleted.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-27
InitOnPhaseUp.tif
The default setting for all variables is to have them re-initialized every time
the control is transitioned from Sercos phase 2 to Sercos phase 4. This is
indicate by a check next to the Initialize on Phase-up option. Removing
the check, allowing the variable to retain its current value when modified
in the program. The system will not re-initialize the value for variables
that have had the check removed next to Initialize on Phase-up option.
Advanced Button This can also be accomplished by clicking on the Advanced button and
removing the check from the desired program variable. The process that
is currently being configured will appear expanded.
LabelSelection.tif
Note: Only those processes that exist in Setup will appear in the
Label Selection tree structure.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-28 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
AdvancedSelect.tif
The value entered in any field, during the setup process, is compiled and
downloaded to the control only once. Any modifications to the value of a
variable selected to retain it's value, via user input or by the program, will
be stored and not re-initialized by a Sercos phase transition. Any variable
that is not marked to retain it's value will be re-initialized to the value
initially set during the setup process, regardless of whether or not the
value was modified during runtime.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-29
Note: All necessary ELS process setup can be performed within the
Setup folder without the need for ELS icons in the Initialization
task. ELS process icons are provided to allow the user to
create conditional programming within the Initialization task.
The following two ELS options are only available when the ELS folder is
selected:
"Velocity Rounding" enabled for Velocity Rounding sets the Virtual Master and Group jogging velocities
Virtual Master and Local Master down to the nearest ELS increment to eliminate cycle-to-cycle variations
in drive velocity. This results in the velocities being slightly less than their
commanded values. This feature can be enabled and disabled in bit 30
(ELS_MSTR_CONFIG) of the ELS Group Configuration Word.
ELS Process associated with the Setting this option allows the Integrated PLC to control the running of the
PLC task ELS system. If the Integrated PLC program stop running, so will the ELS
system.
SetupELS.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-30 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Procedure Description
Icon Program ELS icons can be used in the Initialization task to modify
existing an ELS process.
ELS Runtime Tool The ELS Runtime tool can be used in online mode to
modify ELS processes.
Direct Access to Write directly to ELS program variables from the icon
Program Variables program or PLC project.
PLC Function Using Virtual Master and ELS Group function blocks
Blocks from the MV_Motion library in the PLC program.
VM_ELSGrp_Init.tif
Refer to the section 6.1, Electronic Line Shafting, for a complete listing of
ELS system variables.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-31
ELSRuntimeTool.tif
The ELS Runtime tool is located under menu selection Data ⇒ ELS… in
VisualMotion Toolkit. Refer to section 8.3, ELS Runtime Tool, for details.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-32 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
ImportDataToProject.tif
Fig. 4-34: Transferring ELS Data from the Control to the Project
5. By default, all the items in the right window (Details) are selected.
6. Select only the ELS Details that will imported into the project.
7. Edit the relevant ELS process under Setup to see the modified
values.
Note: The modified values are now part of the VisualMotion project.
These new values will appear under the Setup section and will
be used to initialize the ELS system the next time the project is
downloaded to the control.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-33
SelectVirtualMasterSetup.tif
VmDataSetup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-34 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Use Default Labels Default variable labels and comments can be added by simply leaving the
Use Default Labels checkbox checked. This is the default setting.
All necessary labels for registers, register bits, and program variables will
begin from the float and integer start id block entered in the Declaration
window. Refer to Use Default Labels on page 4-25 for details.
For default register and variable label values, refer to section 6.1,
Electronic Line Shafting, for details.
VirtualMasterSetup.tif
Selecting Program Variables to Virtual Master Setup values can be selected to retain their last value
Retain Data Value during a system re-initialization or system power down. Refer to Defining
Process Variables to Retain Values on page 4-26 for details.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-35
VMSetup.tif
VirtualMasterEditing.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-36 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
SelectELSMaster.tif
Note: Unlike the other ELS processes that require register and
variable declarations for each individual configuration, the first
ELS System Master that is added declares all the required
registers and variables for all 6 ELS Masters.
The ELS Master Declaration window displays the default register values
and start ID blocks for the floats and integers for the selected ELS Master
number. 48 floats and 30 integers are reserved for all 6 ELS Masters.
ELSMasterDataSetup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-37
Use Default ELS Master Labels Default variable labels and comments can be added by simply leaving the
Use Default Labels checkbox checked. This is the default setting.
All necessary labels for registers, register bits, and program variables will
begin from the float and integer start id block entered in the Declaration
window. Refer to Use Default Labels on page 4-25 for details.
Note: Default labels are added for all 6 ELS System Master whether
or not all 6 are configured in a project.
For default register and variable label values, refer to section 6.1,
Electronic Line Shafting, for details.
Note: The ELS Master Setup window does not contain an Advanced
button. Unlike the other ELS processes, all ELS Master data is
require to be re-initialized to a know value.
ELSMasterSetup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-38 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Index
The ELS Master Number is a unique number assigned to the ELS Master
currently being configured. Up to 6 ELS System Master can be setup in a
VisualMotion project.
Type
Real A Real Master is either a primary (motor) or secondary encoder (position
feedback) from a drive. Each drive in the system can potentially provide
two Real Masters. The raw position value of the Real Master can be
filtered and geared by a M/N ratio. A maximum of three Real Masters can
be assigned.
Note: A Real Master can be primary encoder that are not a slave of
an ELS Group or secondary encoder.
Note: Virtual Masters are initialized using the Virtual Master icon
before they are assigned a number.
ELS Group An ELS Group Master is the output of an ELS Group that can be used as
an input master signal to a different ELS Group.
Link Ring This option sets the selected ELS System Master to receive the master
position of the External Number Link Ring node.
Master Encoder Card The Master Encoder Card (DAG) card can also provide up to two
feedback signals from a GSD and/or a 1 V peak-to-peak encoder.
Encoder
Select the encoder type as either a Primary or a Secondary encoder. If
the encoder type selected is an absolute or multi-turn encoder, place a
check in the Multi turn box.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-39
2 1/2
Second order Butterworth, G(s)=1/(s +2 s +1)
3 2
Third order Butterworth, G(s)=1/(s +2s +2s+1)
Modified 2nd order low-pass with velocity ramp tracking,
2
G(s)=(2s+1)/(s +2s +1)
Modified 3rd order low-pass with accel ramp tracking,
2 3 2
G(s)=(3s +3s+1)/(s +3s +3s+1)
When a filter type is chosen, a cutoff frequency for the filter must be
Cutoff Frequency (float): entered. The cutoff frequency is the frequency where the signal is
reduced by 3db. When set to 0 the filter is disabled.
To ensure a stable system, use the following calculation when entering a
value for the Digital Filter Cutoff Frequency:
1
Cutoff Frequency <
2 * Sampling Rate(sec.)
The sampling rate for a drive axis is the set phase 4 Sercos cycle time
(S-0-0002), entered in seconds.
Example: For a 2 ms Sercos cycle time, the cutoff frequency is calculated
as follows:
1
Cutoff Frequency < = 250 Hz
2 * 0.002
The following figure illustrates the frequency vs. degrees for each filter.
The cutoff frequency is 10 hertz and the sampling rate is 4 ms.
F7
-40.000º
-60.000º
F4
-80.000º
F3
-100.000º
-120.000º
The following figure illustrates the gain vs. frequency for each filter. The
cutoff frequency is 10 hertz and the sampling rate is 4 ms.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-40 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
1.400
CUT OFF FREQUENCY
Sampling Rate = 4 ms (10 Hertz)
1.200
F6
1.000
F5
0.800
F7
F2
0.600
F3 F1
0.000
0.1 1.0 10.0 100.0
GAIN FREQUENCY (log scale)
When a filter is chosen, the cutoff frequency for the filter must be entered.
For example, the cutoff frequency for the First order low-pass filter is the
frequency where the signal is reduced 3db [.707 gain, db=20*log(gain)].
Velocity Dead Time Velocity Dead Time Compensation becomes active when a digital filter is
Compensation applied to a Real Master. This feature allows the user to add 4 Sercos
cycles of velocity feed forward phase advance to an ELS Real Master to
compensate for delays in control processing. The phase advance is
performed where the Real Master position data is brought into the ELS
System Masters such that the ELS System Master output user variables
will reflect the phase advance. Since ELS propagates information from
the Masters to the Groups via position and velocity (primarily by velocity),
both the Real Master’s position and velocity are advanced.
The Dead Time Compensation can be disabled for individual Real
Masters for applications in which undershoot/overshoot during velocity
changes could cause problems. The functionality of the feature is such
that compensation is enabled by default. Users will need to disable it if
they do not want to use it with their application.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-41
Slip Monitor
The Slip Monitor feature is used to compare the position signal of two
ELS System Masters. Initially, the slip monitor is configured under Setup
but can be modified in the Initialization task by using the SlipMon icon.
Refer to Slip Monitoring for ELS Masters in section 6.1, Electronic Line
Shafting.
SlipMonitor.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-42 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Note: Axes used in an ELS Group are setup under Setup ⇒ Axes.
Refer to ELS Group Axis Setup on page 4-22.
SelectELSGroupSetup.tif
ElsGroupDataSetup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-43
Use Default ELS Group Labels Default variable labels and comments can be added by simply leaving the
Use Default Labels checkbox checked. This is the default setting.
All necessary labels for registers, register bits, and program variables will
begin from the float and integer start id block entered in the Declaration
window. Refer to Use Default Labels on page 4-25 for details.
For default register and variable label values, refer to section 6.1,
Electronic Line Shafting, for details.
ElsGroupSetup.tif
ELS Group Number: Select an ELS Group number from the drop-down list. Only ELS Groups
configured in the Setup will be available for selection.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-44 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Local Master Configuration The Local Master Configuration is used to set the Initial, Maximum and
Positioning values for the ELS Group. For specific information on how to
setup the Local Master Configuration, refer to section 6.1 in volume 1 of
the Rexroth VisualMotion Functional Description.
Local_master.tif
Initialize on Phase-up Certain Local Master Configuration values can be selected to retain their
last value during a system re-initialization or system power down. Refer
to Defining Process Variables to Retain Values on page 4-26 for details.
Master Selection The Master 1 and Master 2 drop-down list is used to set the ELS System
Master type that will be used as the input master for the current ELS
Group. The available master types are dependent on the ELS Masters
configured under Setup. Refer to System Masters Setup on page 4-36
for details.
ELSGrpMasterType.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-45
CAM Section The options available in the CAM section depend on the radio button that
is selected. The available radio buttons are Lock/Unlock and Profile.
Advanced…
Displays default Lock / Run / Unlock CAMs
CAM = Lock/Unlock (38, 39 and 40). User defined CAMs can
ELS Group output can have a GMP (relative Master be selected.
phase) and default Lock / Unlock CAMs applied.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-46 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Synchronization Setup For specific information on how to setup synchronization, refer to section
6.1 in volume 1 of the Rexroth VisualMotion Functional Description.
ELS_Synch.tif
Phase Control For specific information on how to setup phase control, refer to section
6.1 in volume 1 of the Rexroth VisualMotion Functional Description.
ELS_Phase_Cntrl.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-47
ELSGroupInit.tif
ELS Group master positions During phase 2 of power up, you can select to use either old values or
initialization at Phase 2 one of the following:
• the variables initialized by the internal group master being set to the
value of the active group input master
• the cam table input position set to the internal group input master
position plus the group master offset
• the state of the state machine set to 1
• the old values kept for absolute master and group slave offset
• the ELS group master position calculated with the cam equation
ELS Group master positions In phase 4 of power up, the ELS group can be reinitialized when the local
evaluation with forcing mode is active and the ELS group master is at standstill
(G#_ST_MOTION is 0). Under these conditions, the following variables
are not updated by the control and can be overwritten:
• Internal group input master position
• Group cam table input position (used to calculate the ELS group
master position)
• ELS group master position (only when bit 9 in the ELS configuration
word is set to 1)
• State of the state machine for lock on/lock off (used to calculate the
ELS group master position)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-48 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
SelectCoordArtSetup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-49
CoordArtSetupData.tif
For default register and variable label values, refer to section 6.1 for
details.
Use Default Coordinated Default variable labels and comments can be added by simply leaving the
Articulation Labels Use Default Labels checkbox checked. This is the default setting.
All necessary labels for registers, register bits, and program variables will
begin from the float and integer start id block entered in the Declaration
window. Refer to Use Default Labels on page 4-25 for details.
For default register and variable label values, refer to section 6.3,
Coordinated Motion, for details.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-50 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
CA_CamSetup.tif
Initialize on Phase-up Sync. CAM Setup values can be selected to retain it's last value during a
system re-initialization or system power down. Refer to Defining Process
Variables to Retain Values on page 4-26 for details.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-51
CA_ManualMode.tif
Initialize on Phase-up Manual Mode Setup values can be selected to retain it's last value during
a system re-initialization or system power down. Refer to Defining
Process Variables to Retain Values on page 4-26 for details.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-52 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Kinematic Setup
The Kinematic Setup window is used to enter the predefined values of the
kinematic equation that will be used to determined the positioning of up to
six coordinated axes.
CA_KinematicSetup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-53
CA_WorldCoord.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-54 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
SelectCAMindexerSetup.tif
CAMindexerData.tif
The CAM Indexer Declaration window displays the default variable values
for the CAM Indexer and default variable values and registers used for
Registration. The registration values for a CAM Indexer are used only if
the Enable Registration checkbox is selected.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-55
Use Default CAM Indexer Labels Default variable labels and comments can be added by simply leaving the
Use Default Labels checkbox checked. This is the default setting.
All necessary labels for registers, register bits, and program variables will
begin from the float and integer start id block entered in the Declaration
window. Refer to Use Default Labels on page 4-25 for details.
The following tables list the floats and integer variable labels:
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-56 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
RegistrationSection.tif
The following tables list the floats and integer variable labels:
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-57
Note: When using CAM Indexers, increase the Sercos cycle time
(C-0-0099) to 4ms or more to allow time for the equation
calculations.
Refer to section 8.4, CAM Indexer, for details on the functionality of the
CAM Indexer settings and options.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-58 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
CAMindexerSetup.tif
Initialize on Phase-up Some CAM Indexer Setup values can be selected to retain their last value
during a system re-initialization or system power down. Refer to Defining
Process Variables to Retain Values on page 4-26 for details.
Start Position (Ps) Defines the virtual or real master position (in degrees) at which the CAM
index profile starts.
Stop (Pe) Position Defines the virtual or real master position at which the CAM index profile
stops.
Length (D) Defines the distance (in EE units) the slave axis moves during an index
cycle. The velocity profile developed depends on the start/stop positions,
profile type, index length and master speed.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-59
Drum Diameter (Dia) Allows for automatic scaling of the index distance into degrees. The
following equation is applied:
Angle = (D/Dia)(360/π)
Internal CAM units (degrees) are computed automatically through this
parameter.
Note: When the Drum Diameter is set to zero, its default value is
360°/rev. The benefit of this is that internal 64 bit math can be
used to minimize rounding errors.
Move Profile
The following types of Move Profiles are available:
Profile Description
Triangle Step Acc/Dec of 50%
Triangle (S-Curve) Ramp Acc/Dec of 50%
Trapezoid (Fixed) Step Acc/Dec of 33%
Trapezoid Step Acc(x%)/Dec(y%), x+y≤100%
Trapezoid (S-Curve ) Ramp Acc(x%)/Dec(y%), x+y≤100%
Triangle w/Dwell Step Acc/Dec, center dwell
Triangle w/Dwell (S-Curve) Ramp Acc/Dec, center dwell
Trapezoid w/Dwell (S-Curve) Ramp Acc/Dec, center dwell
Trapezoid w/Dwell Step Acc/Dec, center dwell
Trapezoid w/Dwell Step Acc(x%)/Dec(y%) x+y≤100%, Sw% dwell
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-60 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
CAM Dwell (Cw) - Some CAMs (see table) use this parameter to
determine the center of the dwell. This is defined as a percent, which is
limited to 25% to 75% of the CAM cycle.
CAM Dwell (Tw) - Some CAMs use this parameter to determine the
amount of dwell within their cycle. A dwell is a period of time during which
the CAM is stopped.
Tw is limited by the following relationship:
Max(Tw) = 2.0*Min[ 0.40*(Pe-Pw)/Vm, 0.40*(Pe-Pw)/Vm ]
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-61
Registration Setup
Registration Setup is used to initially configure the following data:
• Probe Distance
• Valid Probe Window
• Probe Sensing
• Correction Window
• Maximum Correction
• Auto Correction
• Correction Profile
For specific information on Registration functionality, refer to section 8.4,
CAM Indexer.
RegistrationSetup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-62 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
SelectPIDSetup.tif
PIDdata.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-63
Use Default PID Loop Labels Default variable labels and comments can be added by simply leaving the
Use Default Labels checkbox checked. This is the default setting.
All necessary labels for registers, register bits, and program variables will
begin from the float and integer start id block entered in the Declaration
window. Refer to Use Default Labels on page 4-25 for details.
The following table describes the different setting in the PID Data window:
Settings Description
PID Loop PID Loop configuration number. Up to 32 loops are
supported in a G*P 11 project.
Loop Time PID Loop update rate, selectable in multiples of 8 ms
from 8 to 152 ms
Control Register Register number assigned for control functions.
Status Register Register number assigned for status functions.
Starting Float Block First float number in a block of 20 contiguous floats.
Set Point Float or register where user defined PID target value is
stored.
Feedback Float, axis parameter, or register where current
calculated feedback value from PID is stored.
Output Float, axis parameter, or register where current
resultant PID output value is stored.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-64 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-65
PIDLoopSetup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-66 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Initialize on Phase-up Some PID Loop Setup values can be selected to retain their last value
during a system re-initialization or system power down. Refer to Defining
Process Variables to Retain Values on page 4-26 for details.
Feedback: Digital filtering is available for PID loops and Real Masters.
Filter Type:
None
First order low-pass, G(s)=1/(s+1)
2
Second order low-pass, G(s)=1/(s +2s +1)
3 2
Third order low-pass, G(s)=1/(s +3s +3s+1)
2 1/2
Second order Butterworth, G(s)=1/(s +2 s +1)
3 2
Third order Butterworth, G(s)=1/(s +2s +2s+1)
Modified 2nd order low-pass with velocity ramp tracking,
2
G(s)=(2s+1)/(s +2s +1)
Modified 3rd order low-pass with accel ramp tracking,
2 3 2
G(s)=(3s +3s+1)/(s +3s +3s+1)
Cutoff Frequency(float):
When a filter type is chosen, a cutoff frequency for the filter must be
entered. The cutoff frequency is the frequency where the signal is
reduced by 3db. When set to 0 the filter is disabled.
To ensure a stable system, use the following calculation when entering a
value for the Digital Filter Cutoff Frequency:
1
Cutoff Frequency <
2 * Sampling Rate(sec.)
The sampling rate for a PID loop is the set PID Loop Time, entered in
seconds.
Example: For a 8 ms PID Loop Time, the cutoff frequency is calculated
as follows:
1
Cutoff Frequency < = 62.5 Hz
2 * 0.008
The following figure illustrates the frequency vs. degrees for each filter.
The cutoff frequency is 10 hertz and the sampling rate is 4 ms.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-67
F7
-40.000º
-60.000º
F4
-80.000º
F3
-100.000º
-120.000º
The following figure illustrates the gain vs. frequency for each filter. The
cutoff frequency is 10 hertz and the sampling rate is 4 ms.
1.400
CUT OFF FREQUENCY
Sampling Rate = 4 ms (10 Hertz)
1.200
F6
1.000
F5
0.800
F7
F2
0.600
F3 F1
0.000
0.1 1.0 10.0 100.0
GAIN FREQUENCY (log scale)
When a filter is chosen, the cutoff frequency for the filter must be entered.
For example, the cutoff frequency for the First order low-pass filter is the
frequency where the signal is reduced 3db [.707 gain, db=20*log(gain)].
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-68 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Note: The PrmInt and PrmBit icons have been removed from the
initialization palette for G*P 11 projects. Pre-G*P 11 projects,
opened using VisualMotion Toolkit 11 (without converting to a
G*P 11 project) will display the PrmInt and PrmBit icons in the
initialization palette. These programs can be compiled and
downloaded to the control using VisualMotion Toolkit 11 with
complete support for the PrmInt and PrmBit icons.
Older firmware targets (i.e., G*P 10) that are converted to a
G*P 11 project should use Setup ⇒ Parameters for any new
parameter initialization. Existing PrmInt and PrmBit icons in
the program will be supported and can be compiled and
downloaded to the control.
After selecting Parameters from the Project Navigator window, right click
and select Append to begin.
ParameterSetup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-69
Parameter Type
The Parameter Type window is used to select control, axis, task, or drive
parameters for setup initialization.
ParameterTypeSelection.tif
When the Next > button is selected, the window that follows depends on
the parameter type selected. Refer to the following table for details:
Parameter Set
From the Parameter Set window, one or more axis, task, or drive (S and
P) parameter types can have parameter values initialized at one time. To
select multiple items, for example axis 1, 3, 5, hold the Ctrl key down
while making selections. To select a range of items, for example axis 1-
5, hold the Shift key down while making selections.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-70 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
ParamSetSelection.tif
ParamInitExample.tif
Clicking the Next > button, opens the Parameter Number window
containing a list of valid parameters that can be configured for the items
selected in the Parameter Set window.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-71
Parameter Number
The Parameter Number window is used by all parameter types to select
an individual parameter to be initialized at program activation. When
opened, the Parameter Number window loads a list of valid control, axis,
task, or drive (S or P) parameters. Double clicking on a specific
parameter opens the Parameter Value window. Refer to Setting
Parameter and Parameter Bit Values for details.
ValidCparameters.tif
InitParamValue.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-72 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Constant Data
By default the Constant Data checkbox for binary type parameters is
selected. It allows the user to enter a constant value for the parameter.
The allowable settings for each bit are as follows:
• 0 (off state)
• 1 (on state)
• X (state does not matter)
ParamConstData.tif
Global Variables Global variables, designated GF[#] (global float) and GI[#] (global integer),
are stored in the control's memory and their values are not retained after
power is disconnected. Global floats and integers can, however, be
saved to flash memory using VisualMotion Toolkit’s Data Editor. Refer to
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-73
Adding Variables
A convenient method for programming with VisualMotion is to declare all
variables in the VM Data Table before creating the icon program. Select
the VM Data Table button ( ) from the VisualMotion tool bar or select
Edit ⇒ VM Data… to open the VM Data Table window, see Fig. 4-78.
After selecting the appropriate tab in the VM Data Table window, right
click in the field to add an item or right click on an item in the field to edit
it. With the VM Data Table complete, variables can be accessed in the
icon setup windows by selecting the browse button.
VM_Data_Table.tif
For the sample program in section 4.10, the following four floats will be
defined:
• F1 = Initial_Acceleration
• F2 = Initial_Velocity
• F3 = Initial_Move
• F4 = Initial_Home
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-74 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Editing Variables
Variable numbers, labels, and values are listed in the Data Editor window
in VisualMotion Toolkit, which is opened by selecting Data ⇒ Variables.
The window lists all program and global floats and integers, see Fig. 4-79.
Each of these can be edited by double-clicking them. Modifications to
variables are read immediately by the control and take effect when the
program flow reaches the icon the variable is assigned to.
Drop-down list
contains
variable types
Variables can be for display in
modified by double table
clicking on a specific
variable and editing
the value in the pop-
up window.
Assign
_Program_Floats.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-75
Home icon used to command a homing procedure from drives connected to Task A
motors with a single turn encoder.
Go icon used to command an axis that is initially halted. Task A
Wait icon used to monetarily stop program flow until the specified condition is met Task A
Branch icon used to redirect program flow based on specified condition Task A
NewProject.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-76 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Note: The Axis icon has been removed from the initialization palette
for G*P 11 projects. All axes used in a G*P 11 project are now
configured from the Setup folder in the Project Navigator
window.
1. To setup an axes, expand the Setup folder and select the Axes icon
folder.
2. Right click over Single Axis and select Add an axis.
AddaSingleAxis.tif
7. After making the necessary settings, click the Next > button to
continue to the Axis Properties window.
8. From the Axis Properties window, set the options according to the
following figure:
Option Setting
Lagless checked
Positioning Mode Linear
Positioning Type Absolute
Encoder Motor
Units inches
Table 4-29: Axis Properties Window Settings
9. After making the necessary settings, click the Next > button to
continue to the Configure Axis Probes window.
10. This sample project will not use probe functionality. Click the Finish
button to complete the initialization of the axis.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-77
Init_Task_Icon_Prgrm.tif
Create a Subroutine A subroutine can be used in the Initialization task to improve program
readability.
To add a Subroutine Icon:
1. Click the Subroutine icon in the toolbar and place it between the Start
and Finish icons.
2. Type the name of the subroutine in the Subroutines window.
Subroutine_Name.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-78 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Calc_Setup.tif
Note: A caption for the Calc icon can be added in the Calculation
window by selecting the Caption… button. Captions appear
below the icon in the icon workspace if View ⇒ Icon captions
is selected from the main menu in VisualMotion.
AxisSetupSub.tif
TaskA_Icon_Setup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-79
Note: When opening a Task for the first time, VisualMotion Toolkit
will prompt you to automatically place a Start and Finish icon in
the icon workspace.
Homing an Absolute Encoder For purposes of an example, this icon program will assume that a motor
with an absolute encoder is being used.
3. Place a Go icon to the right of the Start icon, set the motion type to
Non-Coord, and identify the axis as 1.
4. Place a Move icon to the right of the Go icon, select Absolute for the
move type and enter the axis number 1 and distance of 0.
5. Place a Wait icon to the right of the Move icon, set Wait for to Axis in
Position and identify the axis as 1.
Programming Motion 6. Place the Accel icon to the right of the Wait icon and identify the axis
as 1.
7. Use the browse button to select the float for the Rate field. In this
example, the Initial_Acceleration float was established with the
value for the rate of acceleration.
Accel_Setup.tif
8. Place the Velocity icon to the right of the Accel icon. This icon sends
the velocity rate that will be used in the move calculation to the drive .
9. Enter a 1 to specify the axis.
10. Use the browse button to select the float for the Rate field. In this
example, the Intial_Velocity float was established with the value for
the velocity rate.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-80 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
The units for the velocity of the axis appear by default in the window
according to the type of axis motion set in the axis icon.
Velocity_Setup.tif
11. Place the Move icon to the right of the Velocity icon. This icon sets
the distance that will be traveled by the specified axis.
12. Select Absolute for the move Type.
Move_Setup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-81
15. Place a Wait icon to the right of the Move icon. The task execution
(program flow) is suspended at this point until the condition set in the
Wait icon is true. In this sample program, the task waits until Axis in
Position.
Wait_Setup.tif
16. Place the Branch icon to the right of the Wait (Axis in Position) icon.
This icon re-directs the program flow based on a true/false logical
value. This creates a continuous loop within the program depending
on the value of register 100 bit 9.
Branch_Setup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-82 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Note: The Branch icon will loop back to a specified icon until the
branch condition is true. In this example, the Finish icon will
not be encountered until register 100 bit 9 has the value 1.
17. Place a second Move icon just below the previous Move icon. This
icon sets the return distance for the specified axis.
18. Select Absolute for the move Type.
19. Enter a 1 to specify the axis number.
20. Use the browse button to select the float for the Distance field. In
this example, the Initial_Home float represents the distance the axis
will move.
Move2_Setup.tif
21. Place a Wait icon to the left of the second Move icon and select Axis
in Position.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-83
Encoder_Type.tif
Homing a Drive
The homing procedure is an internal function of Rexroth's intelligent digital
drives and requires only that VisualMotion send a home command to the
drive. Refer to the drive help system for information about drive homing.
Single_Encoder_Homing.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-84 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Homing_Setup.tif
2. Place a Go icon to the right of the Home icon, set the motion type to
Non-Coord, and identify the axis as 1.
3. Place a Wait icon to the right of the Go icon, set Wait for to Axis in
Position and identify the axis as 1.
Note: A Wait icon is used to allow the axis to perform the homing
routine before the Move command is executed.
Multi-turn Encoder
For multi-turn encoders, use the following icon setup for the homing
routine. The sequence of icons is shown in the Fig. 4-86.
1. Place a Go icon to the right of the Start icon, set the motion type to
Non-Coord, and identify the axis as 1.
2. Place a Move icon to the right of the Go icon, select Absolute for the
move type and enter the axis number 1 and distance of 0.
3. Place a Wait icon to the right of the Move icon, set Wait for to Axis in
Position and identify the axis as 1.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-85
4. Click the Select Items to Share with IndraLogic button and choose
the following data types:
a) System register and bits
b) Task A-D control registers and bits
c) Task A-D status registers and bits
d) User Registers: IO_Box_inputs and IO_Box_outputs
Items can be selected individually or in groups by right clicking on the item
name and selecting Check items and subitems.
Note: For the default I/O mapping POU to work, Do Not Prepend
Data Type to Label available under the Options menu.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-86 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Synch_Proj_Data.tif
Saving a Project
Icon programs are saved in the project folder on the computer. When a
project goes online, the icon program is automatically saved to the project
folder on the computer. To save an icon program when offline, use the
Save Program option in the VisualMotion File menu.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-87
I/O Box
The I/O Box is a VisualBasic interface designed for activating and
monitoring an icon program. It is installed by default during the
VisualMotion installation and is accessed through the main menu in
VisualMotion Toolkit.
To open the I/O Box tool:
1. Select Tools ⇒ Registered Tools ⇒ IoBox
2. Click Accept in the Load I/O Box window.
The I/O Box window opens with 400 EMERGENCY STOP displayed, as
shown in Fig. 4-97.
IOBox_New.tif
To activate the icon program with the I/O Box, use the following
sequence:
3. Clear the error by selecting the E-Stop button and then the Clr Err
button. The control should be in Manual Mode.
4. Select the Auto button to put the control in auto mode.
5. Select the Stop button.
6. Select the Start button to activate the icon program.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-88 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
4.12 VM Data
The VM Data Table is used to Add, Delete, Edit, Find, Browse, Shift,
Import and Export the following VisualMotion data types.
• Program Integer (Ix) and Floats (Fx)
• Global Integer (GIx) and Floats (GFx)
• Constants
• Local Variables
• Events
• Registers
• Bits (register)
• Points (ABSolute and RELative)
• Zones
VMdataTable.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-89
VmDataPopUp.tif
Find (F3)
Selecting Find or pressing the F3 key opens the Find window. From the
open window, any items can be found in the current VM Data window by
entering a matching or partially matching Number, Variable Name or
Comment.
VmDataFind.tif
Browse
Selecting Browse opens the Browse Project for Data Usage window.
Refer to section 10.2 regarding Browsing a Project for Data Usage and
Icon Flow for details.
Shift
The Shift Indexes window is used to shift a single item or a group of items
Up (-) or Down (+) by the amount entered in the Increment field. To shift
an item(s), select the item(s), enter the number of increments to shift and
press the OK button. The Up shift selection, subtracts the Increment
value from the current index number. The Down shift selection, adds the
Increment value to the current index number.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-90 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
VmDataShift.tif
VMDataSorting.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-91
Note: The value of all integers and floats is saved with the project
even during a power lost condition.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-92 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
System default integers and floats, such as those used for ELS, will
appear in the VM Data Table if assigned in their corresponding icons.
Add an Integer or Float
Right click and select Add… to open the Add Integer(Float) window.
Enter a number and name for the integer or float. The Comment field is
optional. Since VisualMotion allocates memory for the first 50 integers
and floats, any number entered that is greater than 50 will become the
top-level number with additional memory allocated.
AddInteger.tif
For example:
If the number 200 is entered, VisualMotion will allocate memory for 200
integers. Even if only one integer or float is displayed in the VM Data
Table. Each integer and float is allocated 4 bytes of memory. The total
memory allocated for integers and floats can be viewed by selecting the
Data Summary tab.
Since the VM Data Table only displays the number and name (label) of an
integer or float, the actual value of each integer or float in a project can be
viewed and defined by selecting Data ⇒ Variables… (In online mode)
and selecting the appropriate Type.
Note: The value of global variables is not saved if the control loses
power unless the values are flashed using the Save Global
Variables Command (C-0-0082). Refer to section 8.2, Data
Editor, regarding Variables for details.
System default global integers (GIx) are assigned, with fixed memory, for
all programs. These global integers are reserved for counter, timer and
shift register output functions.
The maximum number of global variables in a program is fixed and
defined by the following control parameters:
• C-0-0080, Maximum number of global integers
• C-0-0081, Maximum number of global floats
The default numbers are 512 for global integers and 256 for global floats.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-93
AddGlobal.tif
Since the VM Data Table only displays the number and name (label) for
global variables, the actual value for each global variable in a program
can be viewed and defined by selecting Data ⇒ Variables… (In online
mode) and selecting the appropriate Type.
Constants
Constants are displayed listing the Constant Value, Constant Name and
Comment of all defined constants in a program. Constant names are
created to represent a fixed numeric value in an icon program.
The user can use a name assigned to a value instead of the value itself.
The benefit of this would be; for example, if the same numeric value is
used within multiple icons, the user need only modify the value in the VM
Data Table instead of a value in each icon.
Add a Constant
Right click and select Add… to open the Add Constant window in offline
mode. Enter a numeric value and name for the constant. The Comment
field is optional.
AddConstant.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-94 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Local Variables
Only local variables that are used in the current task, subroutine or event
are displayed in the VM Data Table. Local variables cannot be added in
the VM Data Table. Local variables are added in the Start icon.
LocalVar.tif
Since the VM Data Table only displays the number and name (label) for
local variables, the actual value for each local variable in a task,
subroutine or event can be viewed and defined by selecting Data ⇒
Variables… (In online mode) and selecting the Type: (Task A Local
Variables).
Function Arguments
Only function arguments that are used in the current subroutine are
displayed in the VM Data Table. Function Arguments cannot be added in
the VM Data Table. Function arguments are added in the subroutines'
Start icon.
FuncArgu.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-95
Since the VM Data Table only displays the number and name (label) for
function arguments, the actual value for each function argument in a
program can be viewed and defined in the Start icon of the subroutine
where it resides.
Events
Events are displayed listing the Number, Name, Argument, Type and
Function of all events in the current project.
Events.tif
Add an Event
Right click and select Add… to open the Add Event window in offline
mode. From this window, the user can create events, select the event
type, initialize an argument value and assign an event function. For
detailed examples on creating events and event functions, refer to
chapter 5.2, Events.
AddEvent.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-96 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Registers
Registers are displayed listing the Register Number, Register Name and
Comment field for all registers that have been assigned a name other
than default name (Reg_070). The first 100 registers are reserved for
control and system functions, while others are recommended as defaults
for applications such as ELS.
Add a Register
Right click and select Add… to open the Add Register window in offline
mode. Enter a number and name for the register. The Comment field is
optional. A VisualMotion system can contain up to a maximum of 1024
registers.
AddRegister.tif
Since the VM Data Table only displays the number and name (label) for
assigned registers, the actual value of each register in a program can be
viewed and defined by selecting Data ⇒ Registers (In online mode).
Bits
The Bits window displays the Register-Bit Number, Bit Name and
Comment field for all register bits that have assigned a name other than
the default name (Bit_01). Only those bits that have been assigned
names will be displayed.
Add a Bit
Right click and select Add… to open the Add Bit window in offline mode.
A bit name is assigned to a register number. Enter a Register Number,
Bit Number and Bit Name. The Comment field is optional. A
VisualMotion register can contain up to 16 bits. Only those bits assigned
to a register number and given a name will be displayed in the VM Data
Table.
AddBit.tif
The VM Data Table only displays the number and name (label) for
assigned register bits. The actual value of each register bit in a program
can be viewed and defined by selecting Data ⇒ Registers (In online
mode) and double-clicking a register number to open the bits window.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-97
AddPoints.tif
For example:
If the number 200 is entered, VisualMotion will allocate memory for 200
points. Even if only one point is displayed in the VM Data Table. Viewing
points by selecting Data ⇒ Points will display a list of 200 points. Each
ABS or REL point is allocated 44 bytes of memory. The total memory
allocated for points can be viewed by selecting the Data Summary tab.
DataPoints.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-98 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
Zones
Zones are displayed for all defined zones in the current project. Zones
are not displayed in the VM Data Table until a number and name (label)
has been assigned.
Add a Zone
Right click and select Add… to open the Add Zone window. From this
window, the user can assign a number and name, active zones for
specific task and initialize (x, y, z) coordinate values for points 1 and 2.
AddZone.tif
For example:
If the number 15 is entered, VisualMotion will allocate memory for 15
zones. Even if only zone number 15 is displayed in the VM Data Table.
Selecting Data ⇒ Zones displays a list of 15 zones. Each zone is
allocated 28 bytes of memory. The total memory allocated for zones can
be viewed by selecting the Data Summary tab.
DataZones.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-99
Data Summary
The Data Summary tab displays the total memory allocation by
VisualMotion for Integers, Floats, Global Integers and Floats, Points and
Zones.
DataSummary.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-100 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
4.13 Labels
EditLabels.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-101
Variable Labels
Selecting Edit ⇒ Edit Labels ⇒ Variable Labels opens the User
Defined Labels window, used to provide symbolic ASCII names for Float,
Integer, Global Float, Global Integer, Absolute or Relative point values.
The User Defined Labels window allows you to assign an ASCII name to
a value or system component, as previously described. To sort the list
alphabetically by label, select the radio box by Name. . To sort the list
alphabetically by ID, select the radio box by ID Number Order. After
labels are defined, instead of explicitly entering a value or redefining a
system component, the label can be entered by accessing the User
Defined Labels window and selecting the appropriate label.
To add a new label:
1. Click Add… to open the Add Variable Label window below.
2. Enter the desired Type, Name, Constant Value (if applicable) and
Comment (up to 80 characters).
3. Click Apply or OK.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-102 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
2. Enter the desired Type, Name, Global Integer (if applicable) and
Comment (up to 80 characters).
3. Click Apply or OK.
Register Labels
Selecting Edit ⇒ Edit Labels ⇒ Register Labels opens the Register
Labels window, used to provide symbolic ASCII names for the
VisualMotion control status and I/O registers.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-103
To sort the list alphabetically by label, select the radio box by Name. To
sort the list alphabetically by ID, select the radio box by ID Number
Order. After register labels are assigned and the program is saved, the
labels are embedded in the motion program (the .str file) and will not be
lost if the program is later transferred to a different VisualMotion system.
New programs are loaded with the default register names. Refer to
chapter 16 in volume 2 of the VisualMotion Functional Description,
Registers, for default register names.
Bit Labels
Selecting Edit ⇒ Edit Labels ⇒ Bit Labels opens the Bit Labels
window, used to provide symbolic ASCII names for individual bits within
VisualMotion control and I/O registers.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-104 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
To sort the list alphabetically by label, select the radio box by Name. To
sort the list alphabetically by ID, select the radio box by ID Number
Order.
After bit labels are assigned and the program is saved, the labels are
embedded in the motion program (the .str file) and will not be lost if the
program is later transferred to a different VisualMotion system. New
programs are loaded with the default bit names.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 VisualMotion Programming 4-105
To sort the list alphabetically by label, select the radio box by Name. To
sort the list alphabetically by ID, select the radio box by ID Number
Order.
After bit labels are assigned and the program is saved, the labels are
embedded in the motion program (the .str file) and will not be lost if the
program is later transferred to a different VisualMotion system. New
programs are loaded with the default bit names. Refer to chapter 16 in
volume 2 of the VisualMotion Functional Description, Registers, for
default bit names.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4-106 VisualMotion Programming Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-1
5 Programming Capabilities
5.1 Overview
This chapter presents supplementary tools available for programming with
VisualMotion 11. Events provide a method for executing special
programs based on a specific condition in a program task. Position
Monitoring Group (GMP), Proportional Integrative Derivative (PID), and
Programmable Limit Switch (PLS) function in the background of a motion
program to provide monitoring and signal output.
5.2 Events
Events are special subroutines that run only after they have been armed
and a specific predefined condition has been met. This provides an
advanced method for programming greater accuracy to an icon program
for controlling the execution of a task. An event consists of a trigger and
an event function.
Trigger The trigger is the information used when arming an event and contains
the following components:
Trigger Description
Component
Event Number Numerical value identifying the event trigger in the project
Event Name User defined label for the event trigger in the project
Event Argument The value or condition that triggers (executes) the special
subroutine (event function) to run
Event Type This could be one of the following: coordinated motion,
single-axis motion, Repeating Timer, Rotary, Probe, or I/O.
Refer to Event Types on page 5-7 for details.
Event Function The name for the special subroutine called by the trigger
Name
Event Function An event function is a special subroutine that runs when the trigger
condition is met.
Event Triggers
VisualMotion Toolkit offers multiple methods for adding event triggers to
an icon program. The Events tab in the VM Data Table window displays
all the data associated with each event trigger in the project and allows
data to be edited, deleted, and created in offline or online mode.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-2 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
VM_Data_Table_Events.tif
Event triggers can be enabled through event arming icons such as, Event,
Move, Circle, and Path icons. Event types such as, Single Axis or
Coordinated Motion are predefined and selected based on the icon.
Refer to Event Types on page 5-7 for details.
Note: The Calc icon can also be used to configure an existing event
trigger in the icon program. Memory must be allocated using
the VM Data Table before the Calc icon can be used to
configure an event trigger. Refer to VM Data Table on page 5-
6 for details.
Event Functions
An event function is a subroutine that runs when the configured trigger
condition is met. Event functions can be added by selecting Edit ⇒ VM
Data Table… or Insert ⇒ Event Function… from the VisualMotion main
menu. An event function can also be added by right-clicking the Event
Functions folder in the Project Navigator tab.
Add_Event_Function.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-3
This opens the Event Function Control Block window where the event
name is entered. After the event function name is entered, a new icon
programming workspace opens with a Start and Finish icon in place.
E_function_block.tif
Create the event function that will run when the condition in the icon
program is true.
Arm I/O
many-to-one, one-to-many &
one-to-one relationships
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-4 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
Event Processing
If more than one event is used in a program, the events are prioritized
according to the following designation:
Highest Priority 1 - PPC-R X1 Input Event
Priority 2 - Events from Task A
Priority 3 - Events from Task B
Priority 4 - Events from Task C
Priority 5 - Events from Task D
Priority 6 - Timer Task (repeating events)
Lowest Priority 7 - User Tasks A, B, C, and D
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-5
Event Programming
Event triggers and functions in a project can be created or modified in
either offline or online mode. VisualMotion 11 provides the following
methods for programming events in a project.
Note: Service mode can also be used to edit event triggers and
functions. However, when using service mode, only the data
on the control will be modified. It is the responsibility of the
programmer to ensure that all project related data is properly
imported in to the project files. Refer to Importing Project Data
in chapter 10 of the VisualMotion 11 Functional Description for
details.
Method Description
Event Arming Icons The Event, Move, Circle, and Path icons can be
configured to arm event triggers
VM Data Table Used to name an event trigger, select an event type,
configure the argument (trigger condition) and select
the event function that will run.
Data Editor In online mode, argument values can be modified.
In offline mode, the event type and argument can be
modified.
Event Function folder in Used to add, delete, and edit event functions
Project Navigator
The steps for configuring or modifying events are the same in offline,
online or service mode. The only difference is the target where the data
will be saved. When programming in offline mode all data is saved to the
project files on your hard drive. When programming in online mode, only
event trigger arguments can be modified. All other event trigger data,
although it can be created or modified in online mode, must be saved and
synchronized with the project in order for the changes to take effect.
Refer to Synchronize Project Components in chapter 10 of the
VisualMotion Functional Description for details.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-6 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
Event functions associated with the event triggers are executed based on
the distance set in the Move icon and not from the actual feedback
position. Refer to Single Axis Motion Events on page 5-9 for details.
Path and Circle Icons The Path and Circle icons are used for absolute or relative coordinated
motion. Event triggers for the Path and Circle icons are not associated
directly with the icon but with the ABS or REL point assigned to the icon.
Absolute or Relative points can have up to 4 event triggers configured.
Refer to Coordinated Motion Events on page 5-7 for details.
VM Data Table
The configuring and allocation of memory for event triggers is done in the
VM Data Table under the Events tab.
Allocating Event Triggers in a Memory allocation in the VM Data Table is calculated based on the
Project largest event trigger number configured.
For Example:
If only one event trigger is added and identified as number 5, then the
control allocates memory for up to 5 event triggers. Afterwards, the Calc
icon can be used, as part of the icon program, to configure event triggers
1, 2, 3, and 4. An error will be issued if the Calc icon is used to configure
an event trigger numbered 6.
Data Editor
The Data Editor can be used to modify existing event trigger data such
as, argument value and event type. As an online tool, an event argument
for a specific event trigger can be modified for a running program. Also,
the status of an event can be monitored. The editor provides the
following status indications:
Event Trigger Status Description
Inactive not triggered
Pending triggered but not queued
Queued triggered and awaiting execution of event function
Executing event function is running
Done complete
Repeat retriggered and armed
The Data Editor under menu selection Data ⇒ Events is used for
modifying event arguments in a running program.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-7
Event Types
The following table provides an overview of the supported event type in
VisualMotion 11:
Event Type Examples Arming Auto Maximum Priority*
Mechanism Rearm Number
Coordinated • Start a move from No 4 events per move 2–4
Motion another axis segment Based on the assigned
task
• Control a glue gun
Single Axis • Start a move from No 4 events per 2–4
Motion another axis single axis move Based on the assigned
task
• Control a glue gun
Repeating • Switch a pump on Yes 16 in a project 6
Timer every hour Lowest priority
Runs independent of
• Calculate statistics
any task
every minute
Rotary • Control a valve Yes 4 for each axis, 2–4
Repeating Axis group, or master Based on the assigned
• Change the H- Task
Factor
• Start a move from
another axis
Probe • Latch motor No 2 per drive 2–4
position of drive for Based on the assigned
registration function Task
• Detect product
position on a belt
I/O Register • Move SERVO to a Yes 16 in a project 1 for Task A
predefined position
after opening a
door
Task Input • Start a calculation Yes 1 per task 2–4
Transition Based on the assigned
• Move SERVO to a Task
predefined position
after opening a
door
Note: When using a jerk filter (non-zero jerk value) within a path
segment, the triggering of an event function within the path
segment may not occur as expected.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-8 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
Fig. 5-6: Path Icon Setup for Percentage of Coordinated Path Event
2. From the setup window of a Path or Circles icon, select the browse
button to open the VM Data Table window.
3. Select the ABS or REL Points tab.
4. If selecting an existing point, right-click on the desired point and select
Edit ... If no points exists or a new point is to be created, right-click in
the empty table and select Add …
5. Check a box in the Enable Event section of the Point window to
enable the browse button.
6. Click the browse button to open the VM Data Table displaying only
events.
7. Select an event trigger that will be assigned to the point. If an event
trigger does not exists, right-click the empty window, click Add … and
create a new event trigger.
8. Name the event trigger, enter an Argument value and select the
desired Coordinated Motion Event Type.
The following table lists the event types available for the Path or Circle
icon along with their arming behavior, maximum number and description.
Note: Only the name of a newly created function will appear in the
Event window. The actual event function can be program by
expanding the Event Function folder in the Project Navigator
window and double-clicking on the event function name.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-9
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-10 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
3. Click the browse button to open the VM Data Table and select the
Events tab.
4. Select an event trigger that will be assigned to the move. If an event
trigger does not exists, right-click the empty window, click Add … and
create a new event trigger.
5. Name the event trigger, enter an Argument value and select the
desired Single Axis Event Type.
The following table lists the event types available for the Move icon along
with their arming behavior, maximum number and description.
Note: Only the name of a newly created function will appear in the
Event window. The actual event function can be program by
expanding the Event Function folder in the Project Navigator
window and double-clicking on the event function name.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-11
Note: Single axis motion event triggers are executed when the Move
icon is encountered in the icon flow, regardless of the move
type (Absolute or Relative).
Special Case for When an event trigger argument is larger than the remaining distance, at
Distance from End of Move the moment the Move icon is encountered, the event function will still
execute. VisualMotion will calculate a new event trigger as follows:
Example:
Target Position 20mm
Single Axis Event Type Distance from End of Move
Argument 15mm
Current Position 10mm (non-Modulo)
Axis Positioning Mode Linear
10mm 20mm
Current position where Target Position
event trigger is armed defined in Move icon
Fig. 5-9: Special Case for Distance from End of Move Event Type
Special Case for When an event trigger argument is larger than the remaining moving
Distance from Start of Move distance, at the moment the Move icon is encountered, the event
function will still execute. VisualMotion will calculate a new event
trigger as follows:
Example:
Target Position 12mm
Single Axis Event Type Distance from Start of Move
Argument 10mm
Current Position 5mm
Axis Positioning Mode Linear
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-12 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
5mm 12mm
Current position where Target Position
event trigger is armed defined in Move icon
Fig. 5-10: Special Case for Distance from Start of Move Event Type
Special Case Single Axis Event Special care must be taken when using multiple Move icons to trigger
Triggering Behavior events for the same axis. The Move icon can arm up to 4 event triggers
for the same axis. However, if the event trigger within one Move icon
does not execute the associated event function before a second Move
icon is armed, the first event function will be overwritten by the second
event function.
To prevent any overlapping of event triggers when using multiple Move
icons for the same axis, place the event triggers at different levels within
the Move icons. Refer to Fig. 5-11 for details.
Note: Event triggers can be placed at the same level within Move
icons as long as the timing between event triggers allows
enough time for the event functions to execute.
EvtTriggerLevel.tif
If a Stop icon (Abort and Stop exhibit the same behavior) interrupts a
Move icon procedure before its event function executes, the event trigger
for the event function remains in the stack and will be executed when the
axis reaches the event trigger position.
If a Move icon arms an event trigger and then an ELS Mode Change icon
changes the operation mode to Velocity or ELS before the axis reaches
the event trigger position, the event stays pending in the stack and will still
be executed.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-13
Special Case for Single Axis The following example describes the single axis event trigger behavior
Rotary Positioning when using rotary positioning with a single axis Move icon. The following
should be taken in to consideration:
• S-0-0393, Command Value Mode, is used with the event trigger
position calculation. The shortest path, positive and negative direction
settings are part of the calculation.
• When using SGP03 and SGP20 firmware on EcoDrive 03, the axis
can be configured for a relative move beyond one modulo value. In
this case, all single axis event functions will trigger within the first
modulo value of 360 degrees.
Example:
Target Position 720 degrees
Single Axis Event Type Distance from End of Move
Argument 5 degrees
Current Position 200 degrees
Axis Positioning Mode Rotary
When the event is triggered, the expected reaction would be for the event
function to execute 5 degrees before the end of the move (after 715
degrees of travel). However, because single axis event triggers are
executed within the first modulo value (360 degrees), the event function
will actually execute after 355 degrees from the point where the Move
icon is encountered. Refer to Fig. 5-12 for details.
360°
195°
355°
200° 195°
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-14 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
Note: Repeating Timer events are auto rearming. This means that it
will continuously run, until it is disarmed, even after its
associated task has ended.
Repeating_Timer_Event.tif
3. Type an event name in the Event Trigger field, select the event
name from the Events tab in the VM Data Table window, or create a
new event name by selecting Add to open the Add Event window.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-15
Note: Rotary events are auto rearming. This means that it will
continuously run, until it is disarmed, even after its associated
task has ended.
Rotary_Event.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-16 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
Probe Event
VisualMotion supports Sercos probe functionality and real-time bits along
with the event system. Typically, probes are used to detect registration
marks on material. When the position is captured, the drive signals the
control with a real-time bit in the Sercos cyclic data telegram (AT). When
the control detects a change in the real-time bit, it can execute an optional
event function.
IndraDrive, Diax 04, and EcoDrive 03 digital drives support up to two
probe inputs that can be used for capturing feedback positions and/or
time values. The following table lists the drive hardware and firmware
types that support probe inputs.
The inputs are wired in each drive according to the following figure:
probe_inputs.FH7
Note: For IndraDrive: If both probes are used, the 4 drive CAM
support will be transmitted over the service channel.
The probe inputs are scanned every µs. Upon either a positive or
negative transition of a probe input, the drive captures and places the
position into the cyclic data telegram.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-17
Note: It is also important that the value being read in the feedback
event matches the parameter in the amplifier telegram (AT). If
feedback is requested from a probe and its associated
parameter is not in the AT, the service channel is used to
transmit the data.
2. Specify the Axis, Motion, and Drive in the Motion Selection window.
3. Click the Next button, setup the Axis Properties and continue to the
Configure Axis Probe window.
Probe_Config.tif
4. Select the probes that will be associated with each event trigger in the
Configure Axis Probe window.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-18 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
The following table lists the four probe trigger sources and their
associated Sercos and control parameters:
Probe Trigger Sercos Parameter Control Parameter
Probe 1, 0->1 S-0-0130 A-0-171
Probe 1, 1->0 S-0-0131 A-0-172
Probe 2, 0->1 S-0-0132 A-0-173
Probe 2, 1->0 S-0-0133 A-0-174
Table 5-8: Available Probe Triggers
5. Select and place an Event icon in the icon program and select the
Arm Event radio button.
Probe_Event.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-19
I/O Events
Events can be triggered through an I/O register or bit. There are four
types of I/O Events:
• Task Input Transition
• I/O Register Event
• PPC-R Input Event (0->1)
• PPC-R Input Event (1->0)
Task Input Transition Event Bit 9 of each Task Control Register (002-005) is reserved as an event
interrupt input for the task. Every low-to-high transition of this input can
trigger an event function. Following a high-to-low transition of the input,
the event trigger is rearmed automatically. To disarm the event trigger,
an additional event icon in the program flow is necessary to disarm the
event.
The control scans the input every 2ms and queues an event trigger upon
a low-to-high transition. The event function will take priority over the user
tasks, allowing quick response to an external input.
IndraLogic can be used to invert the logic of the interrupt input, or to direct
other external inputs to the Task Control Register’s Event Interrupt bit.
I/O Register Event An I/O Register event uses the bits of register 88 (USER_XI_REG) as
inputs for up to 16 separate event triggers. Once an I/O Register event
trigger is initially armed, every low-to-high transition of the bit will cause
the event function to run. The event trigger is rearmed automatically after
the high-to–low transition of the bit. An Event icon must be used in the
icon program to disarm an I/O register event.
The bits in register 89 (USER_XO_REG) show the event status of their
corresponding bit in register 88. This provides an external output to
indicate the event is armed and ready for operation. Once an I/O register
event is armed in the icon program, the corresponding bit in register 89 is
set high. The bit in register 89 is set low again when the event is triggered
and is set high again when the event is rearmed. The register 89 output
bits are also set low if the event is disarmed using the Event icon.
PPC-R X1 Input Event The PPC-R X1 High Speed Inputs can be used for high priority events.
When pins 3, 4, or 5 on connector X1 of the PPC-R detect a positive or
negative rise, the associated event function is triggered. If another event
is currently running and a PPC-R X1 input event is triggered, it will run
immediately after the current event has finished and before the next event
in the stack.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-20 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
PPC-RX1_IO_Supply.
Adding an I/O Event I/O Events are added using the Event icon in VisualMotion. To add an I/O
Event to a project:
1. Place an Event icon in the task where the event will occur.
2. In the Event Arm/Disarm window, select Arm Event.
3. Select I/O for the Event Type.
4. Type the name of the event function or select or create one by
selecting the VM Data Table button.
5. In the VM Data window, select the Events tab and select an event or
click the Add button to create a new event.
6. In the Add Event window, enter the event number and name.
7. Select the I/O Event Type and enter the event function name or
create a new one with the New Function… button.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-21
Add_Event_IO.tif
Runtime Setup
The Runtime setup allows you to dynamically change the event argument
and/or event function for an existing event. The Runtime setup values for
an event will overwrite the values for that same event in the VM Data
Table.
Runtime changes can be set in the Runtime Setup field in the Event and
Move icons.
The Runtime Setup field in the Event and Move icons has a Set… button
which opens the Runtime Event Configuration window.
Runtime_Setup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-22 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
Event_Function.tif
Runtime_Event_Config.tif
The checkbox can also be used to deactivate either setting so that the
program will continue to use the original settings in the event trigger.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-23
PMGconfig.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-24 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
System/Position Initialization
Before position monitoring can become active, the PMG parameters are
processed. This process dynamically creates and initializes internal data
structures with valid settings. The processing of the PMG # List of Axis
and PMG # LIST of Position Offsets runs during every occurrence of
system initialization (Phase- 2 Æ Phase-4). If any parameter is set
incorrectly, errors are reported before the system is able to run in phase
4. In general, all position signals must have the same data format (in,
mm, deg) and likewise, mechanical system (M/N ratios, feed
constants/modulo, etc…). The system automatically detects if the
position master is a modulo axis (e.g. reads S-0-0076, bit 7) and
calculates the deviation window accordingly. The deviation window
parameter will be scaled in the units of the master signal.
PMGsettings.tif
Fig. 5-24: Position Monitoring Group Settings
Deviation Method
This selection sets the method of deviation that will be used in the
system. The selections include:
• Deviation from Primary Signal
• Min/Max Group Deviation Window
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-25
Primary Signal
The primary signal is the master signal that is used when the deviation
method is set to “Deviation from Primary Signal”. The available primary
signal sources are listed in the table below.
Primary Signal Description
Feedback Position (A-0-0102) An axis’ feedback position is used as a
master signal
Command Position (A-0-0101) The axis’ command position value is used as
a master signal
ELS System Group Position An ELS Groups (1-8) output position is used
as a master signal
ELS System Master An ELS System Master (1-6) is used as a
master signal
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-26 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
Note: The maximum allowable value that can be entered is 90. The
PMG uses the current system unit settings.
Deviation from 15 15 1
Primary Signal 0 Error Bit
Min/Max Group:
Group's Deviation If the group’s deviation between the
Min/Max Group Min and Max slave position is greater
than 30.
Deviation Window
Slave positions within a PGM group
WordArt
Note: PMG error bits are set to 0 when a PMG group is disabled.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-27
SlaveAxisSelect.tif
Primary Slave
The available selections within the Primary Slave field are dependent
upon the type of Primary Signal selected in the previous window. The
selected primary slave is stored in control parameter C-0-32x2 (PGM #
List of Axis) as the first entry. The allowable primary slave types are listed
based on selected primary signals.
Primary Slave Primary Signal
Axis 1-64 Feedback Position (A-0-0102) or
Command Position (A-0-0101)
Groups 1- 8 ELS System Group Position
ELS System Master 1- 6 ELS System Master
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-28 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
SlaveOffsetDef.tif
Note: Slave offsets must be set after all axes in the system have
been referenced for the application.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-29
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-30 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
5.4 PID
VisualMotion can support up to 32 PID (Proportional, Integral, Derivative)
control loops with each program. These PID’s are parameterized with
program variables or registers, and have a minimum update rate of 8ms.
A choice of optional filters (Low-pass or Butterworth) may be applied to
the feedback signal.
The PID causes corrective action to be taken before a problem becomes
unmanageable. For instance in a machine dispensing chocolate onto a
conveyer the chocolate must be kept at a certain temperature so as to
hold it’s form once dispensed but not thicken too early restricting the flow
rates. The PID function would keep the temperature within the too hot
and too cold limits much more precisely than a simple on off switch
controlled by a thermostat.
The PID instruction is activated at program activation with communication
in Sercos phase 2 or greater and it’s control register “PID Enable” ( bit 5 )
set. The tasks do not need to be running. PIDs are configured under
Setup ⇒ Processes ⇒ PID Loops. Refer to section 4.7, PID Loops
Setup, for details. The runtime tool is available in online mode under
menu selection Data ⇒ PID…
PIDRuntime.tif
PID Properties
Selecting File ⇒ Properties in the PID runtime tool opens the PID
Properties window below. This window displays the variables, registers
and Control Block start float that was setup under Setup ⇒ Processes ⇒
PID Loops.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-31
PID_Properties.tif
PID_Tune.tif
A grouping adjusting the Kd, Kp, Ki, integral preset, and integral limit are
provided. The output grouping also has min, max limits for it. The
feedback has an optional digital filter to condition the signal.
Refer to section 4.7, PID Loops Setup, for details
PID Instruction
The PID instruction configures a PI or PID control loop. The set point,
feedback, and output variables can be registers, integers, floats, or
parameters; appropriate conversions are supplied. Control factors (Ki,
Kp, Kd, Last_I_Result_Preset) and limits (min., max.) can be constants or
variables. Minimum loop update time is 8 milliseconds. In operation, the
PID instruction only needs to be executed once in the program flow. The
label for the PID loop is its control registers label.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-32 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
Tension
Command
PID Limiter
Tc =
Tc_Scaler(Command D_Result = Output
– Tc_Bias) Kd * (Tf – Tf_old) = Min
Internal
Command Y
Value
Error Output N N
P_Result = Output Output
+ Kp * Error + > Max < Max
+
Y
Internal
Feedback I_Result = N
Value Last_I_Result I_Result +
> I_Max Output
+ (Ki * Error) = Max
Tf = Tf_Scalar(Feedback Y
– Tf_Bias)
I_Result To = To_Scalar(Output –
Preset Value = I_Max To_Bias)
Tension
Feedback Output
Value
Tension
Out
PLS Object
A PLS object receives an input position from one associated axis or
master and switches on and off digital outputs based on the programmed
on and off positions.
The following figure illustrates a basic PLS object.
Switch 1 Output 1
One Drive . .
Feedback Device one-to-many . .
* Note
or ELS Master relationship . .
Input Type . .
Switch n Output m
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-33
ControlPLSobject.vsd
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-34 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
Drive-based I/O (i.e., DEA4.2M card) can be configured for a PLS output.
Refer to “PLS Register Assignment” on page 5-44 for details.
EcoDrive 03 Drive Up to 16 switches can be assigned to an EcoDrive 03 Drive PLS. Each
switch can also be assigned an individual lead-time. The following
EcoDrive 03 drive firmware supports 16 switches:
• FWA-ECODR3-SGP-01VRS-MS
• FWA-ECODR3-SGP-03VRS-MS
• FWA-ECODR3-SGP-20VRS
• FWA-ECODR3-SMT-02VRS-MS
• FWA-ECODR3-MGP-01VRS-MS
DrivePLSobject.vsd
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-35
Supported Drives
Diax 04 / IndraDrive
Parameters Description EcoDrive 03 MPx03/04 Updated
IndraDrive PLS Signal IndraDrive drive parameter P-0-0130 contains a list of valid PLS input
Selection List signals. The desired input signal is written to parameter P-0-0131 in
Sercos phase 2. The following input signals are supported:
• S-0-0000 No assignment
• S-0-0051 Position feedback 1
• S-0-0053 Position feedback 2
• P-0-0052 Actual position measuring encoder
• P-0-0434 Position command value of controller
• P-0-0775 Resulting master axis position
• P-0-0776 Effective master axis position
• P-0-0778 Synchronous position command
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-36 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
Note: The maximum speed for any Option Card PLS input master is
3500 rpm. Only one Option Card PLS can be ordered for a
PPC control.
Note: The same input type can be used for more than one PLS
object. For example, ELS Master 1 can be the configured
input type for 2 or more PLS objects.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-37
The following tables list each parameter with a description and the control
phase in which it is updated.
General Parameters Parameter Description Updated
C-0-2901 PLS1 Start Output Register Phase 4 (read/write)
C-0-2902 PLS1 Start Mask Register Phase 4 (read/write)
C-0-2903 PLS1 Build Table Command Phase 4 (read/write)
C-0-2904 PLS1 Build Table Status Phase 4 (read)
C-0-2905 PLS1 Switch Table Command Phase 4 (read/write)
C-0-2906 PLS1 Switch Table Status Phase 4 (read)
C-0-2907 PLS1 Error Code Phase 2 (read) / Phase 4
C-0-2908 PLS1 Extended Error Code Phase 2 (read) / Phase 4
C-0-2909 PLS1 Hardware ID Phase 2 (read) during
power up
C-0-2910 PLS1 Software ID Phase 2 (read) during
power up
Table 5-17: General Parameters for an Option Card PLS
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-38 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
Programming Modes
A Control, Drive, or Option Card PLS (if equipped) can be enabled and
configured using the VisualMotion PLS tool. PLS configurations can be
parameterized or edited in offline, online, or service mode. Online and
service modes require a serial or EtherNet connection to the control. The
PLS tool is launched by selecting Commission ⇒ PLS…
EnablePLS.tif
Downloading Hardware Perform the following steps to download the current hardware
Configuration from Control configuration from the control:
1. With a serial or EtherNet connection to the control, establish
communication with VisualMotion Toolkit.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-39
TransferHardConfig.tif
The hardware configuration of all the drives in the Sercos ring has been
saved to the offline project data. Now, all PLS configurations, including
Drive PLS can now be configured without a connection to the control.
Add a Drive PLS The PLS Tool displays a Drive icon place holder with no configured Drive
PLS when no hardware configuration is downloaded to the control.
Perform the following steps to add a Drive PLS:
1. Right-click on the PLS tree icon and select Add Drive PLS…
AddDrivePLS.tif
2. Select the drive type (ECODRIVE03 or DIAX04) and specify the Drive
# (Sercos Address).
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-40 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
NewPLS.tif
3. Once a drive is selected, a PLS wizard will guide the user through the
initial configuration. Refer to Configure a Control or Drive PLS on
page 5-41 for details.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-41
Note: Control and Option Card PLSs are present by default. Drive
PLSs are uploaded automatically in online mode. In offline
mode, a Drive PLS is added by right-clicking on the main PLS
icon and selecting Add a Drive. Refer to Add a Drive PLS on
page 5-39 for details.
PLS_Switches.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-42 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
Note: The On and Off positions for each switch is relative to the units
of measurement in axis parameter A-0-0005 and task
parameter T-0-0005.
For example, if these parameters are set to 1, then the unit of
measurement for the switch’s On and Off positions is mm.
Switch_Config.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-43
Control_PLS_Master.tif
The Phase field allows you to enter an offset value that is added to the
output of the PLS master.
Drive PLS The available Encoder types to use as a Drive PLS Master are:
• Primary
• Secondary
PLS_Master_Encoder.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-44 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
PLS_Reg_Assign.tif
The Mask register is used to force the state of the output register bits. At
power-up, the bits in the mask register are set to 0 to prevent any
unwanted outputs from becoming enabled. The Control PLS switches
assigned to an output register will not function until the state of the
register’s complementary mask register bits are set to 1.
Note: The default state of the Output and Mask Registers is zero (0).
The user must set the corresponding mask register each time
after power-up.
The Mask register bits cannot be set to 1 before the PLS is configured.
After the PLS is configured and downloaded to the control, the state of
each Mask register bit can be set to 1 by selecting Data ⇒ Registers
from the VisualMotion main menu. Only an Output Register with a Mask
Register set to 1 will output a signal in the Control PLS register.
Note: The Mask Register field for Control PLS 2 is inactive because
the next consecutive number from the Control PLS 1 Mask
Register number is automatically assigned. If the Control PLS
1 mask register is edited, Control PLS 2 mask register will
automatically be updated.
Drive PLS Diax 04 drive switches are assigned to bits 01-08 and EcoDrive 03 drive
switches are assigned to bits 01-16.
Note: No Mask register is required for a Drive PLS. The Drive PLS
output register is always active.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-45
DrivePLS_Reg_Assign.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-46 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
DX04P4plsout.EPS
Fig. 5-47: DEA4 I/O Configured for Diax 04 Drive PLS Output
PLS_Option_Card.tif
3. Option Card PLS switches are added and removed by clicking on the
Add Switch or Remove Switch button.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-47
Note: The On and Off positions for each switch is relative to the units
of measurement in axis parameter A-0-0005 and task
parameter T-0-0005.
Example:
If these parameters are set to 1 (mm), then the unit of
measurement for the switch’s On and Off positions is mm.
3. Enter an Output number for the switch. The user can assign up to 96
switches to one output or distribute them among the available 16 or
32 outputs.
4. When all the switches are configured, press the OK button to close
the Switch # Configuration window and return to the PLS Switches
tab.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-48 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
PLS_Master3_Config.tif
8. Select a Number from the drop down list corresponding to the input
type selected.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-49
Note: During the initial setup, the Mask register bits cannot be set to
(1). After the PLS is configured and downloaded to the
control, the user must manually set the state of each Mask
Register bit to (1) by selecting Data ⇒ Registers from
VisualMotion’s main menu. Only the Output Register whose
Mask Register is set to (1) will output a signal on the Option
Card PLS.
PLS_Output_Reg_Assign.tif
Output Registers The Start and End registers are assigned to the PLS outputs for
monitoring the status of each output. The Start Output Register is
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-50 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
Note: The default state of the Start and End Registers is zero (0).
The user must set the corresponding mask register each time
after power-up.
PLS_Graph.tif
PLS_Output_Assign.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-51
Output Configuration
The Output Configuration window is used to fine tune each PLS output.
From the Output # Data section, the user can make timing adjustments
and set the direction in which the switch is recognized. The Output Index
section is used to navigate up to 32 outputs. From the Output # Switches
section, the user can view the current switch(es) configured to an output,
add or remove any switches or edit a switch’s On/Off position. The
Output # PLS Master section is used to assign a PLS Master to the
output.
PLS_Output_Config.tif
Holding the cursor over the following fields will display the corresponding
parameter to which the configured value is stored.
Field Name Parameter Condition
Lead Time C-0-2931 Always active
Lag Time C-0-2932 Active when Mode = Lag Time
PT (Time Duration) C-0-2933 Active when Mode = PT Mode
Hysteresis C-0-2936 Always active
Mode C-0-2934 Always active
Direction C-0-2935 Always active
Number C-0-2941 Always active
(Output # PLS Master)
Table 5-23: Output Configuration Parameters
Output # Data From the Output Configuration window, the user has the following
configuration options:
• Lead Time (C-0-2931) - The amount of time that the output is enabled
prior to reaching the switch’s On position. This value is used by the
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-52 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
lead_lag_time.FH7
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-53
hysteresis.FH7
Mode (C-0-2934)
The mode radio buttons enable options for Lag Time and PT.
Lag Time When selected, the Lead Time, Lag Time and Hysteresis fields are
available for data entry.
PT When selected, the Lead Time, PT and Hysteresis fields are available for
data entry.
Direction (C-0-2935)
This option sets the direction of the switches configured for the output in
the Output # Switches section.
Positive When set to positive direction, all switches associated with the output will
enable the output only in the positive direction with the On switch position
and disable the output with the Off switch position.
Negative When set to negative direction, all switches associated with the output will
enable the output only in the negative direction with the Off switch
position and disable the output with the On switch position.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-54 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
Note: The PLS Output Master Number field can only be written to
while the system is in Sercos phase 2.
Output 1 Switches The Output # Switches section displays all the configured PLS switches
that were assigned to the output.
In addition to these switches, the user can double-click on a switch or
press the Add/Remove button to open the Output Switch Configuration
window.
Output_Switch_Edit.tif
Switches can be added or removed using the << Add and Remove >>
buttons. between Available Switches and Output # Switches by first
selecting the switch. A switch’s On/Off position can be edited in either the
Available Switches or Output # Switches locations.
Note: The Output field can not be modified from this window. To
change the output of a switch, << Add it to the desired output
in the Output # Switch section.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-55
Project Mode
A PLS configuration can be edited in online and offline mode. Data
modified in offline mode is read and saved to and from the project’s offline
data. It is synchronized with control data by selecting the Online toolbar
button or by selecting File ⇒ Online. Modifying a PLS configuration that
was created as part of a VisualMotion 11 project in offline project mode,
ensures the PLS configuration will be saved in the correct format for the
projects and the data is synchronized with the project.
Online Editing PLS data edited in online mode is read from the control’s memory. The
synchronization of project data edited and saved in online mode is
dependent on whether or not the data can be written to in the control’s
current operating phase (phase 2 or phase 4). The following figure
illustrates how edited data is synchronized with the control data.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-56 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
Save PLS
Configuration
Online
Phase
2
Project
Data saved to
Mode remains
offline project
synchronized
Phase
4
Yes
Can data Data saved to
Project
be written to in offline project and
Synchronized
Phase 4? control memory
No
Discard
changes All data that can
be saved in Project
Handling PLS edits
Phase 4 is saved Synchronized
to project
Save data to
project file
Project
Unsynchronized
To edit a project’s PLS configuration, open the project “*.vmj” file and
select Commission ⇒ PLS. Any Control, Drive or Option Card PLS
saved to the offline data or downloaded to the control will be displayed in
the PLS tool.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-57
PLS_Upload.tif
Service Mode
Modifications to a PLS configuration stored in the control’s memory can
be performed when VisualMotion is in service mode. PLS configurations
downloaded to the control or saved to a file in service mode are not
synchronized with a project’s offline data. Modifications must be imported
into the VisualMotion project to be synchronized with offline data.
The following steps outline the procedure for uploading and downloading
an existing PLS configuration from and to the control for modifications.
1. Start VisualMotion and select View and edit control data in “Service”
mode.
2. Select Commission ⇒ PLS to open the PLS Tool.
PLS_Tool_Service.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-58 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-59
PLS_Build.tif
PLSconfigImport.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-60 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
Monitor_PLS.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-61
In service mode, the PLS Tool issues the following PLS Message window
if a PLS configuration is uploaded from the control, modified and
downloaded to the control and then the Monitor Status icon ( ) or the
F7 key is pressed.
PLS_Message.tif
Access_PLS.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-62 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
Control PLS
The following table lists the elements of a Control PLS that can be
modified using the Calc icon.
Syntax Description Variable Range Example Comment
PLS[x].a Number 1-64 when t=3 or 4, Drive No. PLS[1].a=2 set drive number of PLS 1
1-6 when t=5, ELS Master to 2
1-8 when t=6, ELS Group
PLS[x].o Phase Offset PLS[1].o=20 add an offset of 20 to PLS
1
PLS[x].r Output Register PLS[1].r=70 set output register of PLS
1 to 70
PLS[x].t PLS Input Type 3 = Drive’s primary feedback PLS[1].t=3 set input type of PLS 1 to
4 = Drive’s secondary feedback 3 (drive’s primary
5 = ELS Master feedback)
6 = ELS Group
PLS[x].on1-on16 On Position PLS[1].on1=10 switch 1 On position is 10
PLS[x].off1-off16 Off Position PLS[1].off1=20 switch 1 Off position is 20
PLS[x].lt1-lt16 Lead Time PLS[1].lt1=5 switch 1 lead time is 5
x = PLS number 1-2
Table 5-24: Elements of a Control PLS
Drive PLS
The following table lists elements in the Drive PLS that can be modified
using the Calc Icon:
Syntax Description Example Comment Parameter
PLSD[x].r Output Register PLSD[1].r=72 set output register of drive 1 to 72 A-0-0009
PLSD[x].t PLS Input Type PLSD[1].t=1 set input type of drive 1 to 1 P-0-0131
Diax 04 & EcoDrive 03:
1 (S-0-0051)
2 (S-0-0053)
IndraDrive using MPx03 and MPx04:
51 (S-0-0051)
53 (S-0-0053)
32820 (P-0-0052)
33202 (P-0-0434)
33543 (P-0-0775)
33544 (P-0-0776)
33546 (P-0-0778)
PLSD[x].on1- On Position PLSD[1].on1=10 switch 1 On position for drive 1 is 10 P-0-0132
on16
PLSD[x].off1- Off Position PLSD[1].off1=20 switch 1 Off position for drive 1 is 20 P-0-0133
off16
PLSD[x].lt1- Lead Time PLSD[1].lt1=5 switch 1 lead time for drive 1 is 5 P-0-0134
lt16
x = drive number range 1- 64
Table 5-25: Elements of a Drive PLS
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Programming Capabilities 5-63
Switch Elements
The following switch elements can be modified through the Calc icon.
Syntax Description Example Comment Parameter
PLSP[1].ony On Position PLSP[1].on3=40 switch 3 On position is 40 C-0-2920
PLSP[1].offy Off Position PLSP[1].on3=60 switch 3 Off position is 60 C-0-2921
PLSP[1].outy Assigned Output PLSP[1].out3=2 switch 3 is assigned to output 2 C-0-2922
y = switch range 1- 96
Table 5-27: Switch Elements of an Option Card PLS
Output Elements
The following Output elements can be modified through the Calc icon.
Syntax Description Example Comment Parameter
PLSP[1].lty Lead Time PLSP[1].lt2=500 add a lead time of 500µs to output 2 C-0-2931
PLSP[1].lgy Lag Time PLSP[1].lg2=500 add a lag time of 500µs to output 2 C-0-2932
PLSP[1].ssy PT (Time Duration) PLSP[1].ss2=1000 maintain output 2 On for 1000µs C-0-2933
PLSP[1].hy Hysteresis PLSP[1].h2=0.1 add a hysteresis of 0.1 to the output 2 C-0-2936
PLSP[1].mdy Mode PLSP[1].md2=0 set mode of output 2 to Lag Time C-0-2934
(0=Lag Time, 1=PT)
PLSP[1].dry Direction PLSP[1].dr2=0 set direction of output 2 to positive C-0-2935
(0=pos, 1=neg, 2=pos/neg)
y = output range 1-32
Table 5-28: Output Elements of an Option Card PLS
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
5-64 Programming Capabilities Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-1
6 Operating Modes
ELS Overview
GPP supports six system masters in any combination up to a maximum
of the following types:
• 2 Virtual Masters
• 6 Real Masters (including Master Encoder Card)
• 6 ELS Group Masters
• 6 Link Ring Master IN
• 1 Link Ring Master OUT
Virtual Masters, Real Masters (primary, secondary feedback device, or
Master Encoder Card) and ELS Group Masters can be combined and
assigned to one of 6 ELS System Masters. The master signal from each
active system master is conditioned (e.g., geared or filtered) and made
available for controlling groups of axes.
Position commands originate from either a Virtual Master in the control or
a Real Master generated by the feedback device on the motor. The
Virtual Master or Real Master signal is assigned a number in the ELS
System connection interface and can be modified before it is sent to an
ELS Group. An output signal from an ELS Group can be sent to another
ELS Group after being assigned a new ELS System Master number. An
ELS Group can switch to a Local Virtual Master signal, which functions
the same as a system Virtual Master when it is used for the ELS Group
Master. The example configuration in Fig. 6-1 shows the signal flow
through a system with 2 Virtual Masters, 2 Real Masters, 1 ELS Group
Master and 4 ELS Groups. Five ELS System Master numbers are
assigned in the connection interface.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-2 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
ELS
Group
master
link master position(s)
(received from Link Ring)
Signal
1 2 3 4 5 6 connection interface
Router
Individual
Axes axes 0 axes 1 2 3 4 5 6 7 8 9 10 11
(for ratio)
Virtual Master
A Virtual master is a component that generates a command stream
based on its input settings. VisualMotion provides two independent
Virtual masters that are used to drive a group of axes or programmable
limit switches. A Virtual Master has two primary modes of operations:
• Velocity Mode – continuous running
• Position Mode – indexing, jogging
Real Master
A Real Master is either a primary motor (positive feedback), secondary
encoder (Aux) signal from a drive or a Master Encoder Card. Each drive
in the system can potentially provide two Real Masters. The raw position
value of the Real Master can be filtered and geared by an M/N ratio.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-3
ELS Group
An ELS Group is defined as a set of slave axes (64 axes maximum) that
follow the position command signal from one of the 6 System Masters.
By using ELS Groups, slave axes are combined, according to their
function, in groups that control each machine section as an independent
process. During operation, an ELS Group can be switched between
master signals. Any changes to ELS Group parameters are immediately
available to all axes assigned to that group, so that precise
synchronization of the machine section is maintained.
Default labels and comments are added during the configuration of ELS
components under Setup ⇒ ELS ⇒ Processes.
The window has two buttons that allow you to add the default labels for
the variables, registers, and bits:
• Add Default Labels - This button adds all default labels for the
data type selected.
• Add All Default Labels – This button adds all default labels for all
three data types.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-4 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
variable_label.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-5
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-6 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Data Object Type Label (20 character limit) Comment (80 character limit)
Assigned control register number VM#_CONTROL_REG Virtual Master # control register
Assigned status register number VM#_STATUS_REG Virtual Master # status register
Default Label Data Object Data Object Comment (80 character limit)
Virtual Master 1 & 2 Virtual Master 1 Virtual Master 2 Virtual Master 1 & 2 Control Register
Control Register Control Register-Bit Control Register-Bit
VM#_CT_FSTOP 150-1 151-1 VM # control, 0 → 1 triggers fast stop
VM#_CT_HOME 150-2 151-2 VM # control, 0 → 1 loads home position
VM#_CT_GO 150-3 151-3 VM # control, 0=stop, 1=go
VM#_CT_VMODE 150-4 151-4 VM # control, 0=position, 1=velocity mode
VM#_CT_RELMODE 150-5 151-5 VM # control, 0=absolute, 1=relative mode
VM#_CT_RELTRIG 150-6 151-6 VM # control, 0 → 1 triggers relative mode
move
Default Label Data Object Data Object Comment (80 character limit)
Virtual Master 1 & 2 Virtual Master 1 Virtual Master 2 Virtual Master 1 & 2 Status Register
Status Register Control Register-Bit Status Register-Bit
VM#_ST_FSTOP 241-1 242-1 VM # status, 1=fast stop active
VM#_ST_HOME 241-2 242-2 VM # status, 1=home complete
VM#_RESERVE3 241-3 242-3 Reserved
VM#_ST_VMODE 241-4 242-4 VM # status, 1=velocity mode
VM#_ST_RELMODE 241-5 242-5 VM # status, 1=relative mode
VM#_RESERVE6 241-6 242-6 Reserved
VM#_ST_ZEROVEL 241-7 242-7 VM # status, 1=standstill, 0=velocity
VM#_ST_INPOS 241-8 242-8 VM # status, 1=in position
Each # symbol represents an entry for the number of the Virtual Master
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-7
Default Label Data Object Comment (80 character limit) Default Units Update
Virtual Master 1 & 2 Virtual Master Virtual Master 1 & 2 Program Variable Value Mode
Program Variable 1 & 2
VM#_HOME_POS F100 F120 Virtual Master # home position 0 Degrees Phase 4
VM#_REL_MOVE_DIST F101 F121 Virtual Master # relative move distance 1 Degrees Phase 4
VM#_STOP_POS F102 F122 Virtual Master # stop position 0 Degrees Phase 4
VM#_CMD_ABS_POS F103 F123 Virtual Master # commanded absolute position 0 Degrees Phase 4
VM#_CMD_VEL F104 F124 Virtual Master # commanded velocity 20 RPM Phase 4
VM#_CMD_ACCEL F105 F125 Virtual Master # commanded acceleration 100 Rad/sec² Phase 4
VM#_CMD_DECEL F106 F126 Virtual Master # commanded deceleration 100 Rad/sec² Phase 4
VM#_E_STOP_DECEL F107 F127 Virtual Master # E-Stop deceleration 500 Rad/sec² Phase 4
VM#_MAX_VEL F108 F128 Virtual Master # maximum velocity 3200 RPM Phase 2
VM#_MAX_ACCEL F109 F129 Virtual Master # maximum acceleration 1000 Rad/sec² Phase 2
VM#_MAX_DECEL F110 F130 Virtual Master # maximum deceleration 1000 Rad/sec² Phase 2
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-8 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Data Object Type Label (20 character limit) Comment (80 character limit)
Control Register 140 (Default) ELS_MSTR_CONTROL Control Register for ELS Masters
Status Register 141 (Default) ELS_MSTR_STATUS Status Register for ELS Masters
Default Label ELS Master 1 to 6 Data Object ELS Master Comment (80 character limit) ELS Master
Register-Bit Status Register
ELS_M_CT_RESERVE1-6 140-1 to 140-6
ELS_M_CT_SET_REF1 - 6 140-7 to 140-12 0 -> 1 Sets ELS Master 1 reference position
for real master (Phase 4 only)
ELS_M_CT_RESERVE13- 14 140-13 to 140-14
ELS_MCT_SLIP_CAPT1 140-15 ELS Master Capture Slip Monitoring
0 = No Capture
1 = Capture Run – Time Data
ELS_M_CT_SLIP_EN 140-16 ELS Master Enable Slip Monitoring
0 = Off
1 = On
ELS_M_ST_STOPPED1 - 6 141-1 to 141-6 ELS Master at Standstill
ELS_M_ST_REF1 - 6 141-7 to 141-12 ELS Master Referenced
1 = Referenced
0 = Not referenced(Real master only)
ELS_M_ST_RESERVE13 141-13 Reserved
ELS_M_ST_SLIP_ERR 141-14 ELS Master Slip Monitoring Error
0 = No error
1 = Error
ELS_M_ST_SLIP_ENC 141-15 ELS Master Slip Monitoring Lead Encoder
0 = Primary
1 = Secondary
ELS_M_ST_SLIP_ENA 141-16 ELS Master Slip Monitoring Enabled
0 = Off
1 = On
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-9
ELS System Master ELS System Master ELS System Master Program Update
Program Variable Program Variable Variable Mode
Default Comment
Default Label 1 2 3 4 5 6 (80 character limit)
ELS_MSTR_FREQ# F140 F141 F142 F143 F144 F145 ELS Master # filter cutoff frequency Phase 2
ELS_MSTR_M# F146 F147 F148 F149 F150 F151 ELS Master # M factor Phase 2
ELS_MSTR_N# F152 F153 F154 F155 F156 F157 ELS Master # N factor Phase 2
ELS_MSTR_SLIP_WINDOW F158 ELS Master max allowed slip deviation Captured on
window rising edge
of capture bit
in P4
ELS_MSTR_SLIP_OFFSET F159 ELS Master position offset for slip Phase 2/4
monitoring
ELS_MSTR_SLIP_VELTHD F160 ELS Master slip monitoring primary velocity Phase 4
threshold
ELS_MSTR_SLIP_PEAK F161 ELS Master peak slip deviation Phase 4
(read-only)
ELS_MSTR_SLIP_ACTUAL F162 ELS Master current slip deviation (actual) Phase 4
(read-only)
ELS_MSTR_STANDSTILL F163 ELS Master Standstill Velocity Threshold Phase 4
ELS_MSTR_POS# F164 F165 F166 F167 F168 F169 ELS Master # output position Phase 4
(read-only)
ELS_MSTR_VEL# F170 F171 F172 F173 F174 F175 ELS Master # output velocity Phase 4
(read-only)
ELS_MSTR_OFFSET# F176 F177 F178 F179 F180 F181 ELS Master # real master offset Phase 4
ELS_MSTR_REF_POS# F182 F183 F184 F185 F186 F187 ELS Master # real master reference Phase 4
position
ELS_MSTR_A# I110 I111 I112 I113 I114 I115 ELS Master # ID number Phase 2
ELS_MSTR_EC# I116 I117 I118 I119 I120 I121 ELS Master # encoder, Real Master only Phase 2
ELS_MSTR_FLTR# I122 I123 I124 I125 I126 I127 ELS Master # filter Phase 2
ELS_MSTR_TYPE# I128 I129 I130 I131 I132 I133 ELS Master # type Phase 2
ELS_MSTR_SLIP_PRI I134 ELS Master slip primary address Phase 2
ELS_MSTR_SLIP_SEC I135 ELS Master slip secondary address Phase 2
ELS_MSTR_CONFIG I136 ELS Master slip monitoring settings Phase 2/4
ELS_MSTR_RSVD1 I137 reserved for ELS Master Phase 2
ELS_MSTR_RSVD2 I138 reserved for ELS Master Phase 2
ELS_MSTR_RSVD3 I139 reserved for ELS Master Phase 2
Each # symbol represents the number of the ELS Master
Shaded program variables are read-only (You can overwrite the current value. However, the ELS system will also overwrite the current value
if it changes in the system)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-10 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
32 31 30 29 . . . 1
Reserved
Velocity Rounding
Bit 30 This bit rounds the Virtual Master (VM#_CMD_VEL) and Group Jogging
Velocity Rounding (G#_JOG_VEL) velocity down to the nearest ELS increment in order to
eliminate small cycle-to-cycle variations in drive velocity that would
otherwise occur.
0 = Disabled
1 = Virtual Master and Group Jogging velocities are rounded-down to the
nearest ELS increment
Bits 31 In Absolute Position Monitoring mode this parameter is used as an
Slip Offset Method absolute offset between the two master encoders, this allows the
Feedback/Master signals to have an offset between the two without
needing to mechanically zero the machine.
0= Fixed Absolute Offset – the value is static and you set an absolute
offset between the two master encoders.
1= Dynamic Offset – the system automatically records the position
difference between the two master signals when the control switches from
phase 2 to phase 4 and on the rising edge of the
ELS_MCT_SLIP_CAPT1 bit.
Bit 32 This bit sets the system reaction to the master encoder signal exceeding
Slip Error Reaction the maximum allowed deviation window limits.
0= Fatal Error (system stops)
1= Warning (user defined)
ELS_MSTR_M# Only Real Masters use the ratio constants (M/N). The output of the
and ELS_MSTR_N# master is governed by the equation y=(M/N)*x, where x is the feedback
value from the real master and y is the master signal used for ELS
Groups. All ELS Masters and ELS Groups outputs are modulo 360
degrees.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-11
ELS_MSTR_A# This variable identifies a valid ID number for a defined master type. For
example, when ELS_MSTR_TYPE# is set to 3 (Virtual Master) this
number must be a 1 or 2. Valid ID numbers are…
• Virtual Master: 1-2
• ELS Group Master: 1-8
• Real Master: 1-3
• Master Encoder Card: 1 - 2
ELS_MSTR_EC# When using an encoder device as a Real Master, this variable identifies
the source.
• 0 = motor encoder
• 1 = external encoder
ELS_MSTR_FLTR# This variable identifies the type of filtering to use for the axis position
feedback. Valid types are…
ELS_MSTR_SLIP_WINDOW In absolute position monitoring mode, this sets the maximum allowable
position difference between the two selected master signals.
• Max Master velocity @ 2ms Sercos = 7500 RPM
• Max Master velocity @ 4 ms Sercos = 3750 RPM
• Max Master velocity @ 8 ms Sercos = 1875 RPM (Link Ring)
ELS_MSTR_SLIP_OFFSET In absolute position monitoring mode, this variable is used to offset two
master encoders. This eliminates the need to mechanically zero the
machine.
Range limits: -180° < X ≤ 180°
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-12 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
ELS_MSTR_SLIP_VELTHD This is the velocity threshold that the primary master encoder must
exceed before the system is able to detect the direction of the primary
encoder.
ELS_MSTR_SLIP_PEAK In absolute positioning mode, this is used to store the peak slip position
deviation between the primary and secondary master signals. Every
Sercos cycle, the system compares the value stored in this variable to the
current slip deviation. If this value is higher than any of the previous
values, it will be set as the new peak deviation position. If you make a
change to your program that lowers your peak value, you can write a zero
to the variable to force the program to overwrite it with the new peak
value.
ELS_MSTR_SLIP_ACTUAL In absolute position mode, this variable displays the current position
difference between the two selected master signals.
ELS_MSTR_STANDSTILL This variable is the velocity threshold that each master output must
exceed before the system sets the master status standstill bit to zero for
each given master (ELS_MSTR_STATUS, bits 1 to 6). This bit will only
go high if the associated ELS System Master has been at or below the
threshold velocity for the last two Sercos cycles.
ELS_MSTR_POS# This variable displays the current output position in degrees for each of
the six master signals. This variable is stored in the control’s memory
and when the control is turned on and off, the last recorded value is
maintained. You can enter a value in the variable, but it will be
overwritten by the current value in the control.
ELS_MSTR_VEL# This variable displays the current output velocity for each of the six
master signals.
ELS_MSTR_SLIP_PRI This variable sets the address of the primary master signal to be
monitored.
Limits: 0 to 6 (0 not configured)
ELS_MSTR_SLIP_SEC This variable sets the address of the secondary master signal to be
monitored.
ELS_MSTR_CONFIG This variable is used to set the different modes of operation for the master
slip monitoring.
Bit Description
1 to 30 Reserved
31 slip offset method – 0 = Fixed Absolute Offset, 1 = Dynamic
Offset
32 slip offset reaction – 0 = Fatal Error, 1 = Warning
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-13
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-14 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Data Object Type Label (20 character limit) Comment (80 character limit)
Assigned control register number G#_CONTROL_REG Group # control register
Assigned status register number G#_STATUS_REG Group # status register
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-15
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-16 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-17
G#_OUT_ACC F214 F254 F294 F334 F374 F414 F454 F494 Group #, output Phase 4
acceleration (read only)
G#_CAM_INPUT F215 F255 F295 F335 F375 F415 F455 F495 Group #, group cam profile Phase 4
ID input position & Forcing*
G#_MST1_TRIGPOS F216 F256 F296 F336 F376 F416 F456 F496 Group #, master 1 Phase 4
switching trigger position
G#_MST2_TRIGPOS F217 F257 F297 F337 F377 F417 F457 F497 Group #, master 2 Phase 4
switching trigger position
G#_STANDSTILL_WIN F218 F258 F298 F338 F378 F418 F458 F498 Group # standstill velocity Phase 4
threshold
G#_LM_CMD_DECEL F219 F259 F299 F339 F379 F419 F459 F499 Group Local Master #, Phase 4
commanded deceleration
G#_LM_E_STOP_DECEL F220 F260 F300 F340 F380 F420 F460 F500 Group Local Master #, Phase 2
E-Stop deceleration
G#_LM_MAX_VEL F221 F261 F301 F341 F381 F421 F461 F501 Group Local Master #, Phase 2
maximum velocity
G#_LM_MAX_ACCEL F222 F262 F302 F342 F382 F422 F462 F502 Group Local Master #, Phase 2
maximum acceleration
G#_LM_MAX_DECEL F223 F263 F303 F343 F383 F423 F463 F503 Group Local Master #, Phase 2
maximum deceleration
G#_LM_JERK_ENABLE F224 F264 F304 F344 F384 F424 F464 F504 Group Local Master #, jerk Phase 2
limiting enabled
G#_LM_CUR_POS F225 F265 F305 F345 F385 F425 F465 F505 Group Local Master #, Phase 4
current position
G#_LM_CUR_VEL F226 F266 F306 F346 F386 F426 F466 F506 Group Local Master #, Phase 4
current velocity
G#_LM_POS_WIN F227 F267 F307 F347 F387 F427 F467 F507 Group Local Master #, Phase 2
shortest path window
G#_MST_DIST_M_PH F228 F268 F308 F348 F388 F428 F468 F508 Group #, master distance Phase 4
for master phase adjust
G#_MST_DIST_S_PH F229 F269 F309 F349 F389 F429 F469 F509 Group #, master distance Phase 4
for slave phase adjust
G#_CONFIG I140 I150 I160 I170 I180 I190 I200 I210 Group #, configuration Refer to
word Fig. 5-2
G#_MSTR1_AXIS I141 I151 I161 I171 I181 I191 I201 I211 Group #, ELS master ID, Phase 4
number 1
G#_MSTR2_AXIS I142 I152 I162 I172 I182 I192 I202 I212 Group #, ELS master ID, Phase 4
number 2
G#_ACTIVE_STATE I143 I153 I163 I173 I183 I193 I203 I213 Group #, active state of Phase 4
state machine for & Forcing*
lockon/lockoff
G#_ACTIVE_CAM I144 I154 I164 I174 I184 I194 I204 I214 Group #, active cam profile Phase 4
table number
G#_LOCKON_CAM I145 I155 I165 I175 I185 I195 I205 I215 Group #, lock on cam Phase 4
profile table number & Forcing*
G#_RUN_CAM_ID I146 I156 I166 I176 I186 I196 I206 I216 Group #, 1:1 cam profile Phase 4
table number & Forcing*
G#_LOCKOFF_CAM I147 I157 I167 I177 I187 I197 I207 I217 Group #, lock off cam Phase 4
profile table number & Forcing*
G#_USER_CAM I148 I158 I168 I178 I188 I198 I208 I218 Group #, user cam profile Phase 4
table number (state
machine disabled)
G#_LM_POS_MODE I149 I159 I169 I179 I189 I199 I209 I219 Group Local Master #, Phase 2
see note 1)
positioning mode
Forcing is reinitializing an ELS Group in Phase 4 when local mode is active (G#_ST_LOCAL) and the ELS Group Master is at standstill
(G#_ST_MOTION is 0). Note 1.) Absolute Position Mode, 0=Positive, 1=Negative, 2=Shortest Path
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-18 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Bit 4: This bit enables the lock on / lock off CAM profile state. For user CAM
Enable CAM Profiling profiles to function, disable this feature.
0 = state machine enabled (default)
1 = state machine disabled
(Updated in Phase 2)
Bit 5: This bit is used to specify the type of synchronization that will be used
Synchronization Type when switching between ELS Group input masters 1 and 2 or only Group
master 1 in Advanced Mode (see bit 22 for master 2).
0 = Dynamic synchronization (default)
1 = Immediate (On the Fly when switching to an unused Virtual Master)
(Updated in Phase 4)
Bits 6-7: These bits determine method of phase correction during Dynamic
Phase Correction Type Synchronization between group input masters 1 and 2 or for group input
master 1 only in Advanced Mode (see bits 23, 24 for group 2).
(Updated in Phase 4)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-19
Bit 8: This bit is used to reinitialize an ELS Groups output master position when
ELS Group Master Position the system is switched to Phase 2 (parameter mode) or powered down.
Initialization at Phase 2
When an ELS Group's M/N or H factor has a value other than 1; for
example 0.9, and the ELS Group has been moved, then the group's
output master position cannot be calculated using the CAM equation.
The reason for this is as follows:
The control monitors and internally stores the ELS Group's current output
position. For example, if after two revolutions of the input master (as
illustrated in Fig. 6-4), the system is switched to Phase 2 or loses power;
the ELS Group's output master position is stored. The user has the
option to restart the ELS Group, to an initial position, by setting bit 8 to 0.
This will recalculate the ELS Group's output master position using the
CAM equation. Setting bit 8 to 1 allows the ELS Group's output master
position to start from the stored position (old values) and continue; using
the CAM equation, for consecutive revolutions of the ELS Group's input
master.
Bit 9: This bit is used to initialize an ELS Group's output position when switched
Group Master Position to local mode (G#_CT_LOCAL).
Evaluation with Forcing
0 = Group master positions will be calculated using CAM equation (default)
1 = Use old values
(Updated in Phase 2 & Forcing)
When forcing states 0 or 1 with this bit reset, G#_ LOCKON_OFFSET is
added to the group master output position. If this bit is set, G#_
LOCKON_OFFSET is not used.
Bit 11: This bit sets the motion profile type for the active master.
Master Phase Adjust Type 0 = Trapezoidal profile using a velocity profile with dynamic synchronization
acceleration/deceleration and additive velocity (default)
1 = Immediate – step function
(Updated in Phase 4)
Bit 12: This bit sets the motion profile type for the all slave axes associated with
Slave Phase Adjust Type the ELS Group.
0 = Trapezoidal profile using a velocity profile with dynamic synchronization
acceleration/deceleration and additive velocity (default)
1 = Immediate – step function
(Updated in Phase 4)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-20 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Bits 18-19: These bits specify a condition that must be met before the process of
switching to Group Master 1 is triggered.
Bits 20-21 These bits specify a condition that must be met before the process of
switching to Group Master 2 is triggered. The bit format is the same as
for bits 18-19.
Bit 22 This bit indicates the type of ELS group master synchronization used
when switching to Group Master 2. This requires the Master Switching
Option bit to be set.
0 = Dynamic synchronization
1 = Immediate synchronization
Bits 23-24 This bit indicates the options for phase correction during dynamic
synchronization when switching to Group Master 2. This requires the
Master Switching Option bit to be set. The bit format is the same as bits 6
and 7.
Bit 32 Reserved for internal use.
Initializing Registers and The initialization of control and status registers and project variable labels
Program Variables for all 6 ELS System Masters is defined under Setup ⇒ ELS ⇒ System
Masters in the Project Navigator window.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-21
Note: From the Setup configuration, only one ELS System Master
must be configured. This is the only time control and status
registers as well as variable labels for all 6 ELS System
Masters are assigned. Afterwards, additional System Masters
can be added under Setup or by using the ELSMstr icon in the
Initialization task. The ELSMstr icon can also be used to
modify System Masters configured under Setup as part of the
logical program flow. Refer to System Masters Setup in
section 4.5, Setup ELS Processes, for details.
Modifying or Declaring To declare ELS System Master runtime data in a project, open the
System Masters at Runtime Initialization task, select the ELSMstr icon, and place it in the project
workspace. VisualMotion provides several methods for declaring initial
values to System Masters. Refer to Initialization of ELS Program
Variables in section 4.5, Setup ELS Processes, for details.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-22 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Slip_Monitor_Setup.tif
Masters Select The Primary and Secondary master numbers correspond to the master
number assignments in the System Master Setup.
The numbers selected here correspond to the addresses that are set in
the default variables ELS_MSTR_SLIP_PRI, for the primary number, and
ELS_MSTR_SLIP_SEC, for the secondary number.
Note: The default values of 0 for both the primary and secondary
masters indicate that the Slip Monitoring functionality is
disabled.
Master Position Offset An offset can be applied after the initial slip monitoring calculation of the
difference between signals. The offset value is stored in the
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-23
Primary Master Secondary Monitoring Deviation Error*** Lead Encoder Status Bit
Velocity Master Cycle (ELS_MSTR_SLIP_ACTUAL) (ELS_MSTR_STATUS Reg,
Velocity Bit 15)
Positive N/A Any Positive 0 = Primary Master is Lead
Positive N/A Any Negative 1 = Secondary Master is Lead
Negative N/A Any Negative 0 = Primary Master is Lead
Negative N/A Any Positive 1 = Secondary Master is Lead
None (0)* N/A First** Positive or Negative 0 = Primary Master is Lead
None (0)* None (0)* Any Positive or Negative 0 = Primary Master is Lead
None (0)* Positive or Not First Positive or Negative 1 = Secondary Master is Lead
Negative
* A velocity of “None (0)” means that the specified slip master’s velocity is not exceeding the Slip Masters Standstill Velocity
Threshold (ELS_MSTR_SLIP_ VELTHD) value.
** “First Monitoring Cycle” refers to the first active Slip Monitoring cycle after:
• Entering Sercos phase 4 with the Slip Monitoring Enable Control bit already set high.
• Bringing the Slip Monitoring Enable Control bit high (rising edge) while in Sercos phase 4.
• Bringing the Slip Monitoring Capture Control bit high (rising edge), with the Enable bit already set high, while in Sercos
phase 4.
*** “Deviation Error” refers to a Current Slip Deviation (ELS_MSTR_SLIP_ACTUAL) value that exceeds the Maximum Allowed
Deviation Window (ELS_MSTR_SLIP_WINDOW) value.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-24 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
The slip monitoring feature captures the primary and secondary master
signals every Sercos cycle update and compares the two values to
determine the difference in the signals, refer to the figure below. An
offset can be applied to the difference of the two signals if necessary.
The resulting deviation value is measured to determine if it is within the
limits of the maximum allowed deviation window.
difference
+ between signals Deviation
_ _
Secondary Master
Signal
Fixed offset
(ELS_MSTR_SLIP_OFFSET)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-25
Default Label ELS Master 1 to 6 Data Object ELS Master Comment (80 character limit)
Register-Bit
ELS_M_CT_SLIP_CAPT1 140-15 ELS Master Capture Slip Monitoring
0 = No capture
1 = Capture Run-Time Data
Default Label ELS Master 1 to 6 Data Object ELS Master Comment (80 character limit)
Register-Bit
ELS_M_CT_SLIP_EN 140-16 ELS Master Enable Slip Monitoring
0 = Off
1 = On
ELS_M_ST_SLIP_ERR 141-14 ELS Master Slip Monitoring Error
0 = No error
1 = Error
ELS_M_ST_SLIP_ENC 141-15 ELS Master Slip Monitoring Lead Encoder
0 = Primary
1 = Secondary
ELS_M_ST_SLIP_ENA 141-16 ELS Master Slip Monitoring Enabled
0 = Off
1 = On
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-26 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Virtual Master
A Virtual Master is an internal motion profiler that drives geared or CAM
axes in a machine. A set of control and status parameters and registers
command the axis to run at a set speed, stop at a position, or make a
profiled move. The command stream is based on units of degrees and
has a range between 0 and 360 degrees; with the module (rollover period)
fixed at 360 degrees. This output format (0 and 360) forms the basis for
the entire ELS system, where a machine/product cycle is defined as a
single revolution. For example, a system that is commanded by a Virtual
Master running at 300 RPM produces 300 products per minute.
Initializing a Virtual Master A Virtual Master is controlled by a VisualMotion project and/or a PLC
using I/O registers and project variables. GPP supports a maximum of 2
Virtual Masters. The initialization of control and status registers and
project variable labels is defined under Setup ⇒ ELS ⇒ Virtual Masters
in the Project Navigator window. Refer to Virtual Master Setup in section
4.5, Setup ELS Processes, for details.
Declaring Virtual Master To declare Virtual Master runtime data in a project, open the Initialization
Runtime Data task, select the VM1 icon, and place it in the project workspace.
VisualMotion provides several methods for declaring initial values to
Virtual Masters. Refer to Initialization of ELS Program Variables in
section 4.5, Setup ELS Processes, for details.
vm_init_values.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-27
Virtual Master 1 or 2 signals can not be used directly, they must first be
defined as one of the six system masters, then used to drive a group
master input, PLS or Rotary event.
Velocity The Initial Velocity value defines a constant velocity that the Virtual Master
will accelerate towards when set in motion.
The Maximum Velocity value defines the maximum velocity that can be
achieved by the Virtual Master during runtime.
The velocity the drive (axes) can obtain following a Virtual Master is
limited by the drive's Bipolar Velocity Limit. The following conditions also
affect the drive velocity:
• If the Virtual Master's maximum velocity is less than the drive's Bipolar
Velocity Limit Value (S-0-0091), the Virtual Master limits the drive.
• If the Virtual Master's maximum velocity is greater than the drive's
Bipolar Velocity Limit Value (S-0-0091), the drive will fault when
S-0-0091 is exceeded.
Acceleration The Initial Acceleration value defines a constant acceleration that the
Virtual Master will use to achieve a desired velocity.
The Maximum Acceleration value defines the maximum acceleration that
can be achieved by the Virtual Master during runtime.
Deceleration The Initial Deceleration value defines a constant deceleration that the
Virtual Master will use to decelerate the velocity.
The Maximum Deceleration value defines the maximum deceleration that
can be achieved by the Virtual Master during runtime.
E-Stop Deceleration This value specifies the emergency stop deceleration for each Virtual
Master.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-28 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Positioning
Positioning values are embedded in the icons and are stored as project
variables when the project is compiled.
Home The Virtual Master starts an immediate move to the home position when a
low-to-high transition is seen in the Virtual Master control register bit:
Stop This is the programmed stop position the Virtual Master moves to when
the control is switched from velocity mode to absolute positioning mode.
This field contains the initial value that is written to project variable
VM#_STOP_POS when the project is compiled. The state of the
following bits determine the mode of operation:
Relative Move Distance The Virtual Master moves in increments of this value when the Virtual
Master's control register bits are set as follows:
Absolute Move Position Positioning values are embedded in the icons and are stored as project
variables when the project is compiled. This value is written to project
variable VM#_CMD_ABS_POS. The state of the following bits set the
mode of operation to absolute position.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-29
When bit 3 is set to 1, the Virtual Master moves to the value in project
variable VM#_CMD_ABS_POS. Any change to this value, while in
absolute position mode, will cause the Virtual Master to move to the new
position.
If the Virtual Master's mode of operation is switched from velocity to
absolute position, the value in VM#_CMD_ABS_POS is replaced with the
value in project variable VM#_STOP_POS. Only positive values can be
used for an absolute position move
Absolute Move Mode This selection determines the direction that the Virtual Master will use
when moving to the Absolute Move Position variable. This value is written
to project variable VM#_POS_MODE when the project is compiled. The
following choices are as follows:
• Positive (0 in VM#_POS_MODE)
• Negative (1 in VM#_POS_MODE)
• Shortest Path (2 in VM#_POS_MODE)
Max. phase difference allowed This value (0-180°) is used to create a "shortest path" positioning window
for shortest path correction for the Virtual Master's positive and negative move mode. When the
Absolute Move Mode is set to positive or negative, the Virtual Master will
move in the specified direction unless the new target position is inside the
positioning window. If so, then shortest path will be used. Once the
Virtual Master has moved to a new absolute position, a new positioning
window is created around the new position. This feature is not available
when the Absolute Move Mode is set to Shortest Path. Fig. 6-8 illustrates
the function of this value.
phase_difference.EPS
Jerk Limiting This allows you to limit the jerk of a motion, such as vibration caused by
acceleration or deceleration.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-30 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Real Master
A Real Master is an external position signal that is transmitted into the
control through the System Master icon. GPP supports a maximum of 6
real masters. The Master Encoder Card (LAG) can be used to accept up
to 2 external feedback signals.
After configuring the Master Encoder Card parameters in the control and
setting up the System Master icon, there will be a signal ready to be used.
The command stream is based on units of degrees and has a range
between 0 and 360 degrees with the module (rollover) fixed at 360
degrees. This output format (0 to 360 degrees) is the basis for the ELS
system position where a machine/product cycle is defined as a single
revolution. For example, a system following a real master running at 300
RPM produces 300 products per minute.
Initializing a Real Master The initialization of control and status registers and project variable labels
for Real Masters is defined under Setup ⇒ Processes ⇒ ELS ⇒
System Masters in the Project Navigator window. Refer to ELS System
Master on page 6-20 for details.
Declaring Real Master To declare runtime data for a Real Master in a project, place an ELSMstr
Runtime Data icon in the Initialization task and select Real as the master. Refer to the
ELSMstr icon in volume 2, chapter 14, of the VisualMotion 11 Functional
Description for details.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-31
Setup_ELS_Mstr.tif
Coupling (float) This field contains the edit boxes for the gear ratio. A gear ratio is only
applicable to real master signals.
Encoder In this field, you can select primary or secondary encoder and single or
Multi-turn encoder type:
• Primary encoder – This is the motor feedback encoder (X4 EcoDrive
03)
• Secondary encoder – this is the extra encoder input at the drive (X8
EcoDrive 03)
• Multi-turn checkbox – this option can be selected if the feedback is a
multi-turn absolute device and you want the system to track its
absolute position. To reset (home) the current reference value, set the
System Master, control register, ELS_M_CT_SET_REF# input bit to 1.
This causes the respective system master to instantly move to the
position stored in the ELS_MSTR_REF_POS# parameter. To assure
the system comprehends the absolute position, monitor the status bit
ELS_M_ST_REF#. This bit is cleared every time the parameters
controlling the system master are changed or, in the case of an
incremental encoder, when the system goes from phase 2 to phase 4.
Filter Type For a real master signal, you can apply several types of filters to dampen
noise in the signal. These filters include:
st nd rd
• Low-pass (1 , 2 , or 3 )
nd rd
• Butterworth (2 or 3 )
nd
• LP(2 ) with velocity feed forward (Dead Time Compensation)
rd
• LP(3 ) with velocity and acceleration feed forward (Dead Time
Compensation)
Cutoff Frequency (float) When a filter type is chosen, a cutoff frequency for the filter must be
entered. The cutoff frequency is the frequency where the signal is
reduced by 3db. When set to 0 the filter is disabled.
To ensure a stable system, use the following calculation when entering a
value for the Digital Filter Cutoff Frequency:
1
Cutoff Frequency <
2 * Sampling Rate(sec.)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-32 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Velocity Dead Time Dead time compensation can be activated or disabled by selecting this
Compensation checkbox. This feature provides the option to apply 4 Sercos cycles of
velocity feed forward phase advance to the ELS Master, when activated,
to compensate for delays in control processing.
Dead Time Compensation only compensates for the phase lag created by
the 4 cycles of ELS processing/Sercos delays, not for additional dead
time caused by the various Real Master filters. To address this, some
filter types include velocity and/or acceleration feed forward part to
compensate for dead time cause by the filter.
The Dead Time Compensation can be disabled for individual Real
Masters for applications in which undershoot/overshoot during velocity
changes could cause problems. The functionality of the feature is such
that compensation is enabled by default. Users will need to disable it if
they do not want to use it with their application.
Offset Position
Feedback Value 3 Offset
ELS_MSTR_OFFSETx
P-0-0087
Secondary Position
M/N ELS Master
Encoder Feedback + Filter
Value 3 Position
Value +
P-0-0052 ELS_MSTR_POSx
Gear
Drive ELS_MSTR_Mx/E
LS_MSTR_Nx Set Absolute Position
ELS_M_CT_SET_REFx
(bit 7…12 of ELS Control register)
ELS_M_ST_REFx
(bit 7…12 of ELS Status register)
Home Position
ELS_MSTR_REF_POSx
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-33
Note: An ELS Group Master’s output cannot be fed back into the
same ELS Group’s input.
If a group number is inputted into a lower group number, then there will be
a position delay of one Sercos cycle. This delay exists because the group
outputs are processed in numerical sequence and data from the last cycle
is used before it can be updated. Depending on the application, this lag
may be acceptable.
VM1 VM2
ELS Master
1 2 3 4 5 6 Connection Interface
ELS ELS
Group 1 Group 5
ELS ELS
Group 3 Group 8
ELS
Group 4
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-34 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-35
MasterEncoder.tif
ELS Group
An ELS Group is a container that allows you to sectionalize a machine or
process by grouping axes working in unison to follow a master command
signal. Up to 8 ELS Groups can be initialized under Setup ⇒ Processes
⇒ ELS ⇒ ELS Groups.
Declaring ELS Group ELS Group runtime data is configured using the ELSGrp3 icon. To
Runtime Data reference groups in the system, they are given an index from 1 to 8.
Each is assigned a set of control and status parameters and registers for
configuring and controlling its functionality. Basic functions include;
selecting a master signal to follow or internal profile, dynamically
synchronizing to a master signal, utilizing a CAM profile, applying phase
offsets, and activating lock on/off function and jogging. The output units
are degrees with a range between 0 and 360 degrees and the module
(rollover period) fixed at 360 degrees.
When using an ELS Group to control an axis, the following consideration
should be noted:
• An axis can only be assigned to a single group. The system detects
multiple assignments during the compile process and flags the errors.
• By default, an axis can be positioned independently of the group for
setup or other requirements using Single axis positioning or Velocity
mode.
• Every time the system phases up (phase 2 to phase 4), each axis in
the group defaults to a secondary mode of operation (single axis
positioning or velocity mode). You must use the ELS Mode Change
icon in the program to command the axis to follow the group master
position.
An ELS Group’s output provides a master position to its assigned ELS
Slave axes. ELS Slave axes can only be assigned to an ELS Group at
compile time. The ELS Group Master’s output position is derived from
the currently active group master input. The ELS Group’s output signal
can be modified using the following options:
• M/N gear ratio
• GMP (Group Master phase offset)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-36 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Switching Synchronization:
• dynamic synchronization (with
/ without phase adjust)
• immediate (on the fly for an
unused Virtual Master)
The ELS Group’s active master input signal “X” is a condition of the
equation in Fig. 6-14:
Where CAM[ ] is a control CAM profile table or index CAM profile, M and
N is the current master input/output ratio, H is a CAM profile scale factor
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-37
and GMP and GSP are group master and slave relative phase adjusts.
The signal Y drives the group’s slave axes (group master position).
els_axis_config.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-38 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Note: Placing the cursor over a field will display the associated
program variable label in a tool tip. Refer to Table 6-18 and
Table 6-19 for a listing of the default float and integer numbers
assigned to each ELS Group program variable label.
local_master_config.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-39
performed. Refer to Fig. 6-21: Immediate “On the Fly“ Switching of ELS
Group 1 on page 6-44 for details.
When exiting the Local Master, the ELS Group's configured
Synchronization switching type (Dynamic synchronization, Immediate or
Advanced Trigger options) is used.
Local Master Velocity Mode An ELS Group is switched to the Local Master running in velocity mode
when the following control register bits are set:
Local Master Position Mode An ELS Group is switched to the Local Master running in position mode
when the following control register bits are set:
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-40 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Local Master
Slave Axes
Fig. 6-17: Group Input Master Switching
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-41
Synch_Setup.tif
Switching
Maximum accel/decel for This value is the maximum acceleration or deceleration that the ELS
dynamic sync. Group will use to ramp to the new master’s velocity and perform any
phase corrections with a trapezoidal velocity profile.
Switching type: This selection determines the method for switching between ELS Group
input masters, immediate switching or dynamic synchronization.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-42 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Phase Correction
Correction type Specifies the direction in which the phase correction will be made. The
user can select shortest path, positive, negative or no phase
correction.
Maximum additive velocity Specifies the maximum increase or decrease in velocity allowed for
matching the phase (position) of a target master.
Maximum phase difference When selecting a positive or negative direction, the value (± 0-180
allowed for shortest path degrees) entered creates a range (monitoring window) around the
correction position of the target master. If any phase errors are within this window,
the shortest path will be used for the correction. This allows large phase
corrections to be eliminated depending on the size of the window.
Enable CAM profiling; disable This must be selected to activate the CAM profile ID settings. If you
lock on/lock off function change this selection during operation, you must go in and out of
Parameter mode to activate the change in selection. Clocking will not
activate this selection change.
Advanced… The Advanced… button opens the Lock / Unlock CAM Advanced Setup
window.
This window displays the default CAM numbers used for the ELS Lock On
/ Lock OFF function. The user can modify the default settings with CAM
numbers and H factors that have been designed for their specific
application. Refer to Synchronized "Lock On / Lock Off" of ELS Group
Master on page 6-53 for a description of this feature.
lockon_advanced.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-43
Immediate Switching
This method allows for an immediate transition to a new input master.
Switching takes place within one Sercos cycle without regard to bumpless
transitions. When switching between input masters, the group’s velocity
and position immediately change to match the target master. The bump
is caused by the sudden change in velocity and correction of position
difference between input masters. The following graph shows a typical
immediate switch with a transitional bump.
Immediate Switching
from
Virtual Master 1 to Virtual Master 2
360°
0°
360°
0°
0°
Virtual Input 1
Slave Virtual Input 1
Slave
Master 1 axis Master 1 axis
Input 2 Input 2
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-44 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
360°
0°
360°
Virtual Master 2 switches
"On the Fly" and acquires
Virtual Master 2 (active)
the position and velocity of
shown in this example at
Control bit settings for Virtual Master 2: the master* used at input 1
standstill before switching
VM#_CT_FSTOP = 0 * master used for input 1 can
VM#_CT_GO = 1 be a Virtual or Real Master
VM#_CT_VMODE = 1
0°
0°
0
Before Immediate Switching After Immediate Switching
Input 1 Input 1
Virtual Slave Virtual Slave
Master 1 axis Master 1 axis
Input 2 Input 2
Virtual Virtual
Master 2 Master 2
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-45
Dynamic Synchronization
Typically, this general-purpose method synchronizes an ELS Group with a
real, virtual or ELS Group Master to another real, virtual or ELS Group
Master.
Dynamic Switching
from
Master 1 to Master 2
360°
0°
360° Phase
difference
Master 2 velocity is
Master 2 constant in this
(active and running) example
0°
ELS Group 1 position follows
Phase correction necessary
360° Master 1
to match target master
(performed after velocities
are matched)
Input 1 Input 1
Master 2 Slave Master 2 Slave
axis axis
Input 2 Input 2
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-46 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Synch_Setup_Adv.tif
Four types of switching triggers can be used for group switching to the
Master 1 or Master 2 signal:
• Instantaneous – Disables the switching trigger functionality.
• Master 1 Position – Starts switching when group master 1 has
passed a specific trigger position.
• Master 2 Position – Starts switching when group master 2 has
passed a specific trigger position.
• Optimal – Starts switching when a certain relationship between the
group masters occurs, for example, when the group‘s master
positions coincide or when the group’s constant acceleration ramp
results in synchronization to the target master’s position and velocity
simultaneously.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-47
and master 2 position switching triggers start the switching process when
one of the group masters has met a specific trigger condition.
Immediate Switching Using the Master 1 and 2 Switching
Triggers
The immediate switching trigger disables the switching trigger functionality
so the master switch will begin as soon as the group’s control register bit
is transitioned.
360°
0°
360°
0°
0°
Fig. 6-24: Immediate Switching Using the Master 1 and 2 Switching Triggers
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-48 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
0°
360°
0°
ELS Group 1
0°
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-49
0°
360°
Virtual Master 2 switches
"On the Fly" and acquires
Virtual Master 2 (active,
the position and velocity of
but unused) shown in this
the master* used at input 1
example at standstill
before switching * master used for input 1 can
be a Virtual or Real Master
0°
0°
0
Master Switch Requested Master Switch Triggered When
(Switching Trigger Armed) Virtual Master 1 Passes 72°
Immed_On_Fly_Mstr_Switch.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-50 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
0°
360°
Virtual Master 2 switches
"On the Fly" and acquires
Virtual Master 2 (active,
the position and velocity of
but unused) shown in this
the master* used at input 1
example at standstill
before switching * master used for input 1 can
be a Virtual or Real Master
0°
0°
0
Master Switch Requested Master Switch Triggered When the
(Switching Trigger Armed) Virtual Master Positions are Equal
Immed_On_Fly_Optimal_Switch.tif
Fig. 6-27: Immediate “On the Fly” Switching using the Optimal Switching Trigger
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-51
0°
360°
Master 2 velocity is
Master 2 constant in this
(active and running) example
0°
ELS Group 1 position follows
Phase correction necessary
360° Master 1
to match target master
(performed after velocities
are matched)
ELS Group 1
ELS Group 1 position
matches target master
position after executing
a phase correction
0°
Velocity of ELS Group 1 first
matches the velocity of Virtual
Master 2 before a phase
ELS Group 1 correction is performed.
velocity
0
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-52 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
360°
0°
360°
Master 2 velocity is
Master 2 constant in this
(active and running) example
0°
ELS Group 1 position follows Constant-acceleration ramp
360° Master 1 synchs group with master
2’s position and velocity
nearly simultaneously.
ELS Group 1
ELS Group 1 position
matches target master
position after a minor
phase correction.
0°
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-53
Knife
Photo Eye
Fin Seal
Product Present
Outfeed Belt
Lug Chain
Fine Adjust
Wrapper.tif
The Lock On/Lock Off feature in GPP is activated by the state condition of
bit 1 (G#_CT_LOCK_OFF) in the ELS Group control register.
VisualMotion has three default CAM profiles for the Lock On/Lock Off
feature. However, you can create and download customized CAM
profiles using the CAM builder function in VisualMotion.
One-to-One CAM Profile The one-to-one CAM profile is normally active and synchronized to the
“Synchronized to Master” master input, unless the Lock On/Lock Off feature is not active. Under
normal operating conditions, this CAM profile is active and follows the
group’s active master input.
State of Lock On/ Lock Off bit
G#_CT_LOCK_OFF = 0
Gap
Encountered
ELS Group
Slave output ELS Group
GSP
1:1 cam profile Master input Group slave
phase offset
Normal_op.wmf
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-54 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Lock Off The Lock Off CAM profile decelerates to a stop over one cycle of the
master. After this cycle, the group's velocity is stopped and will not restart
unless the LOCK OFF bit is toggled.
Note: All motion to the ELS Group Master, as well as any cascading
groups, will stop.
No GAP
Detected Knife follows lock off
cam profile
GSP
No_product.wmf
Lock On The Lock On CAM profile is active and accelerates from a stopped
position to match the velocity of the master input over one cycle of the
master (360 degrees). After this cycle, the velocity of the group matches
that of the master.
State of Lock On/Lock Off bit
G#_CT_LOCK_OFF = 1 to 0
Product.WMF
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-55
Phase Control
The group master and slave phase adjust defaults to a trapezoidal
velocity profile using:
• dynamic synchronization acceleration
• dynamic synchronization velocity
Relative phase adjusts are written to the following ELS Group float
variables
• G#_REL_M_PH (group master relative master phase adjust)
• G#_REL_S_PH (group master relative slave phase adjust)
These variables are triggered with bit 2 or 3 in the ELS group control
register. After execution of the velocity profile, the absolute group master
or group slave phase adjust is updated. The phase adjust can also be
configured to execute in one step by selecting Immediate in the Phase
window.
Phase_Control.tif
The absolute group master and group slave phase adjust is triggered by a
0 → 1 bit transition. The bit goes to 1 at the start of the phase adjust and
to 0 when the phase adjust is complete. The direction of the move is
dependent on the settings of the ELS Group Configuration:
Bit 11: Group Master Absolute Phase Adjust
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-56 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Initialization Control
The Initialization window is used to configure the ELS group master
operation during project initialization. The configuration set in this window
is set in parameter mode.
Sync to ELS Group master on This can be set at automatic or you can switch the group switch the ELS
task switching from Manual to group to the master manually. The group will remain in local mode when
Automatic Mode the project comes out of parameter mode until it is manually switched.
Init_Control.tif
ELS Group master position During phase 2 of power up, you can select to use either old values or
initialization at Phase 2 one of the following:
• the variables initialized by the internal group master being set to the
value of the active group input master
• the CAM table input position set to the internal group input master
position plus the group master offset
• the state of the state machine set to 1
• the old values kept for absolute master and group slave offset
• the ELS group master position calculated with the CAM equation
ELS Group master position In phase 4 of power up, the ELS group can be reinitialized when the local
evaluation with forcing mode is active and the ELS group master is at standstill
(G#_ST_MOTION is 0). Under these conditions, the following variables
are not updated by the control and can be overwritten:
• Internal group input master position
• Group CAM table input position (used to calculate the ELS group
master position)
• ELS group master position (only when bit 9 in the ELS configuration
word is set to 1)
• State of the state machine for lock on/lock off (used to calculate the
ELS group master position)
• Absolute group master and group slave offset (used to calculate the
ELS group master position)
You can select to use the old values and no calculation of the CAM
equation will be performed or you can select the Group master position to
be calculated. The Group master is calculated using the group CAM table
input position, the absolute group master and group slave offset, and the
selected state of the state machine.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-57
Lock On Offset The default setting of 180 degrees matches the default profile in
VisualMotion. This number can be changed, but the lock on/lock off
profile must be completed in 1 revolution of the master cycle.
ELS Group
Program Variable Description Update Mode
G#_PROG_M_PH Value added to current ELS Group Phase 4
master input when a phase adjust is
performed.
G#_ABS_M_PH Total or absolute value of master Phase 4
phase adjust performed on ELS (read-only) and
Group input master. Forcing
G#_PROG_S_PH Value added to current ELS Group Phase 4
output position when a phase adjust
is performed.
G#_ABS_S_PH Total or absolute value of master Phase 4
phase adjust performed on ELS (read-only) and
Group output position. Forcing
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-58 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-59
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-60 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
G#_CT_S_REL_PH
G#_ST_S_REL_PH
G#_OUT_POS
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-61
Note: If the master reverses 360º (one revolution) or more past the
phase adjustment window start position, the phase adjust will
be aborted. In such a case, the associated ELS Group status
register bit will go low (0) to confirm that the phase adjust has
been aborted.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-62 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
ELS_Runtime_Tool.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-63
ELS_Runtime_Utility.tif
Changes made in the runtime utility take effect immediately in the control
when you click the OK button.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-64 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
LinkRingType.tif
Fiber Optic Length The length of the fiber optic cables will determine the required data
transmission power for the Link Ring. The length entered in this field
corresponds to the length of the fiber optic cable connected to the
transmit (TX) terminals of the DAQ03 card in the control. The length
entered for a primary ring is stored in card parameter C-0-0301, Link Ring
Primary Fiber Optic Length. The length entered for the secondary ring is
stored in parameter C-0-0302, Link Ring Secondary Fiber Optic Length.
Parameter C-0-0302 is not used when the system is configured as a
single ring. Refer to the VisualMotion 11 Project Planning manual for
information on error reactions associated with fiber optic length settings.
MDT Error Counter The master data telegram (MDT) carries data from the Link Ring Master
to the Link Ring Slaves. The MDT Error Counter field displays the
number of MDT errors the slave received from the master. This value
can also be accessed in control parameter, C-0-0303.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-65
virtual master
ELS
group
master
link master position(s)
(received from link ring)
1 2 3 4 5 6 connection box
axes 1 2 3 4 5 6 7 8 9 10 11
Fig. 6-40: Link Ring Data Routing to Connection Interface (ELS System Master)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-66 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
ELS System Master 2 receives its signal from its local Link Ring Master
through the Link Ring.
While only one control can be designated as a Link Ring Master, each
control (master and slave) can export a Link Ring Master position. This
master position can be used locally, exported to another system (each
system can import five master positions), or both so that there can exist
up to 32 master signals being transmitted through the Link Ring.
VM RM VM
1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6
1
2
•
•
•
32
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-67
ELS_Group_Import_LRMaster.tif
Single_Fault_Primary.tif
In this example, a fault occurs in the primary ring between DAQ #4 and
DAQ #5. DAQ #4 reacts by turning on the H18 LED, which indicates an
error in the primary ring between itself and DAQ#5. The
Redundancy_Loss, Bit 7, of register 40 (Link_Ring_Status) and
Error_Prim_Opt_Ring and/or Error_Sec_Opt_Ring, bits 5 and 6 of
Register 40, will go high in at least one of the nodes of the Link Ring. The
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-68 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
signal switches between the primary and secondary rings at DAQ #4 and
DAQ #5 on either side of the break.
Fault in Secondary Ring
A fault in the secondary ring will not affect the signal transmission in the
primary ring. The primary ring will continue to function, but redundancy
will be lost when the secondary ring is no longer functional. Bit 7 of
Register 40 in at least one of the nodes will go high, indicating that
redundancy has been lost, and Bit 6 of Register 40 will go high, indicating
that an error has occurred in the secondary ring.
Single_Fault_Secondary.EPS
Double_Fault.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-69
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-70 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-71
2. The default 1:1 (null) CAM will be used during any period of time in
which the old instance of the CAM is deleted and the new instance is
not ready.
3. Position jumps may occur as a result of points 1 and 2.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-72 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
ELS Group: 1. Place the ELS Group in Local Mode (set G#_CT_LOCAL to 1).
2. Change the CAM number in the G#_USER_CAM (if the Group is
configured for Profile operation) or G#_RUN_CAM_ID (if the Group is
configured for Lock on / Lock off operation).
3. Transition the Group’s forcing bit (G#_CT_VAR_CLK) to 1 and wait
for the forcing acknowledgement bit (G#_ST_VAR_ACK) to go high.
4. Transition the Group’s forcing bit back to 0.
5. Optionally, confirm that the CAM switched by checking the Group’s
G#_ACTIVE_CAM variable.
Note: For step 3, slave drives should not be synchronized during this
operation since a position jump may occur that could be large
enough to result in drive faults.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-73
Task_Axes_Setup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-74 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Coordinated Articulation
Coordinated Articulation is an advanced feature in VisualMotion 11 used
to move up to six axes in coordinated fashion based on world coordinate
inputs from an ELS Group CAM output or manual positions. This feature
provides the ability to link cyclic coordinated motion to an ELS master.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-75
Block Functionality
This function can be visualized consisting of four types of blocks:
Offset
CAM * H A-0-0102
Local
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-76 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Local – Sync
Local mode target Min/ Max Check Mode Switching
position CA#_%_MIN Linear ramp
CA#_%_TAR_POS CA#_%_MAX generator
Rotary ramp
Enable ramp generator generator
CA#_%_MAN_EN
At target position
CA#_X_AT_TAR_POS
World coordinate
input
CA#_%_IN_POS
Enable
Ramp
Generator
At target
Position
Velocity
Local Input
Position
World
Coordinate
Input
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-77
System Considerations
Axis Motion Type
Axis parameter A-0-0003 is set to axis motion type 9 (Coordinated
Articulation Axis). This axis motion type has the following configuration
(S-0-0258 & S-0-0047 in the MDT):
• Primary Operating Mode: Position Command
• Secondary Operating Mode 1: Single Axis
• Secondary Operating Mode 2: Velocity
• Secondary Operating Mode 3: Torque
Feedback Support
The Coordinated Articulation function supports only the primary feedback
device of the drive.
E-Stop of Coordinated Articulation Axes
Axes remain in their current mode, “position” or “single axis”. The ELS
Group ramps to a stop in “Local Mode” using stop deceleration.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-78 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Synchronized Mode The first control register selects the operation mode (sync or local) for
Control Register each axis.
Local Mode Control Register The second control register enables the ramp generator in local mode for
each axis. Local mode allows the user to manually position the world
coordinate in-position value to the current CAM output position before
synchronizing.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-79
Synchronized Mode The first register is used to monitor the status of each axis enabled to
Status Register synchronized mode. It also monitors the equivalence between variables
CA#_%_IN_POS and CA#_%_TAR_POS (where % = X, Y, Z, ROLL,
PITCH or YAW).
Local Mode Status Register The second register is used to monitor the status of CA#_%_IN_POS
equal to CA#_%_TAR_POS.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-80 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
9 CA#_Z_CAM_NUM
10 CA#_ROLL_CAM_NUM
11 CA#_PITCH_CAM_NUM
12 CA#_YAW_CAM_NUM
13 0 read/write CA#_TASK_ID
in phase 2
read-only
in phase 4
14 0 read/write CA#_Reserved14
in any phase
15 0 Read only CA#_KINEMATIC Number of kinematic equation used in
transformation
16 1 read/write CA#_ELS_GROUP ELS Group number used as CAM input
in phase 2
read-only
in phase 4
17 0 read/write CA#_RESERVED17
in any phase
18 0 read/write CA#_RESERVED18
in any phase
19 0 read/write CA#_RESERVED19
in any phase
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-81
Float Variables
The following 93 floats are available for Coordination Articulated. The
float label column displays the default label issued by VisualMotion.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-82 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-83
1. Ensure that all configured axes are in single axis mode by using a
Mode Change icon.
2. Set CA#_%_SYNC to 0 (Local Mode)
3. Set each axis target position variable CA#_%_TAR_POS to a known
world coordinate machine reference position.
4. Set CA#_%_MAN_IMD to 1 (Immediate Local Mode)
5. Transition the manual enable bit CA#_%_MAN_EN from 0 ⇒ 1 to
immediately store the value of CA#_%_TAR_POS to
CA#_%_IN_POS.
6. In single axis, use a Move icon to position each configured axis to the
calculated axis commanded position A-0-0101 and wait for moves to
complete.
7. Using a Change Mode icon, Synch to Master.
[Now that all axes are positioned to a known machine reference point, the
Articulated Coordinated axes can now be synchronized to the
Coordinated Articulation CAM output]
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-84 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Coordinated Jogging When a drive is referenced, the G*P 11 control firmware detects the travel
limits for kinematic 1 only. Once started, jogging automatically stops
before the drive travel limit is reached. For all other kinematics, if the
drive is referenced, jogging will continue if commanded until the drive
issues a travel limit fault.
Coordinated axes may be jog in any direction while a task is in manual
mode by using Task Jog Registers 7-10. Refer to chapter 14, Registers,
in volume 1 of the Rexroth VisualMotion 11 Functional Description.
Kinematic 1
This kinematic represents a standard 3 axes gantry (up to 3 axes,
Cartesian coordinates X, Y, and Z) arrangement used with basic
coordinated motion applications not requiring complex paths.
Y
O
O = (0, 0, 0)
X
kinematic_1or8.FH7
Kinematic 2
This kinematic represents a 2 axes (C1 and C2) parallelogram robot.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-85
X
0
K3 K2
K4 K1
0 = (0, 0)
C2 C1 C1 = X axis
0 C2 = Y axis
K5
K6
Kinematic_2.FH7
Kinematic 3
This kinematic represents a 2 axes (C1 and C2) XY tandem motor robot.
0
-x
C2
-y
y x
45
0
0 C1
0 = (0, 0)
C1 = X axis
-x
C2 = Y axis
Kinematic_3.FH7
Kinematic 4
This kinematic represents a 2 axes (C1 and C2) parallelogram robot.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-86 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
x
0
K3 K2
K4 K1
0 = (0, 0)
C2 0 C1 = X axis
C2 = Y axis
C1
K5
Kinematic_4.FH7
Kinematic 5
This kinematic represents a 2 axes (C1 and C2) XY tandem motor robot.
K5
K1
K3
C1 K2 Pivot
K7
K4 K6
0 C2 900
K8
0 = (0, 0)
C1 = X axis
C2 = Y axis y
x
0
Kinematic_5.FH7
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-87
The rate field in kinematic 8 is used to more precisely enter the velocity
for each commanded point. The %Sp (percentage of speed) field does
not have any affect in speed control.
Note: If a zero value is used for rate, the maximum path velocity
(T-0-0020) will be used.
The path velocity is a resultant of all the individual axes'
velocities for a kinematic. The control continuously calculates
the individual axes' velocities to accomplish the programmed
path. If the calculation for a given axis exceeds parameter
A-0-0020, then the resultant path velocity for that given path
segment will be scaled down.
Points.tif
Y
O
O = (0, 0, 0)
X
kinematic_1or8.Fh7
Kinematic 9
This Kinematic represents a 2 axes (C1 and C2) articulated arm robot.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-88 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
X
0
O = (0,0)
K1 K2
C1 = X axis
O
C2 = Z axis
C1 C2
Kinmeatic_9.FH7
Kinematic 10
This Kinematic represents a 3 axes (X, Y and Wrist) robot.
X
0
O
X
Y
O = (0, 0)
C1 = X axis
C2 = Y axis Wrist
Wrist = Z axis
Kinematic_10.FH7
Kinematic 12
This Kinematic represents a 2 axes (X and Z) Loader robot.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Operating Modes 6-89
Z motor
K1
(0.0, 0.0)
X
K2
X motor
K3
K5
K4
kinematic_12.Fh7
Kinematic 13
Kinematic 13 is a pass through kinematic. It can be used for up to 6 axes
in an Coordinated Articulation application. The target position value for
each axis must be assigned in the respective float variable
CA#_%_TAR_POS (where % is x, y, z, roll, pitch or yaw). There is no
output kinematic resolving the position of the axes based on a
coordinated move.
This kinematic is not assigned in the axis icon but in the Coordinated
Articulation icon in the Kinematic Setup button. Since this kinematic is a
pass through, any values assigned as Kinematic Data has no effect on
the output. The float variable values assigned are pass through to each
axis.
Kinematic 14
Kinematic 14 is a customer specific kinematic used for new Hexapod
robot.
Kinematic 15
Kinematic 15 is customer specific and proprietary.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6-90 Operating Modes Rexroth VisualMotion 11 Functional Description - Volume 1
Kinematic 16
This Kinematic represents a 2 axes (X and Z) Loader robot used in a
Coordinated Articulation application.
Z motor
K1
(0.0, 0.0)
X
K2
X motor
K3
K5
K4
kinematic_16.Fh7
Kinematic 18
This kinematic represents a 2 axes (C1 and C2) XY tandem motor robot
used in a Coordinated Articulation application.
0
-x
C2
-y
y x
45
0
0 C1
0 = (0, 0)
C1 = X axis
-x
C2 = Y axis
Kinematic_18.FH7
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-1
7 Commissioning Tools
7.1 IndraLogic
IndraLogic is an IEC 61131-3 programming software tool used for
programming the PLC logic portion of the VisualMotion motion and logic
system. IndraLogic can be used for varying amounts of programming,
from a simple I/O interface to VisualMotion registers, to a complete PLC
project. Using supported motion functions and function blocks,
IndraLogic can provide a complete motion programming solution for
single axis or ELS applications.
The following five IEC 61131-3 programming languages are supported:
• Instruction List (IL)
• Ladder Diagram (LD)
• Function Block Diagram (FBD)
• Sequential Function Chart (SFC)
• Structured Text (ST)
Communication Ports
S, P
Param Sercos
Rexroth
Inline I/O Reco I/O
Digital Drives
IND_Comm_Interface_Data.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-2 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
The PLC project name is assigned the same project named used in the
associated VisualMotion project when IndraLogic is launched from
VisualMotion Toolkit.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-3
IND_Sercos_cycle.FH7
The PLC Timeslice is set at a default value of 25% and can have a
maximum value of 75% of the overall Sercos cycle. The percentage
setting of the Sercos Timeslice for the PLC is configured in the Control
Settings window in VisualMotion Toolkit. This setting is stored in control
parameter C-0-1600.
IND_Timeslice_Setting.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-4 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
IND_Taskattributes.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-5
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-6 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Input Assistant When opened for a Program Call, the Input Assistant window will list all
available POUs in the project. The window can also be accessed by
pressing the F2 function key.
IND_InputAssistant.tif
Automatic Boot Project Creation To have IndraLogic automatically download the current PLC project to the
control as a boot project, select the Resource tab (located under the tree
navigator). Next, double click on Target Settings to open the Target
Settings window. Under the General tab, check the box next to "Load
bootproject automatically".
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-7
Simulation Mode
Simulation mode allows you to test your IndraLogic project without
actually communicating with your PLC target. In this mode, only logic
functionality will run, motion functionality will be ignored. Use the
following steps, to use simulation mode:
1. Select Online ⇒ Simulation Mode in IndraLogic.
2. Bring the PLC online by clicking on the Login icon or by selecting
Online ⇒ Login.
3. Start the PLC project, by clicking on the Run icon or by selecting
Online ⇒ Run.
SimMode.tif
TaskExecution.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-8 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
PLC Configuration
When IndraLogic is launched from VisualMotion Toolkit, the PLC
Configuration in IndraLogic is configured based on the selected target.
Note: PLC Configurations are saved with the setting of the original
project target. If the VisualMotion project target is changed,
(i.e., GPP 11 to GMP 11), an empty default PLC Configuration
is created and would require the user to manually re-create the
PLC Configuration. Refer to Managing IndraLogic Files on
page 7-57 for recommended procedures for archiving and
restoring project files.
PLCConfig.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-9
Any LocalReco 02 I/O modules installed along with the PPC-R22.1 control
in the RMB02.2 rack must be manually configured. Refer to Configuring
Local Reco 02 I/O Modules in IndraLogic on page 7-11 for details.
PLCSystemSetting.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-10 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
OnlineChangeError.tif
OnlineChangeWarning.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-11
VisualMotion Variables
VisualMotion variables such as program variables, global variables and
registers can be declared and passed to IndraLogic as SysLibDirect
variables. Refer to SysLibDirect on page 7-17 for details.
Note: Status for Local Reco 02 I/O is not visible unless the data is
used in a PLC program.
InitPLCconfig.tif
ReplaceEmptySlot.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-12 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
NameVariable.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-13
helpmanager.tif
The I/O module can be accessed using the symbolic name or IEC
address directly.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-14 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Axis Configuration
The assignment of axes in a system is dependent on whether
VisualMotion or IndraLogic will control the motion. In either case, all axes
must be declared in VisualMotion Toolkit.
Axes are assigned to a VisualMotion task or to IndraLogic within the
Setup Axes List in the Project Navigator window.
IND_VM__Axis_Setup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-15
Note: For details on how the setup axes and ELS processes, refer to
section 4.3 under headings Setup Axes and Setup Processes.
AssociateELS.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-16 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
The following figure illustrates the type of motion data that can be
accessed by the different IndraLogic access methods.
C, T, and A
Parameters
with long
access times
S and P
Parameters
Motion
Functionality
PLC Access
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-17
PLC Access
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-18 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
SysLibDirect Variable SysLibDirect variables are declared as global variables in the PLC and
Usage and Status accessed from the motion side at the immediate point of execution. This
means that when a POU accesses a SysLibDirect variable, that data is
read from and written to VisualMotion at that instant. For this reason,
data consistency can not be guaranteed if the same variable is being
accessed multiple times by the same POU or from a different POU. If
data consistency is required, copy the contents of the SysLibDirect
variable to a new local or global variable and then use the new variable in
the POU or use the I/O Image.
Once used in a PLC program, the user can monitor the status of
SysLibDirect variables just like local or global IndraLogic variables in
IndraLogic version 1.4 or greater.
SysLibDirect variable
showing active status
SysLibDirectStatus.tif
Configuration in VisualMotion VisualMotion variables can be shared with IndraLogic using predefined
default label names assigned by VisualMotion or by prepending an ID to
the front of each default label name. Refer to Prepend Data Type to
Label on page 7-21 for details.
The supported addressing format are as follows:
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-19
AutoConfigSys.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-20 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
DeclaredVMvariables.tif
SysLibDirectGlobalVar.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-21
Prepend Data Type to Label The data type ID (e.g. F100) of a variable label in VisualMotion can be
added as a prefix to the label name before sharing it with IndraLogic.
This is performed by selecting Prepend Data Type to Label under the
Options menu. This option facilitates the identification of the different
variable labels once they appear as SysLibDirect variables in IndraLogic.
PrependVMlabels.tif
SysLibDirectGlobalVarPrepend.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-22 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Cyclic Binary I/O The cyclic binary I/O memory area contains the VisualMotion system,
axes, Virtual Masters, ELS Masters, ELS Groups, Link Ring, and I/O
registers.
Note: Cyclic binary I/O is structured into control and status register
memory areas for the VisualMotion System and the ELS
System. For the IO Registers, an input and output structure is
used. These control and status register memory areas are
predefined to access the correct VisualMotion registers.
CyclicBinaryIO.tif
Cyclic Process Data The cyclic process data memory area contains VisualMotion program
variables, global variables, card (control) parameters, axis parameters,
and task parameters. All of the data in this memory area is of non-
Boolean type.
CyclicProcessData.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-23
AppendCyclicBinaryIO.tif
The following table lists the configurable variables in the Cyclic Binary IO:
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-24 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Declaring Cyclic Process Data When declaring cyclic process data, e.g., a float variable, two declarations
are required for reading and writing data. The input declaration is used to
read the data from VisualMotion at the beginning of the PLC cycle and the
output declaration is used to write the data back to VisualMotion at the
end of the PLC cycle. The same VisualMotion data is accessed,
however, the I/O Image requires two separate memory locations for
reading and writing data.
For example, to declare a global float as input memory:
1. Expand the MotionLogic Data Exchange [FIX] tree structure to display
Cyclic Process Data [FIX].
2. Expand the Global Floats tree structure and right click over Inputs
Global Floats.
3. Select Append Input Single Global Float.
4. In the Module Parameters tab to the right of the I/O Image, set the
Value field to the number assigned to the VisualMotion global float
that will be accessed.
5. Left click over "AT %ID16:", for example, and assign a label that will
be used by the PLC program to access the specific input memory
location.
Note: No two labels can have the same exact name in the I/O
Image. When assigning labels to access (read/write) the
same VisualMotion data, select names that will be recognized
as accessing the same data between the input and output
memory locations. Refer to the labels "GF100_IN" and
"GF100_OUT" in the following figure.
DeclareGlobalFloat.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-25
The process for declaring parameters (Card, Axis, and Task) is similar to
that of global floats. The difference is observed when the user right clicks
over a parameter access type, selects Append Subelements and then
needs to select a parameter based on the data type (e.g. REAL, WORD,
INT, etc.). Once a data type is selected the Module Parameters tab
displays a dropdown list of the available parameters for the selected data
type along with the Axis_ID to specify the axis number.
For a complete listing of available parameters based on PLC data types,
refer to Cyclic Process Data Types on page 7-32.
DeclareParameters.tif
Note: Only declared data labeled with a valid name will appear in the
Input Assistant under Global Variables or System Variables.
Accessing Cyclic Binary I/O The elements of a configured variable of type STRUCT in the Cyclic
Binary I/O Image can be accessed in a POU object by using the Input
Assistant followed by standard dot notation.
Note: Online monitoring of I/O data is not possible unless the data is
used in a PLC program.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-26 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Dot notation
CyclicBinary_dot.tif
The following tables list the available STRUCT elements for each variable
type in the Cyclic Binary I/O:
Accessing Cyclic Process Data Variables and parameters (Card, Axis, and Task) in the Cyclic Process
Data area can be selected for use in a POU by using the Input Assistant
(F2 key) and selecting the relevant data from Global Variables or System
Variables.
AccessingCyclidData.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-27
Equivalent VM
Subelement Name STRUCT Element Register Bit
VMSystem_Control Parameter_Mode 1
(Similar to Register 001) nEmergency_Stop 3
Clear_All_Erorrs 5
Pendant_Live_Man 6
Rebuild_Double_Ring 7
Activate_Program 8
Program_Select_LSB 9
Program_Select_Bit_2 10
Program_Select_Bit_3 11
Program_Select_MSB 12
Pendant_Enable 14
Pendant_Level_LSB 15
Pendant_Level_MSB 16
Table 7-8: Visual_Motion_System Control Subelement (Output)
Equivalent VM
Subelement Name STRUCT Element Register Bit
VMSystem_Status Parameter_Mode 1
(Similar to Register 021) Service_Channel_Ready 4
Error 5
Error_Active 6
Warning_Active 7
PLC_Error_Active 8
Active_Program_LSB 9
Active_Program_Bit_2 10
Active_Program_Bit_3 11
Active_Program_MSB 12
TP_Password_Active 13
Teach_Pendent 14
Flash_Back_Vaoid 15
AutoStore_Copy_Valid 16
Table 7-9: Visual_Motion_System Status Subelement (Input)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-28 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Equivalent VM
Subelement Name STRUCT Element Register Bit
Axis_Control Disable_Axis 1
(Similar to Register 11-18, Jog_Forward 2
209-240 and 441-464) Jog_Reverse 3
Synchronized_Jog 4
Equivalent VM
Subelement Name STRUCT Element Register Bit
Axis_Status Multiplex_Ch_Enabled 1
(Similar to Register 31-38, Jogging_Forward 2
309-340 and 541-564) Jogging_Reverse 3
Phase_Adjusted 4
ELS_Enabled 5
ELS_Secondary_Mode 6
Axis_in_Position 7
Axis_Aligned 8
Axis_Stopped 10
Axis_Halted 11
Class_3_Status 12
Class_2_Warning 13
Shutdown_Error 14
Drive_Ready_LSB 15
Drive_Ready_MSB 16
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-29
Equivalent VM
Subelement Name STRUCT Element Register Bit
VirtualMaster_Control VM_CT_FSTOP 1
(Similar to Default VM_CT_HOME 2
Reg. 150 for Virtual VM_CT_GO 3
Master 1 and Reg. 151 VM_CT_VMODE 4
for Virtual Master 2) VM_CT_RELMODE 5
VM_CT_RELTRIG 6
Equivalent VM
Subelement Name STRUCT Element Register Bit
VirtualMaster_Status VM_ST_FSTOP 1
(Similar to Default VM_ST_HOME 2
Reg. 241 for Virtual VM_ST_VMODE 4
Master 1 and Reg. 242 VM_ST_RELMODE 5
for Virtual Master 2) VM_ST_ZEROVEL 7
VM_ST_INPOS 8
ELS_Master Variable This variable is used to configure a single instance of the current ELS
Master. This instance includes a structure for the control register
(MV_ELS_MASTER_LC2MC) and a structure for the status register
(MV_ELS_MASTER_MC2LC). Refer to section 6.1, Electronic Line
Shafting, for descriptions of element names.
Equivalent VM
Subelement Name STRUCT Element Register Bit
ELSMaster_Control ELS_M_CT_SET_REF1 7
(Similar to Default ELS_M_CT_SET_REF2 8
Reg. 140 for ELS ELS_M_CT_SET_REF3 9
Master Control) ELS_M_CT_SET_REF4 10
ELS_M_CT_SET_REF5 11
ELS_M_CT_SET_REF6 12
ELS_M_CT_SLIP_CAPT1 15
ELS_M_CT_SLIP_EN 16
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-30 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Equivalent VM
Subelement Name STRUCT Element Register Bit
ELSMaster_Status ELS_M_ST_STOPPED1 1
(Similar to Default ELS_M_ST_STOPPED2 2
Reg. 141 for ELS ELS_M_ST_STOPPED3 3
Master Status) ELS_M_ST_STOPPED4 4
ELS_M_ST_STOPPED5 5
ELS_M_ST_STOPPED6 6
ELS_M_ST_REF1 7
ELS_M_ST_REF2 8
ELS_M_ST_REF3 9
ELS_M_ST_REF4 10
ELS_M_ST_REF5 11
ELS_M_ST_REF6 12
ELS_M_ST_SLIP_ERROR 14
ELS_M_ST_SLIP_ENC 15
ELS_M_ST_SLIP_ENA 16
ELS_Groups Variable This variable is used to configure up to 8 instances of ELS Groups. Each
instance includes a structure for the control register
(MV_ELS_GROUP_LC2MC) and a structure for the status register
(MV_ELS_GROUP_MC2LC). The ELS Group value in Module
parameters tab corresponds to the ELS Group's number. Refer to section
6.1, Electronic Line Shafting, for descriptions of element names.
Equivalent VM
Subelement Name STRUCT Element Register Bit
ELSGroup_Control G_CT_LOCK_OFF 1
(Similar to Default G_CT_M_REL_PH 2
Reg. 152-159 for ELS G_CT_S_REL_PH 3
Groups 1-8 Control) G_CT_MSTR_SEL 4
G_CT_VAR_CLK 5
G_CT_LOCAL 6
G_CT_LM_FSTOP 7
C_CT_LM_HOME 8
G_CT_LM_GO 9
G_CT_LM_VMODE 10
G_CT_M_ABS_PH 11
G_CT_S_ABS_PH 12
G_CT_LM_RELMODE 13
G_CT_LM_RELTRIG 14
G_CT_MSTR_FOL_PH 15
G_CT_MSTR_ABORT_PH 16
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-31
Equivalent VM
Subelement Name STRUCT Element Register Bit
ELSGroup_Status G_ST_LOCK_ON 1
(Similar to Default G_ST_M_REL_PH 2
Reg. 243-250 for ELS G_ST_S_REL_PH 3
Groups 1-8 Status) G_ST_MSTR_SEL 4
G_ST_VAR_ACK 5
G_ST_LOCAL 6
G_ST_LM_FSTOP 7
G_ST_LM_HOME 8
G_ST_MOTION 9
G_ST_LM_VMODE 10
G_ST_M_ABS_PH 11
G_ST_S_ABS_PH 12
G_ST_LM_RELMODE 13
G_ST_LM_ZEROVEL 14
G_ST_LM_INPOS 15
Link_Ring Variable This variable is used to configure a single instance of the Link Ring cross
communication (MV_LINK_RING_MC2LC). This instance includes a
structure for the input used for monitoring the cross communication.
Refer to section 6.1, Electronic Line Shafting, for descriptions of element
names.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-32 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
IO_Registers.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-33
Card Parameters The following table lists the supported card (control) parameters
Input (Read) Access supported in the cyclic process data area.
Task Parameters The following table lists the supported task parameters supported in the
Input (Read) Access cyclic process data area.
Axis Parameters The following table lists the supported axis parameters supported in the
Input (Read) Access cyclic process data input memory area.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-34 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Axis Parameters The following table lists the supported axis parameters supported in the
Output (Write) Access cyclic process data input memory area. These parameters must be
predefined using A-0-0180 through A-0-0184.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-35
Shared Memory
The shared memory area is dynamically updated and can be accessed by
both the motion and logic sides of the firmware. It provides mostly
diagnostic information about the system. It resides on the motion side
but can be accessed by IndraLogic as read-only text.
The available shared memory items are dependent on the current PLC
target. All shared memory information is pre-labeled starting with the
letters “MV_” (e.g. “MV_ACTPHASE”). The shared memory items for
VisualMotion 11 include:
Variable Description
MV_ACTPHASE STRING (81) (*Control Firmware Version, C-0-0100*)
MV_DIAGNUMBER UDINT (*Diagnostic Code, C-0-0123*)
MV_DIAGTEXT STRING (81) (*Diagnostic Message, C-0-0122*)
MV_EXTDIAGTEXT STRING (81) (*Extended Diagnostic, C-0-0124*)
MV_PLCDIAGNUMBER UDINT (*PLC Diagnostic Code, C-0-1611*)
MV_PLCDIAGTEXT STRING (81) (*PLC Diagnostic Message, C-0-1612*)
MV_PLCEXTDIAGTEXT STRING (81) (*PLC Extended Diagnostic, C-0-1613*)
MV_POUERRORLOG ARRAY[0..29] OF UDINT (* PLC Function Block Error Log, C-0-1620 *)
MV_VERSIONSTRING INT (*Sercos Communication Phase, C-0-0121*)
Table 7-24: Shared Memory Variables
SharedMemory.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-36 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
AddFieldbusMaster.tif
4. Select the DP Parameters tab and set the Station address and
Highest station address. The Highest station address refers to the
device address of the last slave device.
5. Switch to the Bus Parameters tab and set the Baud rate for the
fieldbus master to match to system. Profibus baud rate is commonly
set to 120000,00 kBits/s (12 Mbits/s).
The Fieldbus slave device is added to the tree structure below the
Fieldbus Master.
2. Select the DP Parameters tab and configure the slave devices.
Note: The Station address for each slave device in IndraLogic must
match the Device Address configured for the slave device.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-37
IND_FB_Config.tif
Note: The status of fieldbus I/O can only be monitored online if the
data is used in the PLC program.
Note: The *.gsd file contains configuration properties for the specific
device and is required for registering the slave device with the
fieldbus master.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-38 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
AddFieldbusMaster.tif
Base Parameters 4. Select the Base Parameters tab and set the Node id for the master.
The Node id identifies the DeviceNet master within the IndraLogic
environment.
Device Net Parameters 5. Select to the Device Net Parameters tab and set the baudrate for the
fieldbus master to match to system. DeviceNet baudrate is
commonly set to 500 Kbits.
6. Set the Address for the master. The address is used for identification
within the DeviceNet network.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-39
AppendDeviceSlave.tif
Note: The status of fieldbus I/O can only be monitored online if the
data is used in the PLC program.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-40 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Note: The *.eds file contains configuration properties for the specific
device and is required for registering the slave devices with
the fieldbus master.
Default system *.eds configuration files are stored in the "config" folder
within the target folder. User installed *.eds configuration files are stored
in the "userconfig" folder of the same target folder.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-41
FB_Example.tif
FN_Example.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-42 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-43
IEC Libraries
A library is a list of objects that can be used in different projects. A default
library called standard.lib is available in IndraLogic, but it is also possible
to create custom libraries with IndraLogic and encrypt the libraries to
protect proprietary information. In addition, it is possible to call motion
control functions as library objects. The following table lists the libraries
that are supported by VisualMotion and IndraLogic:
Loaded By
Library Name Description Default
IecSfc.lib Function block and data types for executing standard IEC Sequential Function Chart X
(SFC) actions
MSV_AcyclicComm.lib Function blocks for reading parameter data X
MSV_CheckRtv.lib Used for monitoring proper operations on the data access mechanisms such as Division,
Access to an indicated array element, Value assignment to a variable with limited value
range, and Pointer access
MV_CyclicIO.lib Defined data types for binary portion of I/O Image configuration X
MV_ErrorLog This library provides the PLC programmer with the ability to log PLC errors and make
them available to the control via the Shared Memory system variable MV_PouErrorLog.
MV_Motion.lib Function blocks and data types for executing single axis and ELS based motion from X
within the PLC task
MV_UserMotion Allows the user to configure motion control profiles from a high priority Sercos event task
NetVarUDP_Lib_v23.lib Network global variables access between PPC and Ethernet via UDP. (PPC-R22.1 only)
RIL_CommonTypes.lib Defined data types for common use functions, such as error structure, axis_ref, etc. X
RIL_DeviceNet.lib Function blocks for managing the DeviceNet master interface
RIL_Diagnosis.lib This function is used to ensure compatibility of firmware X
RIL_ProfibusDP.lib Function blocks for managing the Profibus master interface
RIL_Utilities.lib Utility library containing functions and function blocks for various tasks, such as type
conversions for AcyclicComm_MSV01.lib, time conversions, etc.
RIL_VexUtil.lib The library enables the user to transmit keystrokes on Rexroth VEH/VEP HMIs in a safe
way to the control.
RMC_PLCopen.lib Standard PLC Open function blocks used for administrative and single axis motion
Standard.lib Function blocks for executing standard PLC capabilities such as timers, counters, latch X
registers, string manipulation, etc.
SysLibCallback.lib Management of PLC Events
SysLibCom.lib Send and receive serial port messages via X16 on the PPC. X16 must be configured for
"SysLibCom" under Tools ⇒ Control Settings.
SysLibDirect.lib Hidden library, not for user access X
SysLibFile.lib Functions can be used to create, open, close, delete, rename, write to or read from files
on the PLC
SysLibFileAsync This library is the same as SysLibFile.lib, however function blocks instead of functions are
used and the processing is asynchronous
SysLibPlcCtrl.lib Functions used to start, reset, stop, and shutdown a PLC program. Also, retain variables
can be saved and restored
SysLibSockets.lib Used with network global variables (PPC-R22.1 only)
SysLibSocketsAsync.lib This library is the same as SysLibSocket.lib, however function blocks instead of functions
are used and the processing is asynchronous
SysLibStr.lib An action control library for IEC 61131-3 SFC actions
SysLibTime.lib Function blocks used for reading the real-time clock of the local computer X
SysTaskInfo.lib Used to monitor task processing times X
Util.lib Utility library containing functions and function blocks for various task such as PID loops,
Calculus functions, signal generators, data monitoring, and bit/byte management
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-44 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Note: The default folder locations for IEC libraries are as follows:
Program Files/Rexroth/IndraLogic/Targets/<firmware target>
Any library starting with "SysLib" is stored in the /internal
folder. All others are stored in the /lib folder.
IND_Lib_Mngr.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-45
FbContextHelp.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-46 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
The following table lists the IndraLogic communication channels and the
maximum connections to one control at any given time:
VisualMotion VisualMotion
IndraLogic Toolkit
IndraLogic Toolkit
RS232 PPC or
SCP VM TCP/IP Level 2
HMI HMI
DDE OPC DDE OPC
SIS
COM Tunneling COM
Gateway Gateway
DDE OPC DDE OPC
COM COM
Local Gateway Connections
SCP SCP
Legend
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-47
VisualMotion VisualMotion
IndraLogic Toolkit
IndraLogic Toolkit
RS232 PPC or
SCP VM TCP/IP Level 2
HMI HMI
DDE OPC DDE OPC
SIS
COM COM
Tunneling
Gateway Gateway
DDE OPC DDE OPC
COM COM
TCP/IP RS232 PPC
SCP SCP
SCP
Remote
X10 PPC-P11.1
PCI Bus
GMP 10 Firmware ETH ETH Serial
X16
Optional X16 Legend
Serial Port Remote Access
VisualMotion
(Refer to Fig. 7-51)
IndraLogic
X16 configured for IndraLogic only
X10 or X16 for VisualMotion
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-48 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
IND_Comm_Param.tif
Double-click
or
Arrow Keys
IND_Comm_Type.tif
RS232 PPC
The RS232 PPC communication channel is a direct serial connection to
the control's X16 port. The Gateway bypasses the SCP server and
connects directly to the control. In VisualMotion, the X16 communication
port parameter C-0-0012 must be configured for IndraLogic (online mode
required).
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-49
IND_Comm_Param_RS232.tif
3. Set the Port to match the PC port and the Baudrate to match the
current settings of the X16 communication port (C-0-0004) on the
control. Selections are made by double-clicking or using the arrow
keys in the Value field.
Double-click
or
Arrow Keys
IND_Comm_Type_RS232.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-50 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
IND_Comm_Param_TCPIP.tif
IND_Comm_Type_TCPIP.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-51
VisualMotion VisualMotion
IndraLogic Toolkit
IndraLogic Toolkit
Communication
parameters on PC 1 TCP/IP Level 2
HMI HMI
DDE OPC DDE OPC
COM COM
Gateway Gateway
DDE OPC DDE OPC
COM COM
TCP/IP Gateway Connection
SCP SCP
Remote
SCP
see Note 1.
Legend
Note: VisualMotion
1. SCP to SCP remote access for motion functionality. IndraLogic
Refer to section 18.4 in volume 2 of the Functional Description
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-52 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
3. Select the Connection type as "Tcp/Ip", set the host PC's IP address,
using dot notation, or enter the computer name of the host PC to
access and use the default port 1210. The password field is not
used.
Gateway_Tcp_Ip.tif
Gateway_comm_para.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-53
VisualMotion VisualMotion
IndraLogic Toolkit
IndraLogic Toolkit
Communication
parameters on PC 1 SCP VM HMI
HMI
DDE OPC DDE OPC
SIS
COM COM Tunneling
Gateway Gateway
DDE OPC Local Gateway Connections DDE OPC
COM COM
SCP Interface Layer SCP Interface Layer
To Control
Legend
VisualMotion
IndraLogic
Use the following steps to configure SCP Server for remote access:
1. From the Windows taskbar, select Start ⇒ Programs ⇒ Rexroth ⇒
SCP ⇒ SCP Remote Selection.
2. Select the computer name of a Remote Host or enter the Remote IP
Address and click the Apply button. The window can then be
minimized or closed.
SCP_Remote.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-54 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Gateway_comm_para.tif
DCOM Configuration
The configuration of DCOM is required in both the host and client PCs for
remote access. Client PCs only need to enable DCOM, while the host PC
enables DCOM and configures the security settings to allow a client PC
access.
Note: This section describes the DCOM setup for Windows 2000.
For Windows XP, refer to Windows XP help for details.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-55
DCOM_Def_Prop.tif
3. From the Application tab, scroll down and highlight IndraLogic and
click on the Properties… button.
DCOM_Apps.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-56 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
DCOM_IndraLogic_Genenral.tif
DCOM_IndraLogic_Location.tif
6. From the Security tab, set the appropriate security setting for access
permissions and launch permissions. Custom access permissions
allows a client PC to access the host PC. Custom launch
permissions is required to allow client PCs to start the SCP server for
Gateway to SCP and SCP to SCP remote connections.
DCOM_IndraLogic_Security.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-57
SaveMail.tif
Clicking the Details … button, allows for selectable entries within any
given file type. The zip file can be saved to the hard drive or emailed
directly from the Save Archive window.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-58 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Note: Stop the PLC program before performing the save retain
procedure below.
saveretain.tif
Save PLC Files 5. Enter "filedir" in the PLC Browser command line. This command will
list all the pertinent file on the PLC.
6. While still online with the PLC project, select Online ⇒ Read file
from PLC.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-59
7. Locate a folder location on your hard drive and enter the file name of
the first PLC file as it appears in the list, including the extension. The
file names are case sensitive.
8. Repeat this process until all the files have been saved.
Refer to the following figure as en example:
SavefilefromPLC.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-60 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
6. Using Online ⇒ Write file to PLC, download all PLC project files
from a previous archive.
7. Repeat step 6 until all the files have been downloaded to the PLC.
8. Rename the boot project file using a PLC Browser command as
follows: "filerename DEFAULT.BAK DEFAULT.PRG"
9. Reload boot project using the PLC Browser command
"reload DEFAULT.PRG".
10. Restore any existing retain data using the "restoreretain" command.
11. Start the PLC project by selecting Online ⇒ Run (F5).
6. In the Load project from PLC window, select the Yes, all button to
upload all existing configuration files on the PLC.
7. Save the IndraLogic project using the Save as command under the
File menu.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-61
8. Locate the new folder location, created in step 1, select the existing
*.pro file and click on the Save button.
Export SysLibDirect Labels 9. To export the SysLibDirect labels to be used by VisualMotion Toolkit,
select Project ⇒ Export, expand the Global Variables folder and
click on VisualMotion Variables.
Note: Make sure that "One file for each object" is not checked.
ExportVMlabels.tif
10. Locate the new folder location created in step 1, name the file
"VMLabels.exp".
11. Rebuild the IndraLogic project by selecting Project ⇒ Rebuild all.
12. Go online with both VisualMotion Toolkit and IndraLogic and run the
PLC project.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-62 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
IO_Config_Tool.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-63
Note: In online mode, digital drives connected to the Sercos ring will
be uploaded to the I/O Setup Tool whether or not they contain
I/O devices. Drive-based I/O devices cannot be detected and
must be manually added to the I/O configuration.
Offline Programming
The programming of Sercos I/O devices in offline mode is supported
when no communication with the control is possible.
Switching an I/O Configuration To synchronize an I/O configuration file commissioned offline, open the
to Online Mode project containing the I/O configuration and switch the control to online
mode (File ⇒ Online).
VisualMotion detects any changes to the current project on the control (if
downloaded previously) and informs the user of the components in the
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-64 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
project that have changed. The user can accept the changes and
download them to the control or establish a connection to the control
without downloading any data by selecting the Go online
Unsynchronized button.
IOsetupImport.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-65
The following steps outline the procedure for uploading and downloading
an existing I/O configuration from and to the control for modifications.
1. Open VisualMotion Toolkit in service mode.
2. Select Commission ⇒ I/O Setup to open the I/O Setup Tool.
3. Switch the control to parameter mode.
4. Upload the I/O configuration by selecting File ⇒ Upload
Configuration or click the upload icon ( ).
5. Make the necessary modifications to the I/O configuration. Save the
file and download the modifications to the control by clicking the
download icon ( ).
Note: Make sure that the starting register number has enough
available consecutive registers for the Inline modules attached
to the Sercos Inline Coupler.
If any new Inline modules are added to the hardware
configuration, the configuration process would have to be
repeat.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-66 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Inline_Config.tif
auto_assign_inline.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-67
Enable and Disable Configured To enable or disable an individual Sercos Inline module, right-click over
Sercos Inline Modules the module icon in the tree structure and select Modify I/O Module. The
project needs to be online and synchronized in order to perform this
function.
Disabled Enabled
enable_disable_inline.tif
IO_Setup_Bit_use.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-68 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
New Ctrl+N
This selection is available in service mode and is used to create a blank
I/O Configuration work area.
Open… Ctrl+O
This selection is available in service mode and is used to open existing
I/O configuration (*.prm) file.
Upload Configuration
This selection is available in service mode and is used to upload the
current I/O configuration from the control’s memory to the I/O Setup Tool.
Download Configuration
This selection is available in service mode and is used to download any
modifications made to the I/O configuration to the control’s memory.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-69
Note: The Reco I/O modules on the PPC controls rack are
configured as part of the PLC Configuration in IndraLogic.
Note: Registers can not be assigned to digital drives for status and
diagnostic purposes. Only I/O modules installed in digital
drives can be assigned registers.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-70 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Table 7-30: Local Reco and RMK I/O Controller I/O Modules
Note: Any I/O modules configured under the selected I/O station will
also be removed.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-71
Auto-Assign Registers
This menu selection allows the user to add default starting registers to all
configured I/O devices. Used registers are displayed with an icon within
each register number when selecting View ⇒ Display Register Usage.
AutoAssignReg.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-72 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
The following table describes all supported errors for Reco 02 modules.
Reco 02 I/O errors, other than the 24V Missing error, can only be
cleared/reset by cycling power to the control after correcting the cause of
the problem.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-73
When a Reco error is issued, the Sercos device and I/O module name
are displayed as bold text in the left window and as red text in the right
window.
Toolbar
Selecting View ⇒ Toolbar turns the icon toolbar on or off. The icon
toolbar contains standard Windows commands. The icons available
vary based on the mode of communication, as illustrated in Fig. 7-75.
IO_Config_Toolbar.tif
Status Bar
Selecting View ⇒ Status Bar turns the status indicator at the bottom of
the window on or off. The status bar contains icon description text to the
left, downloading and uploading percentage (when in service mode) and
communication mode to the right.
StatusBar.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-74 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
each I/O icon. Label names appear in the field just below the icons for
the selected register, as shown in Fig. 7-77. Register labels can be
assigned and edited by selecting Edit ⇒ VM Data from VisualMotion
Toolkit’s main menu.
Register_usage.tif
Monitor Status F7
This menu selection enables the monitoring of I/O status. This feature
can be also be enabled using the eye-glass icon .
IO_Help.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-75
AT (Drive Telegram)
The AT is a block of drive data transmitted cyclically to the control every
Sercos cycle. The configurable data block of the AT contains a 2-byte
drive status word, variable length drive dependent parameters that are
automatically configured based on the mode of operation and a user
configurable data block.
Bit Description
2–0 Control Information for Sercos service channel
5 Bit change command
7–6 Real-time status bits 1 and 2
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-76 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Bit Description
9–8 actual type of operation
00: primary mode of operation
01: secondary mode of operation
11 Bit change class 3 diagnostic
12 Bit change class 2 diagnostic
13 Drive lock, error in class 1 diagnostic
15 – 14 Ready to operate:
00: Drive not ready for power to be switched on because internal
checks not positively connected
10: Control and power supply ready for operation, torque free
01: Ready to switch on power
11: In Operation, under torque
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-77
Bit Description
5–0 Control Information for Service Channel
7–6 Real-time Control Bits 1 and 2
9–8 Command Mode
00: primary mode
01: auxiliary modes
10 IPOSYNC: interpolator pulse, toggles if new command values to be
transmitted
13 Drive HALT, 1⇒ 0 transition, standstill of drive while maintaining
max. acceleration(S-0-0138
(only possible if bits 14 and 15 set to 1)
14 Drive ENABLE, 1⇒ 0 transition, torque off without delay
(independent of bit 15 or 13)
15 Drive ON, 1⇒ 0 transition, best possible standstill (only possible if
bit 14 set to 1)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-78 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
AT_MDT.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-79
Add_Ident.tif
3. Select the desired parameter from the list and click the OK button. A
message will appear notifying the user that changes take effect in
phase 4.
4. Select the next user configurable IDN and repeat the process.
5. Switch the control to phase 4, right-click any parameter IDN in the
telegram, select Refresh of press the F5 key to display the configured
telegram.
Fig. 7-81 displays the configured telegram with user configured IDNs in
black.
ConfigAT.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-80 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
User Configured AT
The user can place up to 5 additional parameters into the user
configurable data block of the AT. The corresponding axis parameters
containing the parameter's IDN and data are listed in the following table.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-81
Telegram Options
The following telegram options are available when right-clicking on any
user configurable data:
The Edit and Remove selections are only visible when right-clicking on
user configurable data while in parameter mode. The telegram option
selections are only available in parameter mode and require a system P2
⇒ P4 transition for the modifications to take effect.
Edit
This selection is used to open the telegram's list of configurable data for
adding an allowable parameter IDN to the telegram's user configurable
data block.
Remove
This selection is used to remove a user configured parameter IDN from
the selected telegram.
Refresh (F5)
This selection refreshes the contents of the telegram window to display
any recent changes.
Axis Options
The Axis Options window is used to add a specific parameter IDN
,regardless of the mode of operation, to the cyclic data as well as enable
features such as the Multiplex channel. Refer to axis parameter A-0-0004
for details.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-82 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
ELS Options
The ELS Options window is used to set several options for the ELS or
CAM motion. It is also used to remove specific parameter IDNs from the
cyclic data. Refer to axis parameters A-0-0004 and A-0-0164 for details.
System Options
The System Options window is used to enable a 4Mbps Sercos
transmission rate, set a Sercos refresh delay, and set the minimum
Sercos cycle time. Refer to control parameters C-0-0010, C-0-0098 and
C-0-0099 for details.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-83
DriveTop
VisualMotion 11 uses an integrated version of DriveTop (16V06) software.
During VisualMotion installation, DriveTop is automatically installed.
Initial setup of the drive parameters must be performed in the control
before complete drive parameterization can be performed.
Use the following steps to start DriveTop and begin drive commissioning:
1. Open VisualMotion Toolkit, with a valid project, and switch the project
to online mode.
2. Clear any drive errors that may exist.
3. Transition the drives from parameter mode to operation mode.
Drives_Project.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-84 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
DriveTop.tif
The default settings that appear in all of the DriveTop windows are
dependent on the motor/drive combination that is currently being
commissioned. Since all of the settings in DriveTop are related to actual
drive parameter settings, the Help buttons in the different DriveTop
windows are designed to launch help on the parameters that are used in
the currently opened window.
DriveTop Wizard
When commissioning a drive for the first time, the DriveTop wizard can
be used to guide the user through the necessary steps.
To launch the DriveTop wizard:
1. Pick a drive to commission from the Drive: drop-down list and select
Setup ⇒ Initial start-up drive…
2. Click on the Start setup button to start the process.
3. Click Next> in the Warning window indicating that standard
parameter values in the drive will be overwritten if you continue.
Note: Clicking the Next > button in any window continues the wizard.
At any point, clicking the Exit button accepts any modifications
made and ends the wizard. All windows available in the wizard
can be found under the Drive Functions menu selection.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-85
7.5 Jogging
The jog tool is used to jog an axis in manual or automatic mode while the
project is in online or service mode. Only axes assigned to a
VisualMotion task and configured or switched to either Velocity or Single
Axis operating modes can be jogged using this tool.
Jogging.tif
Note: Coordinated Motion axes cannot be jog using this tool and
must be jogged in manual mode using the Task Jog registers
007-010 for task A-D, respectively.
Any axis configured for velocity or single axis mode can be jogged in
manual mode.
To jog an axis in automatic mode, control parameter C-0-0011, bit 11
must be set to 1. By default C-0-0011, bit 11 is set to 0 and can only be
modified when the system is switched to parameter mode.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-86 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Before jogging an axis, set the desired axis jogging, system jogging and
task options to the desired behavior.
Jogging Options
Selecting the Options menu opens the Jogging Options window where
the axis option, system option and task options can be configured.
Axis Options
Selecting the Axis Options tab displays the distance and speed setting for
all axes.
Jogging_Axis.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-87
The Axis Jogging Options allows input of the maximum jog distance and
speed. The maximum distance value is stored in parameter A-0-0025.
The maximum speed is stored in parameter A-0-0026. The large/small
increment values and the fast/slow velocities are calculated according to
the values entered under the System Options tab.
System Options
Selecting the System Options tab displays the distance and speed
percentages that are used to calculate the actual speed and distance for
jogging.
Jogging_System.tif
The System Options window is used for setting the increments and
velocities used for fast and slow jogging. The Increment data area is
used to set the Large and Small percentage of the maximum distance for
a single-step jog operation. The maximum is defined by axis parameter
A-0-0025, Maximum Jog Increment. Similarly, the Speed data area is
used to set the Fast and Slow jog speeds as a percentage of the
maximum velocity, which is defined by axis parameter A-0-0026,
Maximum Jog Velocity.
The values are stored in the following parameter locations:
• Large Increment - C-0-0052
• Small Increment - C-0-0053
• Fast Speed - C-0-0055
• Slow Speed - C-0-0056
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-88 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Task Options
Selecting the Task Options tab displays the setting for Jog Type and Jog
Rate.
Jogging_Task_Options.tif
The Task Options tab allows the user to select the Jog Type and Rate.
The Type can be Distance (incremental) or Speed (continuous). The
selected jog type takes effect with the next transition on the jog forward or
reverse buttons. The following table lists the drive's operating mode
based on the selected jog type:
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-89
Control Selection
The Tools menu selection is only available for service mode. In project
mode, the communication settings are handled by the project. Selecting
Tools opens the Control Selection window. Refer to section 13.10 in
volume 2 of the VisualMotion Functional Description for details.
Position Limits
Position Limits Enabled
When a jog forward is started, the control sets the target position of the
axis to the positive travel limit. When a reverse jog is started, the target
position is set to the negative travel limit. When the jog is stopped, the
target velocity is set to zero, but the target position remains at the travel
limit.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-90 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
DDE OPC
VisualMotion Dde Server Layer
SCP
PPC-P11.1 PPC-P11.1
GMP 11 GMP 11
PPC-R22.1 PPC-R22.1
GPP 11 GPP 11
Jog Commands
The following table is an overview of the DDE and OPC jog commands
that are supported by VisualMotion. Although control registers can be
modified by other methods, the protection of a communication timeout
period (i.e., "Safe Jogging") is only available when using the following
commands:
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-91
Item Data
JA 0.11.2 1
Bit State: 1 = ON
Bit No.: 2 = Jog_Forward
3 = Jog_Reverse
Register No.: Axis_Control
Program No.: Always 0 (Current Program)
JA: Jog Axis without Error Detection
JB: Jog Axis with Error Detection
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-92 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Cancel Jog Immediately To stop an axis that is currently jogging, the application can stop sending
via Dde Interface the JA or JB commands and wait for the communication time-out period
(C-0-0016) to be reached or send the following JC command to
immediately stop the axis:
Item Data
JC 0.11.2 0
Bit State: 0 = OFF
Bit No.: 2 = Jog_Forward
3 = Jog_Reverse
Register No.: Axis_Control
Program No.: Always 0 (Current Program)
JC: Cancel Jog Immediately
Jog an Axis via OPC Interface To safely jog an axis using an OPC command,
1. Set the communication time-out period (C-0-0016) to a value between
50 and 2000 ms (default = 2000).
2. Switch the Task_Control register assigned to the relevant axis to
manual mode by setting the Mode_Auto_nManual bit to 1.
3. Send the following OPC Item and Synch/Asynch Write command:
VisualMotion, VJA,0,11,2 1
Bit No.: 2 = Jog_Forward
3 = Jog_Reverse
Register No.: Axis_Control
Program No.: Always 0 (Current Program)
JA: Jog Axis without Error Detection
JB: Jog Axis with Error Detection
SCP Device Name (user-defined)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-93
Cancel Jog Immediately To stop an axis that is currently jogging, the application can stop sending
via OPC Interface the OPC command and wait for the communication time-out period
(C-0-0016) to be reached or send the following OPC Item and
Synch/Asynch Write command:
VisualMotion, VJC,0,11,2 0
Bit No.: 2 = Jog_Forward
3 = Jog_Reverse
Register No.: Axis_Control
Program No.: Always 0 (Current Program)
JC: Cancel Jog Immediately
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-94 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
General Information
Version Note:
Information in this document is based on VisualMotion Toolkit
software version 10VRS and PPC-R firmware version GPP
11VRS.
PPC-R PPC-P
Fieldbus PPC-R PPC-R GPP09VRS/ GMP09VRS/
Interfaces GPP07VRS GPP08VRS GPP 11VRS GMP 11VRS
Profibus • • • No
Fieldbus Slave
Support
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-95
PPCR_02_profibus_Sercos.FH7
With the PPC-R, the fieldbus card can be used only as a slave card in a
master/slave setup.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-96 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Cyclic (DP) Channel Cyclic data is user-defined. It is stored in two ordered lists (C-0-2600 for
input data, C-0-2601 for output data) and transmitted serially over the bus.
The cyclic data channel is limited to 64 input words and 64 output words.
PPC-R data types consume these words in either one-word (or 16-bit)
groups for PPC-R registers or two-word (or 32-bit) groups for all other
data types.
The PPC-R mapping list is scanned every 4 ms and data is sent and
received to/from the fieldbus slave board's dual port RAM.
The cyclic data channel can be made up of any combination of the
following data types:
• Real-Time Channel
− Single Channel
− Multiplex Channel
• Parameter Channel
word 31 word 0
Real-Time Channel
word 31 word 0
Real-Time Channel
word 31 word 0
Real-Time Channel
The Real-Time Channel In the real-time channel, data is updated cyclically between the fieldbus
master and slave. This channel contains two possible data types: single
and multiplex.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-97
Cyclic Data: Types and Sizes The following table outlines the PPC-R data types that can be transmitted
via the cyclic channel and the amount of space (in 16-bit data words) that
each data type consumes.
Note: The cyclic data mapping lists support only 16- and 32-bit data of
the following types for reading and writing:
- Integer
- Float
- Binary (used in control parameters)
- Hex (used in control parameters)
For all other data types (e.g. diagnostic messages - “strings”), use
the Parameter Channel.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-98 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Word 63 Word 62 Word 61 Word 60 Word 59 Word 58 Word 57 Word 56 Word 55 . . . Word 5 Word 4 Word 3 Word 2 Word 1 Word 0
16-bit 16-bit 16-bit 32-bit 32-bit 32-bit 32-bit 32-bit 16-bit 16-bit
multiplex single
multiplex multiplex single
control/status
container container
multiplex container multiplex container multiplex container ... single item single item
item item
word
Note: For specific information about how the fieldbus master uses
the multiplex control and status words, refer to Multiplexing on
page 7-110.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-99
Cyclic Channel
Cyclic Channel
PLC Memory
PLC Memory
PLC Memory
Multiplex Multiplex Multiplex
Container 1 Container 1 Container 1
Multiplex Multiplex Multiplex
Container 2 Container 2 Container 2
Multiplex Multiplex Multiplex
Container 3 Container 3 Container 3
Index 00 Index 01 Index 02
Multiplexing
control / status
word
multiplexing.FH7
Fig. 7-96: Examples for Reading Data via the Multiplex Channel
Parameter Channel For Profibus systems using the PPC-R/VisualMotion configuration, a subset
of the cyclic (DP) channel can be allocated for non-cyclic communications
(e.g. parameterization and extended diagnostic information). This subset of
the cyclic channel is called the Parameter Channel.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-100 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
FB_Mapper_New.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-101
3. Click Open. The main Fieldbus Mapper window appears, which lists
the configuration information. Refer to Fig. 7-98 below.
FB_Mapper_Main.tif
FB_Mapper_Edit_Menu.tif
Note: You can also directly add, insert, delete, edit an item, or create
a new list by:
• clicking on the item to be edited in the main Fieldbus
Mapper window and selecting the desired function under
Edit ⇒ Selected Mapping List
OR
• right-clicking on an item to display a menu of functions
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-102 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
FB_Mapper_Profibus.tif
FB_Slave_Config_PB.tif
Standard Fieldbus Configuration • Device Address (0-125): set to a unique number for the devices on
Options: the bus
• Parameter Channel Length (words): set to 0 (Off), 2, 4 or 6 words.
If 2, 4 or 6 words are selected, these are automatically allocated for
the Parameter Channel in the Cyclic Data Input and Output Lists.
Fieldbus Error Reaction: Set the Error Reaction to Shutdown (default), Warning or Ignore. Refer to
Fieldbus/PLC Cyclic Read/Write Monitoring on page 7-108 for detailed
information about each setting.
Advanced Configuration Options The Advanced Options field is shown only if the checkbox next to Show
Advanced Configuration Options is checked (refer to Fig. 7-102
below). In most cases, the default options should apply.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-103
FB_Slave_Config_PB_Adv.tif
Cyclic_Data_Config.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-104 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Cyclic_Data_Add.tif
Note: At this point, the Multiplex Containers do not yet contain any
items. To add multiplex items, refer to below.
Add_Multiplex.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-105
Note: For subsequent items, highlight any of the indexes within the
multiplex container before clicking Add, and the Fieldbus Mapper will
know you want to add to that container.
Add_Multiplex_Item.tif
Note: In addition to the data types that can be added to the multiplex
list, an empty item called Multiplex Empty Item is available to
fill a space within the multiplex container, if nothing is to be
mapped to a particular index.
Button Function
Inserts a new item into the list directly before the selected item.
Allows editing of the selected item. (To edit a list item, you
may also double-click on it.)
Clears up the current list.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-106 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Additional Functions
Several additional functions are available in the Fieldbus Mapper:
Menu Item Function
Print Print the current fieldbus configuration data.
Print Preview Preview the printout of the current fieldbus configuration data
Print Setup Configure printer settings
FB_Mapper_Online.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-107
Bit Definitions
x1, x2 Status bits for the internal DPR (Dual-Port RAM) communication between
the fieldbus slave and the PPC-R:
x1: FB Init. OK , LSB (least significant bit)
x2: FB Init. OK, MSB (most significant bit)
The bit combinations for x1 and x2 are as follows:
Bit 2 Bit 1 Description
(PPC-R) (Fieldbus)
0 0 A reset has been executed on the DPR,
or
neither the PPC-R nor the fieldbus card
have initialized the DPR.
0 1 The DPR is initialized by the fieldbus card,
but not yet by the PPC-R.
1 0 The DPR initialization is complete. DPR
has been initialized by the fieldbus card
and PPC-R. Fieldbus to PPC-R
communications system is ready.
1 1 Fieldbus to PPC-R communications system
is ready.
Table 7-49: Possible Settings for Bits 1 and 2, Status Bits for DPR
Communication
x4 Status bit for the active bus capabilities of the fieldbus slaves (FB Slave
Ready)
This bit is monitored for the Fieldbus Error Reaction. Whenever this bit
goes to 0 after a fieldbus card was initially found by the PPC-R, the
selected Error Reaction (system shutdown, error message, or ignore) is
initiated. Refer to Fieldbus/PLC Cyclic Read/Write Monitoring on page 7-
108 for an explanation of the Fieldbus Error Reaction setting.
0--> The fieldbus slave is not (yet) ready for data exchange.
1--> The fieldbus slave can actively participate on the bus.
x5 Status bit for the non-cyclic channel (Parameter Channel) (Non-Cyc
Ready)
0--> The non-cyclic channel (Parameter Channel) cannot (yet) be used.
1--> The non-cyclic channel (Parameter Channel) is ready for use by the
fieldbus master.
x15 Status bit for the cyclic data output (Cyclic Data Valid):
0--> The cyclic data outputs (coming in to the PPC-R) are INVALID.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-108 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
1--> The cyclic data outputs (coming in to the PPC-R) are VALID. The
system looks for this bit to be 1 before allowing data transfer.
Fieldbus Diagnostics
VisualMotion Register 20 holds the information for "Fieldbus Diagnostics."
Table 7-50 below contains the bit assignment for fieldbus diagnostics.
The assigned bits are labeled with "x" and the bit number in the second
row. Unassigned bits are labeled with "---."
16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
X16 x15 x14 x13 --- --- --- --- --- --- --- --- --- --- --- ---
Bit Definitions
x13 - x16 Identification of the fieldbus interface card (FB Card Found)
The bit combinations for x13, x14 and x15 are as follows:
Bit 16 Bit 15 Bit 14 Bit 13 Fieldbus Type
0 0 0 0 <NO CARD>
0 0 0 1 <Not Defined>
0 0 1 0 Interbus
0 0 1 1 DeviceNet
0 1 0 0 Profibus
0 1 0 1 ControlNet
0 1 1 0 <Not Defined>
0 1 1 1 EtherNet/IP
(10 or 100 MB)
1 1 1 1 Indramat PLC Interface
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-109
You can select how you would like the PPC-R system to react in case of a
fieldbus error. This reaction can be set in the "Fieldbus Slave
Configuration" window, using the combo box labeled "Fieldbus Error
Reaction."
Three options are available for the Error Reaction setting. Depending on
the selected setting, the value 0, 1, or 2 is stored in Parameter C-0-2635:
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-110 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Troubleshooting Tip:
If a fieldbus card is not found on the system, the Error
Reaction setting will be ignored. If you have a fieldbus card
and the Error Reaction is not responding as expected, the
system may not "see" your fieldbus card.
Multiplexing
Primary Multiplex Method (for Consistent Masters only)
Important: You should not use the Primary Multiplex Method for a
master that is not consistent over the entire cyclic channel.
The Secondary Multiplex Method is available for inconsistent
masters. Refer to Secondary Multiplex Method (for
Inconsistent Masters) on page 7-113.
The advantage of the Primary Method is easier handling of input data for
consistent masters.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Multiplex Input Control Index Multiplex Output Control Index
(index_in_c) Write Request (index_out_c)
(defines the input index command for Toggle Bit (WR) (defines the output index command for
multiplexing) (initiates the write multiplexing)
command once each
time it is toggled)
Index_out_c: tells the slave in which index the data are transferred from
master to slave (out = master -> slave, _c = element of control word).
Index_in_c: tells the slave in which index the data is requested from
slave to master (in = slave -> master, _c = element of control word).
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-111
Status Word
Multiplex Input Status Byte Multiplex Output Status Byte
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Multiplex Input Status Index Multiplex Output Status Index
(index_in_s) Write Request (index_out_s)
(confirms that the input index response (confirms that the output index response
location matches that of the command
Acknowledge Bit location matches that of the command
location) (WA) location)
(checks that the write
data has been read
once each time it is
toggled)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-112 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Begin
Control word =0
No
Toggle RT (Set WR = ~WA)
Programming Example
To aid in implementing the multiplex function in a PLC program, the
following flow chart shows two ways of reading and writing data. Reading
and writing can be executed separately, which allows the input data to be
updated about 30% faster. The “Read Data” example would be placed at
the beginning of a PLC program the “Write Data” example at the end.
Combined reading and writing makes the PLC program simpler,
especially when using the same index for both transfer actions.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-113
Note: The meanings of the control and status words are the same as
for the Primary Multiplex Method. The only difference is the
toggle bits RR and RA, which are used in the Secondary
Method.
Fig. 7-112 below illustrates the control word definition for the Secondary
Multiplex Method.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RR Multiplex Input Control Index Multiplex Output Control Index
see definition (index_in_c) (index_out_c)
under “Handshake
Write Request
(defines the input index command for Toggle Bit (WR) (defines the output index command for
Bits WR / WA and
multiplexing) (initiates the write multiplexing)
RR / RA”
(Secondary command once each
Method only) time it is toggled)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RA Multiplex Input Status Index Multiplex Output Status Index
see definition
under “Handshake
(index_in_s) Write Request (index_out_s)
(confirms that the input index response (confirms that the output index response
Bits WR / WA and
location matches that of the command
Acknowledge Bit location matches that of the command
RR / RA” (WA)
location) location)
(Secondary (checks that the write
Method only) data has been read
once each time it is
toggled)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-114 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
RR == RA:
• tells the master that the slave has sent the requested data_in. The
master can now read the data_in and request new data_in.
• tells the slave to do nothing, because the master has not yet put new
consistent data on the bus.
RR != RA:
• tells the slave to put new data_in on the bus, because the master
requests new data_in.
• tells the master to do nothing, because the slave has not yet put the
latest requested multiplex data_in on the bus.
Begin
Control Word =0
No
Toggle RRT (Set RR = ~RA)
No
Toggle WRT (Set WR = ~WA)
*1
there may be different ways to achieve consistency, depending on the master
For some masters, it could be enough to first write data and then the control
word. For other masters, you may have to implement a delay time (this
time could be different from master to master) before writing WR = ~WA.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-115
If the Parameter Channel is used with the PPC-R, the first 2, 4 or 6 data
words of the cyclic channel for the slave board must be allocated for non-
cyclic transmissions.
Cyclic Data Channel (DP) – up to 64 words total
optional Control/Status
Word
Fig. 7-115: The Parameter Channel inside the Profibus DP Channel
Messaging Formats
Two messaging formats are available in the Parameter Channel:
• Short Format 3
• VisualMotion ASCII Format - This format is provided for backward-
compatibility with VisualMotion 6.0 / GPS firmware. For detailed
information, refer to the VisualMotion 6.0 Startup Guide.
Mapped Data
Mapped data is the most powerful feature of the PPC-R non-cyclic
fieldbus interface. Through mapped data, the user has access to virtually
every PPC-R data type over the fieldbus. It is easy to implement from the
PLC side and requires no setup on the PPC-R side.
To access a data type over the fieldbus, it has to be specified by an
address that consists of an index and a subindex. The index and
subindex for each data type can be calculated by a formula (refer to
Accessing Mapped Data on page 7-125).
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-116 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Fieldbus Visual
Objects Motion
Data
Su
D
riv
bI
Index
nd
0x2001 S-1
e
#
ex
0x2002 S-
Parameters
S-4095
0x3001 P-1
0x3002 P-
Parameters
P-4095
0x4001 A-1
0x4002
Ax
Axis-
is
Parameters
#
A-2047
object_mapping_PB_IB.FH7
Mapped data can be used with the following parameters and values:
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-117
d.) All other Parameter Types (list parameters, command parameters, etc), are not supported for
mapped data.
When reading mapped data from a VisualMotion Parameter, there are 3 possible cases of sizes returned:
a.) If the parameter type is a string, you receive the number of bytes corresponding to the length of
the string.
b.) If the parameter is 32-bit or less, you receive a cast 32-bit value for this parameter. This implies
that 16-bit parameters are returned as cast in to 32-bit values.
c.) All other parameter types (e.g. list parameters, command parameters, etc.), are not supported
for mapped data.
2. When writing mapped data to a VisualMotion Program Float, Program Integer, Global Float, or
Global Integer, the data size must be 32-bits (2 words). Any other size returns a VM error #07
(Invalid Data Format).
When reading mapped data from a VisualMotion Program Float, Program Integer, Global Float, or
Global Integer, the data size returned is always 32-bit (2 words).
3. When writing mapped data to a VisualMotion Register, the data must be 16-bits (1 word). Any other
size returns a VM error #07 (Invalid Data Format).
When reading mapped data from a VisualMotion Register, the data size returned is always 16-bit (1 word).
User Data Header – Object Index The index refers to the particular fieldbus slave object that a VisualMotion
data type is (automatically) mapped. This object allows for simple,
indirect access to VisualMotion data types, and it is combined with the
subindex to create a direct relationship to the VisualMotion data types.
The available objects can be calculated using the formulas in Accessing
Mapped Data on page 7-125.
User Data Header – Object The subindex refers to an additional piece of information necessary to
SubIndex obtain direct access to VisualMotion data types. The reference of the
subindex depends on the data type in question. For example, the
SubIndex refers to the drive number when accessing S and P
parameters. However, the subindex refers to the task number when
referring to task parameters. The available subindex ranges can be
calculated using the formulas in Accessing Mapped Data on page 7-125.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-118 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Format
Length
Toggle
not used
Last Bit
not used
R/W Bit
not used
not used
C1 Bit
Format: These bits describe the usage and meaning of the following
data words in the Parameter Channel. Their value is fixed to
1100b.
Length: These four bits specify the length of the valid data in bytes,
without the control word. The data in the rest of the Parameter
Channel is undefined.
Toggle: This bit toggles with every new set of sent data. It is used for
a handshake between master and slave. The master is only
allowed to toggle this bit when the toggle bit in the status word
has the same level as the toggle bit sent in the control word.
L: Last bit. This bit is set when the last fragment of a data block
is sent.
R/W: Read/Write; Read = 1, indicates that the master wants to read data.
C1: This bit is used to distinguish between the “old” and “new”
handling of the Parameter Channel. For the “new” handling
(e.g. Short Format 3), it is fixed to 1
PK Status Word The PK status word is sent as an answer from the slave to the master.
The 16 bits have the following meanings:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Format
Length
Toggle
not used
Last Bit
not used
R/W Bit
Error Bit
not used
C1 Bit
Format: These bits describe the usage and meaning of the following
data words in the Parameter Channel. Their value is fixed to
1100b.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-119
Length: These four bits specify the length of the valid data in bytes,
without the status word. The data in the rest of the Parameter
Channel is undefined.
Toggle: This bit toggles with every new set of sent data. It is used for
a handshake between master and slave. The slave
recognizes new data when the toggle bit it receives (control
word) is different from the toggle bit in the status word.
L: Last bit. This bit is set when the last fragment of a data block
is sent.
R/W: Read/Write Acknowledgement; Read = 1, indicates that the
master wants to read data.
Error Bit: This bit indicates an error that occurred within the slave. The
reason for the error is coded in the following data.
C1: This bit is used to distinguish between the “old” and “new”
handling of the Parameter Channel. For the “new” handling
(Short Format 3), it is fixed to 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-120 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
flow_write.FH7
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-121
flow_read.FH7
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-122 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Canceling Data Transfer In some cases, it might be necessary to cancel a data transfer. To
request a communication reset, the master sends a cancel telegram to
the slave.
The format byte in the command word is set to Fh. The length byte, the L
and the R bits are set to 0.
The slave will set its internal state to expect a new command from the
master.
Error Messages If the transmission fails, the slave will respond with an error message as
shown below. The status word value can be different for writing. The
error bit in the status word is set and the first word contains a 16-bit error
code. The toggle bit has the same state as the corresponding request
telegram.
error.FH7
The error code is two bytes long. The high byte specifies the error class
and the low byte contains additional information for the application-
specific errors (error class 1Fh).
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-123
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-124 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Short Format 3
Control Word Object Index # Subindex #
Data Field:
VisualMotion ASCII Protocol
Fig. 7-123: Format of a PK Short Format 3 Message using a Data Exchange Object
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-125
1. Write request from the PK Write Command The data field for the write
master with VisualMotion VM ASCII protocol command can contain a
ASCII Protocol. command text VisualMotion read or write
(read or write data) protocol.
PK Response No
OK?
Yes
3. Read request from the PK Read Command The read request message
master to get VisualMotion contains only header information
ASCII response. No data (the data field is 0). You must
anticipate the approximate size
of the data field (VisualMotion
ASCII response message) in
order to select the appropriate
data exchange object. If the
selected object is too short, the
data will be truncated.
Diagnose
error
4. Receive Parameter The response message will
Channel response from PK Response No contain the VisualMotion ASCII
slave. Received? response to the VisualMotion
ASCII command text in Step 1.
Yes
PK Response No
OK?
Yes
VM ASCII protocol
response text
(write or transmit data)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-126 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Object
Index # SubIndex # Formula
0x5E73 0x00
Data Exchange Object ---- ----
0x5E70 0x00
0x5E65 0xFF
<FREE> ---- ---- (with SubIndex)
(349 objects available) 0x5D14 0x01
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-127
Object
Index # SubIndex # Formula
Index
Axis(A) Parameters The following is an example lookup table for A-Parameters, when using
mapped objects. The same formula also applies to Sercos (S) and Task
(T) Parameters.
Index
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-128 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Product-Specific (P) Parameters The following is an example lookup table for P-Parameters, when using
mapped objects.
C118, In1 C118, In2 C118, In3 …………… C118, In255 C119, In1 …………… C134, In14 C134, In15
0x3001 0x3002 0x3003 …………… 0x30FF 0x3100 …………… 0x3FFE 0x3FFF
0x01 PP 1.1 PP 1.2 PP 1.3 PP 1.255 PP 1.256 PP 1.4094 PP 1.4095
SubIndex = 0x02 PP 2.1 PP 2.2 PP 2.3 PP 2.255 PP 2.256 PP 2.4094 PP 2.4095
(Attribute ID 0x03 PP 3.1 PP 3.2 PP 3.3 PP 3.255 PP 3.256 PP 3.4094 PP 3.4095
for DNet) : : : : : : : : : :
: : : : : : : : : :
0x28 PP 40.1 PP 40.2 PP 40.3 PP 40.255 PP 40.256 PP 40.4094 PP 40.4095
Integers The following is an example lookup table for Integers, when using
mapped objects. The same formula also applies to Floats, Global
Integers, Global Floats and Registers.
Example Look-up Chart for: VM Program Integers PI 0.Y ==> PI = Program Integer
Y = Program Integer Number
Index
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-129
General Information
Version Note:
Information in this document is based on VisualMotion Toolkit
software version 11VRS and PPC-R firmware version GPP
11VRS (for DeviceNet, ControlNet, and EtherNet/IP). GMP
11VRS firmware does not have a fieldbus slave interface, but can
be used with the Rexroth PPC-PCI bus interface to allow cyclic
and non-cyclic data transfer.
PPC-R PPC-P
Fieldbus PPC-R PPC-R GPP09VRS/ GMP09VRS/
Interfaces GPP07VRS GPP08VRS GPP 11VRS GMP 11VRS
DeviceNet • • •
No
ControlNet
• • Fieldbus Slave
Support
EtherNet/IP
10 & 100 MB •
Table 7-61: Fieldbus Firmware Version and Interface Type
Instance Details
Input Instance ( Transmitter ⇒ Originator ) = 1
Size = FBMapper Master Input list size + 2 words
(status information is not used)
Output Instance ( Originator ⇒ Transmitter ) = 2
Size = FBMapper Master Output list size
Configuration Instance is not relevant, use 4
Size = 0
The configuration instance is not used with ControlNet or
EtherNet/IP fieldbus slave. Therefore, the size = 0 is the
important part of the configuration.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-130 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
PPCR_02_devicenet_Sercos.FH7
With the PPC-R, the fieldbus card can be used only as a slave card in a
master/slave setup.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-131
Cyclic (Polled I/O) Channel Cyclic data is user-defined. It is stored in two ordered lists (C-0-2600 for
input data, C-0-2601 for output data) and transmitted serially over the bus.
In the cyclic channel, data is updated cyclically between the fieldbus
master and slave.
The cyclic data channel is limited to 64 input words and 64 output words.
PPC-R data types consume these words in either one-word (or 16-bit)
groups for PPC-R registers or two-word (or 32-bit) groups for all other
data types.
The PPC-R mapping list is scanned every 4 ms and data is sent and
received to/from the fieldbus slave board's dual port RAM.
The cyclic data channel can be made up of any combination of the
following data types:
• Single
• Multiplex
word 31 word 0
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-132 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Cyclic Data: Types and Sizes The following table outlines the PPC-R data types that can be transmitted
via the cyclic channel and the amount of space (in 16-bit words) that each
data type consumes.
Note: The cyclic data mapping lists support only 16- and 32-bit data of
the following types for reading and writing:
- Integer
- Float
- Binary (used in PPC-R parameters)
- Hex (used in PPC-R parameters)
For all other data types (e.g. diagnostic messages - “strings”), use
Explicit Messaging.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-133
Word 63 Word 62 Word 61 Word 60 Word 59 Word 58 Word 57 Word 56 Word 55 . . . Word 5 Word 4 Word 3 Word 2 Word 1 Word 0
16-bit 16-bit 16-bit 32-bit 32-bit 32-bit 32-bit 32-bit 16-bit 16-bit
multiplex single single
multiplex multiplex
control/status
container container
multiplex container multiplex container multiplex container ... single item single item
item item
word
Multiplex Control and Status The multiplex control and status words serve to command and
Words acknowledge multiplex data transferred between the fieldbus master and
the fieldbus slave. The control word is associated with output
communication (PLC⇒PPC-R). The status word is associated with
input communication (PPC-R⇒PLC). Single data items are not affected
by the multiplex control and status words.
Note: For specific information about how the fieldbus master uses
the multiplex control and status words, refer to Multiplexing on
page 7-149.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-134 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Cyclic Channel
Cyclic Channel
PLC Memory
PLC Memory
PLC Memory
Multiplex Multiplex Multiplex
Container 1 Container 1 Container 1
Multiplex Multiplex Multiplex
Container 2 Container 2 Container 2
Multiplex Multiplex Multiplex
Container 3 Container 3 Container 3
Index 00 Index 01 Index 02
Multiplexing
control / status
word
multiplexing.FH7
Fig. 7-128: Examples for Reading Data via the Multiplex Channel
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-135
FB_Mapper_New.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-136 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
FB_Mapper_Edit_Menu.tif
Note: You can also directly add, insert, delete, edit an item, or create a
new list by:
• clicking on the item to be edited in the main Fieldbus Mapper
window and selecting the desired function under Edit
⇒ Selected Mapping List
OR
• right-clicking on an item to display a menu of functions
FB_Mapper_Main_DN.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-137
FB_Slave_Def.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-138 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
DeviceNet
ControlNet
FB_Slave_Config.tif
Standard Fieldbus Configuration • MAC ID (0-63 for DeviceNet, 1-99 for ControlNet): set to a unique
Options number for this device on the bus.
• Baud Rate (DeviceNet only): set to match that of the master.
Fieldbus Error Reaction Set the Error Reaction to Shutdown (default), Warning or Ignore. Refer to
Fieldbus Error Reaction on page 7-147 for detailed information about
each setting.
Advanced Configuration Options The Advanced Options: are shown only if the checkbox next to Show
Advanced Configuration Options is checked (refer to Fig. 7-135 below).
In most cases, the default options should apply.
The Fieldbus Slave Configuration window for EtherNet/IP is shown below:
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-139
EtherNet/IP
EtherNetIP_IP_Address.tif
EtherNet/IP Interface Selecting On for the EtherNet/IP interface will allow the control to
distinguish between EtherNet/IP and standard EtherNet during
communication when both are being used.
Mode Specify whether the control is running in Half Duplex or Full Duplex
mode.
Fieldbus Error Reaction Set the Error Reaction to Shutdown (default), Warning or Ignore. Refer to
the Fieldbus Error Reaction on page 7-147 for detailed information about
each setting.
Advanced Configuration Options The Advanced Options: are shown only if the checkbox next to Show
Advanced Configuration Options is checked (refer to Fig. 7-136 below).
In most cases, the default options should apply.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-140 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
DeviceNet
ControlNet
FB_Slave_Config_Adv.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-141
EtherNet/IP
EtherNet_IP_Address_Adv.tif
Cyclic_Data_Config.tif
FB_Add_Item.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-142 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Note: If your project is in Service mode and you check the box next
to “Get Latest (Online),” the data type label list is updated
based on your firmware version and the currently active
program.
Cyclic_Data_Config_mltplx.tif
Note: At this point, the Multiplex Containers do not yet contain any
items. To add multiplex items refer to Adding Items to an
Empty Multiplex Container below.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-143
Add_Multiplex.tif
Note: For subsequent items, highlight any of the indexes within the
multiplex container before clicking Add, and the Fieldbus Mapper will
know you want to add to that container.
Note: In addition to the data types that can be added to the multiplex
list, an empty item called Multiplex Empty Item is available to
fill a space within the multiplex container, if nothing is to be
mapped to a particular index.
Add_Multiplex_Item.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-144 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Button Function
Inserts a new item into the list directly before the selected item.
Allows editing of the selected item. (To edit a list item, you may
also double-click on it.)
Clears up the current list.
Additional Functions
Several additional functions are available in the Fieldbus Mapper:
Menu Item Function
Print Print the current fieldbus configuration data.
Print Preview Preview the printout of the current fieldbus
configuration data
Print Setup Configure printer settings
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-145
On-line Information
Online info_DN.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-146 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Bit Definitions
x1, x2 Status bits for the internal DPR (Dual-Port RAM) communication between
the fieldbus slave and the PPC-R:
x1: FB Init OK , LSB (least significant bit)
x2: FB Init OK, MSB (most significant bit)
The bit combinations for x1 and x2 are as follows:
Bit 2 Bit 1 Description
(PPC-R) (Fieldbus)
0 0 A reset has been executed on the DPR,
or
neither the PPC-R nor the fieldbus card have
initialized the DPR.
0 1 The DPR is initialized by the fieldbus card, but
not yet by the PPC-R.
1 0 The DPR initialization is complete. DPR has
been initialized by the fieldbus card and PPC-R.
Fieldbus to PPC-R communications system is
ready.
1 1 Fieldbus to PPC-R communications system is
ready.
Table 7-67: Possible Settings for Bits 1 and 2, Status Bits for DPR
Communication
x4 Status bit for the active bus capabilities of the fieldbus slaves (FB Slave
Ready)
0--> The fieldbus slave is not (yet) ready for data exchange.
1--> The fieldbus slave can actively participate on the bus.
x5 Status bit for the non-cyclic channel (Explicit Messaging) (Non-Cyc
Ready)
0--> The non-cyclic channel (Explicit Messaging) cannot (yet) be used.
1--> The non-cyclic channel (Explicit Messaging) is ready for use by the
fieldbus master.
x15 Status bit for the cyclic data output (Cyclic Data Valid):
0--> The cyclic data outputs (coming in to the PPC-R) are INVALID.
1--> The cyclic data outputs (coming in to the PPC-R) are VALID. The
system looks for this bit to be 1 before allowing data transfer.
This bit is monitored for the Fieldbus Error Reaction. Whenever this bit
goes to 0 after a fieldbus card was initially found by the PPC-R, the
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-147
Fieldbus Diagnostics
VisualMotion Register 20 holds the information for "Fieldbus Diagnostics."
Table 7-68 below contains the bit assignment for the diagnostics. The
assigned bits are labeled with "x" and the bit number in the second row.
Unassigned bits are labeled with "---."
16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
X16 x15 x14 x13 --- --- --- --- --- --- --- --- --- --- --- ---
Bit Definitions
x13 - x16 Identification of the fieldbus interface card (FB Card Found)
The bit combinations for x13, x14 and x15 are as follows:
Bit 16 Bit 15 Bit 14 Bit 13 Fieldbus Type
0 0 0 0 <NO CARD>
0 0 0 1 <Not Defined>
0 0 1 0 Interbus
0 0 1 1 DeviceNet
0 1 0 0 Profibus
0 1 0 1 ControlNet
0 1 1 0 <Not Defined>
0 1 1 1 EtherNet/IP (10 MB)
1 1 1 1 Indramat PLC Interface
You can select how you would like the PPC-R system to react in case of a
fieldbus error. This reaction can be set in the "Fieldbus Slave
Configuration" window, using the combo box labeled "Fieldbus Error
Reaction."
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-148 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Three options are available for the Error Reaction setting. Depending on
the selected setting, the value 0, 1, or 2 is stored in Parameter C-0-2635:
Troubleshooting Tip:
If a fieldbus card is not found on the system, the Error
Reaction setting will be ignored. If you have a fieldbus card
and the Error Reaction is not responding as expected, the
system may not "refer to" your fieldbus card.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-149
Multiplexing
Primary Multiplex Method (for Consistent Masters only)
Important: You should use the Primary Multiplex Method only for a
master that is consistent over the entire cyclic channel. The
Secondary Multiplex Method is available for inconsistent
masters. Refer to Explanation of the Master Consistency
Problem on page 7-152.
The advantage of the Primary Method is easier handling of input data for
consistent masters.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Multiplex Input Control Multiplex Output Control
Index (index_in_c) Write Request Index (index_out_c)
(defines the input index command for Toggle Bit (defines the output index command
multiplexing) for multiplexing)
(WR)
(initiates the write
command once each
time it is toggled)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-150 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
• Index_out_c: tells the slave in which index the data are transferred
from master to slave (out = master -> slave, _c = element of control
word).
• Index_in_c: tells the slave in which index the data is requested from
slave to master (in = slave -> master, _c = element of control word).
• WR (Write Request): handshake bit (refer to meaning of WR and
WA).
Status Word The status word is transferred in the multiplex channel from slave to
master. It acknowledges the written index and the requested index.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Multiplex Input Status Multiplex Output Status
Index (index_in_s) Write Request Index (index_out_s)
(confirms that the input index Acknowledge (confirms that the output index
response location matches that of the response location matches that of the
command location) Bit (WA) command location)
(checks that the
write data has been
read once each
time it is toggled)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-151
Begin
Control word =0
No
Toggle RT (Set WR = ~WA)
Programming Example
To aid in implementing the multiplex function in a PLC program, the
following flow chart shows two ways of reading and writing data. Reading
and writing can be executed separately, which allows the input data to be
updated about 30% faster. The “Read Data” example would be placed at
the beginning of a PLC program the “Write Data” example at the end.
Combined reading and writing makes the PLC program simpler,
especially when using the same index for both transfer actions.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-152 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Note: The meanings of the control and status words are the same as
for the Primary Multiplex Method. The only difference is that
toggle bits RR and RA are used in the Secondary Method.
Fig. 7-147 and Fig. 7-148 below illustrate the control and status word
definitions for the Secondary Multiplex Method.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RR Multiplex Input
Control Control
Input Index Multiplex Output Control Index
see definition (defines the input index command for
(index_in_c) (index_out_c)
under “Handshake
Write Request
(defines the multiplexing)
input index command for Toggle Bit (WR) (defines the output index command for
Bits WR / WA and
multiplexing) (initiates the write multiplexing)
RR / RA”
(Secondary command once each
Method only) time it is toggled)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RA Multiplex Input Status Index Multiplex Output Status Index
see definition
under “Handshake
(index_in_s) Write Request (index_out_s)
(confirms that the input index response Acknowledge Bit (confirms that the output index response
Bits WR / WA and
location matches that of the command location matches that of the command
RR / RA” (WA)
location) location)
(Secondary (checks that the write
Method only) data has been read
once each time it is
toggled)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-153
RR == RA:
• tells the master that the slave has sent the requested data_in. The
master can now read the data_in and request new data_in.
• tells the slave to do nothing, because the master has not yet put new
consistent data on the bus.
RR != RA:
• tells the slave to put new data_in on the bus, because the master
requests new data_in.
• tells the master to do nothing, because the slave has not yet put the
latest requested multiplex data_in on the bus.
Control Word =0
No
Toggle RRT (Set RR = ~RA)
No
Toggle WRT (Set WR = ~WA)
*1
how to become consistent could be different from master to master
For some masters, it could be enough to first write data and then the
control word. For other masters, you may have to implement a delay time
(this time could be different from master to master) before writing WR =
~WA.
Mapped Data
Mapped data is the most powerful feature of the PPC-R non-cyclic
fieldbus interface. Through mapped data, the user has access to virtually
every PPC-R parameter over the fieldbus. It is easy to implement from
the PLC side and requires no setup on the PPC-R side.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-154 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Fieldbus Visual
Data Motion
Data
At
D
tri
riv
b
Class, Instance Cl 101, Inst 1 S-1
e
ut
#
e
Cl 101, Inst 2
S-
Parameters
S-4095
Cl 118, Inst 1 P-1
Cl 118, Inst 2
P-
Parameters
P-4095
Cl 135, Inst 1 A-1
Cl 135, Inst 3
Ax
Axis-
is
Parameters
#
A-2047
object_mapping_DN.FH7
Mapped data can be used with the following parameters and values:
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-155
i.) For parameters of type 16-bit unsigned, only the Low word is stored, and the High word is
ignored.
ii.) For parameters of type 16-bit signed, bits 0-14 of the low word along with the sign bit #31
are used, and the remaining bits are ignored.
c.) For String Parameters (e.g. S-0-0142), you must send the size of the string to write.
d.) All other Parameter Types (list parameters, command parameters, etc), are not supported for
mapped data.
When reading mapped data from a VisualMotion Parameter, there are 3 possible cases of sizes
returned:
a.) If the parameter type is a string, you receive the number of bytes corresponding to the length of
the string.
b.) If the parameter is 32-bit or less, you receive a cast 32-bit value for this parameter. This implies
that 16-bit parameters are returned as cast in to 32-bit values.
c.) All other parameter types (e.g. list parameters, command parameters, etc.), are not supported
for mapped data.
5. When writing mapped data to a VisualMotion Program Float, Program Integer, Global Float, or
Global Integer, the data size must be 32-bits (2 words). Any other size returns a VM error #07
(Invalid Data Format).
When reading mapped data from a VisualMotion Program Float, Program Integer, Global Float, or
Global Integer, the data size returned is always 32-bit (2 words).
6. When writing mapped data to a VisualMotion Register, the data must be 16-bits (1 word). Any other
size returns a VM error #07 (Invalid Data Format).
When reading mapped data from a VisualMotion Register, the data size returned is always 16-bit (1 word).
Note: For mapped data, only one transmission (and one response)
is required, to send a read or write message to and receive a
response from the PPC-R.
Fieldbus Message
Data Field:
Header
Raw Data
Important:
The format of the Fieldbus message header and the method
of implementation are dependent on the Fieldbus type and the
master (PLC) being used. Refer to your Fieldbus master/PLC
documentation for proper transport and formatting of the
message header.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-156 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
1. Write request from the FB Write Command to The data field for the write
master with raw data. appropriate Class, request contains the value to be
Instance and Attribute
stored in the VisualMotion data.
Raw data
FB Response No
OK?
Yes
Done
Example: Write the value -27.43 to Program Float 16 (This is a 32-bit data type,
which is mapped to Class 165, Instance 1, and Attribute 16. The Class,
Instance and Attribute can be calculated using the formulas under
Accessing Mapped Data at the end of this chapter.)
1. Write request from the master with raw data.
Header: Data Field:
Write command VisualMotion raw data
2. After the write request from the master, the PPC-R sends a response
message.
contains:
• “Write” message o.k. is denoted by a
Response service code of (0x90)
• data field size = 0 bytes
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-157
1. Read request from the FB Read Command to The request message contains
appropriate Class, only the fieldbus read command
master with no data field. Instance and Attribute
and the Class, Instance and
Attribute to be read.
2. Acknowledge fieldbus
response from slave. FB Response No Diagnose
Received? error
Yes
VisualMotion raw
3. Master uses data from data is available
fieldbus response. for use by master.
Example: Read the value contained in Program Integer 8. (This is a 32-bit data
type, which is mapped to Class 165, Instance 21, and Attribute 8. The
Class, Instance and Attribute can be calculated using the formulas under,
“Accessing Mapped Data,” at the end of this chapter.)
1. Read request from the master.
Header: No data field
Read command
contains:
• Read service code = (0x0E)
• Class 165, Instance 21, Attribute 8
• data field size = 6 bytes for Class, Inst, Att
2. After the read request from the master, the PPC-R sends a response
message.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-158 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
text, etc.), but more work is required in the master to perform a transmission
of this type. Both the VisualMotion ASCII message and the fieldbus transfer
message must be formulated.
Table 7-71 below lists the available data exchange objects and their sizes.
Data Exchange Object Data Length (in bytes)
Class 100, Instance 1, Attribute 100 16
Class 100, Instance 2, Attribute 100 32
Class 100, Instance 3, Attribute 100 64
Class 100, Instance 4, Attribute 100 128
Note: The entire data length of the data exchange object must
always be transmitted even if the VisualMotion ASCII message
is shorter.
For example, if you want to transmit an ASCII message of 42
bytes, you must use Class 100, Instance 3. To avoid a
response error from the Fieldbus slave, you must append 22
"Null" characters to the end of the ASCII message to complete
a data size of 64 bytes.
Note: The checksum for the VisualMotion ASCII protocol is NOT
used with the data exchange object. If the checksum is sent
as part of the string, it will be ignored, and no checksum will be
sent in the VisualMotion ASCII response messages. To
ensure data integrity, the Fieldbus protocols support a low-
level checksum.
Fieldbus Message
Data Field:
Header
VisualMotion ASCII Protocol
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-159
1. Write request from the FB Write Command The data field for the write
master with VisualMotion VM ASCII protocol request can contain a
ASCII Protocol. command text VisualMotion read or write
(read or write data) protocol.
FB Response No
OK?
Yes
3. Read request from the FB Read Command The read request message
master to get VisualMotion contains only header information
ASCII response. No data (the data field is 0). You must
anticipate the approximate size
of the data field (VisualMotion
ASCII response message) in
order to select the appropriate
data exchange object. If the
selected object is too short, the
data will be truncated.
Diagnose
error
4. Receive fieldbus response
The response message will
from slave. FB Response No
contain the VisualMotion ASCII
Received? response to the VisualMotion
ASCII command text in Step 1.
Yes
FB Response No
OK?
Yes
VM ASCII protocol
response text
(write or transmit data)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-160 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
2. After the first read request from the master, the PPC-R sends a
response message.
Header:
No data field
Response message
contains:
• “Write” message o.k. is denoted by a
Response service code of (0x90)
• data field size = 0 bytes
3. Read request from the master for the VisualMotion ASCII response
message.
contains:
• Read service code = (0x0E)
• object number (Class 100, Instance 3,
Attribute 100 —anticipated return data size
between 32 and 64 bytes)
• data field size = 6 bytes for Class, Inst, Att
Note: To ensure that all of the data requested in this step is received
in step 4 below, a data exchange object of the appropriate size
must be selected.
If the selected data exchange object is too small, the data will
be truncated.
If the selected data exchange object is too large, efficiency of
transmission will be compromised.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-161
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-162 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Class,
Instance Attribute Formula
Class 166 0 Note: for backwards compatibility, also listed as
Instance 137
Data Exchange Object ---- ---- Class 100, Instance 1 - 4, Attribute 100
Class 166 0
Instance 134
Class 166, 255
Instance 133
<FREE> ---- ----
(349 objects available) Class 165 1
Instance 41
Class 165 255 Class = 165
Instance 40
Program Integers ---- ---- Instance = 21 + [(Program Integer - 1) \ 255]
(Int 1 – Int 5100) Class 165 1 Attribute = Program Integer - [(Instance - 21) * 255)]
Instance 21
Class 165 255 Class = 165
Instance 20
Program Floats ---- ---- Instance = 1 + [(Program Float - 1) \ 255]
(Float 1 – Float 5100) Class 165, 1 Attribute = Program Float - [(Instance - 1) * 255)]
Instance 1
Class 164, 255
Instance 255
<FREE> ---- ----
(235 objects available) Class 164, 1
Instance 21
Class 164, 255 Class = 164
Instance 20
Global Integers ---- ---- Instance = 11 + [(Global Integer - 1) \ 255]
(GInt 1 – GInt 2550*) Class 164, 1 Attribute = Global Integer - [(Instance - 11) * 255)]
Instance 11
Class 164, 255 Class = 164
Instance 10
Global Floats ---- ---- Instance = 1 + [(Global Float - 1) \ 255]
(GFloat 1 – Gfloat 2550*) Class 164, 1 Attribute = Global Float - [(Instance - 1) * 255)]
Instance 1
Class 163, 255
Instance 255
<FREE> ---- ----
(245 objects available) Class 163, 1
Instance 11
Class 163, 255 Class = 163
Instance 10
Registers ---- ---- Instance = 1 + [(Register - 1) \ 255]
(Reg. 1 – Reg. 2550**) Class 163, 1 Attribute = Register - [(Instance - 1) * 255)]
Instance 1
Class 162, 4 Class = 159 + [(T-Parameter - 1) \ 255]
Instance 255
T-Parameters ---- ---- Instance = T-Parameter - [(Class - 159) * 255]
(T-0-0001 – T-0-1020) Class 159, 1 Attribute = Task Number
Instance 1
Class 158, 255
Instance 255
<FREE> ---- ----
(GFloat 1 – Gfloat 2550) Class 158, 1
Instance 14
Class 158, 1 Class = 144 + [(C-Parameter - 1) \ 255]
Instance 13
C-Parameters ---- ---- Instance = C-Parameter - [(Class - 144) * 255]
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-163
Class,
Instance Attribute Formula
(C-0-0001 - C-0-3583) Class 144, 1 Attribute = 1 (data)
Instance 1
Class 143, 99 Class = 135 + [(A-Parameter - 1) \ 255]
Instance 7
A-Parameters ---- ---- Instance = A-Parameter - [(Class - 135) * 255]
(A-0-0001 - A-0-2047) Class 135, 1 Attribute = Axis Number
Instance 1
Class 134, 99 Class = 118 + [(P-Parameter - 1) \ 255]
Instance 15
P-Parameters ---- ---- Instance = P-Parameter - [(Class - 118) * 255]
(P-0-0001 - P-0-4095) Class 118, 1 Attribute = Drive Number
Instance 1
Class 117, 99 Class = 101 + [(S-Parameter - 1) \ 255]
Instance 15
S-Parameters ---- ---- Instance = S-Parameter - [(Class - 101) * 255]
(S-0-0001 - S-0-4095) Class 101, 1 Attribute = Drive Number
Instance 1
* current limitation: C-0-0080/C-0-0081 - Maximum number global integers/floats.
**current limitation: first 1024 registers.
Table 7-74: Formulas for Determining Mapped Objects
Class 144 Class 144 Class 144 …………… Class 144 Class 145 …………… Class 158 Class 158
Instance 1 Instance 2 Instance 3 …………… Instance 255 Instance 1 …………… Instance 12 Instance 13
Attribute ID 1 CP 0.1 CP 0.2 CP 0.3 CP 0.255 CP 0.256 CP 0.3582 CP 0.3583
Axis(A) Parameters The following is an example lookup table for A-Parameters, when using
mapped objects. The same formula also applies to Sercos (S) and Task
(T) Parameters.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-164 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Class 135 Class 135 Class 135 …………… Class 135 Class 136 …………… Class 143 Class 143
Instance 1 Instance 2 Instance 3 …………… Instance 255 Instance 1 …………… Instance 6 Instance 7
1 AP 1.1 AP 1.2 AP 1.3 AP 1.255 AP 1.256 AP 1.2046 AP 1.2047
Attribute ID 2 AP 2.1 AP 2.2 AP 2.3 AP 2.255 AP 2.256 AP 2.2046 AP 2.2047
3 AP 3.1 AP 3.2 AP 3.3 AP 3.255 AP 3.256 AP 3.2046 AP 3.2047
: : : : : : : : : :
: : : : : : : : : :
40 AP 40.1 AP 40.2 AP 40.3 AP 40.255 AP 40.256 AP 40.2046 AP 40.2047
Product-Specific (P) Parameters The following is an example lookup table for P-Parameters, when using
mapped objects.
Example Look-up Chart for: P-Parameters PP X.Y ==> PP = SERCOS P-Parameter (set 0 only)
X = Drive Number
Y = Parameter Number
Class 118 Class 118 Class 118 …………… Class 118 Class 119 …………… Class 134 Class 134
Instance 1 Instance 2 Instance 3 …………… Instance 255 Instance 1 …………… Instance 14 Instance 15
1 PP 1.1 PP 1.2 PP 1.3 PP 1.255 PP 1.256 PP 1.4094 PP 1.4095
Attribute ID 2 PP 2.1 PP 2.2 PP 2.3 PP 2.255 PP 2.256 PP 2.4094 PP 2.4095
3 PP 3.1 PP 3.2 PP 3.3 PP 3.255 PP 3.256 PP 3.4094 PP 3.4095
: : : : : : : : : :
: : : : : : : : : :
40 PP 40.1 PP 40.2 PP 40.3 PP 40.255 PP 40.256 PP 40.4094 PP 40.4095
Integers The following is an example lookup table for Integers, when using
mapped objects. The same formula also applies to Floats, Global
Integers, Global Floats and Registers.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-165
Example Look-up Chart for: VM Program Integers PI 0.Y ==> PI = Program Integer
Y = Program Integer Number
Table 7-78: Program Integers Lookup Table for Mapped Data Types
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-166 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
General Information
Version Note:
Information in this document is based on VisualMotion Toolkit
software version 10VRS and PPC-R firmware version GPP
11VRS. GMP 11VRS firmware does not have a fieldbus slave
interface, but can be used with the Rexroth PPC-PCI bus
interface to allow cyclic and non-cyclic data transfer.
PPC-R PPC-P
Fieldbus PPC-R PPC-R GPP09VRS/ GMP09VRS/
Interfaces GPP07VRS GPP08VRS GPP 11VRS GMP 11VRS
Interbus No
• • Fieldbus Slave
Support
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-167
PPCR_02_interbus_Sercos.EPS.FH7
With the PPC-R, the fieldbus card can be used only as a slave card in a
master/slave setup. When using EtherNet/IP in a VisualMotion 11
system, no other fieldbus interface card (i.e., Profibus, DeviceNet,
ControlNet, Interbus) or the MTS-R PLC interface can be used.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-168 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
word 15 word 0
Multiplex Channel Only (w/PCP Channel OFF) Single Channel Only (w/P CP Channel OFF)
Configurations
word 15 word 2 word 0 word 15 word 2 word 0
Multiplex Channel (w/PCP Channel ON) Single Channel (w/PCP Channel ON)
Non-Cyclic (PCP)
Cyclic (PD) Channel
Channel
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-169
Note: The cyclic data mapping lists support only 16- and 32-bit data of
the following types for reading and writing:
- Integer
- Float
- Binary (used in control parameters)
- Hex (used in control parameters)
For all other data types (e.g. diagnostic messages - “strings”), use
the non-cyclic Channel.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-170 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Word 15 Word 14 Word 13 Word 12 Word 11 Word 10 Word 9 Word 8 Word 7 Word 6 Word 5 Word 4 Word 3 Word 2 Word 1 Word 0
16-bit 16-bit 16-bit 32-bit 32-bit 32-bit 16-bit 32-bit 32-bit 16-bit 16-bit
multiplex single single single
multiplex multiplex
control/status multiplex container multiplex container multiplex container single item single item
word container container item item item
Note: For specific information about how the fieldbus master uses
the multiplex control and status words, refer to Multiplexing on
page 7-110.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-171
Cyclic Channel
Cyclic Channel
PLC Memory
PLC Memory
PLC Memory
Multiplex Multiplex Multiplex
Container 1 Container 1 Container 1
Multiplex Multiplex Multiplex
Container 2 Container 2 Container 2
Multiplex Multiplex Multiplex
Container 3 Container 3 Container 3
Index 00 Index 01 Index 02
Multiplexing
control / status
word
multiplexing.FH7
Fig. 7-158: Examples for Reading Data via the Multiplex Channel
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-172 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
FB_Mapper_New.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-173
FB_Mapper_Main_IB.tif
FB_Mapper_Edit_Menu.tif
Note: You can also directly add, insert, delete, edit an item, or create
a new list by:
• clicking on the item to be edited in the main Fieldbus
Mapper window and selecting the desired function under
Edit ⇒ Selected Mapping List
OR
• right-clicking on an item to display a menu of functions
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-174 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
FB_Hardware_IB.tif
FB_Slave_Config.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-175
Fieldbus Error Reaction Set the Error Reaction to Shutdown (default), Warning or Ignore. Refer to
Fieldbus/PLC Cyclic Read/Write Monitoring on page 7-108 for detailed
information about each setting.
PCP Channel Length The PCP (non-cyclic) channel can be set to 0 words (Off) or 2 words
(On).
Advanced Configuration Options The Advanced Options field is displayed if the checkbox next to Show
Advanced Configuration Options is checked (refer to Fig. 7-164 below).
In most cases, the default options should apply.
FB_Slave_Config_Adv.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-176 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Cyclic_Data_Config.tif
Cyclic_Data_Add.tif
Note: If your project is in Service mode and you check the box next
to “Get Latest (Online),” the data type label list is updated
based on your firmware version and the currently active
program.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-177
Cyclic_Data_Config_mltplx.tif
Note: At this point, the Multiplex Containers do not yet contain any
items. To add multiplex items, refer to steps below.
Add_Multiplex.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-178 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Note: For subsequent items, highlight any of the indexes within the
multiplex container before clicking Add, and the Fieldbus Mapper will
know you want to add to that container.
Note: In addition to the data types that can be added to the multiplex
list, an empty item called Multiplex Empty Item is available to
fill a space within the multiplex container, if nothing is to be
mapped to a particular index.
Add_Multiplex_Item.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-179
Button Function
Inserts a new item into the list directly before the selected item.
Allows editing of the selected item. (To edit a list item, you may
also double-click on it.)
Clears up the current list.
Additional Functions
Several additional functions are available in the Fieldbus Mapper:
Menu Item Function
Print Print the current fieldbus configuration data.
Print Preview Preview the printout of the current fieldbus
configuration data
Print Setup Configure printer settings
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-180 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
On-Line Information
Online info_IB.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-181
Bit Definitions
x1, x2 Status bits for the internal DPR (Dual-Port RAM) communication between
the fieldbus slave and the PPC-R:
x1: FB Init. OK , LSB (least significant bit)
x2: FB Init. OK, MSB (most significant bit)
The bit combinations for x1 and x2 are as follows:
Bit 2 Bit 1 Description
(PPC-R) (Fieldbus)
0 0 A reset has been executed on the DPR,
or
neither the PPC-R nor the fieldbus card have
initialized the DPR.
0 1 The DPR is initialized by the fieldbus card,
but not yet by the PPC-R.
1 0 The DPR initialization is complete. DPR has
been initialized by the fieldbus card and PPC-
R. Fieldbus to PPC-R communications
system is ready.
1 1 Fieldbus to PPC-R communications system
is ready.
Table 7-84: Possible Settings for Bits 1 and 2, Status Bits for DPR
Communication
x4 Status bit for the active bus capabilities of the fieldbus slaves (FB Slave
Ready)
0--> The fieldbus slave is not (yet) ready for data exchange.
1--> The fieldbus slave can actively participate on the bus.
x5 Status bit for the non-cyclic (PCP) channel (Non-Cyc Ready)
0--> The non-cyclic channel cannot (yet) be used.
1--> The non-cyclic channel is ready for use by the fieldbus master.
x15 Status bit for the cyclic data output (Cyclic Data Valid):
0--> The cyclic data outputs (coming in to the PPC-R) are INVALID.
1--> The cyclic data outputs (coming in to the PPC-R) are VALID. The
system looks for this bit to be 1 before allowing data transfer.
This bit is monitored for the Fieldbus Error Reaction. Whenever this bit
goes to 0 after a fieldbus card was initially found by the PPC-R, the
selected Error Reaction (system shutdown, error message, or ignore) is
initiated. Refer to Fieldbus/PLC Cyclic Read/Write Monitoring on page 7-
108 for an explanation of the Fieldbus Error Reaction setting.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-182 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Fieldbus Diagnostics
VisualMotion Register 20 holds the information for "Fieldbus Diagnostics."
Table 7-50 below contains the bit assignment for the diagnostics. The
assigned bits are labeled with "x" and the bit number in the second row.
Unassigned bits are labeled with "---."
16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
X16 x15 x14 x13 --- --- --- --- --- --- --- --- --- --- --- ---
Bit Definitions
x13 - x16 Identification of the fieldbus interface card (FB Card Found)
The bit combinations for x13, x14 and x15 are as follows:
Bit 16 Bit 15 Bit 14 Bit 13 Fieldbus Type
0 0 0 0 <NO CARD>
0 0 0 1 <Not Defined>
0 0 1 0 Interbus
0 0 1 1 DeviceNet
0 1 0 0 Profibus
0 1 0 1 ControlNet
0 1 1 0 <Not Defined>
0 1 1 1 EtherNet/IP (10 MB)
1 1 1 1 Indramat PLC Interface
You can select how you would like the PPC-R system to react in case of a
fieldbus error. This reaction can be set in the "Fieldbus Slave
Configuration" window, using the combo box labeled "Fieldbus Error
Reaction."
Three options are available for the Error Reaction setting. Depending on
the selected setting, the value 0, 1, or 2 is stored in Parameter C-0-2635:
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-183
Troubleshooting Tip:
If a fieldbus card is not found on the system, the Error
Reaction setting will be ignored. If you have a fieldbus card
and the Error Reaction is not responding as expected, the
system may not "see" your fieldbus card.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-184 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Multiplexing
Primary Multiplex Method (for Inconsistent Masters)
Explanation of the Master Consistency Problem
The PPC-R fieldbus slave interfaces can guarantee consistency,
however, some fieldbus masters can only guarantee byte, word or double
word consistency. If the master is only word-consistent, it is possible that
the master cannot transfer the data and the control word of one multiplex
index consistently from the PLC to the fieldbus. Therefore, it is necessary
to have a second multiplex method where both input data and output data
require the handshake bits to update via the fieldbus.
Fig. 7-112 below illustrates the control word definition for the Primary
Multiplex Method.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RR Multiplex Input Control Index Multiplex Output Control Index
see definition (index_in_c) (index_out_c)
under “Handshake
Write Request
(defines the input index command for Toggle Bit (WR) (defines the output index command for
Bits WR / WA and
multiplexing) (initiates the write multiplexing)
RR / RA”
(Secondary command once each
Method only) time it is toggled)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RA Multiplex Input Status Index Multiplex Output Status Index
see definition
under “Handshake
(index_in_s) Write Request (index_out_s)
(confirms that the input index response (confirms that the output index response
Bits WR / WA and Acknowledge Bit
location matches that of the command location matches that of the command
RR / RA” (WA)
location) location)
(Secondary (checks that the write
Method only) data has been read
once each time it is
toggled)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-185
RR == RA:
• tells the master that the slave has sent the requested data_in. The
master can now read the data_in and request new data_in.
• tells the slave to do nothing, because the master has not yet put new
consistent data on the bus.
RR != RA:
• tells the slave to put new data_in on the bus, because the master
requests new data_in.
• tells the master to do nothing, because the slave has not yet put the
latest requested multiplex data_in on the bus.
Control Word =0
No
Toggle RRT (Set RR = ~RA)
No
Toggle WRT (Set WR = ~WA)
*1
there may be different ways to achieve consistency, depending on the master
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-186 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
For some masters, it could be enough to first write data and then the control
word. For other masters, you may have to implement a delay time (this
time could be different from master to master) before writing WR = ~WA.
Important: You should use the Secondary Multiplex Method only for a
master that is consistent over the entire cyclic channel. The
Primary Multiplex Method is available for inconsistent
masters. Refer to Secondary Multiplex Method (for
Inconsistent Masters) on page 7-113.
Note: The meanings of the control and status words are the same as
for the Primary Multiplex Method. The only difference is the
toggle bits RR and RA, which are used only in the Primary
Method.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Multiplex Input Control Multiplex Output Control
Index (index_in_c) Write Request Index (index_out_c)
(defines the input index command Toggle Bit (defines the output index command
for multiplexing) for multiplexing)
(WR)
(initiates the write
command once
each time it is
toggled)
Index_out_c: tells the slave in which index the data are transferred from
master to slave (out = master -> slave, _c = element of control word).
Index_in_c: tells the slave in which index the data is requested from
slave to master (in = slave -> master, _c = element of control word).
WR (Write Request): handshake bit (refer to meaning of WR and WA).
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-187
Status Word The status word is transferred in the multiplex channel from slave to
master. It acknowledges the written index and the requested index.
Multiplex Input Status Byte Multiplex Output Status
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Multiplex Input Status Multiplex Output Status
Index (index_in_s) Write Request Index (index_out_s)
(confirms that the input index Acknowledge (confirms that the output index
response location matches that of response location matches that of the
the command location) Bit (WA) command location)
(checks that the
write data has been
read once each
time it is toggled)
Begin
Control word =0
No
Toggle RT (Set WR = ~WA)
Programming Example
To aid in implementing the multiplex function in a PLC program, the
following flow chart shows two ways of reading and writing data. Reading
and writing can be executed separately, which allows the input data to be
updated about 30% faster. The “Read Data” example would be placed at
the beginning of a PLC program the “Write Data” example at the end.
Combined reading and writing makes the PLC program simpler,
especially when using the same index for both transfer actions.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-188 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Mapped Data
Mapped data is the most powerful feature of the PPC-R non-cyclic
fieldbus interface. Through mapped data, the user has access to virtually
every PPC-R data type over the fieldbus. It is easy to implement from the
PLC side and requires no setup on the PPC-R side.
To access a data type over the fieldbus, it has to be specified by an
address that consists of an index and a subindex. The index and
subindex for each data type can be calculated by a formula (refer to
Accessing Mapped Data on page 7-125).
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-189
Fieldbus Visual
Objects Motion
Data
Su
D
r iv
bI
Index
nd
0x2001 S-1
e
#
ex
0x2002 S-
Parameters
S-4095
0x3001 P-1
0x3002 P-
Parameters
P-4095
0x4001 A-1
0x4002
Ax
Axis-
is
Parameters
#
A-2047
object_mapping_PB_IB.FH7
Mapped data can be used with the following parameters and values:
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-190 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
d.) All other Parameter Types (list parameters, command parameters, etc), are not supported for
mapped data.
When reading mapped data from a VisualMotion Parameter, there are 3 possible cases of sizes
returned:
a.) If the parameter type is a string, you receive the number of bytes corresponding to the length of
the string.
b.) If the parameter is 32-bit or less, you receive a cast 32-bit value for this parameter. This implies
that 16-bit parameters are returned as cast in to 32-bit values.
c.) All other parameter types (e.g. list parameters, command parameters, etc.), are not supported
for mapped data.
8. When writing mapped data to a VisualMotion Program Float, Program Integer, Global Float, or
Global Integer, the data size must be 32-bits (2 words). Any other size returns a VM error #07
(Invalid Data Format).
When reading mapped data from a VisualMotion Program Float, Program Integer, Global Float, or
Global Integer, the data size returned is always 32-bit (2 words).
9. When writing mapped data to a VisualMotion Register, the data must be 16-bits (1 word). Any other
size returns a VM error #07 (Invalid Data Format).
When reading mapped data from a VisualMotion Register, the data size returned is always 16-bit (1 word).
Object Index The index refers to the particular fieldbus slave object that a VisualMotion
data type is (automatically) mapped. This object allows for simple,
indirect access to VisualMotion data types, and it is combined with the
subindex to create a direct relationship to the VisualMotion data types.
The available objects can be calculated using the formulas in Accessing
Mapped Data on page 7-125.
Object SubIndex The subindex refers to an additional piece of information necessary to
obtain direct access to VisualMotion data types. The reference of the
subindex depends on the data type in question. For example, the
SubIndex refers to the drive number when accessing S and P
parameters. However, the subindex refers to the task number when
referring to task parameters. The available subindex ranges can be
calculated using the formulas in Accessing Mapped Data on page 7-125.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-191
Note: The entire data length of the data exchange object must
always be transmitted even if the VisualMotion ASCII message
is shorter.
For example, if you want to transmit an ASCII message of 42
bytes, you must use object 5E72. To avoid a response error
from the fieldbus slave, you must append 22 "Null" characters
to the end of the ASCII message to complete a data size of 64
bytes.
Note: The checksum for the VisualMotion ASCII protocol is NOT
used with the data exchange object. If the checksum is sent
as part of the string, it will be ignored, and no checksum will be
sent in the VisualMotion ASCII response messages. To
ensure data integrity, the fieldbus protocols support a low-level
checksum.
PCP
Control Object Index # Subindex #
Data Field:
Word VisualMotion ASCII Protocol
Fig. 7-179: Format of a PCP Channel Message using a Data Exchange Object
For information about reading and writing data using the PCP channel,
consult the documentation provided by the fieldbus manufacturer.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-192 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
1. Write request from the PCP Write Command The data field for the write
master with VisualMotion VM ASCII protocol command can contain a
ASCII Protocol. command text VisualMotion read or write
(read or write data) protocol.
PCP Response No
OK?
Yes
3. Read request from the PCP Read Command The read request message
master to get VisualMotion contains only header information
ASCII response. No data (the data field is 0). You must
anticipate the approximate size
of the data field (VisualMotion
ASCII response message) in
order to select the appropriate
data exchange object. If the
selected object is too short, the
data will be truncated.
Diagnose
error
4. Receive PCP Channel The response message will
response from slave. PCP Response No contain the VisualMotion ASCII
Received? response to the VisualMotion
ASCII command text in Step 1.
Yes
PCP Response No
OK?
Yes
VM ASCII protocol
response text
(write or transmit data)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-193
Object
Index # SubIndex # Formula
0x5E73 0x00
Data Exchange Object ---- ----
0x5E70 0x00
0x5E65 0xFF
<FREE> ---- ---- (with SubIndex)
(349 objects available) 0x5D14 0x01
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-194 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Object
Index # SubIndex # Formula
Index
Axis(A) Parameters The following is an example lookup table for A-Parameters, when using
mapped objects. The same formula also applies to Sercos (S) and Task
(T) Parameters.
Index
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Commissioning Tools 7-195
Product-Specific (P) Parameters The following is an example lookup table for P-Parameters, when using
mapped objects.
C118, In1 C118, In2 C118, In3 …………… C118, In255 C119, In1 …………… C134, In14 C134, In15
0x3001 0x3002 0x3003 …………… 0x30FF 0x3100 …………… 0x3FFE 0x3FFF
0x01 PP 1.1 PP 1.2 PP 1.3 PP 1.255 PP 1.256 PP 1.4094 PP 1.4095
SubIndex = 0x02 PP 2.1 PP 2.2 PP 2.3 PP 2.255 PP 2.256 PP 2.4094 PP 2.4095
(Attribute ID 0x03 PP 3.1 PP 3.2 PP 3.3 PP 3.255 PP 3.256 PP 3.4094 PP 3.4095
for DNet) : : : : : : : : : :
: : : : : : : : : :
0x28 PP 40.1 PP 40.2 PP 40.3 PP 40.255 PP 40.256 PP 40.4094 PP 40.4095
Integers The following is an example lookup table for Integers, when using
mapped objects. The same formula also applies to Floats, Global
Integers, Global Floats and Registers.
Example Look-up Chart for: VM Program Integers PI 0.Y ==> PI = Program Integer
Y = Program Integer Number
Index
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
7-196 Commissioning Tools Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-1
Data_Param.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-2 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Parameter Access
Parameter "read" or "write" access is identified by the text color displayed
in the parameter overview window. The following table indicates the color
code / access combination.
Edit a Parameter
To edit a parameter, select the parameter type (Control, Task, etc.), and
then double click on the desired parameter number from the parameter
overview window.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-3
Note: This error is typically encountered when help for Sercos drive
parameter is requested. Each drive firmware has its own help
system that can be installed. Drive help is available on the
following DriveHelp CD with material number 282411:
DOK-GENERL-DRIVEHELP**-GN**-MS-D0600
When the Yes button is pressed, the following window will assist the user
in locating a suitable help system.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-4 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
On_Line_Edit_Stnd_Param.tif
Note: 16 bit parameters will only have the first 16 bits accessible.
Bits 17-32 are grayed out.
On_Line_Edit_Binary.tif
On_Line_Param_Predfnd.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-5
On_Line_Param_Options.tif
Data Format Parameter lists displayed in data format will contain an Index and a Value
column as shown in the figure below.
On_Line_Param_Data.tif
IDN Format Parameter lists displayed in IDN (IDentification Number) format is a list of
other parameters containing an index, parameter number and description
as shown in the figure below.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-6 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
On_Line_Param_IDN.tif
On_Line_Param_IDN_Apnd.tif
Note: Not all parameter lists allow the addition and removal of
parameters.
• Append Item (CTRL+INS) – adds a new item to the end of the current
list.
• Insert Item (INS) – inserts an item above the selected value or
parameter.
• Delete Selection (DEL) – deletes the selected data or parameter from
the list.
• Edit Selection (ENTER) – opens an edit window where the data or
parameter value can be edited.
• Refresh (F5) – refreshes all values displayed in the parameter list.
• Find (F3) – locates a parameter using the number or description.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-7
On_Line_Param_Edit.tif
Custom
The Custom tree icon provides the user with easy to create and manage
parameter lists that are specific to their application. From this tree icon
selection, the user can create, modify and delete custom lists and custom
list groups.
A Custom List is a grouping of parameters that are user selected.
A Custom List Group is a tree icon that is created under the Custom tree
icon and used to group multiple custom lists together.
Note: All custom groups and custom list are stored under the
\Rexroth\VisualMotion11\param directory. Custom list are
saved with a "*.custom" file extension and custom list groups
appear as subfolders under param.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-8 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
On_Line_Param_Custom_List.tif
Note: In both cases, the Custom tree icon must first be highlighted
before the selections are made available.
On_Line_Param_Create_List.tif
Create_Custom_List.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-9
a.
b.
click
c.
Custom_List_Editor.tif
The newly created custom list name will appear below the Custom tree
selection, as shown in the figure below.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-10 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Custom_Tree.tif
Note: To delete a custom list, right click on the name and select
"Delete the selected custom list item" from the popup window.
Custom_List_Modify.tif
2. Right click anywhere in the right window and select "Modify Custom
List".
The addition and removal of parameters is described in section, "Create a
Custom List".
Note: In both cases, the Custom tree icon must first be highlighted
before the selections are made available.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-11
Create_Custom_Group.tif
2. Enter a name in the Create Custom List Group window for the
custom, up to a maximum of 20 characters, that identifies the group
and press the OK button.
The newly created custom list group name will appear below the Custom
tree icon, as shown in the figure below.
Custom_Group_Name.tif
Custom_Group_Tree.tif
To add a custom list under the group name, select the group and follow
the steps in section Create a Custom List.
Note: To delete a custom list group, right click on the group name
and select "Delete the selected custom list item". This option
is not available if a custom list exists under the group name.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-12 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
System Configuration
The system configuration overview for the connected system components
can be viewed from the Parameter Overview tool by selecting the top-
level selection for Task, Axis or Sercos Ring.
Param_System_Config.tif
Note: The Send mail… option will be visible only if the PC has a
configured e-mail client.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-13
Compare Parameters
Selecting Data ⇒ Parameters ⇒ Compare… launches the Compare
Parameters tool. This tool is supported in all programming modes
(offline, online and service). It allows the user to compare system
parameter sets (C, T, A, S, and P), of the same type, saved in the project
and on the control's memory with each other or with the system default
values. Parameter values can also be edited, copied or deleted, if
allowed. The modification to parameter values are not valid until saved.
The parameter selections and tabs that appear under them vary based on
the current programming mode. The following table lists the four tab
selections, functions and their relevant programming mode:
Note: Drive parameter sets and the Control column are only
supported in online and service mode.
drive parameter
sets
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-14 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Comparison Focus When comparing parameter sets, the focus of the comparison is on the
first column of parameter values. All columns to the right are being
compared to the first column of values. For example, Fig. 8-22 is
comparing the values on the Control and Default to those in the Project.
Display Indications The following table lists the visual display indications used in the Compare
Parameter tool.
Indicator Meaning
black text / white background no change in value as compared to the
focus column
no text / gray background parameter is not stored as part of the
parameter set
red text compared value is different from the value
in the focus column
yellow background value was modified but not saved
light gray text read-only parameter / cannot be modified
blue text list parameter
Menu and Right Click Options Selecting File ⇒ Options… opens the window in Fig. 8-23. The following
table describes the available menu options:
Option Description
Hide read-only parameters When checked, read-only parameters
(light gray text) are not displayed.
Hide parameters not in the project When checked, all parameters not
stored in the project (gray background)
are not displayed.
Hide parameter which are equal When checked, all parameters with
equal values in all columns are not
displayed.
File ⇒ Options
ComParaOptions.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-15
Edit Parameter Values Parameter values can be edited by double clicking over an existing value
or gray background and entering the new value. Once the new value is
entered, the background color changes to yellow, indicating that the value
was changed. If the value entered is different from the focus column, the
new value will be displayed in red. Once the parameter set is saved
(either by selecting File ⇒ Save, right clicking over the new value and
selecting Save, or changing to a different tab) the new value will appear
as black text over a white background.
ComParaEdit.tif
The following table describes the available option when right clicking over
a parameter value:
Option Description
Edit Selects a writable parameter value for input
Save Right clicking over an individual value saves only that modified
value while others remain with a yellow background.
Right clicking over the column heading saves all modified value for
the entire set.
When selecting File ⇒ Save, all modified parameters values,
regardless of column, are saved.
Copy Copies the contents to the Windows clipboard.
Paste Copies the valid contents of the Windows clipboard to a new
location, if value type is allowed.
Delete Deletes the parameter value and replaces it with a gray
background. Not supported for Control or Default values.
Default Replaces the current value for a project or control with the Default
value.
Help Opens content sensitive help for the current selected parameter.
Find Searches parameter names for a match.
Table 8-6: Compare Parameter Value Options
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-16 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
List parameter values, displayed as blue text, can only be expanded and
modified if they contain elements. An list parameter with zero elements is
display as { 0 }. Double clicking on the list parameter name, expands the
list parameter into its individual element values.
ComParaList.tif
Copy Parameter Values Parameter values can be individually copied by double clicking on an
existing value and selecting the contents (using standard Windows right
click or keyboard shortcuts). Next, double click on an adjacent parameter
and paste the new value.
To copy an entire parameter set (for example, Task A to Task B) to a
different parameter set of similar type, click, hold, and drag the column
heading of the first set to a different column heading.
After the copy, the following VisualMotion message warning requires the
user to accept the copy command.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-17
CopyMessage.tif
Compare Components
The Components tab displays a collection of control and drive parameter
sets grouped by functionality. Drive specific parameter sets such as,
Drive CAM Table and Drive PLS are only accessible in online and service
modes.
The following table lists the available columns that can be compared
based on the current programming mode of VisualMotion Toolkit:
ComComp.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-18 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Compare Parameters
The Parameters tab displays the complete set of Control, Task, Axis, and
Drive parameters. Drive parameters (S and P) are only accessible in
online and service mode.
The following table lists the available columns that can be compared
based on the current programming mode of VisualMotion Toolkit:
ComParam.tif
Compare Project
The Project tab allows a user to compare multiple sets of similar
parameter sets, stored in the project, for Task, Axis, and Drive among
each other or against the Default values. Since only one set of control
parameters exists in a system, they are not accessible under the Project
tab. To compare control parameters against the default values, select the
Parameters tab. Drive parameters (S and P) are only accessible in online
and service mode.
Note: The Project tab is only supported in offline and online modes.
In service mode, there is no connection to the project.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-19
ComProject.tif
Compare Control
The Control tab allows a user to compare multiple sets of similar
parameter sets, stored in the control's memory, for Task, Axis, and Drive
among each other or against the Default values. Since only one set of
control parameters exists in a system, they are not accessible under the
Control tab. To compare control parameters against the default values,
select the Parameters tab. Drive parameters (S and P) are only
accessible in online and service mode.
Note: The Control tab is only supported in online and service modes.
In offline mode, there is no connection to the control.
ComControl.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-20 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Registers
VisualMotion supports 1024 (16-bit) registers. Registers can be modified
as a complete binary register or by their individual bits.
Sorting Data
Any of the three data type columns (Number, Label and Value) can be
sorted in ascending or descending order by clicking on the column
heading.
Display Format
Binary format
Hexadecimal format
Decimal format
Registers_Binary.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-21
Menu Items
File – Program allows the user to choose which program to display and
Exit closes the window.
Edit – Allows the user the search for a specific data type Number, Label
or Value by using the Find… feature.
View - Allows the user to change the displayed format of the register data
between Hex, Binary, and Decimal.
Tools – The items available are dependent on the current data type
selected and displayed. The following menu items are available:
• Control Selection… (service mode only)
• Force A Register…
Register Forcing
• Clear All Forcing… This feature is only supported
for pre-G*P10 projects.
• Edit Forcing Options…
• Add to Custom List
• Delete From Custom List (available in Custom List)
• Save Global Variables (available for Global Integers and Floats)
Help - allows the user to launch the help system and provide information
about current VisualMotion software installed.
Edit a Register
To edit a register double click on the desired register to open the Edit
Register window. The window displayed is dependent on the display
format of the selected register.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-22 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Binary Register
Binary display registers are edited using the following Edit Register
window. The register bit label is displayed (if configured) with the current
state of the bit ( 0 or 1). To change the state of a bit click on the label or
bit state (0 or 1).
Register_Edit_Bits.tif
Register bit numbers are displayed as a tool tip when the mouse pointer is
held over a register bit label or bit state, as illustrated in Fig. 8-33.
The Set All Bits and Clear All Bits buttons can be used to set or clear all
register bits at one time.
The left (previous) and right (next) arrow buttons allows the user to
modify the bits of additional register without the need to exit back to the
main register window. These buttons operate using a spin-control
feature. This means the user can either advance to the next register or
go back to the previous register
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-23
Variables
Selecting Data ⇒ Variables opens the Data Editor Runtime Tool window.
The window automatically uploads and displays variables of the active
project on the control. In service mode, a program is selected with File ⇒
Program Select.
Variables.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-24 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Event Tables
Events are used to execute an event function on time, position, angle or
I/O State conditions. Each event has status, type, direction, distance or
time, event function, and message fields. The Data Editor window
permits viewing and editing of the event table of a program that has
already been downloaded to the control. The window automatically
uploads and displays the contents of the event table for the currently
active program on the control.
Event_List.tif
Edit an Event
To setup or edit an event:
1. Double-click on the event to open the following Edit Event window
opens.
2. Select an Event Type and options and click on the Apply or the OK
button to send to the control.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-25
Event_Edit.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-26 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
• Feedback Capture
This event type uses the Probe capability of Rexroth drives to trigger a
Rexroth VisualMotion 11 event based on a positive or negative
transition of the drive's Probe 1 or Probe 2 input.
• I/O Register Event
This event type uses the bits of input Register 88 (USER_X1_REG) to
trigger up to 16 events only in Task A. Register 89 (USER_X0_REG)
is used to monitor the status of events triggered by Register 88.
• PPC-R X1 Input
This event type uses the PPC-R’s X1 digital inputs (I1, I2 and I3) to
trigger an event based on a positive or negative transition.
Point Tables
From the Data Editor, the user can view and edit absolute and relative
point tables in the currently active program.
Points.tif
The window automatically uploads and displays the contents of the point
table in the current project on the control. Points are used in coordinated
motion programs to describe a location in Cartesian coordinates, tool
orientation and associated events.
File
The file menu has the following selections:
• Program Select allows the user to select an active program.
(available only in service mode)
• Exit closes the Points windows.
View
The View menu presents a list of the point elements and allows the user
to select or deselect any of them to determine which ones appear in the
display.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-27
Table
The Table menu allows the user to switch between the absolute and
relative point tables.
Update
Clicking on Update refreshes the window and updates any changes that
have been made.
Settings
Clicking on Settings opens the Control Selection window allowing the
user to select a different method of communication.
Edit
The user can highlight a point and click Edit to make changes to existing
point values. Another option is to double-click the desired point in the list.
Editing a point table entry opens an absolute or relative Edit Point Values
window, depending on which type was selected with the Table menu.
Points_Edit.tif
The Edit Point Values window permit individually changing the values for
each point table entry on the control. Clicking on the Apply button
immediately downloads the new values to the program on the control.
The changed values are displayed at the next automatic update.
The first time a point is taught (and has zeroes in the Speed,
Acceleration, Deceleration and Jerk fields) default values are loaded. The
defaults are 10% for speed, 100% for acceleration, 100% for deceleration
and 100% for jerk.
In the Coordinates/wrist motion disable section of this screen, the user
can disable coordinated motion on one or more axes for a particular point.
In the Elbow Properties section of this screen, the user can choose the
Up or Down radio button to determine the elbow direction for a particular
point. To include this feature in the VisualMotion program.
Each point has: {x, y, z, blend, speed, acceleration, deceleration, jerk vent
1, event 2, event 3, event 4, roll, pitch, yaw, and elbow} fields.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-28 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
To better navigate long tables, the user may click and drag the vertical
scroll bar button while looking at the point number indicator that appears
at the right of the window title bar. The point number corresponds to the
top of the list when the scroll bar button is released. The user must
expand the viewing window to view the additional roll, pitch, yaw and
elbow properties used with a six-axis control system.
Zone Tables
Zones can be used in coordinated motion programs to describe a volume
of space where motion of any kind is prevented.
Programs on control - program selection is through a menu selection
containing a list of programs on the control plus "Currently active".
To edit an event, select it in the list box, and press the Edit menu
selection, or double click on the list item. Modify the necessary fields and
press the Apply button to save the changes and keep the edit window
open or click the OK button to save the changes and close the edit
window.
Zones.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-29
Custom List
The Data Editor allows the user to create a custom list of the data types
available from the data type drop-down list.
3. When complete, select Custom List from the data item drop-down list
to display your custom list. The Number column identifies the data
type added to the custom list.
4. To remove a data item from your custom list, right click over the data
item and select Delete From Custom List.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-30 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Note: An active ELS program is necessary for the ELS Runtime Tool
to open.
ELS_Utility.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-31
ELS_Masters.tif
For more information about the initial setup of system masters and setting
the values in this window, refer to the section 4.5, Setup ELS Process, for
details.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-32 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
ELS Group
Selecting ELS Group x in the list box and clicking the button labeled "Edit
ELS Group x Variables" opens the Edit ELS Group Variables tab array
below.
ELS_Group_Variables.tif
The tabs open windows that are accessible in the initial setup of ELS
elements, using the ELSGrp icon.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-33
Virtual Masters
Selecting Virtual Masters and clicking the button labeled "Edit Virtual
Masters" opens the Edit Virtual Masters window below.
ELS_Virtual_Master.tif
For more information about the initial setup of Virtual Masters and setting
the values in this window, refer to the section 4.5, Setup ELS Process, for
details.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-34 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
SlipMonitoring.tif
Registration Setup
Registration is the process of referencing a product edge or register mark.
This allows positioning errors to be detected and corrected before an
upstream (web, product) or downstream (die-cutter, print cylinder, etc.)
process takes place, depending on the machine design.
This function tightly couples the control system with the Probe Event on
the drive that the product is being referenced to. Registration is
accomplished by comparing the captured position to a target value and
correcting for the difference. The registration error is automatically
assimilated into the axis motion profile, providing a smooth, seamless
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-35
CAM_Indexer_Compile.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-36 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Registration Parameters
The following Parameters are used by the registration function. Most of
them are written by the user with the registration icon window. Some of
them are also calculated and written by the control or the Drive.
Type
This selects the desired type of registration correction calculation to be
used.
• Current:
• Next:
• Average:
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-37
Probe Distance
This value is used to determine the calculated position of the axes that a
mark is expected to detected.
CAM Indexer:
Based on the setting of Mark at S/E bit, the Mark Setpoint value is
automatically calculated as follows. Starting Position is the position of the
axis at the start of the index. Ending Position is the expected position at
the end of the index (minus registration correction).
If Start of move: Mark Setpoint = Starting Position + Mark Distance
If End of move: Mark Setpoint = Ending Position - Mark Distance
ELS Phase, Control Table CAM, or Drive CAM Mode:
The Probe Setpoint is an absolute position on either the master or the
slave (set via an integer option bit).
Probe Setpoint = Probe Distance
Mark Setpoint: This value is used to calculate registration error and
various position points used in the registration process. See Correction
Distance, Probe Window On/Off.
Correction Distance: This is the amount of correction distance that will
be applied to the current index in units. Based on the selected Correction
Profile type this error is added to the CAM profile or ELS slave position at
the position defined by the correction window. Only one value is read
during each index cycle.
Correction Distance = Mark Setpoint - Probe Value
In future versions, correction distance may be optionally buffered through
several cycles in case the measurement is upstream, or may be averaged
or filtered for a smoother correction.
Probe Value: This value indicates the measured probe position value that
was captured by the drive when the registration mark was detected on the
probe 1 input. It is saved only when the axis is within the probe window. It
is used in the calculations associated with determining registration error.
Correction Window
This bit enables the period within the move cycle that the correction can
be applied (defined by “Correction Window Start/End”). If this bit is clear,
the correction is applied immediately after the probe position is captured.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-38 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
For other motion types, the positions are related to the measured value
(master or axis position). The correction is added to the value selected in
the Correction Target option. The drive handles the phase offset
internally, based on its velocity, acceleration, and/or filter parameters. It is
necessary to set these drive parameters so that the correction move
finishes before the next cycle.
Maximum Correction
This is the maximum amount of correction distance that will be applied to
the current index in units. If zero, the full amount of the correction is used
for the current index. If a value is entered, the Correction Distance value
is compared to Correction Maximum and correction up to this value will be
applied. The remainder will be discarded.
Missing Marks
This defines the number of consecutive missed marks that are allowed
before the control sets the Max Missed Marks status bit.
Auto Correction
By default, the control sends the Correction Distance to the drive to
perform a phase offset, based on the correction window and correction
target. It is possible to disable automatic correction, so that it can be
handled in the user program. This option applies to all motion types
except for the CAM indexer, for which automatic correction is always
enabled.
0 - Enable Automatic Correction
1 - Disable Automatic Correction
Correction Target
These bits select the target parameter for the Correction Distance. When
using the CAM indexer, the correction uses a CAM which is added to the
CAM position generated by the indexer. For other modes, the following
selections determine the affected parameter:
Position Source
This bit determines if the slave axis (0) or ELS master (1) position is used
in the registration correction calculation. This option applies to ELS,
control CAM (no indexer), and drive CAM modes only. With the CAM
indexer, only the slave position can be measured. If slave position is
enabled, the Probe Value captured by the drive is the axis feedback
position. If master position is enabled, the Probe Value is the ELS master
position.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-39
Probe Sensing
This bit determines if the drive captures the axis position at the leading or
trailing edge of the mark. The leading edge is indicated by a high (0-1
transition) on the probe input.
0 - Leading Edge
1 - Trailing Edge
Correction Profile
When using the CAM indexer, this value defines the shape of the
correction CAM. Current selections are: S-curve, Triangular, and
Trapezoidal.
Enable Registration
Set this bit to (1) to enable the registration function. All relevant
parameters will be initialized, then the ‘Registration Enabled’ bit in the
registration status register will be set. To disable the registration function,
set this bit to (0).
Correction at Max
This bit is set to (1) when the Correction Distance exceeds the Correction
Max parameter. It is reset to 0 after the next mark is found and
Correction Distance is less than or equal to Correction Max.
Mark in Window
This bit is set to (1) as soon as a registration mark has been detected
within the probe window. It is cleared when registration is first enabled, or
on the following cycle when no registration mark is found in the window.
This bit can be mapped to a task input or system input event, so that the
user can run additional program code when the mark is detected.
Registration Enabled
This bit is an acknowledgment of the Enable Registration control bit. Its
value will not match that of the control bit until the control has completed
the process of enabling or disabling registration. This process could take
several milliseconds, depending on the parameters that need to be
initialized.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-40 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Registration.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-41
Correction at Max
This bit is set to (1) when the Correction Distance exceeds the Correction
Max parameter. It is reset to 0 after the next mark is found and
Correction Distance is less than or equal to Correction Max.
Max Missed Marks
A missed mark counter is incremented when the probe window is
traversed without a mark being found. This bit is set when the counter
exceeds the Missed Marks parameter. The user program or PLC can
then take appropriate action or alert the user of this condition. This bit is
reset by the control only upon a 1-0 transition of the Registration Enable
bit.
Preset Enabled
This bit is an acknowledgment of the Enable Preset control bit.
Probe Distance
This function is to select the distance (from start or from end) within the
move cycle that the registration mark can be read. The probe position is
captured and the correction distance is calculated only when the mark is
found within this position range. The probe window is related to the
selected measurement value (master or axis position).
Correction Window
This function is to select the period in the move cycle to which the
registration correction is to be applied. If the option Correct only in
Window is not selected, the correction is applied immediately after, the
probe position value is captured. Otherwise, the correction starts at the
Start position, and must be finished before the Stop position.
When using the CAM indexer, the start and end position in relation to the
master axis is entered here. Correction motion will only take place within
this window. If the probe comes in during the correction window, say at
position x of the master, then the maximum allowable correction during
that cycle is calculated as follows:
(maximum correction)(x - start)/(end - start)
Select Correction Target - These bits select the target parameter for the
Correction Distance. When using the CAM indexer, the correction uses a
CAM, which is added to the CAM position generated by the indexer.
Maximum Correction
This is the maximum amount of correction distance that will be applied to
the current index in units. If zero, the full amount of the correction is used
for the current index. If a value is entered, the Correction Distance value
is compared to Correction Maximum and correction up to this value will be
applied. The remainder will be discarded.
Missing Marks
Enter the number of missing marks until an error is issued.
Auto Correction
Select enabled or disabled. By default, the control sends the Correction
Distance to the drive to perform a phase offset, based on the correction
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-42 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Probe Sensing
Set the sensing to be either on the positive transition (0 ⇒ 1) or a
negative transition (1 ⇒ 0).
Correction Profile
When using the CAM indexer, this value defines the shape of the
correction CAM. Current selections are S-curve, Triangular and
Trapezoidal.
CAM_Builder.tif
Format
This section defines the format, as Degree or Percent, that will be used to
build a control or drive CAM. Pre-GPP 10 firmware can only build a
control CAM using a degree format while GPP 10/11 or GMP 10/11 can
use a degree or percent format. Drive CAMs can only be built using a
percent format.
Degree CAM - output data is calculated where the master output position
is in Degrees and the slave output position is in system Units (degree, in,
mm, etc.).
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-43
Type
Select the algorithm that will be used to build the output data from the
user-defined input data. The available types are:
• ACAM – slave input data is entered as an acceleration at a given
master position in degrees.
• PCAM – slave input data is entered as a position at a given master
position in degrees.
• SCAM – slave input data is entered as a position at a given master
position in degrees. Output data is build by applying the input data to a
rd
3 order spline polynomial.
• VCAM - slave input data is entered as a velocity at a given master
position in degrees.
Input Data
The Input Data Table displays the master and slave input values entered
by the user or uploaded from an input file. When the Input Data radio
button is selected, the Input Data Table becomes active and the
background color changes to green. The available buttons are Add…,
Delete, Edit…, -->>Build-->> , and Graph Output…
Input data are defined by clicking the Add… button and entering input
position values for both the master and slave. Existing input data can be
modified by selecting the relevant line and clicking the Edit… button.
Once all input data is entered, click the -->>Build-->> button to calculate
the output data.
Output Data
This Output Data Table displays the output position data for the master to
slave relationship calculated from the input data. Also, the output position
data for a control or drive CAM can be uploaded for editing from an output
file or by using the CAM Transfer… function under the File menu. When
the Output Data radio button is selected, the Output Data Table becomes
active and the background color changes to green. The available buttons
are Edit…, and Graph Output…
Output Steps
The Output Steps are only available for degree CAMs and defines the
number of output steps (points) that will be used to build the CAM. The
allowable range for output steps is 10 - 1025.
Shaping Option
Select the percentage of S-shaping to be used on the velocity curve to
prevent a jump in acceleration (jerk limiting). This option is not available
for SCAM profiles.
Output Modulo
The Output Modulo is only available for degree CAMS and defines the
Output Modulo that will be used for scaling the range of ACAM and VCAM
output calculations. By default, this scaling is set to 360.
Scale Output
The Scale Output is only available for percent CAMs and is used to scale
the CAM's output profile.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-44 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Buttons
Add… - add an entry to the input data.
Delete - deletes selected entry in the input data.
Edit… - edits selected entry in the input or output data.
-->>Build-->> - builds position, velocity and acceleration CAM profiles
and displays position data in the Output Data Table. Uses the algorithm
for the selected Type to build the number of data sets chosen in Output
Steps (10-1025 for degree CAMs and fixed to 1024 for percent or drive
CAM) using the input data and the Shaping Option to modify.
Note: CAM for percent CAMs are allowed within the range of +/-
200%. If this range is exceed, an error will be issued and the
slave output positions will be scaled back to 100%.
• Zoom In/Out – increases or decreases the size of the graph for more
accurate measurements.
CAM_Data_Graph.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-45
File Menu
The following figure displays the available menu selections under the File
menu:
CAM_Builder_File_Menu.tif
New
This menu selection clears the Input and Output Data Tables.
Open Input File…
This menu selection loads data from an input file (*.txt) into Input Data
Table.
• User-selected input file. Input files are assumed to have the following
format:
th
Note: A 5 order polynomial will be used when the maximum values
are exceeded for PCAM and SCAM types.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-46 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
---- ---
master value, slave value ;last line
Save Input…
This menu selection saves values from the input data to a user-selected
input file. The file is saved using text format (*.txt). Refer to Open Input
File… for file format.
Save Output…
This menu selection saves values from the output data to a user-selected
output file. The file is saved using standard spreadsheet format (*.csv).
Refer to Open Output File… for file format.
CAM Transfer…
The Transfer CAM window is used to upload (Get), download (Send), or
delete existing control or drive CAMs from a project in offline mode or
from the control or selected drive in online or service mode.
CAMbuilder_Transfer_CAM.tif
Note: A CAM graphic under the Data column is an indication that the
control or drive contains a CAM. Only existing control and
drive CAMs can be retrieved or deleted.
• Get output data from project (control) – retrieves the selected CAM
output data for the specified Storage Location (Control or Drive) from
the project in offline mode and from the control’s memory in online or
service mode. An uploaded CAM is displayed in the Output Data
Table of the CAM Builder utility.
• Send output data to project (control) – downloads the current
output data in the CAM Builder to the project in offline mode and to the
control or drive in online or service mode.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-47
• Delete - deletes the selected CAM number from the specified storage
location (Control or Drive) from the project in offline mode and from
the control’s memory in online or service mode.
• Start - this button becomes active under the following conditions:
CAM_Transfer_Input.tif
• Starting Point Number for Transfer - Enter the beginning ABS point
number to where the data should be copied. The values of the first
line of the input data will be copied to this point. The values from each
additional line of the input data will be copied to the next point. The
number of consumed ABS points depends on the number of lines in
the Input Data Table. The OK button starts the checking process and
transfer. Before the transfer is started, checks are made for valid point
and valid range. A window opens for confirmation. The Cancel button
exits this window.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-48 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
CAM_Transfer_Float.tif
Print Output
This menu selection prints graph and output data.
Exit
This menu selection closes the CAM Building Utility.
Options Menu
This Options menu is used for configuring control CAM format, graphing,
and simulating speed for the graph.
CAM_Builder_Utility.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Data Editing and Monitoring Tools 8-49
Note: When running control CAMs, the format of the active control
CAM must match the format in C-0-3141 to ensure proper
CAM profiles.
Graph Enable
This selection allows the user to choose between acceleration, position,
and velocity graphs.
• Acceleration Graph - when checked, the acceleration graph is visible
on the graph and printout.
• Position Graph - when checked, the position graph is visible on the
graph and printout.
• Velocity Graph - when checked, the velocity graph is visible on the
graph and printout.
Help Menu
The Help menu is used for accessing help system and identifying the
product.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
8-50 Data Editing and Monitoring Tools Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Diagnostic Tools 9-1
9 Diagnostic Tools
9.1 Oscilloscope
VisualMotion's oscilloscope function is used to capture predefined internal
and external signals from the control or connected drive(s). Control
signals, that are valid oscilloscope signals, are parameterized and stored
in the control. Drive signals are parameterized and stored in the drive,
and are dependent on whether or not the connected drive supports the
oscilloscope function.
oscillo_utility.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
9-2 Diagnostic Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Oscilloscope Signals
Up to 4 different oscilloscope control signals can be parameterized.
Three parameters are required to identify each oscilloscope signal. The
following table lists the parameters for each signal:
Drive signals, that are valid oscilloscope signals, are parameterized and
stored in the drive. Refer to the relevant Rexroth Digital Drive firmware
Functional Description manual for oscilloscope parameters.
Parameter Description
C-0-2510 Oscilloscope Sample Rate
C-0-2514 Oscilloscope Sample Count
Pretrigger
A pretigger allows the capture of data for all configured signals before the
trigger point. The pretrigger value is stored in control parameter C-0-2515
Oscilloscope Trigger Post-Count.
File Menu
The File menu is used for retrieving file data, saving data to a file, printing,
and exiting the oscilloscope utility.
Open - data from user selected input file is loaded into input data list-box.
Save - data from user selected output is loaded into output data list-box.
Print Output - the oscilloscope graph and its related data table is sent to
the printer.
Exit - terminates this utility
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Diagnostic Tools 9-3
Source Menu
When using VisualMotion Toolkit's oscilloscope utility, only those drives
that support the oscilloscope function will be available as a signal source.
Selects the source from which the oscilloscope will gather signal data.
Drive 1 to n - lists of all drives on the SERCOS ring that supports the
oscilloscope feature.
Control - when selected, the oscilloscope can then read control variables,
parameters and registers.
Timing
The Oscilloscope timing options in Fig. 9-2 are used for setting the
Sampling Rate (How often a trace is captured) and Sample Count (How
many sampling rates are captured). The Capture Duration field displays
the total capture duration that is calculated by multiplying the Sample
Count and Sampling Rate. A Pretrigger can be added and is a
percentage of the capture interval.
The Sample Count can be set to a maximum of 8000 for IndraDrive, 4000
for control signals, and 500 for drive signals.
The Sampling Rate can be set to a maximum of 100ms for IndraDrive,
64ms for control signals, and 50ms for drive signals.
For example, a maximum count and rate setting for a control signal would
generate a total capture duration of 256,000 ms (4 min – 16 seconds).
oscillo_timing.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
9-4 Diagnostic Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Signal Selection
The Drive Signal Setup in Fig. 9-3 is available when a drive is selected
under the Source menu.
oscillo_drive_signal.tif
Two drive signals can be captured and viewed. The following is a listing
of the available drive signals.
• Position Feedback
• Velocity Feedback
• Velocity Deviation (from commanded value)
• Position Deviation (from commanded value)
• Torque Command Value (required to maintain the commanded
Velocity/Position)
• Disabled (Signal 2 only)
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Diagnostic Tools 9-5
oscillo_control_signal.tif
• Program Floats ( Fx )
• Program Integer ( Ix )
• Global Floats ( GFx )
• Global Integers ( GIx )
NOTE
• Axis Parameters * of drives on SERCOS ring
• Register Bit
• +/- Register (could be used to monitor a register’s value)
NOTE
• Card Param
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
9-6 Diagnostic Tools Rexroth VisualMotion 11 Functional Description - Volume 1
NOTE
• Task Param
• ELS Gp # In Position.**
• ELS Gp # In Velocity.**
• ELS Gp # Out Position.**
• ELS Gp # Out Velocity.**
• ELS Gp # Out Acceleration.**
• VM1 Position (Virtual master signal)
• VM1 Velocity
• VM2 Position
• VM2 Velocity
Note: Only a selective list of axis, control and task parameters can
be used as signal types. Refer to control parameter C-0-2504.
Tools Menu
From the tools menu, a trace’s appearance can be changed from Lines to
Dots. When combined with the Time Controls feature on page 9-10, the
user can scale (zoom) in to reveal the individual dots that makeup the
trace.
oscillo_option_menu.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Diagnostic Tools 9-7
oscillo_rollover.tif
oscillo_filter_encoder.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
9-8 Diagnostic Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Select colors…
The four signal traces are color coded and can be changed for both run
time and memory by selecting a color for each trace in the Signal color
selection window in Fig. 9-9. In addition, the background and grid colors
can also be changed.
oscillo_color_select.tif
Window Menu
The Window menu allows the user to cascade or tile the Values and
Graph windows or change the focus between them.
oscillo_window_view.tif
Selecting a Sample When a capture sample is selected in the Values table, the values are
in the Values Table also displayed on the Graph window when holding down the left mouse
button.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Diagnostic Tools 9-9
oscillo_signal_navig.tif
By positioning the traces above and below each other, the user can more
easily distinguish between the signal. Fig. 9-14 shows an example of
three traces repositioned for clarity.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
9-10 Diagnostic Tools Rexroth VisualMotion 11 Functional Description - Volume 1
oscillo_signal_move.tif
Time Controls
The position and scale functions in Fig. 9-15 are used to analyze a
specific area of a captured trace. The scale function acts as a zoom,
allowing the user to view smaller sections of a trace, while the position
function controls the horizontal scrolling.
oscillo_time_control.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Diagnostic Tools 9-11
oscillo_measure.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
9-12 Diagnostic Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Note: This menu selection is only available for online mode. Show
program flow is not available for Event Functions.
Program_Flow.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Diagnostic Tools 9-13
VisualMotionOptions.tif
CurrentInstDisplay.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
9-14 Diagnostic Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Function Arguments
appearing in current subroutine
FunctionLocalDisplay.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Diagnostic Tools 9-15
9.3 Breakpoint
Single Step
Set Breakpoint
Show Program Flow
setBreakpoint.tif
4. Press the F8 key or click the Single Step button to step through
the program icons. If the task or subroutine contains a subroutine
icon, all icons contained within the subroutine will be single stepped
before proceeding to the next icon.
5. Once all program icons and/or subroutines are single stepped,
program flow returns to the subroutine or task that called the
subroutine or task.
For example, if a subroutine (contained in task A) is set for breakpoint, program flow will
return to the next icon in task A following the single step completion of the subroutine.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
9-16 Diagnostic Tools Rexroth VisualMotion 11 Functional Description - Volume 1
System
Selecting Diagnostics ⇒ System opens the System Diagnostics window.
This window displays diagnostic information about the active VisualMotion
system. The window uses tabs to display diagnostic information for the
following:
• Status
• General
• Option Cards
• Diagnostic Log
• IndraLogic Log
• Hardware
• Load (System)
• Integrated PLC
• MEC Status
Note: Holding the cursor over any field will display the corresponding
parameter number.
Status Diagnostics
The Status tab displays the current diagnostic message with an extended
message, if available. The system's current mode and Sercos phase is
also displayed.
DiagStatus.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Diagnostic Tools 9-17
General Diagnostics
The General tab displays the control's address and label, hardware
typecode, firmware version, firmware compile date and boot loader
version.
DiagnosticGeneral.tif
DiagOptionCards.tif
Diagnostic Log
The Diagnostic Log tab displays the last 100 errors the control has
encountered. Along with the error messages, the date, time and
extended error codes are displayed.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
9-18 Diagnostic Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Diagnostic_Log.tif
Control Settings
The date and time are relative to the power on of the control. The time
can be set to the computer’s clock by clicking the Set Time button. Once
set, the time and date will stay current as long as the control has power.
On power down, an internal capacitor maintains the real-time clock
running for up to 3 days.
Log Configuration
The user can select which errors are to recorded and displayed by
checking the appropriate checkbox.
Log Data
The last 100 control errors are displayed and can be sorted by Date, Time
or Description by clicking the appropriate heading.
An option pop-up window is displayed by right clicking the mouse. From
here, the user can refresh the current display, save the log to a file, clear
the log or request help on the selected diagnostic.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Diagnostic Tools 9-19
IndraLogic Log
The IndraLogic Log displays any PLC-related error generated from
function blocks, functions, communication, etc. Error functionality created
by the user using the ErrorLog library will also be displayed. Checking the
I/O Image Update Errors checkbox will include data update errors that
may occur between the motion and logic portion of VisualMotion.
The Clear Function Block Error Log button is used to clear the list of
errors displayed in the IndraLogic Log.
IndraLogic_Log.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
9-20 Diagnostic Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Hardware Diagnostics
The Hardware tab displays control related information, such as current
operating temperature and control's total operating time. The memory
section displays the control's total memory and available free memory.
DiagHardware.tif
Reboot Control
Clicking the Reboot Control button enables the Software Reset for
Control command of control parameter C-0-0993. The user is warning
before the control is rebooted. The control must be in parameter mode in
order to reboot the control using this button.
Defragment Memory
The defragment button is used to request a defragmentation of the
control's memory. The determination of a necessary defragmentation is
performed by the control and not by clicking on the button. Clicking the
button queues the control.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Diagnostic Tools 9-21
Load Diagnostics
The Load tab displays the control's current and peak time required by the
processor to process motion task and I/O completion as a percentage of
parameters C-0-0099 and C-0-3001, respectively. The User Watchdog
Timer section is used to specify a time (in ms) for a selected task to
complete its program before an error is issued.
DiagLoad.tif
Diagnostic_IndraLogic.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
9-22 Diagnostic Tools Rexroth VisualMotion 11 Functional Description - Volume 1
MEC Diagnostics
The MEC tab displays diagnostics for the Master Encoder Card (MEC).
Hardware version and firmware is displayed along error information and
connect encoder types.
Diagnostic_MEC.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-1
Communication Errors When a communication error occurs between a project and the control,
the user is notified with an error message. Typically communication
problems occur when an error exists in the Control Selection settings.
Verify and check the communication setting and retry.
Detecting Drive Differences As part of the project validation process, all axes configured under Setup
are compared with those detected on the Sercos ring. If a difference is
detected, the user is notified and is asked to correct the situation or
continue with synchronization. Refer to Drive Differences Detected When
Synchronizing on page 10-5 for details.
Switch to Online Mode After all synchronization checks and validations are performed, the
Synchronize Project Data window opens and presents the user with a list
of components that should be compiled and downloaded to the control.
Refer to Synchronizing a Modified Project on page 10-2 for details. The
following two online synchronization modes are supported:
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-2 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Note: When synchronizing project data, the message area at the top
of the window provides the user with a date/time comparison
between the icon program being downloaded and the same
project on the control.
SychProject_Data.tif
At this point, the user downloads the modified project components to the
control, and if no errors are detected, the project becomes synchronized.
If all the components are not downloaded to the control, the project is
considered unsynchronized and the state of the project will remain
unsynchronized. This is indicated by the unsynchronized status bar
indicator at the lower right hand corner.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-3
Note: The first time a new project is downloaded to the control, any
component that is not synchronized (unchecked) will not be
asked to be synchronized the next time the project is
downloaded unless that specific component was modified.
The Details section displays all sub-items that are available for the
currently selected component. Any individual detail that is unchecked will
render the system unsynchronized.
The following table lists the components that can be selected for
download along with a brief description of the detail section:
Special Options for Icon For the Icon Program component, the Delete Currently Active Program
Program Details detail is checked every time a modified icon program is downloaded. Any
detail that is unchecked is not downloaded to the control.
The Archive Icon Program detail is used to archive the currently opened
icon source file (*.str) to the control's memory. This detail is required in
order to create a new project from program and data on the control
memory.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-4 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Note: Program floats and integers for the selected range will be
overwritten with the data on the control that is within the same
range.
Modifying Default Project Project synchronization default settings can be modified from the
Synchronization Settings VisualMotion Options window under Tools ⇒ Options ⇒ Project.
Go Online Unsynchronized
The Go Online Unsynchronized button is used to establish
communication with the control without downloading any data.
If VisualMotion detects changes to the data in a project, the user is
requested to Save, Compile and Download before switching the online
mode. If VisualMotion Toolkit is currently online, the menu selection
reads, "Offline …F9".
If the system can be transitioned into parameter mode, the Retry button
can be used to repeat the download process. If the modifications are
saved using the Save to Project File button, the project becomes
unsynchronized with the control. The project must then be synchronized
either by going offline and then back online or by selecting the
Synchronize Project Components toolbar button. Refer to Synchronizing
a Modified Project on page 10-2 for details.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-5
DriveDifferenceDetected.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-6 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
BrowseUsage.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-7
When a data type label is selected from the drop-down list, all assigned
labels and numbers used in the program are displayed just below the
drop-down list.
When a label is selected from the left-hand list, the editor (Icon, Ladder or
Fieldbus) in which the data type is used is displayed in bold text in the
right-hand tree structure. Below the editor name, the location or instance
of usage, whether in a task or subroutine, is displayed in a tree structure.
When the actual location is selected from below the editor name, the
Project Navigator and icon is highlighted. If the data type is used within
the Ladder editor or Fieldbus editor, the tool opens displaying the location
where used.
DataUsageExample.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-8 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
BrowseIconFlow.tif
When an item is selected from the drop-down list (i.e., Subroutine), all
labels of the selected types are displayed just below the drop-down list.
For example If a user selects “Subroutine” from the drop-down list, the labels of all
subroutines existing in the project are displayed. When a subroutine label
is selected, the following tree items are possible:
• Subroutine Call List – This tree item is displayed if the selected
subroutine or event function label contains subroutines and/or event
function as part of its icon flow. (What is called from current icon flow).
• Reference List – This tree item is displayed if the selected subroutine
or event function label is reference or called by another icon flow.
The sub-items that appear below each main List item are the actual
locations in the project where the subroutines or event functions are
located.
When a sub-item is selected, the Project Navigator and icon is
highlighted.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-9
IconFlowExample.tif
The user can navigate to actual subroutines and event function icon
programs by selecting the label of the desired subroutine or event
function. VisualMotion Toolkit’s title bar indicates if the selected item is
either a subroutine or an event function.
TitleBar.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-10 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
BrowseNestedSubs.tif
ReferenceSubroutines.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-11
Commission_Archive.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-12 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Control Log File: In addition to the files listed in Table 10-6, a log file named "Chklist.txt" is
Chklist.txt also created. This file contains relevant information about the archive,
including time and date as well as hardware configurations for both the
control and drives, control error log and a list of archived files for the
control.
IndraLogic Component
The following table lists the individual IndraLogic project data files that can
be archived and restored in online mode:
IndraLogic Log File: In addition to the files listed in Table 10-7, a log file named
IndraLogic_log.txt "IndraLogic_log.txt" is also created. This file contains a log of the archive
procedures perform on IndraLogic data, including any errors.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-13
OnlineArchive.tif
Quick Backup The Quick Backup checkbox, available for online and service modes,
determines which save format to use when creating a backup. By default,
the Quick Backup checkbox is selected. Removing the check will
generate a more detailed *.par backup file for control and drive
parameters. Refer to the following examples:
SERCOS-ASCII SERCOS-ASCII
17.10.2002 12:58:58 21.10.2002 11:00:31
1 1
| |
parameter number C-0-0001 C-0-0001
label Language Selection --
settings 00000000000100010000000000000001 00000000000100010000000000000001
-- --
4 --
Limits 0 --
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-14 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
OnlineFullBackup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-15
OnlineFullRestore.tif
A message will appear warning the user that all programs on the control’s
memory will be lost.
Communication Errors After During a restore procedure, the system is automatically switched to
Program Activation Sercos phase 4 when a restored program is activated in order to
configure the axes. Switching to Sercos Phase 4 also runs the active
program’s Setup and Initialization tasks.
During program activation, modifications to serial port X10 or X16
communication parameters (C-0-0003, C-0-0004, etc.) to values different
than that of the current settings can cause communication errors between
VisualMotion and the control. This means that the user is communicating
on the same serial port that is being modified to a different value by the
restored program.
This can occur if the user program performs parameter transfers (Param1
icon) and/or parameter initializations (Setup Parameter) to the serial port
communication parameters while the system is in Sercos phase 4.
During this Sercos phase, any settings that are modified such as the
baudrate can cause the loss of communication if the new setting is
different from the current setting. This does not affect Ethernet or PCI
communication.
After program activation is completed, the system is switched back to
Sercos phase 2 and the restore process continues.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-16 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
OnlineSelectBackup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-17
OnlineSelectRestore.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-18 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
OfflineArchive.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-19
Note: After an offline restore, the icon editor reloads the new data
into the project.
offlineSelectBackup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-20 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Note: After an offline restore, the icon editor reloads the new data
into the project.
offlineSelectRestore.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-21
History
The History tab contains a list of the current project's archive history. This
history is only available for backups and restores that were performed
while the project was online with the control.
ArchiveHistory.tif
Double clicking on any list item or selecting the item and clicking the View
Details button opens the Archive History Details window in Fig. 10-22.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-22 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
ArchiveHistoryDetails.tif
The Archive History Details window displays information for the currently
selected archive. Information such as, Date/Time, Path and Status are
displayed here. The Flags field indicates the VisualMotion data transfer
operation code used for the archive. Refer to the VisualMotion Transfer
Utility in the VisualMotion 11 Help System for details.
Clicking the View File button opens the XferHist.txt log file where the
details of the current project's online archive history are saved.
XferHistory.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-23
Archives
The Archives tab contains all offline and online backups and restores that
were previously performed for the current project. When the project is in
service mode, only archives that were performed in service mode will be
displayed.
ArchiveArchives.tif
Double clicking on any backup or restore list item or selecting the item
and clicking the View Details button opens the ChkList.txt log file for
online archives and the chklist_offline.txt log file for offline archives.
Chklist_log_files.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-24 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
NVRam Backup
The NVRam on VisualMotion controls store the file system, parameters,
and variables. On power up, the contents of the NVRam are
automatically copied to compact flash. If the control is to be replaced, the
validity of the NVRam should be checked.
To create a valid backup of the NVRam:
1. Click on the Create Backup button under the Non-volatile Data
section. When a valid copy of the NVRam exists, a depression
labeled Valid Backup Exists will appear.
CreateNVRam_Backup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-25
Note: This process can be used to import data from older file
formats of VisualMotion into the current project.
Components:
Data stored on the hard drive, either from another project file (*vmj) or
individual file (i.e., system.prm), is display in the Components field. The
components displayed are only those that are part of the project or file.
Details:
The details displayed are dependent on the component type selected. By
default, all details are selected for each component. To de-select a detail,
click on the appropriated checkbox. Once all components and details are
selected, click the OK button to import the data to the current project
opened in VisualMotion Toolkit.
ImportComponentsoffline.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-26 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Once the components have been imported from a project or file to the
current project, the user can switch VisualMotion Toolkit to online mode.
VisualMotion detects any modifications in data and request that the
project be recompiled and downloaded to the control before switching to
online mode.
ImportComponentsOnline.tif
Component and detail data displayed are those found on the control’s
memory for the currently active program. By default, Hardware
Configuration is checked. Select any additional components and details
to import from the control’s memory to the project currently opened in
VisualMotion Toolkit.
Transfer Data to
Specify the path and name of a project file (*.vmj) or folder (for an
individual file) to where data will be exported from the current project.
Select the browse button to help locate a file or folder.
Components:
Data components in the currently opened project are uploaded and
displayed as available components that can be stored to another project
file (*.vmj) or as individual data files. Components are selected by placing
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-27
Details:
The details displayed are dependent on the component selected. By
default, all details are selected for each component. To de-select a detail,
click on the appropriated checkbox. Once all components and details are
selected, click the OK button to export the data to the current project
opened in VisualMotion Toolkit.
ExportComponentsoffline.tif
ExportComponentsOnline.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-28 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Note: Selecting components and details that are visible only when
the Display All… checkboxes are selected will write default
values to each parameter.
RemoveComponent.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-29
Service Mode
TransferMenu.tif
CAM
Selecting Commission ⇒ Transfer ⇒ CAM… opens the Transfer CAM
window in Fig. 10-33. This window can be used to transfer existing CAM
tables from the control or drive to a file, and from a file to the control or
drive. CAM table files are stored with the ".csv" file extension in the
project directory along with other project files.
Transfer_CAM.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-30 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Note: Before CAMs can be transferred, they must first exist in the
control and/or drive. A CAM graphic under the Data column is
an indication that the control or drive contains a CAM table.
CAM tables are created and downloaded by selecting Tools
⇒ CAM Builder from Rexroth VisualMotion Toolkit’s main
menu.
The Transfer CAM window allows access to built CAMs using the
following operation types:
• Get From Control – retrieves the selected CAM number from the
specified Storage Location (Control or Drive) on the control’s
memory.
• Send to Control – downloads the selected CAM table file to the
control.
• Delete - deletes the selected CAM number from the specified storage
location (Control or Drive) on the control’s memory.
Events
Selecting Commission ⇒ Transfer ⇒ Events opens the following
window:
Transfer_Events.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-31
The Transfer Events window allows access to event tables using the
following two operation types:
• Get From Control – retrieves and saves the events table as a data
file “event.dat” from the selected program to the location entered in the
Filename field.
• Send to Control – downloads the selected file “event.dat” to the
selected program on the control.
Fieldbus Mapper
Selecting Commission ⇒ Transfer ⇒ Fieldbus Mapper opens the
following window:
Transfer_Fieldbus.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-32 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Filename field or click the browse button, locate a directory and then
specify a filename.
Floats
Selecting Commission ⇒ Transfer ⇒ Floats opens the following
window:
Transfer_Float.tif
Global Floats
Selecting Commission ⇒ Transfer ⇒ Global Floats opens the following
window:
Transfer_GlobalFloat.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-33
The Transfer Global Floats window allows access to program floats using
the following two operation types:
• Get From Control – retrieves and saves the global floats as a data file
“globalfloat.dat” from the control’s memory to the location entered in
the Filename field.
• Send to Control – downloads the selected file “globalfloat.dat” to the
control’s memory.
Global Integers
Selecting Commission ⇒ Transfer ⇒ Global Integers opens the
following window:
Transfer_GlobalInteger.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-34 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Filename field or click the browse button, locate a directory and then
specify a filename.
Integers
Selecting Commission ⇒ Transfer ⇒ Integers opens the following
window:
Transfer_Integer.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-35
I/O Mapper
The I/O Mapper is available in support of pre-GPP/GMP 10 firmware.
Selecting Commission ⇒ Transfer ⇒ I/O Mapper opens the following
window:
Transfer_IOmapper.tif
The Transfer I/O Mapper window allows access to an I/O Mapper using
the following two operation types:
• Get From Control – retrieves and saves the I/O Mapper as a
parameter file “IOMapper.par” from the currently active program to the
location entered in the Filename field.
• Send to Control – downloads the selected file “IOMapper.par” to the
currently active program on the control.
Note: Use the Send to Control operation type to download older I/O
Mapper file formats “IOMapper.iom” to the currently active
program.
I/O Setup
Selecting Commission ⇒ Transfer ⇒ I/O Setup opens the following
window:
Transfer_IOsetup.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-36 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
The Transfer I/O Setup window allows access to the I/O Configuration
using the following two operation types:
• Get From Control – retrieves and saves the I/O Setup as a parameter
file “IOSetup.par” from the currently active program to the location
entered in the Filename field.
• Send to Control – downloads the selected file “IOSetup.par” to the
currently active program on the control.
Note: Use the Send to Control operation type to download older I/O
Setup file formats “IOSetup.prm” to the currently active
program.
Parameters
Selecting Commission ⇒ Transfer ⇒ Parameters opens the following
window:
Transfer_Param.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-37
PLS
Selecting Commission ⇒ Transfer ⇒ PLS opens the Transfer PLS
window in Fig. 10-33. This window can be used to transfer existing
Option Card and Drive PLSs from the control or drive to a file, and from a
file to the control or drive. Option Card and Drive PLS files are stored as
parameters using the ".par" file extension.
Transfer_PLS.tif
Note: Before Option Card or Drive PLS files can be transferred, they
must first exist in the control and/or drive. Option Card and
Drive PLSs are created and downloaded by selecting
Commission ⇒ PLS from Rexroth VisualMotion Toolkit’s
main menu.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-38 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
• Get From Control – retrieves and saves the selected Option Card or
Drive PLS file “OptionCardPLS.par” from the specified storage location
to the location entered in the Filename field.
• Send to Control – downloads the selected Option Card or Drive PLS
file to the control.
Points
Selecting Commission ⇒ Transfer ⇒ Points opens the following
window:
Transfer_Points.tif
The Transfer Points window allows access to point tables using the
following two operation types:
• Get From Control – retrieves and saves the point tables as a data file
“pointABS.dat” and/or “pointREL.dat” from the selected program to the
location entered in the Filename field.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-39
Zones
Selecting Commission ⇒ Transfer ⇒ Zones opens the following
window:
Transfer_Zones.tif
The Transfer Zones window allows access to the zone table using the
following two operation types:
• Get From Control – retrieves and saves the zone table as a data file
“zone.dat” from the selected program to the location entered in the
Filename field.
• Send to Control – downloads the selected file “zone.dat” to the
selected program on the control.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-40 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
10.8 Labels
Variable Labels
Selecting Edit ⇒ Edit Labels ⇒ Variable Labels opens the User
Defined Labels window, used to provide symbolic ASCII names for Float,
Integer, Global Float, Global Integer, Absolute or Relative point values.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-41
The User Defined Labels window allows you to assign an ASCII name to
a value or system component, as previously described. To sort the list
alphabetically by label, select the radio box by Name. . To sort the list
alphabetically by ID, select the radio box by ID Number Order. After
labels are defined, instead of explicitly entering a value or redefining a
system component, the label can be entered by accessing the User
Defined Labels window and selecting the appropriate label.
To add a new label:
1. Click Add… to open the Add Variable Label window below.
2. Enter the desired Type, Name, Constant Value (if applicable) and
Comment (up to 80 characters).
3. Click Apply or OK.
2. Enter the desired Type, Name, Global Integer (if applicable) and
Comment (up to 80 characters).
3. Click Apply or OK.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-42 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
Register Labels
Selecting Edit ⇒ Edit Labels ⇒ Register Labels opens the Register
Labels window, used to provide symbolic ASCII names for the Rexroth
VisualMotion control status and I/O registers.
To sort the list alphabetically by label, select the radio box by Name. To
sort the list alphabetically by ID, select the radio box by ID Number
Order. After register labels are assigned and the program is saved, the
labels are embedded in the motion program (the .str file) and will not be
lost if the program is later transferred to a different Rexroth VisualMotion
system. New programs are loaded with the default register names. Refer
to chapter 4, Registers, for default register names.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-43
3. Click Apply or OK. The Previous and Next buttons scroll through the
defined labels.
Bit Labels
Selecting Edit ⇒ Edit Labels ⇒ Bit Labels opens the Bit Labels
window, used to provide symbolic ASCII names for individual bits within
Rexroth VisualMotion control and I/O registers.
To sort the list alphabetically by label, select the radio box by Name. To
sort the list alphabetically by ID, select the radio box by ID Number
Order.
After bit labels are assigned and the program is saved, the labels are
embedded in the motion program (the .str file) and will not be lost if the
program is later transferred to a different Rexroth VisualMotion system.
New programs are loaded with the default bit names.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-44 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
To sort the list alphabetically by label, select the radio box by Name. To
sort the list alphabetically by ID, select the radio box by ID Number
Order.
After bit labels are assigned and the program is saved, the labels are
embedded in the motion program (the .str file) and will not be lost if the
program is later transferred to a different Rexroth VisualMotion system.
New programs are loaded with the default bit names. Refer to chapter 4,
Registers, for default bit names.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Project Management Tools 10-45
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
10-46 Project Management Tools Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Error Reaction 11-1
11 Error Reaction
11.1 Overview
Errors in the VisualMotion system can have different root causes like
hardware and communication failure, operator input error or a crash in the
machine which could obstruct the movement of an axis.
Note: This chapter only describes the error reactions associated with
the control's motion functionality.
When an error occurs, the error type and associated control and drive
parameters determine the system's error reaction. The basic function of
the error reaction is for the control to determine which user task(s) A-D
should be shutdown. Drives, associated with a user task that is shutdown,
are stopped based on the error reaction of the drive. User tasks and
drives can be parameterized to react differently to errors.
The following are some examples:
• synchronized stop of several axes in ELS or coordinated motion
• switching axes to torque free mode
• moving axes to a safe position
Errors in the VisualMotion system can originate from the control (system
and tasks errors) or from the drives, as illustrated in the Fig. 11-1.
Control
Drives Task C
Communication
- Fieldbus
Task B - Ethernet
- Serial
Task A - PCI bus
- I/Os
SERCOS Interface
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
11-2 Error Reaction Rexroth VisualMotion 11 Functional Description - Volume 1
Error Types
VisualMotion's error system distinguishes between system, task, and
drive errors and identifies them with diagnostic error codes.
System Errors
System errors affect all tasks that are not set to run during errors. These
errors include for example, fieldbus errors, PLC interface errors or Option
Card PLS errors.
Special Case System Error When error "409 SERCOS Disconnect Error" occurs, the SERCOS
communication stops and the control switches to SERCOS phase 0.
Drives react to the loss of SERCOS communication by setting a F4xx
interface error and stopping based on the error reaction of the drive.
User tasks that are configured to run during errors will continue to run.
However, motion-related functionality such as the path planner for
coordinated motion, or the ELS system stops when SERCOS
communication is not in SERCOS phase 4.
Hardware and Fatal Operating If the control stops operating because of a hardware failure or because of
System Errors a fatal operating system error, the SERCOS communication will also stop.
When a fatal operating system error occurs, the PPC-R displays two dots
‘. .’ and the PPC-P11.1 displays a single dot ‘.’ on the H1 display.
Task Errors
Task errors occur as the result of a user program instruction. These
errors include for example, parameter transfer error, calculation
instruction error, etc.. A task error sets bit 5 (Task_Error) in the relevant
task status register.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Error Reaction 11-3
Error Levels
The control distinguishes 3 levels of errors: fatal errors, non-fatal errors
and warnings. The following flowchart shows how the control will respond
to fatal and non-fatal errors:
Occurrence
of error
The control
determines which
task(s) will be
shutdown This sequence is performed
for each user task that is
shutdown
fatal fatal
or non-fatal
?
Based on setting of
C-0-0009
non-fatal
Controlled
Immediate C-0-0009 = 1
Stop all axes of
or Controlled
the task in
error reaction
a controlled
?
manner
Immediate
C-0-0009 = 0
(default)
Stop all axes of
the task in
a controlled
manner
In the case of an error, moving axes can be disabled by the control and
the error reaction of the drives can determine how the axes are stopped.
Refer to Drive Error Reaction on page 11-12 for details.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
11-4 Error Reaction Rexroth VisualMotion 11 Functional Description - Volume 1
Fatal Errors
Fatal errors are considered the most severe. By default, the control
reacts to fatal errors by shutting down the tasks and disabling the axes
associated with the tasks when bit 1 of T-0-0002 is set to 0.
Some examples for fatal errors are:
• SERCOS disconnect error
• real-time operating system error (417 System Error)
• Emergency Stop (treated as a fatal error)
Immediate Error Reaction for By default, all axes, regardless of their operating mode, are immediately
Fatal Errors (C-0-0009 = 0) disabled and stopped by the drive when C-0-0009 is set to 0. Refer to
Drive Error Reaction on page 11-12 for details.
Virtual Masters in ELS mode and the path planner in coordinated motion
mode are stopped instantaneously. Refer to Motion Type Error Reaction
on page 11-10 for details.
Controlled Error Reaction for All motion comes to a controlled stop before the axes are disabled when
Fatal Errors (C-0-0009 = 1) C-0-0009 is set to 1. ELS axes stop synchronized and coordinated
motion axes stop on path. Axes in single axis mode or velocity mode are
switched to drive halt (AH). Refer to Table 11-4 and Table 11-5 for
details.
Non-Fatal Errors
By default, the control reacts to non-fatal errors by stopping the ELS
system and/or coordinated motion path planner in a controlled manner.
Axes in single axis mode or velocity mode are switched to drive halt (AH).
The task(s) are stopped, but the axes remain enabled when bit 1 of
T-0-0002 is set to 0.
Some examples for non-fatal errors are:
• path planner errors
• program instruction errors (example: divide by zero in Calc icon)
• axis target position out of bounds
Warnings
A warning does not affect tasks and axes. User tasks remain in operation
and all associated axes remain enabled. It is up to the user program to
respond to warnings. For certain errors, the control can be configured to
respond with an error or a warning, for example:
• fieldbus
• slip monitoring
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Error Reaction 11-5
Response to a C-0-0010, bit 13 0 = drive warning issues an error (default) 498 (non-fatal error)
drive warning 1 = ignore drive warnings
Axis C-0-0010, bit 14 0 = error if axis is not ready (default) 426 (non-fatal error)
1 = no error is issued if axis is not ready fatal error for coord. motion
Diagnostic Parameters
Errors are identified by a specific error code number. Some similar errors
share the same error code. For these errors, additional information is
provided as an extended diagnostic message.
The following parameters are used for diagnostic messages, error codes,
and extended diagnostic messages:
Parameter Description
C-0-0122 Current diagnostic message (displayed on control's H1 display)
C-0-0123 Current diagnostic code
C-0-0124 Extended diagnostic message
T-0-0122 Task diagnostic message
C-0-2020 Diagnostic log
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
11-6 Error Reaction Rexroth VisualMotion 11 Functional Description - Volume 1
Accessing Error Codes Diagnostic parameters and registers can be accessed via the serial,
Ethernet or PCI interface using any of the following devices:
• VisualMotion Toolkit
• HMI
• PLC
Diagnostic Log
Errors are listed in the diagnostic log in the order in which they occurred.
The most recent error is listed first. The diagnostic log can contain up to
100 of the most recent errors.
Diagnostic Priority A set of rules governs the priority with which diagnostic messages are
displayed and logged. A non-fatal error will overwrite a warning and a
fatal error will overwrite a non-fatal error or a warning.
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Error Reaction 11-7
Task Options
Task options are set in bits 1, 2, and 5 of task parameter T-0-0002.
These bits can be set in VisualMotion Toolkit by right clicking on the
desired task letter in the Project Navigator window and selecting
Properties.... The system must in SERCOS phase 2 (parameter mode)
for changes to take effect.
T-0-0002, bit 4
T-0-0002, bit 1
T-0-0002, bit 2
T-0-0002, bit 5
TaskProperties.tif
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
11-8 Error Reaction Rexroth VisualMotion 11 Functional Description - Volume 1
System
Task A Drives Other Task Drives
Task A
Other
Tasks
System
Task A
Other
Tasks
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Error Reaction 11-9
System
Task A Drives Other Task Drives
Task A
Other
Tasks
System
Task A
Other
Tasks
Fig. 11-7: Ignore Task and Drive Errors from Other Tasks
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
11-10 Error Reaction Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Error Reaction 11-11
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
11-12 Error Reaction Rexroth VisualMotion 11 Functional Description - Volume 1
Parameter Description
A-0-0004 bit 12: 0 = Stop axis according to P-0-0119 (Default)
1 = Torque Free
P-0-0119 value
0 Velocity command value set to zero
1 Switch to torque-free state
2 Velocity command to zero with command ramp and filter
3 Return motion
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Error Reaction 11-13
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
11-14 Error Reaction Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Index 1
Index
Cascading ELS Groups............ 6-33
channels
* Cyclic Data Channel
*.eds file ................................. 7-148 configuration.......... 7-96, 7-131
*.gsd file ................................. 7-110 multiplex .................... 7-95, 7-131
Non-Cyclic Channel ........... 7-131
Parameter Channel .............. 7-95
2 Real-Time Channel ..... 7-95, 7-96
single......................... 7-95, 7-131
208 Lost Fieldbus Connection7- Commission menu
109, 7-148, 7-183 Transfer.............................. 10-29
209 Field Bus Mapper Timeout7- Communication parameters ..... 7-10
109, 7-148, 7-183 Configuration.......................... 7-168
constant ................................... 4-73
Control CAM System................ 6-70
5 Control PLS
519 Lost Fieldbus Connection7- ELS Group ........................... 5-42
109, 7-148, 7-183 Control PLS
520 Field Bus Mapper Timeout7- configure .............................. 5-41
109, 7-148, 7-183 ELS Master .......................... 5-42
5E70.............................7-117, 7-190 mask register........................ 5-44
5E71.............................7-117, 7-190 output register ...................... 5-44
5E72.............................7-117, 7-190 PLS Master configuration for a
5E73.............................7-117, 7-190 Control PLS...................... 5-42
control word........7-98, 7-133, 7-170
Coordinated Motion.................... 3-2
A circular interpolation ............... 3-2
constant speed....................... 3-2
Acceleration profiles .................. 3-3
kinematics .............................. 3-3
Archive IndraLogic Files
linear interpolation.................. 3-2
offline ................................... 7-57
custom list .................................. 8-7
AT Telegram
modify................................... 8-10
Configuring.......................... 7-78 custom list group
create ................................... 8-10
Cutoff Frequency
B ELS Real Master 4-39, 4-66, 6-31
Baud Rate .................................. 2-8 Cyclic (DP) Channel................. 7-96
Bit Definitions Cyclic (PD) Channel............... 7-168
Register 19 Cyclic Channel ....................... 7-131
Cyclic Data Valid7-107, 7-146, Cyclic Data
7-181 Configuration...................... 7-175
FB Init OK 7-107, 7-146, 7-181 Cyclic Data Channel
FB Slave Ready7-107, 7-146, configuration.............. 7-96, 7-131
7-181 Cyclic Data Configuration7-103, 7-
Non-Cyc Ready7-107, 7-146, 141
7-181 Cyclic Data Valid7-107, 7-146, 7-
Register 20 181
FB Card Found7-108, 7-147,
7-182
boot project ................................ 7-6
D
Bumpless Transition ................ 6-43 Data Channels
Buttons Configuration...................... 7-168
Add............... 7-105, 7-144, 7-179 Data Exchange Object ........... 7-123
Delete........... 7-105, 7-144, 7-179 Data Exchange Objects7-117, 7-
Edit............... 7-105, 7-144, 7-179 134, 7-157, 7-190
Insert ............ 7-105, 7-144, 7-179 5E70 ........................ 7-117, 7-190
New.............. 7-105, 7-144, 7-179 5E71 ........................ 7-117, 7-190
Byte Swapping ....................... 7-140 5E72 ........................ 7-117, 7-190
5E73 ........................ 7-117, 7-190
Class 100, Instance 1-4, Attribute
C 100 ................................. 7-157
C-0-2635 .......... 7-109, 7-148, 7-182 Class 100, Instance 1-4, Attribute
Calc icon 100 ................................. 7-134
Control PLS.......................... 5-62 Data menu
Option Card PLS.................. 5-63 Events .................................. 8-24
CAM Builder............................. 8-42 Points ................................... 8-26
Cam synchronization ................. 3-3 Registers .............................. 8-20
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
2 Index Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Index 3
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4 Index Rexroth VisualMotion 11 Functional Description - Volume 1
new project from source code7- Master-following phase abort ... 6-61
60 Master-following phase adjust.. 6-58
PLC time slot.......................... 7-3 reverse motion ..................... 6-61
simulation mode..................... 7-7 mode
store source code ................ 7-60 lag time................................. 5-53
task configurations ................. 7-7 PT......................................... 5-53
IndraLogic Communication most significant bit7-107, 7-146, 7-
Channels.............................. 7-46 181
Initialization Control.................. 6-56 Motion Capabilities..................... 3-1
Initialization Task ....................... 4-4 Motion Types.............................. 3-1
input ................... 7-95, 7-131, 7-167 Coordinated Motion................ 3-2
Input Assistant ......................... 7-6 Electronic Line Shafting ......... 3-3
Interbus .................................. 7-166 Non-Coordinated Motion ........ 3-2
Multi Turn Encoder................... 4-84
Multiplex ................................... 7-80
J Multiplex Data Types7-96, 7-97, 7-
131, 7-132, 7-168, 7-169
Jogging .................................... 7-85
Multiplex Method .................... 7-140
Multiplexing ......7-110, 7-149, 7-184
K Control and Status Words.. 7-133
Primary Multiplex Method7-112,
keywords.................................. 4-91 7-149, 7-184
Kinematics ............................... 6-73 Secondary Multiplex Method7-
Associated Task Parameters6-73 113, 7-152, 7-186
Kinematic 1 .......................... 6-84
Kinematic 10 ........................ 6-88
Kinematic 12 ........................ 6-88 N
Kinematic 16 ........................ 6-90
Non-coordinated motion............. 3-2
Kinematic 18 ........................ 6-90
Single Axis ............................. 3-2
Kinematic 2 .......................... 6-84
Non-Coordinated motion
Kinematic 3 .......................... 6-85
Velocity Mode......................... 3-2
Kinematic 4 .......................... 6-85
Non-Cyc Ready 7-107, 7-146, 7-181
Kinematic 5 .......................... 6-86
Non-Cyclic (PCP) Channel..... 7-171
Kinematic 8 with Velocity
Non-Cyclic Channel .... 7-131, 7-134
Precision .......................... 6-87
Non-Cyclic Data ..................... 7-153
Kinematic 9 .......................... 6-87
Non-Cyclic Data Access......... 7-188
Normal Case ........................ 6-74
Non-Cyclic Transmission
Special Case........................ 6-74
Data Exchange Objects7-117, 7-
157, 7-190
L
labels ....................................... 4-88 O
lag time .................................... 5-52
Offline Mode............................... 4-6
lead time .................................. 5-51
One to One cam profile ............ 6-53
least significant bit7-107, 7-146, 7-
Online Mode............................... 4-7
181
Option Card PLS ...................... 5-35
Link Ring .................................. 6-63
configure .............................. 5-46
Link Ring Master ............... 6-3, 6-34
ELS Group ........................... 5-48
Local Master Configuration4-44, 6-
ELS Master .......................... 5-48
38
mask register........................ 5-50
Local Reco ............................... 7-11
output configuration.............. 5-51
Lock On/Lock Off ..................... 6-53
output register ...................... 5-49
Lock Off Cam Profile............ 6-54
Lock On Cam Profile............ 6-54 parameters.........................5-36
Lock On Offset ..................... 6-57 PLS Master configuration..... 5-47
PLS outputs.......................... 5-50
PLS register assignment ...... 5-49
M switch configuration.............. 5-47
oscilloscope ............................... 9-2
Mapped Data .............. 7-134, 7-188
file menu................................. 9-2
Mapping List
measuring trace signals ....... 9-10
Add Button ... 7-105, 7-144, 7-179
options menu.......................... 9-6
Delete Button7-105, 7-144, 7-179
signal selection ...................... 9-4
Edit Button ... 7-105, 7-144, 7-179
source menu .......................... 9-3
Insert Button. 7-105, 7-144, 7-179
time controls......................... 9-10
New Button .. 7-105, 7-144, 7-179
timing...................................... 9-3
mask register
Oscilloscope............................... 9-2
Control PLS.......................... 5-44
output .................7-95, 7-131, 7-167
Master Control Word................ 7-77
output configuration
Master Data Telegram (MDT)7-76,
direction................................ 5-53
8-2
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Index 5
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6 Index Rexroth VisualMotion 11 Functional Description - Volume 1
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Service & Support 1
Helpdesk
Unser Kundendienst-Helpdesk im Hauptwerk Lohr Our service helpdesk at our headquarters in Lohr am
am Main steht Ihnen mit Rat und Tat zur Seite. Main, Germany can assist you in all kinds of inquiries.
Sie erreichen uns Contact us
Service-Hotline
Außerhalb der Helpdesk-Zeiten ist der Service After helpdesk hours, contact the German service
Deutschland direkt ansprechbar unter experts directly at
Internet
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
2 Service & Support Rexroth VisualMotion 11 Functional Description - Volume 1
Vertriebsgebiet Mitte
Germany Centre SERVICE AUTOMATION SERVICE AUTOMATION SERVICE AUTOMATION
Bosch Rexroth CALL ENTRY CENTER ERSATZTEILE / SPARES
Electrice Drives and Controls GmbH Helpdesk HOTLINE 24 / 7 / 365 verlängerte Ansprechzeit
Bgm.-Dr.-Nebel-Str. 2 / Postf. 1357 MO – FR - extended office time -
97816 Lohr am Main / 97803 Lohr von 07:00 - 18:00 Uhr außerhalb der Helpdesk-Zeit ♦ nur an Werktagen
from 7 am – 6 pm out of helpdesk hours - only on working days -
Kompetenz-Zentrum Europa
♦ von 07:00 - 18:00 Uhr
Tel. +49 (0) 9352 40 50 60 Tel.: +49 (0)172 660 04 06
Tel.: +49 (0)9352 40-0 - from 7 am - 6 pm -
Fax +49 (0) 9352 40 49 41 oder / or
Fax: +49 (0)9352 40-4885 Tel.: +49 (0)171 333 88 26 Tel. +49 (0) 9352 40 42 22
service.svc@boschrexroth.de
Vertriebsgebiet Süd Vertriebsgebiet West Gebiet Südwest
Germany South Germany West Germany South-West
Bosch Rexroth AG Bosch Rexroth AG Bosch Rexroth AG
Landshuter Allee 8-10 Regionalzentrum West Service-Regionalzentrum Süd-West
80637 München Borsigstrasse 15 Siemensstr. 1
40880 Ratingen 70736 Fellbach
Tel.: +49 (0)89 127 14-0 Tel.: +49 (0)2102 409-0 Tel.: +49 (0)711 51046–0
Fax: +49 (0)89 127 14-490 Fax: +49 (0)2102 409-406 Fax: +49 (0)711 51046–248
+49 (0)2102 409-430
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Service & Support 3
Tel.: +39 011 224 88 11 Tel.: +39 081 8 71 57 00 Tel.: +39 049 8 70 13 70 Tel.: +39 051 29 86 430
Fax: +39 011 224 88 30 Fax: +39 081 8 71 68 85 Fax: +39 049 8 70 13 77 Fax: +39 051 29 86 490
Sweden - Schweden Switzerland East - Schweiz Ost Switzerland West - Schweiz West
Bosch Rexroth AB Bosch Rexroth Schweiz AG Bosch Rexroth Suisse SA
Electric Drives & Controls Electric Drives & Controls Av. Général Guisan 26
Ekvändan 7 Hemrietstrasse 2 1800 Vevey 1
254 67 Helsingborg 8863 Buttikon
Tel.: +46 (0) 4 238 88 -50 Tel. +41 (0) 55 46 46 111 Tel.: +41 (0)21 632 84 20
Fax: +46 (0) 4 238 88 -74 Fax +41 (0) 55 46 46 222 Fax: +41 (0)21 632 84 21
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
4 Service & Support Rexroth VisualMotion 11 Functional Description - Volume 1
Czech Republic - Tschechien Czech Republic - Tschechien Hungary - Ungarn Poland – Polen
Bosch -Rexroth, spol.s.r.o. Tightening & Press-fit: Bosch Rexroth Kft. Bosch Rexroth Sp.zo.o.
Hviezdoslavova 5 Bosch -Rexroth, spol.s.r.o. Angol utca 34 ul. Staszica 1
627 00 Brno Stetkova 18 1149 Budapest 05-800 Pruszków
Tel.: +420 (0)5 48 126 358 140 68 Praha 4 Tel.: +36 (1) 422 3200 Tel.: +48 (0) 22 738 18 00
Fax: +420 (0)5 48 126 112 Tel.: +420 (0)241 406 675 Fax: +36 (1) 422 3201 – service: +48 (0) 22 738 18 46
Fax: +48 (0) 22 758 87 35
– service: +48 (0) 22 738 18 42
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Rexroth VisualMotion 11 Functional Description - Volume 1 Service & Support 5
Thailand
NC Advance Technology Co. Ltd.
59/76 Moo 9
Ramintra road 34
Tharang, Bangkhen,
Bangkok 10230
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
6 Service & Support Rexroth VisualMotion 11 Functional Description - Volume 1
USA Northeast Region – Nordost USA West Region – West Canada East - Kanada Ost Canada East - Kanada Ost
Bosch Rexroth Corporation Bosch Rexroth Corporation Bosch Rexroth Canada Corporation Bosch Rexroth Canada Corporation
Electric Drives & Controls Electric Drives & Controls 5345 Outer Drive unit 5 Automation Division
99 Rainbow Road 7901 Stoneridge Drive, Suite 220 Windsor, Ontario 3426 Mainway Drive
East Granby, CT 06026 Pleasanton, CA 94588 Canada N9A 6J3 Burlington, Ontario
Canada L7M 1A8
Tel.: +1 860 844-8377 Tel.: +1 925 227-1084 Tel.: +1 519 737 7393
Fax: +1 860 844-8595 Fax: +1 925 227-1081 Fax.: +1 519 737 9999 Tel.: +1 905 335 5511
Fax: +1 905 335 4184 (Main)
+1 905 335 9803 (Serv.)
automation.service@boschrexroth.ca
automation.repair@boschrexroth.ca
Columbia - Kolumbien
DOK-VISMOT-VM*-11VRS**-FK01-EN-P
Bosch Rexroth AG
Electric Drives and Controls
P.O. Box 13 57
97803 Lohr, Germany
Bgm.-Dr.-Nebel-Str. 2
97816 Lohr, Germany
Phone +49 (0)93 52-40-50 60
Fax +49 (0)93 52-40-49 41
service.svc@boschrexroth.de
www.boschrexroth.com
Printed in Germany
R911309162 DOK-VISMOT-VM*-11VRS**-FK01-EN-P