rexroth synax 200 version 13
TRANSCRIPT
Rexroth SYNAX 200 Version 13System Installation - First Steps
R911313738Edition 01
Commissiong Manual
Electric Drivesand Controls Pneumatics Service
Linear Motion and Assembly TechnologiesHydraulics
About this Documentation Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Rexroth SYNAX 200 Version 13
System Installation - First Steps
Commissioning Manual
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
• System_Install-First_Step_Book.doc
• Document number 120-2200-B368-01/EN
This documentation describes
• the installation of the SYNAX 2000 system,
• the connection of the visualization units IndraControl V to the SYNAXcontrol.
Description ReleaseDate
Notes
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P 05.06 First edition
2006 Bosch Rexroth AG
Copying this document, giving it to others and the use or communicationof the contents thereof without express authority, are forbidden. Offendersare liable for the payment of damages. All rights are reserved in the eventof the grant of a patent or the registration of a utility model or design(DIN 34-1).
The specified data is for product description purposes only and may notbe deemed to be guaranteed unless expressly confirmed in the contract.All rights are reserved with respect to the content of this documentationand the availability of the product.
Bosch Rexroth AGBgm.-Dr.-Nebel-Str. 2 • D-97816 Lohr a. Main
Telephone +49 (0)93 52/40-0 • Tx 68 94 21 • Fax +49 (0)93 52/40-48 85
http://www.boschrexroth.com/
Dept. BRC/ESY3 (SF, TrK, TD)
This document has been printed on chlorine-free bleached paper.
Title
Type of Documentation
Document Typecode
Internal File Reference
Purpose of Documentation
Record of Revisions
Copyright
Validity
Published by
Note
Rexroth SYNAX 200 Contents I
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Contents
1 General information 1-1
1.1 Contents of the documentation..................................................................................................... 1-1
1.2 Prerequisites................................................................................................................................. 1-2
System prerequisites ............................................................................................................... 1-2
Prerequisites for the processing of the examples ................................................................... 1-3
2 Installation 2-1
2.1 General information ...................................................................................................................... 2-1
Description of the products...................................................................................................... 2-2
2.2 Installation..................................................................................................................................... 2-4
2.3 Uninstall process .......................................................................................................................... 2-9
3 Communication 3-1
3.1 General information ...................................................................................................................... 3-1
3.2 Interfaces and structure ................................................................................................................ 3-2
3.3 SCP configurator .......................................................................................................................... 3-5
3.4 Gateway configuration .................................................................................................................. 3-7
3.5 Declarations for IndraControl VCP ............................................................................................. 3-10
3.6 Symbol file .................................................................................................................................. 3-12
General information ............................................................................................................... 3-12
Configuration of the symbols to export .................................................................................. 3-12
Storage of the symbol files .................................................................................................... 3-15
3.7 Configuration for the OPC server ............................................................................................... 3-17
3.8 Testing OPC connection............................................................................................................. 3-23
4 IndraLogic example program 4-1
4.1 General information ...................................................................................................................... 4-1
4.2 Project........................................................................................................................................... 4-2
Create ...................................................................................................................................... 4-2
Settings.................................................................................................................................... 4-2
4.3 Task configuration ........................................................................................................................ 4-6
Create task .............................................................................................................................. 4-6
Configure task ......................................................................................................................... 4-7
Append program call ............................................................................................................... 4-8
4.4 Declaration / implementation ........................................................................................................ 4-9
System variables ..................................................................................................................... 4-9
Global variables ..................................................................................................................... 4-12
Local variables / implementation ........................................................................................... 4-14
II Contents Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
4.5 Symbol configuration .................................................................................................................. 4-15
4.6 Expansion of the PLC program - Profibus DP............................................................................ 4-17
Connection of the VCP via Profibus DP ................................................................................ 4-17
4.7 Expansion of the PLC program - DeviceNet............................................................................... 4-23
Connection of a VCP via DeviceNet...................................................................................... 4-23
5 IndraControl VCP – BRC symbolic - Ethernet 5-1
5.1 General information ...................................................................................................................... 5-1
5.2 Creating a project ......................................................................................................................... 5-2
5.3 Connection settings "Ethernet" ..................................................................................................... 5-4
5.4 Project settings ............................................................................................................................. 5-9
5.5 Creating a screen ....................................................................................................................... 5-13
5.6 Loading a project ........................................................................................................................ 5-18
6 IndraControl VCP – BRC symbolic - serial 6-1
6.1 General information ...................................................................................................................... 6-1
6.2 Creating a project ......................................................................................................................... 6-3
6.3 Connection settings "Serial" ......................................................................................................... 6-5
6.4 Project settings ........................................................................................................................... 6-10
6.5 Creating a screen ....................................................................................................................... 6-14
6.6 Loading a project ........................................................................................................................ 6-17
7 IndraControl VCP - BRC symbolic - Profibus DP 7-1
7.1 General information ...................................................................................................................... 7-1
7.2 Creating a project ......................................................................................................................... 7-3
7.3 Connection settings "Profibus DP" ............................................................................................... 7-5
7.4 Project settings ............................................................................................................................. 7-9
7.5 Creating a screen ....................................................................................................................... 7-14
7.6 Loading a project ........................................................................................................................ 7-18
8 IndraControl VCP - DeviceNet communication 8-1
8.1 General information ...................................................................................................................... 8-1
8.2 Creating a project ......................................................................................................................... 8-3
8.3 Connection settings "DeviceNet" .................................................................................................. 8-5
8.4 Project settings ........................................................................................................................... 8-10
8.5 Creating a screen ....................................................................................................................... 8-14
8.6 Loading a project ........................................................................................................................ 8-18
9 IndraControl BTV / VSP - communication connection 9-1
9.1 General information ...................................................................................................................... 9-1
9.2 Creating a project ......................................................................................................................... 9-3
Creating a new WinStudio project ........................................................................................... 9-3
Project - settings...................................................................................................................... 9-4
9.3 Creating a visualization graphic.................................................................................................... 9-6
Creating a screen .................................................................................................................... 9-6
Insert graphic elements ........................................................................................................... 9-9
Rexroth SYNAX 200 Contents III
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Configuration - overview........................................................................................................ 9-17
9.4 Communication configuration - OPC .......................................................................................... 9-18
9.5 Starting the application ............................................................................................................... 9-22
9.6 Direct access to SYNAX parameters.......................................................................................... 9-23
OPC-SCP configuration......................................................................................................... 9-24
10 IndraControl VEP - communication connection 10-1
10.1 General information .................................................................................................................... 10-1
10.2 Creating a project ....................................................................................................................... 10-3
Creating a new WinStudio project ......................................................................................... 10-3
Project - settings.................................................................................................................... 10-4
10.3 Creating a visualization graphic.................................................................................................. 10-6
Creating a screen .................................................................................................................. 10-6
Insert graphic elements ......................................................................................................... 10-8
Configuration - overview...................................................................................................... 10-16
10.4 Communication configuration - OPC ........................................................................................ 10-17
10.5 Configuration of the IndraControl VEP ..................................................................................... 10-21
Rexroth CE Settings ............................................................................................................ 10-21
WinStudio Remote Agent .................................................................................................... 10-23
10.6 Download of the WinStudio application .................................................................................... 10-24
Establish network connection .............................................................................................. 10-24
Install Runtime..................................................................................................................... 10-25
Download of the application ................................................................................................ 10-25
10.7 Starting an application .............................................................................................................. 10-26
11 Index 11-1
12 Service & Support 12-1
12.1 Helpdesk..................................................................................................................................... 12-1
12.2 Service-Hotline ........................................................................................................................... 12-1
12.3 Internet........................................................................................................................................ 12-1
12.4 Vor der Kontaktaufnahme... - Before contacting us... ................................................................ 12-1
12.5 Kundenbetreuungsstellen - Sales & Service Facilities ............................................................... 12-2
IV Contents Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Rexroth SYNAX 200 General information 1-1
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
1 General information
1.1 Contents of the documentation
This chapter contains a short overview about the contents of thisdocumentation as well as the system prerequisites for the "RexrothSYNAX 200" system and the components that are necessary for thehandling of the following chapters concerning software and hardware.
This chapter describes the "Rexroth SYNAX 200" systems "MC" (MotionControl), "ML" (Motion Logic) and "HMI" (visualization) and the productsand components contained in this products. It also describes theprocedure of the system installation and de-installation and the installationof the required Microsoft components.
This chapter describes the possible communication connections of thePPC to the IndraControl V devices and how to configure them.
This chapter gives an overview about the PLC programming interfaceIndraLogic and describes the procedure for creating a PLC program thatmust be available to process the following chapters.
This chapter gives an overview about the project planning software VI-Composer to create operating and visualization masks for theIndraControl VCP devices. It also describes how to create a project forthe connection of the SYNAX control with the "BRC symbolic" protocol viaEthernet interface.
This chapter gives an overview about the project planning software VI-Composer to create operating and visualization masks for theIndraControl VCP devices. It also describes how to create a project forthe connection of the SYNAX control with the "BRC symbolic" protocol viaserial interface.
This chapter gives an overview about the project planning software VI-Composer to create operating and visualization masks for theIndraControl VCP devices. It also describes how to create a project forthe connection of the SYNAX control with the "BRC symbolic" protocol viaProfibus DP fieldbus interface.
This chapter gives an overview about the project planning software VI-Composer to create operating and visualization masks for theIndraControl VCP devices. It also describes how to create a project forthe connection of the SYNAX control via DeviceNet fieldbus interface.
This chapter gives an overview about the WinStudio project planning andruntime system to create SCADA (Supervisory Control And DataAcquisition) or HMI (Human - Machine Interface) applications for theIndraControl BTV / VSP devices. It also describes how to create a projectfor the connection of the SYNAX control with IndraLogic-OPC and OPC-SCP Server via the connection defined in the OPC or SCP configurator.
Chapter 1 (General information):
Chapter 2 (Installation):
Chapter 3 (Communication):
Chapter 4 (IndraLogic exampleprogram):
Chapter 5 (IndraControl VCP –BRC symbolic - Ethernet ):
Chapter 6 (IndraControl VCP –BRC symbolic - serial ):
Chapter 7 (IndraControl VCP –BRC symbolic - Profibus DP):
Chapter 8 (IndraControl VCP –DeviceNet communication):
Chapter 9 (IndraControl BTV /VSP - communication
connection):
1-2 General information Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
This chapter gives an overview about the WinStudio project planning andruntime system to create SCADA (Supervisory Control And DataAcquisition) or HMI (Human - Machine Interface) applications for theIndraControl VEP devices. It also describes how to create a project for theconnection of the SYNAX control with WinCE OPC Server via serial orEthernet connection.
1.2 Prerequisites
This section lists prerequisites that are necessary to work with the"Rexroth SYNAX 200" system. This prerequisites are divided into
• system prerequisites for the installation of the software and theestablishing of a connection to the hardware (chapter 2) as well as
• prerequisites that are necessary for the processing of the examples(chapter 3 and following).
System prerequisitesTo make an installation as well as a working with the installed systemsand programs possible, some prerequisites must be complied withconcerning the hardware and software of the PC.
Hardware• 400 MHz Pentium III or compatible processor
• at least 128 MB RAM
• screen resolution at least 640*480
• approximately 250 MB hard disk capacity for the systems
• "Rexroth SYNAX 200 MC" and
• "Rexroth SYNAX 200 ML".
• approximately 150 MB hard disk capacity for the system
• "Rexroth SYNAX 200 HMI".
• to establish an online connection to the motion control
• COM interface,
• USB interface with USB <=> COM converter,
• Ethernet or
• a PCI slot
must be available on the PC, depending on the existing interfaces atthe PPC.
Chapter 10 (IndraControl VEP -communication connection):
Rexroth SYNAX 200 General information 1-3
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Software• Operating systems
• Windows 2000 with service pack 2 or higher
• Windows XP with service pack 1
• The color palette should be set to at least 256 colors.
• Internet Explorer 5.0
Further prerequisites
The following operating system expansions offered by Microsoft arenecessary for the SYNAX 200 system in addition:
• MSI Installer Version 2 and
• XML Parser Version 3 Service Pack 4
If these products should not be installed on your PC, they are updated bythe system installation program.
Note: At the system installation a "Restart" is requested dependingon the operating system and the Service Pack that is installed.This restart must be executed, so that no problems occurduring the further installation.
Prerequisites for the processing of the examplesThe following software, firmware and hardware components that are listedin the following tables are necessary for the processing of the examplesstarting at chapter 3.
Software / firmware Version Product / application Remarks / prerequisite for chapter
System RexrothSYNAX 200
13V02 SynTop, IndraLogic(1.32.234.8), Dolfi, SCP,IndraLogic Targets13V02.018), SYNAXexpansions
chapter 3 - 10
SYNAX firmware SL 13V02.06 SYNAX motion control firmware chapter 3 - 10
VI-Composer 2.01.00130(installationversion: 02V01
VI-Composer, project planningsoftware for VCP
chapter 5 - 8
WinStudio V6.3 WinStudio, SCADAvisualization system for VEPand BTV
chapter 9 - 10
Fig. 1-1: SWA / FWA
1-4 General information Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Hardwaredesignation
part number / typedesignation
product /application
Remarks / prerequisite for chapter
SYNAX control PPC... PPC-R22-1N-T-...PPC-P11-1N-N-...
chapter 3 - 10
visualization devicesIndraControl VCP05.2
R911311493 /VCP05.2DSN-003-NN-NN-PW /(VCP05.2 Ethernet {standard});R911311494 /VCP05.2DSN-003-SR-NN-PW(VCP05.2 Ethernet + serial);R911311495 /VCP05.2DSN-003-PB-NN-PW(VCP05.2 Ethernet + Profibus DP);R911311496 /VCP05.2DSN-003-DN-NN-PW(VCP05.2 Ethernet + DeviceNet);
VI-Composer andVCPs
chapter 5 - 8The visualization devices VCPxx.2 withoptional fieldbus interface "DeviceNet"were not available for sale at the timeof the creation of the documentation
serial connectioncable
R911278141 / IKB0005;R911278142 / IKB0005;R911278143 / IKB0005;R911278144 / IKB0005
chapter 3 - 10
communication anddownload cable
R911305090 / IKB0052(serial cable RS232);R911305089 / IKB0051(serial cable RS422);R911291808 / IKB0033(cable Profibus DP);R911282040 / INS0645(RS422 connector 15 pin);R911279583 / INS0619(RS485 connector 15 pin)
VI-Composer andVCPs
chapter 5 - 8
Fig. 1-2: Hardware
Rexroth SYNAX 200 Installation 2-1
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
2 Installation
2.1 General information
The system installation for the "SYNAX 200 MC" (MotionControl),"SYNAX 200 ML" (MotionLogic) and "SYNAX 200 HMI" (visualization)systems is a superior installation program that starts the productinstallations belonging to the systems. Here the inputs for the installationdirectory and the program folder must be selected once only in the startmenu. If further inputs are necessary at the product installations, then onlythese are enquired via dialogs.
The system installation contains the following product installations.
System Rexroth SYNAX 200 MC• SynTop 13VRS
• safety technology
• file manager for the management of the PLC boot project
• oscilloscope functionality
• SCP 03VRS
• "SYNAX" device
• "SYNAX Offline" device
• Dolfi 01VRS
• IndraLogic
• Gateway server
• ENI server
• SYNAX expansions
• Help - SYNAX expansions for IndraLogic
• visualization objects (register controller)
System Rexroth SYNAX 200 ML• IndraLogic 01VRS
• PLC project planning and programming interface
• Gateway server
• OPC server
• ENI server
• SYNAX target installation
• SYNAX 200 targets
• SCP Gateway driver
• GSD Installer
• Target converter
• version display for SYNAX 200 installations
2-2 Installation Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
System Rexroth SYNAX 200 HMI• IndraLogic 1VRS
• Gateway server
• OPC server
• SYNAX expansions
• visualization objects (register controller)
• SCP 03VRS
• "SYNAX" device
• SYNAX target installation
• SYNAX 200 targets
• SCP Gateway driver
• GSD installer
• version display for SYNAX installations
The following software packages are not included in the Rexroth SYNAX200 system installations and can be installed in addition, if necessary.
1. WinStudio
• Project planning and runtime system for PC based (Win2000 andWinXP) and Embedded (WinCE) visualization units "VPP, VSP,BTV and VEP".
2. VI-Composer
• project planning program for controller based visualization units"VCP".
3. SyCon
• configuration and diagnostic tool for fieldbusses of the SYNAXmotion control.
Description of the productsSynTop is a commissioning and diagnostic tool for the SYNAX 200motion control. Parameterization is managed with menus in dialogs. A"commissioning sequence" is available to lead the user with dialogs, e.g.,for the setting of the time or the communication, master axis, drive andprocess controller functionalities.
SCP is a Windows-based communication platform for Rexroth controls.SCP is the abbreviation for "Scalable Communication Platform". With thescalability it is possible to load only software components that arenecessary and that only a minimum of system resources of the PC arerequired.
Note: The component SCP is used by the control components"SYNAX", "VisualMotion" and "DriveTop".
SynTop:
SCP:
Rexroth SYNAX 200 Installation 2-3
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Dolfi is a Windows application to download firmware and Screenmanagerapplications
• to a SYNAX 200 motion control (PPC-R and PPC-P) and
• to EcoDrive drives.
Transmission can be done via serial RS232 communication (Dolfi 01VRS)or can be loaded via a PCMCIA Slot on the PSM module (Dolfi 02VRSonly WinNT 4.0).
IndraLogic is the PLC programming and project planning interface forPLC control systems of Rexroth. The programming system enables aneasy access to the programming with IEC 61131. For the creation of thePLC program (PRG, FB and FC) the following IEC programminglanguages are available:
• IL (Instruction list)
• ST (structured text)
• SFC (Sequential function chart)
• FBD (Function block diagram)
• LD (ladder diagram)
• CFC (continuous function chart)
Note: The component IndraLogic is used by the control systems"SYNAX", "VisualMotion", "DriveTop", "IndraMotion MLC","IndraMotion MLD", "IndraMotion MLP" , "IndraMotion MTX"and "IW Logic".
The installation "SYNAX expansions" contains the helps for the system-specific function blocks, functions, data types, etc. in IndraLogic as wellas visualization objects for the representation of SYNAX functionalities inthe Motion Control (e.g., register controller function).
The SYNAX target installation contains the target configuration for theSYNAX ML controls, the SCP Gateway driver for the simultaneouscommunication of SynTop and IndraLogic via SCP, the GSD Installer,Target converter and the version display for SYNAX 200 installations.
WinStudio is a project planning and runtime system to create high-qualitySCADA (Supervisory Control And Data Acquisition) or HMI (Human-Machine Interface) applications for the industrial automation. Thefunctionality can be expanded with open interfaces as, e.g., ActiveXControls.
The VI-Composer serves for creating visualization projects for the VCPvisualization devices. The VCP devices can be connected with theSYNAX control via serial or fieldbus interface.
Dolfi:
IndraLogic:
SYNAX expansions:
SYNAX Targets:
WinStudio:
VI-Composer:
2-4 Installation Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
2.2 Installation
After the call of the installation program you get a note that a minimum of250 MB hard disk capacity must be available on the drive where thetemporary directory (%TEMP% or %TMP%) is located to unpack theinstallation files. In the following figure the temporary directory is on drive"D:". The enquiry can also be executed as displayed in the figure.
CommandPrompt-Environment.bmp
Fig. 2-1: Inquiry of the temporary directories on the PC
The installation is done with dialogs and can be executed in German orEnglish language. The system prerequisites are checked and theMicrosoft products "MSI Installer Version 2" and "XML Parser Version 3Sp4" are installed, if necessary. The installation of the "XML Parser" isexecuted at the start of the system installation.
Depending on the operating system Service Pack that is installed, the PCis restarted.
Setup-MSI_InstallationRequired.bmp
Fig. 2-2: Installation of the MS product MSI Installer version 2 - system info
MSI-Reboot.bmp
Fig. 2-3: Installation of the MS product MSI Installer version 2 - installer info
Rexroth SYNAX 200 Installation 2-5
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
If the requirements for the system installation were established, theinstallation for the SYNAX 200 system starts. The system installationcontains the following dialogs that must be confirmed with button "Next" ingeneral.
1. welcome dialog
2. license agreement
3. important information
4. selection of the destination folder
5. selection of the Rexroth SYNAX 200 systems
6. selection of the program folder
7. start copy procedure
8. copy the files and start the product installation
There is no restriction at the selection of the SYNAX 200 system, i.e., thesystems can be installed separate or together.
The Welcome dialog gives a short information about the software toinstall.
The license agreements are confirmed with the 'Next' button in the dialog.So they should be read carefully.
The dialog "Important information" points to problems that can occurduring installation. In case of problems please follow the instructions.
Setup-Important-Info.bmp
Fig. 2-4: Important information for the system installation
Welcome dialog
License agreement
Important information
2-6 Installation Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The installation path is selected once for all subordinated installationsRexroth SYNAX 200 system MC / ML / HMI. The sub-installations expandthe path with their product designation and copy all required files to thedirectory.
Setup-TargetPath.bmp
Fig. 2-5: Destination folder
The allocation of components or products to the systems is alreadydescribed at the beginning of this chapter. The systems that are availablefor selection are listed in the following:
• Motion Control (MC)
• Motion Logic (ML)
• visualization (HMI)
Setup-ComponentSelection.bmp
Fig. 2-6: Rexroth SYNAX 200 system selection
Selection of the destinationfolder
Selection of the Rexroth SYNAX200 system component
Rexroth SYNAX 200 Installation 2-7
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The program folder for all subordinated installations is selected once likethe destination folder. The components or the product installationsexpand the program group directory by the product designation and storetheir links in this folder.
Setup-ProgramFolder.bmp
Fig. 2-7: Selection of the program group
The dialog "Start copying procedure" shows all settings of the previousdialogs. The copy procedure is started with confirming the dialog with the"Next" button and the product installations that were selected before arecalled one after the other.
Setup-RunSetup.bmp
Fig. 2-8: Start copy procedure
Installation runs automatically. Only the SCP installation needs someinputs.
The selection possibilities are described in the following.
Selection of the program folder
Start copy procedure
2-8 Installation Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Because two hardware options are available for the SYNAX 200 system,it is possible to communicate via different interfaces with the motioncontrol.
1. "PPC-R": serial or Ethernet communication
2. "PPC-P": serial or Ethernet communication or via a PCIcommunication driver.
The PCI communication driver should only be installed, if a "PPC-P"motion control card is installed. Windows tries to start the driver whenpowering up and a system error appears that points out the missinghardware.
Setup-RunningSCP-Component.bmp
Fig. 2-9: Selection of the SCP communication driver
Because Windows system files are updated with the different productinstallations, it is necessary to restart the system after the completion ofthe system installation of "Rexroth SYNAX 200 MotionControl,MotionLogic and visualization".
Setup-Restart.bmp
Fig. 2-10: Restart after system installation "Rexroth SYNAX 200"
SCP installation:
Rexroth SYNAX 200 Installation 2-9
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
2.3 Uninstall process
The Rexroth SYNAX 200 13VRS system installation can be removed withthe Windows system control \ software. Therefore the component for themanagement of the software in the system control is called via the startmenu.
Windows-ControlPanel.bmp
Fig. 2-11: System control
2-10 Installation Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
First the option "Add/Remove programs" is selected in the software dialogand then the entry "Rexroth SYNAX 200 System 13VRS" is selected inthe list of the "Currently installed programs". The deinstallation program iscalled with button "Change/Remove".
Windows-ControlPanel-Software.bmp
Fig. 2-12: Software - installation/ deinstallation of Software
The deinstallation is started after the safety enquiry was confirmed with"OK".
Setup-Uninstall-System200-Confirm.bmp
Fig. 2-13: Safety enquiry to start the deinstallation
During deinstallation procedure it is also possible to remove theassociated product installations or leave them on the PC. Exceptions arethe Rexroth components IndraLogic and SCP, because they are used byall control components from Bosch Rexroth.
Rexroth SYNAX 200 Installation 2-11
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Setup-Uninstall-System200-Select-Products.bmp
Fig. 2-14: Selection of the products that should be de-installed.
During deinstallation messages can be displayed that ask the user toconfirm to clear '"Shared files". The dialog is a safety enquiry of theinstallation program and must be confirmed with "Yes". The option "Don'tdisplay this message again" can also be selected in addition.
Setup-Uninstall-SharedFiles.bmp
Fig. 2-15: Remove common used components.
After the deinstallation of the Rexroth SYNAX 200 system, it is alsonecessary to restart the PC after the request of the installation program.
Note: The components IndraLogic, SCP and Dolfi are not de-installed by the system deinstallation of the Rexroth SYNAX200 system. That means the deinstallation of the mentionedcomponents must be executed manually in the system control\ Software, because these are required by some of the controlsystems "SYNAX", "VisualMotion", "IndraMotion MLC","IndraMotion MLD", "IndraMotion MLP" , "IndraMotion MTX"and "IW Logic".
2-12 Installation Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Rexroth SYNAX 200 Communication 3-1
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
3 Communication
3.1 General information
This chapter describes all communication interfaces of the PPC-R andPPC-P that can be used for the connection to the IndraControl V devices.Also the communication structure of the SYNAX 200 components isdescribed and how to configure it to establish a connection with thecontrol.
Depending on the visualization device the "Fig. 3-1: Which chapters mustbe handled?" shows the sections of this chapter that are necessary.
sectionvisualizationdevice
3.2Interfaces
and structure
3.3SCP
configurator
3.4Gateway
configuration
3.5Declarations
forIndraControl
VCP
3.6Symbol file
3.7Configurationfor the OPC
server
3.8Testing OPC
BTV / VSP i X X X X X X
VEP i X X X X
VCP i X Xi: informationX: required
Fig. 3-1: Which chapters must be handled?
This documentation should give an overview about the settings andconfigurations that are necessary. A detailed description can be found inthe documentation
• SYNAX project planning,
• IndraLogic,
• SCP and
• IndraControl BTV / VSP, VEP and VCP.
3-2 Communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
3.2 Interfaces and structure
The figures "Fig. 3-2" and "Fig. 3-3" show all interfaces for communicationbetween the SYNAX control PPC-R22 and PPC-P11 and IndraControldevice.
• Ethernet
• RS232
• RS422
• Feldbus (DeviceNet and Profibus DP)
Overview_Communication_IndraControl_PPC-R22.bmp
Fig. 3-2: Communication connections to the PPC-R22
• PCI (only BTV or VSP)
• RS232
• RS422
PPC-R22:
PPC-P11:
Rexroth SYNAX 200 Communication 3-3
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Overview_Communication_IndraControl_PPC-P11.bmp
Fig. 3-3: Communication connections to the PPC-P11
3-4 Communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The figure "Fig. 3-4: Communication structure from the application to thecontrol" shows the communication paths that are provided by the "RexrothSYNAX 200" system that are used by the SYNAX 200 components.
3rd party HMIs or engineering tools can communicate via OPC server"IndraLogic" and "SCP". These communication interfaces are specifiedand standardized by the OPC foundation. Further information about OPCcan be found in the internet "http://www.opcfoundation.org/".
Overview_Communication_structure.bm
Fig. 3-4: Communication structure from the application to the control
Rexroth SYNAX 200 Communication 3-5
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
3.3 SCP configurator
The SCP server is the shared communication platform for thecommunication with controls from Bosch Rexroth. The SCP server isconfigured with the SCP configurator. The SCP configurator can be calledvia the start menu "Programs \ Rexroth \ SCP" or in the SynTopcommunication selection dialog. The configuration in the SCPconfigurator takes place in several steps:
1. Selection of the control unit
1.1. "Synax"
1.2. "SynaxFile" (offline via parameter file)
2. Select or enter device data
2.1. Name of device
2.2. Type of driver; depending on the selected driver configurationscan be dropped.
2.2.1.Ethernet
2.2.2.PCI; can only be selected, if the PCI component wasselected at the installation.
2.2.3.Serial
2.3. Timeout times
2.4. Device address (see SYNAX parameter "Y-0-0142" - "Deviceaddress")
3. Configure driver specific settings
3.1. Serial
3.1.1.COM interface
3.1.2.Baudrate
3.1.3.Mode
3.2. PCI -> none
3.3. Ethernet
3.3.1.IP address / name of computer
3.3.2.Port
3-6 Communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The following figure shows the configuration dialog for the device data:
SCPCnfg-AddDevice-DeviceData.bmp
Fig. 3-5: Device specific settings for SYNAX 200
If a serial communication is configured, the value for the device addressmust correspond with the value of the SYNAX parameter "Deviceaddress" (Y-0-0142) to communicate with the motion control.
Regarding the adjustable device addresses, two addresses are special:
• 127: can not be selected.
• 128: all devices, that are, e.g., in the RS485 link are addressed("Browsing").
SCPCnfg-DeviceInfo.bmp
Fig. 3-6: Overview SCP configurator
For communication with the SYNAX 200 motion control the serialcommunication protocol of the SYNAX motion control must be set to SIS(parameter "Y-0-0005 / Y-0-0010" - "Serial port A / B device type"). Thecommunication protocol SIS is selected by value "3" in the singleparameter dialog of SynTop.
Rexroth SYNAX 200 Communication 3-7
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
3.4 Gateway configuration
The Gateway server establishes the communication connection from theIndraLogic programming interface and the IndraLogic OPC server directlyor via the SCP server to the motion control. The selection of the availablecommunication connections in the IndraLogic communication parameterdialog depends on the target system (see "Fig. 3-7: Communicationparameter dialog - IndraLogic"). If the communication parameter dialog iscalled via the IndraLogic OPC configurator, all communicationconnections from the Gateway server are available (see "Fig. 3-8:Communication parameter dialog - OPC configurator").
IL-Dlg_ComParam-New_SYNAX.bmp
Fig. 3-7: Communication parameter dialog - IndraLogic
IL-Dlg_ComParam-New_All.bmp
Fig. 3-8: Communication parameter dialog - OPC configurator
For the communication with the SYNAX control the followingcommunication channels are available for the PPC-R:
• SCP SYNAX,
• RS232 PPC and
• TCPIP Level 2 Route (PPC).
For the SYNAX control PPC-P the following communication channels areavailable:
• SCP SYNAX and
• RS232 PPC.
3-8 Communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
With the "SCP SYNAX" device communication is possible with everySYNAX 200 motion control that was entered in the SCP systemconfigurator. Devices of "SYNAX Offline" type are excluded. The serialcommunication protocol of the SYNAX 200 motion control must havebeen set to SIS (parameter "Y-0-0005 / Y-0-0010" - "Serial port A / Bdevice type" = 3).
The device "RS232 PPC" establishes a direct serial connection to theSYNAX 200 motion control via a PC interface. The serial communicationprotocol of the SYNAX 200 motion control must be set to PLC (parameter"Y-0-0005 / Y-0-0010" - "Serial port A / B device type" = 4).
An Ethernet TCP/IP connection with the control is established via the"TCPIP Level 2 Route (PPC)" device. This communication is only possiblewith PPC-R22 hardware.
To create or configure a communication channel in IndraLogic use menu"Online \ communication parameter..." and in the IndraLogic OPCconfigurator with button "Edit" in node "Connection" of the PLC control.
In the first step a device for the communication is selected with button"New" and the channel is named.
IL-Dlg_ComParam-New-Channel-SCP.bmp
Fig. 3-9: Select device and name the channel
After the dialog "Communication parameters: New channel" wasconfirmed with "OK", the communication settings for the channel can beconfigured. Therefore the displayed value can be edit with a double-clickand the new value can be selected with the cursor ("Up" or "Down") orwith further double-clicks.
SCP SYNAX:
RS232 PPC:
TCPIP Level 2 Route (PPC):
Rexroth SYNAX 200 Communication 3-9
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
IL-Dlg_ComParam-Channel-SCP.bmp
Fig. 3-10: Set communication parameters
Note: To store all required data for the connection of thevisualization devices BTV / VSP, VEP and VCP on the control,the option "Send symbol file" must be activated in theIndraLogic project in tab "General" of the "Target settings".See "Fig. 3-11: Target system selection for IndraLogic".
With creating a new project this option is set per default.
Further information about the symbol files can be found insection "3.6 Symbol file".
IL-Dlg_Target-Settings_SY12-R.bmp
Fig. 3-11: Target system selection for IndraLogic
3-10 Communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
3.5 Declarations for IndraControl VCP
The connection of IndraControl VCP visualization devices with the "serialprotocol" to the SYNAX 200 motion control is only possible via globalvariables. To be able to make a detailed selection of the variables toexport (also see "3.6 Symbol file"), it is recommendable to create anobject for the variables for data exchange of the IndraControl devices.Therefore the folder "Global variables" must be selected in the projectnavigator in tab "Resource" and a new "Global variable list" must becreated with menu "Project \ Object \ Add".
IL-Menu_Project-Object-Add_GlobalVar.bmp
Fig. 3-12: Create global variable object
IL-Dlg_New-GlobalVar-List.bmp
Fig. 3-13: New global variable list
Rexroth SYNAX 200 Communication 3-11
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Note: To display a variable at the VCP, the maximum length of thevariable name (including the structure name) may not exceed80 characters.
For all IndraControl VCP devices that communicate via the "serialprotocol" or via "Fieldbus", so called "Polling areas" must be declared. A"polling area" contains
• a coordination byte (BYTE; "VCP_Coordination"),
• a message channel (WORD; "VCP_Message") and
• a channel to control the LEDs (ARRAY OF WORD; "VCP_LED"; thenumber of the used bits depends on the used IndraControl VCPdevice).
Note: When using a serial protocol the polling area must beallocated with 3 variables; a fieldbus communication needsone variable.
IL-Wnd_GlobalVar-HMI_Interface.bmp
Fig. 3-14: Variable declaration "HMI Interface"
3-12 Communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
3.6 Symbol file
General informationThe symbol file is necessary for the data exchange with the control via thesymbol interface and is used by the IndraLogic OPC and Gateway DDEserver. The connection of the VCP devices via the protocol "IndraLogic"and "BRC symbolic" also requires the symbol file.
The symbol file is created during compilation of the PLC project in theproject directory as text file 'Projekt'.sym and as binary file 'Projekt'.sdb.During transmission of the project to the control the binary symbol file istransmitted with the project to the control and is stored as"DOWNLOAD.SDB".
Note: The binary symbol file is only transmitted to the control, if theoption "Send symbol file" is activated in the target systemsettings.
Configuration of the symbols to exportThe objects (program modules, global variables and libraries) areconfigured in the symbol table that are enabled for the access from theHMI via the OPC server and for IndraControl VCP devices. Duringcompilation of the PLC program the information is written to the projectsymbol files.
The symbol tables are configured in the dialog that is called with menu"Project \ Options...".
IL-Menu_Project-Option.bmp
Fig. 3-15: Call option dialog
Rexroth SYNAX 200 Communication 3-13
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
"Symbol configuration" must be selected in the option dialog. With "Dumpsymbol entries" two symbol files are created in the project directory whencompiling the project.
• symbol file - text ('Project'.sym)
• symbol file - binary ('Project'.sdb)
Option "Dump XML symbol table" creates a file in XML format with filename "'Projekt'.sym_xml" when compiling the project in the projectdirectory.
IL-Dlg_Options-SymbolConf.bmp
Fig. 3-16: Options symbol configuration
Pushing button "Configure symbol file" opens the dialog for the selectionof the objects that can be entered in the symbol file.
The objects for the symbol file are selected with the selection of theobjects and can be executed for PLC programs, global variables andlibraries. With the selection "Export variables of the object" the variablesthat are allocated to the object, are written to the symbol file.
Note: All objects are selected when opening the dialog and theselection "Export variables of object" is displayed grey. Tocheck, which objects are configured for output, each objectshould be selected separate.
3-14 Communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
IL-Dlg_Options-SymbolConf-Export.bmp
Fig. 3-17: Selection of the variables to export
When the PLC program is compiled after configuration, the symbol file iscreated.
Note: The PLC project should be stored with a project name beforethe PLC program is compiled.
Rexroth SYNAX 200 Communication 3-15
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Storage of the symbol filesThe symbol files are stored in the project directory, if the directory to storewas not changed in the category "Directories" in dialog "Project - options".
Explore_IL-ProjectDir.bmp
Fig. 3-18: : Storage of the symbol files in the project directory
With the transmission of the project to the motion control, the binarysymbol file is copied to the Windows directory "%windir%\Gateway Files".
Explore_IL-GatewayDir.bmp
Fig. 3-19: Storage of the symbol files in the Windows directory
If the option "Send symbol file" was selected as described in section "3.4Gateway configuration", the symbol file is stored in the file system of thecontrol with the file name "DOWNLOAD.SDB". The storage of the symbolfile on the control is the prerequisite for the communication to theIndraControl VCP (protocol "IndraLogic symbolic") and IndraControl VPPor VEP visualization devices.
3-16 Communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
IL-Wnd_PLC-Browser.bmp
Fig. 3-20: Storage of the symbol file in the target control
The figure "Fig. 3-21: Structure of the symbol file - text" shows theprinciple structure of a symbol file in text format.
Global variables are listed here with a prefixed point. Variables that areused in a PLC program have PLC program name as prefix.
SymbolFile-Text.bmp
Fig. 3-21: Structure of the symbol file - text
Rexroth SYNAX 200 Communication 3-17
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
3.7 Configuration for the OPC server
For the communication via the IndraLogic OPC server a symbol file mustbe available in the Windows directory "%windir%\Gateway Files" or on thefile system of the motion control.
The OPC connection is configured with the help of the IndraLogic OPCconfigurator. To call the OPC configurator open the link "OPCconfigurator" in the start menu "Programs \ Rexroth \ Communication".
Explore_ProgramFolder-Communication.bmp
Fig. 3-22: Call of the OPC configurator
Before configuring the motion control and the connection type
• Single PLC or
• Multi PLC
must be determined according to the current conditions. For the datarequest of the PLC the connection types differ in the Syntax definition ofthe Itemstring.
OPC type configuration Syntax of the items Example item string
Multi-PLC 'PLC-Name':'Prg.-Name'.'Var.-Name' PLC:PLC_PRG.nCounter
Single-PLC 'Prg.-Name'.'Var.-Name' PLC_PRG.nCounter
Fig. 3-23: Syntax of the item string
Note: As the configuration "Multi PLC" is necessary for the exampleapplications for the IndraControl VEP a "Multi PLC -configuration" is described in the following.
To select a connection type "Multi PLC" the option "Single PLC" must bede-selected.
3-18 Communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
IL-OPC-Config_SelSinglePLC.bmp
Fig. 3-24: Selection of the configuration type -> single / multi
For connection type "Multi PLC" a PLC must be appended first.
IL-OPC-Config_AppendPLC.bmp
Fig. 3-25: Append PLC
After the connection type was determined and a PLC was appended thecontrol configuration can take place.
The following is important:
• "Timeout" (time at slow communication connections),
• "Size of buffer (byte)"
• "8192" for an Ethernet connection to the PPC
• "5000" for a serial connection to the PPC
• "Motorola Byte order" for the PPC control
Note: If a project name is entered, this name must correspond withthe PLC project name. To avoid errors in the configuration of a"Single-PLC" the project name should not be entered.
Rexroth SYNAX 200 Communication 3-19
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
IL-OPC-Config_PLCSettings.bmp
Fig. 3-26: PLC configuration
Now the connection is configured or selected.
IL-OPC-Config_ConnSettings-Empty.bmp
Fig. 3-27: Connection configuration
3-20 Communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The communication parameter dialog is opened with button "Edit" asknown from the Gateway configuration. Now an existing channel can beselected or a new channel can be created.
IL-OPC-Config_ConnSettings-ComPara.bmp
Fig. 3-28: Selection of an existing or creating a new channel
The selection dialog for creating a new channel is opened with button"New...".
IL-OPC-Config_ConnSettings-ComPara_new.bmp
Fig. 3-29: Creating a new channel
After the connection type "TCPIP Level 2 Route (PPC)" was selected anda name was specified for the new channel, the dialog can be confirmedwith "OK".
Rexroth SYNAX 200 Communication 3-21
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
IL-OPC-Config_ConnSettings-ComPara2.bmp
Fig. 3-30: Communication parameter of the new channel
After the IP address of the control was entered, the dialog can beconfirmed with "OK".
IL-OPC-Config_ConnSettings.bmp
Fig. 3-31: Overview of the connection selection
Before terminating the OPC configurator the changes that have beenmade must be saved.
3-22 Communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
IL-OPC-Config_Save.bmp
Fig. 3-32: Save configuration data
Rexroth SYNAX 200 Communication 3-23
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
3.8 Testing OPC connection
For the testing of the connection with the IndraLogic OPC server theRexroth OPC Client can be used. The file "OPCClient.EXE" can be foundin directory "LW:\Program Files\Common files\Rexroth\Bin" and can bestarted directly.
Explore_OPC-SCP-Client.bmp
Fig. 3-33: Rexroth OPC Client
After the start, the desired OPC server "IndraLogic.OPC.02" must beselected and the connection must be activated with the button "Connect".If the connection could be established, then it is displayed in the statusline with the text "OPC Connection" and with the listing of the interfacesthat are made available by the OPC server.
OPC-SCP-Client_Connect.bmp
Fig. 3-34: Activate the connection to the OPC server
3-24 Communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
In the second step a group must be created.
OPC-SCP-Client_AddGroup.bmp
Fig. 3-35: Creating a group
After the group was created, items must be added to the group. Also see"Fig. 3-23: Syntax of the item string".
OPC-SCP-Client_AddItem.bmp
Fig. 3-36: Insert item
Rexroth SYNAX 200 Communication 3-25
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The reading of the item can be activated after the selection of the groupand the item with the "Read" button.
OPC-SCP-Client_ReadItem.bmp
Fig. 3-37: Read item
Writing is done in the same way with selecting the group and the item.When activating the "Write" button the mask for the input of the values isdisplayed. After the input of the values, they are written to the controlvariables with the "OK" button.
If errors occur when inserting an item or reading item values, all PLCvariables that are available for communication can be read via the register"IOPCBrowseServerAddressSpace" of the OPC client.
OPC-SCP-Client_Browsing.bmp
Fig. 3-38: "Browse" variables
3-26 Communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Rexroth SYNAX 200 IndraLogic example program 4-1
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
4 IndraLogic example program
4.1 General information
This section contains an overview about the PLC programming interfaceIndraLogic version 01VRS. For the creation of the example program thetopics
• project creation,
• creation of object blocks,
• program,
• configuration of symbols and
• the configuration of the OPC interface
are mentioned and explained for the program, if necessary.
The PLC reads or writes data via the cyclic process data channel ofSYNAX, processes the data and makes it available to the visualization asstructure and element data type. The programming language structuredtext (ST) was used in the example.
The PLC program created in this section is the basis for the connection ofa visualization unit IndraControl BTV, VSP, VEP and VCP. See sections
• 5. IndraControl VCP - BRC symbolic - Ethernet
• 6: IndraControl VCP - BRC symbolic - serial
• 7. IndraControl VCP - BRC symbolic - Profibus DP
• 8. IndraControl VCP - DeviceNet communication
• 9. IndraControl BTV / VSP - communication connection
• 10. IndraControl VEP - communication connection
For the successful creation of IndraLogic example programs, it isrecommended that section "3 Communication" was already workedthrough.
To start the IndraLogic programming interface open the start menu andselect the program link "IndraLogic" in folder "Program files \ Rexroth \IndraLogic".
Project description:
4-2 IndraLogic example program Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
4.2 Project
CreateAfter the start of the IndraLogic user interface you can create a newproject with menu "File - New"..
Then the target system must be selected in dialog "Target system,settings" and the settings must be determined. The default settings for thetarget system cover most of PLC projects. The following configurationsare available as target system
• SYNAX 200-MotionLogic 13VRS (PPC-R) -> PPC as Reco option
• SYNAX 200-MotionLogic 13VRS (PPC-P) -> PPC as PCI option.
If the dialog was confirmed with "OK", the dialog for the creation of a newobject appears. The name for the example program must be entered. Thedefault settings are not changed and the specification is assumed with"OK".
IL-Dlg_New-Object.bmp
Fig. 4-1: Create a new object
SettingsTo work with the IndraLogic programming interface and with new theproject, some settings should be made that were not set by default.
With the menu "Project \ Options" the option dialog for the generalsettings and the project settings is opened.
In the category "Load & save"
• Remind of boot project on exit
should be set.
Here a note dialog appears when terminating the IndraLogic programminginterface that reminds you to store a boot project on the motion control.
Boot project:
Rexroth SYNAX 200 IndraLogic example program 4-3
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
IL-Dlg_Project-Option_LoadSave.bmp
Fig. 4-2: Project - options: load & save
4-4 IndraLogic example program Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
In the category "Desktop" the option
• Online in security mode
must be set.
Here a safety polling takes place at every access to the motion control, ase.g., write values, force, program changes or download, etc., before theactivity is executed.
IL-Dlg_Project-Option_Workspace.bmp
Fig. 4-3: Project - options: desktop
In the category "Symbol configuration" the option
• Dump symbol entries
must be set.
The symbol entries must be created, if visualization devices as
• IndraControl VCP,
• IndraControl VEP or
• IndraControl BTV / VSP
should access to motion control data. A detailed description how toconfigure the symbol file can be found in section 4.5 "Symbolconfiguration" and in section 3.6 "Symbol file".
Online in security mode:
Create symbol entries:
Rexroth SYNAX 200 IndraLogic example program 4-5
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
IL-Dlg_Project-Option_SymbolConf.bmp
Fig. 4-4: Project - options: symbol configuration
The changes are assumed with the "OK" button.
The new created project and the changes that were made should bestored now. Select menu "File/ Save" in the IndraLogic programminginterface, switch to the project directory and specify a file name for theproject. After the acknowledge of the save dialog further informationabout the project can be stored.
IL-Dlg_Project-Info.bmp
Fig. 4-5: Project information
4-6 IndraLogic example program Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
4.3 Task configuration
After the program was created, it must be allocated to a task.
Create taskThe task is created in the task configuration of IndraLogic. The taskconfiguration is opened with a double-click on the entry "Taskconfiguration" in tab "Resource" of the project navigator.
IL-Wnd_TaskConfig.bmp
Fig. 4-6: IndraLogic - task configuration
The task is appended to the task configuration with option "Append Task"in the context menu (right mouse button) of entry "Task configuration".
IL-Wnd_TaskConfig_Insert-Task.bmp
Fig. 4-7: IndraLogic - Append Task
Rexroth SYNAX 200 IndraLogic example program 4-7
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Configure taskTo configure the task the following settings must be executed in the rightwindow "Task attributes" of the task configuration:
• Name: "Visualization"
• Priority: "20" (0 = high / 31 = low)
• Type: "freewheeling"
IL-Wnd_TaskConfig_Task-Properties.bmp
Fig. 4-8: IndraLogic - Task attributes
4-8 IndraLogic example program Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Append program callThe program call is appended with window "Program call" of the taskconfiguration that can be reached via the context menu (right mousebutton) of the created task.
See Fig. 4-9: IndraLogic - Append program call
IL-Wnd_TaskConfig_Append-ProgCall.bmp
Fig. 4-9: IndraLogic - Append program call
The created program "VisuProg" must be selected in the window"Program call" of the task configuration. The selection must be confirmedwith button "OK".
IL-Wnd_TaskConfig_ProgCall-Properties.bmp
Fig. 4-10: IndraLogic - Task configuration - configured
The task configuration is completed and the changes should be stored.
Rexroth SYNAX 200 IndraLogic example program 4-9
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
4.4 Declaration / implementation
The declaration of variables reference to the configuration of the "cyclicprocess data channel" (system variables), global variables and programlocal variables.
System variablesThe declaration of the system variables is done in the PLC configurationof IndraLogic. The PLC configuration is opened with a double-click on theitem "PLC configuration" in tab "Resources" of the project navigator.
In our program example the data
• "VM - speed command 1 - C-0-0006" and
• "Output speed - C-0-0067"
are configured in the cyclic process data channel of master axis 1.
For the configuration of the cyclic process data channel the item "SystemSYNAX 200-MotionLogic (PPC-R) 13VRS / RMB02.2-04 PPC / Control(PPC-R) / MotionLogic Data Exchange / Cyclic Motion Data / MasterAxis / Master Axis 01 / Parameter" must be selected in the controlconfiguration. See "Fig. 4-11: IndraLogic PLC configuration ".
IL-Wnd_Target-Config.bmp
Fig. 4-11: IndraLogic PLC configuration
To add process data in the cyclic process data channel the button"Append" must be used in the right window of the control configuration.This opens a dialog for the configuration or for adding process data. See"Fig. 4-12: Cyclic process data channel - master axis 1" and "Fig. 4-13:Configuration dialog cyclic process data - C-0-0006".
4-10 IndraLogic example program Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
IL-Wnd_Target-Config-CycProcData_Empty.bmp
Fig. 4-12: Cyclic process data channel - master axis 1
To configure the SYNAX parameter "C-0-0006" for the cyclic process datachannel, the short term of the parameter is entered in the group"Parameter selection" in field "Quick search". So the desired parameter isselected and the data is assumed to the group "Parameter configuration".As the parameter is written from the PLC to the Motion, the option"Process variable as output (LC to MC)" must be activated.
Optional the PLC language for the comment can be selected. All othersettings remain unchanged.
IL-Dlg_CycProcData-Out-C0006.bmp
Fig. 4-13: Configuration dialog cyclic process data - C-0-0006
Add SYNAX parameter"C-0-0006":
Rexroth SYNAX 200 IndraLogic example program 4-11
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
To configure the SYNAX parameter "C-0-0067" for the cyclic process datachannel, the short term of the parameter is entered in the group"Parameter selection" in field "Quick search". So the desired parameter isselected and the data is assumed to the group "Parameter configuration".As the parameter is read by the PLC, the option "Process variable asinput (MC to LC)" must be activated.
Optional the PLC language for the comment can be selected. All othersettings remain unchanged.
IL-Dlg_CycProcData-Out-C0067.bmp
Fig. 4-14: Configuration dialog cyclic process data - C-0-0067
In "Fig. 4-15: Cyclic process data channel - master axis 1 - configured"both SYNAX parameters "C-0-0006" and "C-0-0067" of the master axis inthe PLC project are configured.
IL-Wnd_Target-Config-CycProcData_C6-C67.bmp
Fig. 4-15: Cyclic process data channel - master axis 1 - configured
Add SYNAX parameter"C-0-0067":
4-12 IndraLogic example program Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Global variablesThe declaration of global variables is necessary for the communicationwith the IndraControl VCP devices, as described in chapters 5 - 10.
To display the speed command value and the actual value of the masteraxis 1, create a new structure type were the data is stored in formattedand not formatted style. The creation of a new data type takes place withthe context menu of the project navigator in tab "Data type" or with menu"Project \ Object \ Insert".
In dialog "New data type" the name "MA_SPEED" (master axis 'MA' -speed data 'SPEED') for the new data type is entered.
IL-Dlg_DataType-New.bmp
Fig. 4-16: Create new data type
The element data types of the structure are declared afterwards. Here thedata is stored as it was stored by the MotionControl for reading or wasrequired for writing and also formatted considering the decimal places.
IL-Wnd_DataType_MASpeed.bmp
Fig. 4-17: Define data type - speed command and actual value
TYPE MA_SPEED :(* Contains elements for the formatted or not formatted storage of *)(* Master axis speed for command and actual values *)STRUCT(* Speed command value 1 - not formatted *)
CommandSpeed :DINT := 0;(* Speed command value 1 - formatted *)
CommandSpeedFmt :REAL := 0;(* Actual speed value - not formatted *)
ActualSpeed :DINT := 0;(* Actual speed value - formatted *)
ActualSpeedFmt :REAL := 0;END_STRUCTEND_TYPE
Fig. 4-18: Data type - speed command and actual value
Rexroth SYNAX 200 IndraLogic example program 4-13
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
For the declaration of the HMI interface variables we create a new globalvariable list "HMI_Interface". The creation of a new variable list wasalready described in section "3.5 Declarations for IndraControl VCP".
IL-Wnd_GlobalVar-HMI_Interface.bmp
Fig. 4-19: Declaration of global variables
VAR_GLOBAL(*General data for HMI*)
(* HMI - VxP - Interface*)(* visualization data used for VCP, VPP and VEP *)VxP_EnableMA1 :BOOL := FALSE; (* enable master axis 1 *)VxP_EnableMA1Ack :BOOL := FALSE; (* enable ma1 Acknowledge *)VxP_CmdSpeedMA1 :REAL := 0; (* command speed master axis *)VxP_SpeedMA1 :MA_SPEED; (* act.- and cmd. Val. of ma1 speed *)
(* visualization data used only for VCP *)VCP_Coordination :BYTE := 16#00; (* VCP coordination byte *)VCP_Message :WORD := 16#0000; (* VCP message channel *)VCP_LED :ARRAY [0..3] OF BYTE; (* VCP led control *)
END_VAR
Fig. 4-20: Declaration - speed command and actual value
4-14 IndraLogic example program Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Local variables / implementationThe declaration of the local variables is done on program level. The datathat are necessary for the visualization are already declared as globalvariables. The PLC program is listed in the following figures.
IL-Wnd_PLC-PRG.bmp
Fig. 4-21: Program declaration and implementation
(*MasterAxis 1*)(*Copying and formating MasterAxis-Data from Processdatachannel*)VxP_SpeedMA1.ActualSpeed := iMA01_C_0_0067;VxP_SpeedMA1.ActualSpeedFmt := DINT_TO_REAL(iMA01_C_0_0067) / 10000.0;VxP_SpeedMA1.CommandSpeed := qMA01_C_0_0006;VxP_SpeedMA1.CommandSpeedFmt := DINT_TO_REAL(qMA01_C_0_0006) / 10000.0;
(*enabling MasterAxis and setting command-speed*)qMasterAxis01.VMA_ENABLE := VxP_EnableMA1;VxP_EnableMA1Ack := iMasterAxis01.VMA_ENABLE_ACK;IF VxP_EnableMA1 THEN
qMA1_C6 := REAL_TO_DINT(VxP_CmdSpeedMA1*10000);END_IF
Fig. 4-22: Program implementation
Rexroth SYNAX 200 IndraLogic example program 4-15
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
4.5 Symbol configuration
To read or write the control data of the visualization units, the objects andglobal variable lists must be defined for the access in the IndraLogicsymbol configuration.
Open the option dialog in menu "Project \ Options". The option "Dumpsymbol entries" must be selected in the category "Symbol configuration".
IL-Dlg_Project-Option_SymbolConf.bmp
Fig. 4-23: IndraLogic options dialog
The second step is to configure the symbol file in dialog "Set objectattributes". This dialog is opened with button "Configure symbol file".
The configuration must be done as shown in the following table.
Option Global variables: HMI_Interface
Export variables of the object √Export data entries √Export structure components √Export array entries √Write access √
Fig. 4-24: Configuration of the symbol file for the objects and global variables
4-16 IndraLogic example program Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
IL-Dlg_Options-SymbolConf-Export.bmp
Fig. 4-25: Configuration of the symbol file
Note: A description about the configuration of the symbol file and thedifferent possibilities of the communication configuration canbe found in the section "3.6 Symbol file - Configuration of thesymbols to export".
If a communication channel was already configured, the PLC programcan be compiled and loaded to the motion control. If no communicationchannel is configured yet, it must be created as described in section "3.4Gateway configuration".
Rexroth SYNAX 200 IndraLogic example program 4-17
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
4.6 Expansion of the PLC program - Profibus DP
For the data exchange of motion control data between the VCPvisualization unit and the SYNAX PLC via the fieldbus interface someexpansions must be done in the PLC project. These are in detail
1. the configuration of the Profibus master and
2. the configuration of the VCP (Profibus slave).
Connection of the VCP via Profibus DPTo execute the fieldbus configuration all description files of the fieldbusmodules must be known to the "Target". The SYNAX expansioninstallation among other things contains the Profibus module files for
• the fieldbus master,
• the small operator terminal VCP,
• the fieldbus slave and
• the Reco Inline bus clamps,
• …
For the connection of the VCP Profibus device the module description file"Rx02081a.gsd" is necessary. This file is already available with theSYNAX expansion installation ("Target").
Configure the fieldbusTo configure the fieldbus the window of the PLC configuration in tab"Resource" of the project navigator must be opened. The Profibus master(Add DPM01_PC104) is added from entry "Control (PPC-R)" with thecontext menu (right mouse button) in the PLC configuration.
IL-Wnd_TargetConfig_Insert-DP-Master.bmp
Fig. 4-26: Fieldbus configuration: add Profibus master
GSD Datei
Add Profibus master
4-18 IndraLogic example program Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The following figures show the configuration of the Profibus mastermodule.
Therefore
• the station address of the fieldbus master module must be set in tab"DP Parameter" (in this example "1") and
• the desired Baudrate must be set in tab "Bus parameter" (in thisexample "1500,00 kBits/s").
IL-Wnd_TargetConfig_DP-Master.bmp
Fig. 4-27: Profibus master: base parameters
IL-Wnd_TargetConfig_DP-Master_Parameter.bmp
Fig. 4-28: Profibus master: DP parameters
Configure Profibus master
Rexroth SYNAX 200 IndraLogic example program 4-19
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
IL-Wnd_TargetConfig_DP-Master_BusParam.bmp
Fig. 4-29: Profibus master: bus parameters
4-20 IndraLogic example program Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Then the Profibus slave (VCP operator terminal...) can be linked with themaster with context menu (right mouse button) of entry "DPM01_PC104".
IL-Wnd_TargetConfig_Insert-DP-Slave.bmp
Fig. 4-30: Fieldbus configuration: add Profibus slave
The following figures show the configuration of the Profibus slave module.
Therefore
• the station address must be set to "10" in tab "DP Parameter",
• the input/output module "32 Byte consistent data I/O" must be selectedin tab "Inputs/outputs" and
• the parameter "ComServer" must be set to "ON" in tab "Userparameters".
IL-Wnd_TargetConfig_DP-Slave.bmp
Fig. 4-31: Profibus slave: base parameters
Add Profibus slave
Configure Profibus slave
Rexroth SYNAX 200 IndraLogic example program 4-21
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
IL-Wnd_TargetConfig_DP-Slave_Parameter.bmp
Fig. 4-32: Profibus slave: DP parameters
IL-Wnd_TargetConfig_DP-Slave_InOut.bmp
Fig. 4-33: Profibus slave: inputs/outputs
4-22 IndraLogic example program Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
IL-Wnd_TargetConfig_DP-Slave_UserParam.bmp
Fig. 4-34: Profibus slave: user parameters
After the described expansions are included to the PLC project, theproject can be compiled and loaded to the control. The project planningand programming work in the PLC project is completed now.
Rexroth SYNAX 200 IndraLogic example program 4-23
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
4.7 Expansion of the PLC program - DeviceNet
For the data exchange of motion control data between the VCPvisualization unit and the SYNAX PLC via the fieldbus interface DevcieNetsome expansions must be done in the PLC project. These are in detail
1. the fieldbus configuration,
2. importing the communication blocks and
3. the expansion of the PLC program.
Connection of a VCP via DeviceNetFor the fieldbus configuration all description files of the fieldbus modulesmust be known to the "Target". The SYNAX expansion installationcontains the DeviceNet module files for
• the fieldbus master.
• VCP device ("BT_DVNT.EDS")
• …
For the connection of the VCP DeviceNet device the module descriptionfile "BT_DVNT.EDS" with model "DeviceNet for BT-Series" is necessary.This file is already available with the SYNAX expansion installation("Target").
Configure the fieldbusTo configure the fieldbus the window of the PLC configuration in tab"Resource" of the project navigator must be opened. The DeviceNetmaster (Add DNM03_PC104) is added from entry "Control (PPC-R)" withthe context menu (right mouse button) of the PLC configuration.
IL-Wnd_TargetConfig_Insert-DN-Master.bmp
Fig. 4-35: Fieldbus configuration: add DeviceNet master
The following figures show the configuration of the DeviceNet mastermodule.
Therefore the parameters
EDS file
Add DeviceNet master
Configure DeviceNet master
4-24 IndraLogic example program Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
• "Baudrate" (in this example "500000 Baud") and
• "Address" (in this example "0")
must be set in tab "DeviceNet parameters".
IL-Wnd_TargetConfig_DN-Master.bmp
Fig. 4-36: DeviceNet master: base parameters
IL-Wnd_TargetConfig_DN-Master_Parameter.bmp
Fig. 4-37: DeviceNet master: DeviceNet parameters
Rexroth SYNAX 200 IndraLogic example program 4-25
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Then the DeviceNet slave (BT_DVNT.EDS...) can be linked with themaster with context menu (right mouse button) of entry "DNM03_PC104".
IL-Wnd_TargetConfig_Insert-DN-Slave.bmp
Fig. 4-38: Fieldbus configuration: add DeviceNet slave
The following figures show the configuration of the DeviceNet slavemodule.
Therefore
• the station address must be set in tab "DeviceNet Parameter" (in thisexample "4") and
• the default settings in tab "I/O connection configuration"
• Selected I/O connection: "Poll"
• Configured input connections: "5 Bytes Input1"
• Configured output connections: "2 Bytes Output1"
must be assumed.
IL-Wnd_TargetConfig_DN-Slave.bmp
Fig. 4-39: DeviceNet slave: base parameters
Add DeviceNet slave
Configure DeviceNet slave
4-26 IndraLogic example program Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
IL-Wnd_TargetConfig_DN-Slave_Parameter.bmp
Fig. 4-40: DeviceNet slave: DeviceNet parameters
IL-Wnd_TargetConfig_DN-Slave_InOut.bmp
Fig. 4-41: DeviceNet slave: I/O connection configuration
Rexroth SYNAX 200 IndraLogic example program 4-27
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Add DeviceNet libaryIn the next step the library must be included to the DevcieNetcommunication. Open the library manager in tab "Resource" of the projectnavigator. Select "Additional library..." in menu "Insert".
IL_Wnd_LibManager_insert_lib.bmp
Fig. 4-42: Add library
Select file "RIL_DeviceNet.lib" in the following file selection dialog fromdirectory "...\IndraLogic\Targets\SYNAX200_ML_13VRS_PPC_R\Lib\"and confirm the selection with "Open".
IL_Wnd_LibManager_insert_lib-select.bmp
Fig. 4-43: Select library file
Include RIL_DeviceNet.lib
4-28 IndraLogic example program Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Import communication moduleThe data between PLC and IndraControl VCP is transmitted via "DevicNet- Explicit Message".
In the next step the example communication module that controls thedifferent Explicit Messages between PLC and VCP is imported.
Note: This is an example function block that is realized as sequence(Sequential function chart SFC). It is not strictly recommendedto use this function block. You can also create an owncommunication module that controls the data exchangebetween PLC and VCP.
Note: In the following it is assumed that you use the examplecommunication module.
The communication module can be found in the ZIP archive ofthe example application in "Rexroth SYNAX 200 13VRS -Product CD".
To import the example communication module select entry "Import" ofmenu "Project".
Select the export file of the communication module (VCP_DN.EXP) in theappearing dialog "Import project" and confirm the selection with "Open".
IL_Menu_Project_Import_DN.bmp
Fig. 4-44: Import communication module
Rexroth SYNAX 200 IndraLogic example program 4-29
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
IL_Menu_Project_Import_DN_FB-Comm.bmp
Fig. 4-45: Selection of the DeviceNet - communication module
After the import the example communication module can be found in tab"POUs” of the project navigator at "VCP_DN".
IL_Wnd_FB_DN.bmp
Fig. 4-46: DeviceNet communication module
4-30 IndraLogic example program Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Expansion of the PLC program - DeviceNetThe last step is the expansion in the deceleration and in theimplementation of the PLC program. Therefore the arrays for the poll I/Oconnection, the data array that describes the maximum 5000 Byte of theVCP memory and some auxiliary variables for data conversion andcontrol of the communication module must be insert to the deceleration.
Figure "Fig. 4-47: Example PLC program - DeviceNet" shows the PLCprogram in the IndraLogic user interface. Figures "Fig. 4-48: Extendeddeceleration for DeviceNet " and "Fig. 4-49: Program expansion for theDeviceNet " lists the deceleration and the program expansion for thepreparation of the data for the data array, the data converting and the callof the communication module.
IL_Wnd_PLC_PRG_DN.bmp
Fig. 4-47: Example PLC program - DeviceNet
Rexroth SYNAX 200 IndraLogic example program 4-31
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
PROGRAM VisuProgVAR
(* --- VCP data for DeviceNet communication --- *)(* VCP-Data exchange area*)VCPVar :ARRAY[0..4999] OF BYTE;
(*Poll-I/O-Connection*)VCP_In AT %IB5000 :ARRAY[0..4] OF BYTE; (*Produced Data -Input from VCP*)VCP_Out AT %QB5000 :ARRAY[0..1] OF BYTE; (*Consumed Data - Output to VCP*)
(*sample function block for VCP-communication*)fbVCP_DN_Comunication :vcp_dn_sfc; (*instance of sample function block for DeviceNet-communication*)bEnableCom :BOOL := TRUE; (*Enable VCP communication*)usiMAC_ID :USINT := 4; (*DeviceNet-address of VCP (MAC-ID)*)usiValid_Bytes_To_VCP :UINT := 22; (*Number of bytes to transmit maximum 4998 (2 bytes more than Nbr. of
used bytes!!) *)bResetError :BOOL; (*Reset VCP-communication error*)bActiveCom :BOOL; (*Communication to VCP active*)bErrorCom :BOOL; (*VCP communication error*)DNerror :INT; (*VCP communication error - counter*)
(*VCP display value*)byVCP_MABinaryData :BYTE; (*Binary command and status signal from and to VCP*)dwCommandSpeed :DWORD; (*Variable for splitting real-values*)dwActualSpeed :DWORD; (*Variable for splitting real-values*)prCommandSpeed :POINTER TO DWORD;(*Pointer to command speed*)prActualSpeed :POINTER TO DWORD;(*Pointer to actual speed*)
END_VAR
Fig. 4-48: Extended deceleration for DeviceNet communication
(*MasterAxis 1*)(*Copying and formating MasterAxis-Data from Processdatachannel*)VxP_SpeedMA1.ActualSpeed := iMA01_C_0_0067;VxP_SpeedMA1.ActualSpeedFmt := DINT_TO_REAL(iMA01_C_0_0067) / 10000.0;VxP_SpeedMA1.CommandSpeed := qMA01_C_0_0006;VxP_SpeedMA1.CommandSpeedFmt:= DINT_TO_REAL(qMA01_C_0_0006) / 10000.0;
(*enabling MasterAxis and setting command-speed*)qMasterAxis01.VMA_ENABLE := VxP_EnableMA1;VxP_EnableMA1Ack := iMasterAxis01.VMA_ENABLE_ACK;IF VxP_EnableMA1 THEN
qMA01_C_0_0006 := REAL_TO_DINT(VxP_CmdSpeedMA1*10000);END_IF
(* ############################################################ *)(* - - - - - - - - - - *)(* Extension for VCP communication via DeviceNet *)(* - - - - - - - - - - *)(* VCP-DeviceNet *)
(* - prepare data for VCP - *)byVCP_MABinaryData.0 := VxP_EnableMA1; (*set state of command 'enable master axis 1' for VCP *)byVCP_MABinaryData.1 := VxP_EnableMA1Ack; (*set state of command 'enable master axis 1 ack.' for VCP *)prActualSpeed := ADR(VxP_SpeedMA1.ActualSpeedFmt); (* Set Pointer to actual speed *)prCommandSpeed := ADR(VxP_CmdSpeedMA1); (* Set Pointer to command speed *)dwActualSpeed := prActualSpeed^; (*get actual speed as DWORD*)dwCommandSpeed := prCommandSpeed^; (*get command speed as DWORD*)
(*copy Data to VCP-Byte-Array*)VCPVar[12] := byVCP_MABinaryData;VCPVar[14] := DWORD_TO_BYTE(dwCommandSpeed); (*Lowbyte of Lowword of 'VxP_CmdSpeedMA1'*)VCPVar[15] := DWORD_TO_BYTE(SHR(dwCommandSpeed,8)); (*Highbyte of Lowword of 'VxP_CmdSpeedMA1'*)
4-32 IndraLogic example program Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VCPVar[16] := DWORD_TO_BYTE(SHR(dwCommandSpeed,16));(*Lowbyte of Highword of 'VxP_CmdSpeedMA1'*)VCPVar[17] := DWORD_TO_BYTE(SHR(dwCommandSpeed,24));(*Highbyte of Highword of 'VxP_CmdSpeedMA1'*)VCPVar[18] := DWORD_TO_BYTE(dwActualSpeed); (*Lowbyte of Lowword of'VxP_SpeedMA1.ActualSpeedFmt'*)VCPVar[19] := DWORD_TO_BYTE(SHR(dwActualSpeed,8)); (*Highbyte of Lowword of'VxP_SpeedMA1.ActualSpeedFmt'*)VCPVar[20] := DWORD_TO_BYTE(SHR(dwActualSpeed,16)); (*Lowbyte of Highword of'VxP_SpeedMA1.ActualSpeedFmt'*)VCPVar[21] := DWORD_TO_BYTE(SHR(dwActualSpeed,24)); (*Highbyte of Highword of'VxP_SpeedMA1.ActualSpeedFmt'*)
(*Communication DeviceNet - VCP*)fbVCP_DN_Comunication(
Enable := bEnableCom,DeviceNumber := 0,MAC_ID := usiMAC_ID,DataSizeVCP := usiValid_Bytes_To_VCP,Reset_Error := bResetError,data_in := VCP_In,data_out := VCP_Out,TVar := VCPVar,Active => bActiveCom,Error => bErrorCom,ErrorNo => DNerror);
(* <<< get data from VCP >>> *)(*copy Data from VCP-Byte-Array*)
byVCP_MABinaryData := VCPVar[12]; (*get state of command 'enable master axis 1' from VCP *)dwCommandSpeed := IL_ByteToDWord
(Byte0 := VCPVar[14], (*Lowbyte of Lowword of 'VxP_CmdSpeedMA1'*)Byte1 := VCPVar[15], (*Highbyte of Lowword of 'VxP_CmdSpeedMA1'*)Byte2 := VCPVar[16], (*Lowbyte of Highword of 'VxP_CmdSpeedMA1'*)Byte3 := VCPVar[17]); (*Highbyte of Highword of 'VxP_CmdSpeedMA1'*)
(* - prepare data from VCP - *)prCommandSpeed^ := dwCommandSpeed; (*get new command speed from VCP*)VxP_EnableMA1 := byVCP_MABinaryData.0; (*get state of command 'enable master axis 1' from VCP *)
Fig. 4-49: Program expansion for the DeviceNet communication
After the described expansions are included to the PLC project, theproject can be compiled and loaded to the control. The project planningand programming work in the PLC project is terminated now.
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - Ethernet 5-1
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
5 IndraControl VCP – BRC symbolic - Ethernet
5.1 General information
This section describes the connection of a IndraControl VCP05 device toan IndraLogic PLC of the SYNAX motion control. The communicationtakes place with the control protocol "BRC symbolic" via Ethernetconnection.
Prerequisite for this section are
• the PLC program from chapter "4 IndraLogic example program",
• and the knowledge from chapter "3 Communication".
The aim of this section is to control and visualize data of the virtual masteraxis 1 of the SYNAX motion control, as well as the use of the projectplanning interface "VI-Composer" for the creation of screens for the VCPdevices. The data exchange takes place via the PLC variables for
• the enabling of the virtual master axis (".VxP_EnableMA1"),
• the acknowledge of the enabling for the virtual master axis(".VxP_EnableMA1Ack"),
• the speed command value (".VxP_CmdSpeedMA1") and
• the actual speed (".VxP_SpeedMA1.ActualSpeedFmt")
that are read or written by the application of the IndraControl VCP device.
"Fig. 5-1: Example VCP connection - overview" shows the physicalstructure of a serial Ethernet or the fieldbus coupling of a IndraControlVCP05 device to the IndraLogic PLC of the SYNAX control. This sectiononly describes the connection via the Ethernet interface.
Overview_Sample_IndraControl-VCP.bmp
Fig. 5-1: Example VCP connection - overview
5-2 IndraControl VCP – BRC symbolic - Ethernet Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
5.2 Creating a project
The "VI-Composer" is started with the link that was created in the startmenu in "Programs \ Rexroth" or on the "Desktop" at the installation. Afterstarting the application the dialog for creating a new project folder is calledwith menu "File - New - Project folder".
The first step is to select the type of the VCP device
• VCP02,
• VCP05,
• VCP08,
• VCP11,
• VCP11_P,
• VCP20,
• VCP25 or
• VCP25_P
from the folder "ENG" (English) or "GER" (German). For our example weselect device VCP05 in folder "ENG". Depending on the folder the VCPdevice is selected from, the standard masks are displayed in thecorresponding language per default. It is always possible to add furtherlanguages after the creation of the project.
VI-Composer_Dlg_NewProject.bmp
Fig. 5-2: Selection of the VCP device type, the language and the project folder
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - Ethernet 5-3
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The second step is to select or enter a target directory and the name ofthe project folder.
VI-Composer_Dlg_NewProject-FileName-ETH-BRC.bmp
Fig. 5-3: Name and storage directory of the project folder
If dialog "Create project folder (place to store)" is confirmed the project iscreated.
5-4 IndraControl VCP – BRC symbolic - Ethernet Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
5.3 Connection settings "Ethernet"
After the project was created the connection settings must be configuredthat are required for the communication between the visualization unit andthe motion control. The following steps must be executed:
• Insert communication protocol and select it for processing as follows.
• Click to "Communication" with the right mouse button and select menuitem "New controller" in the menu.
VI-Composer_Wnd_NewController_BRC_1.bmp
Fig. 5-4: Add controller
• Select protocol "BRC-Symbolic" in dialog "Protocol selection".
VI-Composer_Wnd_NewController_BRC_2.bmp
Fig. 5-5: Protocol selection
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - Ethernet 5-5
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
• Specify a name for the communication connection (in this example"BRC symbolic") in dialog "Controller create" and confirm it.
VI-Composer_Wnd_NewController_BRC_3.bmp
Fig. 5-6: Specify a name for the communication connection
• Set protocol parameters.
The communication parameters are set with dialogs "Fig. 5-7: Connectionsettings BRC protocol step 1", "Fig 5-8: Connection settings BRC protocolstep 2" and "Fig. 5-9: Dialog connection settings Ethernet protocol".
At the configuration of the communication parameters, it must beconsidered that the configured IP address must agree with the IP addressthat is set on the control.
The IP address of the control can be configured with the "S1" buttonmenu or via SynTop.
The free configuration of variables for the data exchange with the controlis not necessary with the BRC protocol. A variable list (IndraLogic symbolfile) is prerequisited. It is important that the symbol file was created fromthe IndraLogic project that is also stored in the control. The creation of thesymbol file can be found in chapter "3 Communication".
The following figures show the configurations that have to be set for ourexample in the dialog of the VI-Composer.
VI-Composer_Dlg_ProtocolParameter_BRC_1.bmp
Fig. 5-7: Connection settings BRC protocol step 1
In the context menu of entry "BRC symbolic" (click with right mousebutton on "BRC symbolic") the menu item "Parameters" is selected.Thereby the dialog "Connection settings BRC protocol" is opened.
Communication parameters:
5-6 IndraControl VCP – BRC symbolic - Ethernet Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_ProtocolParameter_ETH_BRC.bmp
Fig 5-8: Connection settings BRC protocol step 2
The communication medium is selected in menu "Transport layer". In thisexample "Ethernet".
The name of the communication connection is entered in the input field"Connection name". In this example "IL-SYNAX".
The file name of the symbol file is entered in the input field "variable list(symbol file *.sym)" or it is selected with button "...".
The dialog "Connection settings Ethernet protocol" is opened with button"Parameters".
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - Ethernet 5-7
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_ProtocolParameter-Settings_ETH_BRC.bmp
Fig. 5-9: Dialog connection settings Ethernet protocol
Now the IP address of the control is set for the created connection indialog "Connection settings Ethernet protocol".
The dialog "Connection settings Ethernet protocol" is closed with theacknowledge of the input with the "OK" button. The configuration that isset in dialog "Connection settings BRC protocol“ must be confirmed withthe "OK" button.
5-8 IndraControl VCP – BRC symbolic - Ethernet Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The variable list contains all variables that were exported in the configuredsymbol file (also see "3.6 Symbol file") and that are available for thecreation of the VI-Composer project. The following figure shows thevariable list from our PLC example program.
VI-Composer_Wnd_Protocol-SymbolicName_BRC_1.bmp
Fig. 5-10: Variable list for the control protocol
Variable list:
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - Ethernet 5-9
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
5.4 Project settings
After the configuration of the Ethernet connection some project settingsmust be made before creating screen masks.
The project settings refer to
• the polling area and
• the allocation of languages and communication connection to theproject.
A project is built with the allocation of the available languages and thecontrol to the project. At the compilation of a project several languagescan be insert, but only one communication connection.
To activate the languages of the project the project must be selected inthe project folder of the project management. In this example "Firstproject".
The menu "Language" is selected in the window "Properties" afterwards,then the language that is necessary for the project must be selected at"Available languages" and must be added with the navigation button at"Activated languages".
If several languages were added, the run-up language must be selectedafterwards.
VI-Composer_Wnd_Edit-Project_Compile_BRC_2.bmp
Fig. 5-11: Activating the language
To activate the communication connection of the project the project mustbe selected in the project folder of the project management. In thisexample "First project".
The menu "Communication" is selected in the window "Properties"afterwards, then the protocol that is necessary for the project must beselected at "Available protocols" and must be added with the navigationbutton at "Activated protocols".
5-10 IndraControl VCP – BRC symbolic - Ethernet Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Wnd_Edit-Project_Compile_BRC_1.bmp
Fig. 5-12: Activating the communication protocol
The polling area serves for cyclic communication of the operator devicewith the control and must be enabled for the read access.
In our example one single variable ("...with 3 single variables") is allocatedfor each zone of the polling area. The polling area consists of thefollowing ranges
• coordination byte (data type 'BYTE'),
• message channel (data type 'WORD') and
• LED control (data type 'DWORD').
Polling area:
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - Ethernet 5-11
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The coordination byte is read by the operator device and written by thecontrol.
The message channel serves for displaying messages from the messagesystem of the operator device.
With the variable for the LED control the LEDs on the operator devicescan be set to the operation for "Steady light" or "Flashing light". Thatmeans two bits are reserved for each LED in the allocated variable.
The variables are allocated as shown in "Fig. 5-13: System parameters -configure polling area". To open the window "Variable" you have to clickwith the mouse on the symbol for opening a file. Afterwards the variablemust be selected and confirmed with a double-click. Also see "Fig. 5-14:Dialog variable selection".
Note: It is not necessary to configure the polling area.
VI-Composer_Dlg_PollingArea-Selected_Ser.bmp
Fig. 5-13: System parameters - configure polling area
VI-Composer_Dlg_VariableSelection_BRC.bmp
Fig. 5-14: Dialog variable selection
Coordination byte:
Message channel:
LED control:
5-12 IndraControl VCP – BRC symbolic - Ethernet Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
After the configuration of the project that is loaded to the VCP05 device,the terminal file must be defined.
Therefore you have to change to list entry "Project management" in theproject folder and select your project. In this example "First project".
The menu "Terminal file" is selected in the window "Properties"afterwards and the path and the file name of the project are entered to theinput field "S3/CB file". Alternatively the button "Select" can also be used.
VI-Composer_Wnd_Edit-Project_ETH_BRC.bmp
Fig. 5-15: Configuration of VI-Composer projects
Define terminal file:
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - Ethernet 5-13
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
5.5 Creating a screen
For the creation of a screen an existing screen is changed according tothe requirements. Therefore you have to change to list entry "Languages \First language \ Screens" in the tree of the project folder and select entry"Main screen".
To open the main screen you have to click to "Main screen" with the rightmouse button and select menu item "Edit" in the context menu.
VI-Composer_Wnd_Edit-LanguageScreen_BRC.bmp
Fig. 5-16: Management of the screens for the language
5-14 IndraControl VCP – BRC symbolic - Ethernet Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Wnd_Edit-LanguageScreen-Delete.bmp
Fig. 5-17: Standard display of the main screen
Objects are insert with the MDI screen (figure "Fig. 5-18: Toolbar"Tools"").
VI-Composer_Wnd_ToolbarEdit.bmp
Fig. 5-18: Toolbar "Tools"
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - Ethernet 5-15
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
"Fig. 5-19: Objects - "Static text"" and "Fig. 5-20: Objects – "Variable""specifies the alternative configuration settings of the used objects for themask. The mask layout is displayed in "Fig. 5-21: Regenerated masklayout".
The figures "Fig. 5-22: Configuration of a variable element" and "Fig. 5-23: Configuration of the display type" exemplary show the configurationsettings for the output object that is specified with "4".
Object no. Content
1 Master axis 1
2 Enable (0/1):
5 Cmd. speed:
7 Act. Speed:
Fig. 5-19: Objects - "Static text"
type editobjectno.
variable display format
field type format limits
text list
documen-tation value
3 .VxP_EnableMA1 binary number input /cyclic
number of bits:1
preliminaryresult: 0
1
4 .VxP_EnableMA1Ack selection text output /cyclic
field length: 3
height: 1
text list:"off/on"
6 .VxP_CmdSpeedMA1 floating-pointnumber
input /cyclic
field length: 9
decimal placeabsolute: 3
lower: -3000.000
upper:3000.000
99999.999
8 .VxP_SpeedMA1.ActualSpeedFmt
floating-pointnumber
output /cyclic
field length: 9
decimal placeabsolute: 3
99999.999
Fig. 5-20: Objects – "Variable"
5-16 IndraControl VCP – BRC symbolic - Ethernet Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Wnd_LanguageScreen-Ready-Index.bmp
Fig. 5-21: Regenerated mask layout
VI-Composer_Dlg_EditVariable_BRC.bmp
Fig. 5-22: Configuration of a variable element
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - Ethernet 5-17
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_EditVarType-Textlist.bmp
Fig. 5-23: Configuration of the display type
5-18 IndraControl VCP – BRC symbolic - Ethernet Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
5.6 Loading a project
After the screen was created the project can be compiled with the toolbar("Fig. 5-24: Main toolbar") and can be transmitted to the operator device.
VI-Composer_Wnd_ToolbarTools.bmp
Fig. 5-24: Main toolbar
At the compilation and the creation of the file for the download errors andwarnings may not occur. See "Fig. 5-25: Project compiled without error".
VI-Composer_Wnd_Edit-Project_Compile-Info_ETH_BRC.bmp
Fig. 5-25: Project compiled without error
Now the project can be loaded to the VCP. For this you have to click onthe icon "Download/Transfer" in the Main toolbar (see Fig. 5-24: Maintoolbar).
Then the IP address of the VCP must be entered in dialog "Create INI fileand transfer files" at the input filed for the IP address. The FTP downloadof the project to the VCP is started with button "Start".
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - Ethernet 5-19
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_DownloadProject_ETH_BRC.bmp
Fig. 5-26: Configure download and start
While the FTP transmission is active, the "OK" button of dialog "FTPtransmission" remains grey and the current state of the transmission isdisplayed. After the transmission is terminated, the "OK" button is re-activated automatically and the VCP should execute a reboot.
5-20 IndraControl VCP – BRC symbolic - Ethernet Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_DownloadProject-Active_BRC.bmp
Fig. 5-27: Download dialog – Download active
If the PLC project is on the control, the communication connection isestablished and the communication settings are executed, the masteraxis can be activated with setting a speed command value and enablingthe master axis.
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - serial 6-1
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
6 IndraControl VCP – BRC symbolic - serial
6.1 General information
This section describes the connection of a IndraControl VCP05 device toan IndraLogic PLC of the SYNAX motion control. The communicationtakes place with the control protocol "BRC symbolic" via a serial
• RS232,
connection. The communication via a
• RS422 or
• RS485
connection is also possible.
Note: Multi master communication is not possible with RS485. Thatmeans only one VCP device can be connected to the RS485connection.
Prerequisites for this section are
• the PLC program from chapter "4 IndraLogic example program",
• and the knowledge from chapter "3 Communication".
The aim of this section is to control and visualize data of the virtual masteraxis 1 of the SYNAX motion control, as well as the use of the projectplanning interface "VI-Composer" for the creation of screens for the VCPdevices. The data exchange takes place via the PLC variables for
• the enabling of the virtual master axis (".VxP_EnableMA1"),
• the acknowledge of the enabling for the virtual master axis(".VxP_EnableMA1Ack"),
• the speed command value (".VxP_CmdSpeedMA1") and
• the actual speed (".VxP_SpeedMA1.ActualSpeedFmt")
that are read or written by the application of the IndraControl VCP device.
"Fig. 6-1: Example VCP connection - overview" shows the physicalstructure for the serial or the fieldbus coupling that is necessary. Thissection only describes the connection via the serial interface.
6-2 IndraControl VCP – BRC symbolic - serial Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Overview_Sample_IndraControl-VCP.bmp
Fig. 6-1: Example VCP connection - overview
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - serial 6-3
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
6.2 Creating a project
The "VI-Composer" is started with the link that was created in the startmenu in "Programs \ Rexroth" or on the "Desktop" at the installation. Afterstarting the application the dialog for creating a new project folder is calledwith menu "File - New - Project folder".
The first step is to select the type of the VCP device
• VCP02,
• VCP05,
• VCP08,
• VCP11,
• VCP11_P,
• VCP20,
• VCP25 or
• VCP25_P
from the folder "ENG" (English) or "GER" (German). For our example weselect device VCP05 in folder "ENG". Depending on the folder the VCPdevice is selected from, the standard masks are displayed in thecorresponding language per default. It is always possible to add furtherlanguages after the creation of the project.
VI-Composer_Dlg_NewProject.bmp
Fig. 6-2: Selection of the VCP device type, the language and the project folder
6-4 IndraControl VCP – BRC symbolic - serial Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The second step is to select or enter a target directory and the name ofthe project folder.
VI-Composer_Dlg_NewProject-FileName-SER-BRC.bmp
Fig. 6-3: Name and storage directory of the project folder
If dialog "Create project folder (place to store)" is confirmed the project iscreated.
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - serial 6-5
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
6.3 Connection settings "Serial"
After the project was created the connection settings must be configuredthat are required for the communication between the visualization unit andthe motion control. The following steps must be executed:
• Insert communication protocol and select it for processing as follows.
• Click to "Communication" with the right mouse button and select menuitem "New controller" in the menu.
VI-Composer_Wnd_NewController_BRC_1.bmp
Fig. 6-4: Add controller
• Select protocol "BRC symbolic" in dialog "Protocol selection".
VI-Composer_Wnd_NewController_BRC_2.bmp
Fig. 6-5: Protocol selection
• Specify a name for the communication connection (in this example"BRC symbolic") in dialog "Controller create" and confirm it.
6-6 IndraControl VCP – BRC symbolic - serial Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Wnd_NewController_BRC_3.bmp
Fig. 6-6: Specify a name for the communication connection
• Set protocol parameters.
The communication parameters are set with dialogs "Fig. 6-7: Connectionsettings BRC protocol step 1", "Fig. 6-8: Connection settings BRCprotocol step 2" and "Fig. 6-9: Dialog connection settings SIS protocol".
The following settings are fixed:
• the data bits (8),
• the stop bits (1),
• the parity (even),
• the byteorder (Motorola) and
• the control type (standard)
The baudrate (e.g., 38400 Baud) must correspond with the PPC setting(Fig. 6-10). The configuration for the "Delay until connection set-up" and"Maximum waiting time for response" remain unchanged ("Standard").
The free configuration of variables for the data exchange with the controlis not possible with the BRC protocol. A variable list (IndraLogic symbolfile) is necessary. It is important that the symbol file was created for theIndraLogic project that is also stored in the control. The creation of thesymbol file can be found in chapter "3 Communication".
The following figures "Fig. 6-7: Connection settings BRC protocol step 1","Fig. 6-8: Connection settings BRC protocol step 2" and "Fig. 6-9: Dialogconnection settings SIS protocol" show the configurations that have to beset for our example in the dialog of the VI-Composer. In "Fig. 6-10:SYNAX interface parameter" the parameters of the SYNAX control arelisted that must be configured with the "S1" button menu or with SynTop.
• Click to "BRC symbolic" with the right mouse button and select menuitem "Parameters" in the menu.
Communication parameters:
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - serial 6-7
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_ProtocolParameter_BRC_1.bmp
Fig. 6-7: Connection settings BRC protocol step 1
The name of the communication connection is entered in the input field"Connection name". In this example "IL-SYNAX".
The file name of the symbol file is entered in the input field "Variable list(symbol file *.sym)" or is selected with button "...".
The dialog "Connection settings SIS protocol" is opened with button"Parameters".
VI-Composer_Dlg_ProtocolParameter _BRC.bmp
Fig. 6-8: Connection settings BRC protocol step 2
6-8 IndraControl VCP – BRC symbolic - serial Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_ProtocolParameter-Settings_SER _BRC.bmp
Fig. 6-9: Dialog connection settings SIS protocol
Parameter –serial interface
Interface X10 Interface X16 Value
Baudrate Y-0-0003 Y-0-0008 38400
Mode Y-0-0004 Y-0-0009 232 / 422 / 485
Device type Y-0-0005 Y-0-0010 SynTop: 4
via S1 button: SIS
Fig. 6-10: SYNAX interface parameter
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - serial 6-9
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The variable list contains all variables that were exported in the configuredsymbol file (also see "3.6 Symbol file") and that are available for thecreation of the VI-Composer project. The following figure shows thevariable list from our PLC example program.
VI-Composer_Wnd_Protocol-SymbolicName_BRC_1.bmp
Fig. 6-11: Variable list for the control protocol
Variable list:
6-10 IndraControl VCP – BRC symbolic - serial Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
6.4 Project settings
After the configuration of the serial connection some project settings mustbe made before creating screen masks.
The project settings refer to
• the polling area and
• the allocation of languages and communication connection to theproject.
A project is built with the allocation of the available languages and thecontrol to the project. At the compilation of a project several languagescan be insert, but only one communication connection.
To activate the languages of the project the project must be selected inthe project folder of the "Project management". In this example "Firstproject".
The menu "Language" is selected in the window "Properties" afterwards,then the language that is necessary for the project must be selected at"Available languages" and must be added with the navigation button at"Activated languages".
If several languages were added, the run-up language must be selectedafterwards.
VI-Composer_Wnd_Edit-Project_Compile_BRC_2.bmp
Fig. 6-12: Activating the language
To activate the communication connection of the project the project mustbe selected in the project folder of the "Project management". In thisexample "First project".
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - serial 6-11
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The menu "Communication" is selected in the window "Properties"afterwards, then the protocol that is necessary for the project must beselected at "Available protocols" and must be added with the navigationbutton at "Active protocols".
VI-Composer_Wnd_Edit-Project_Compile_BRC_1.bmp
Fig. 6-13: Activating the communication protocol
The polling area serves for cyclic communication of the operator devicewith the control and must be enabled for the read access.
To open the dialog for the allocation of the variables to the zones of thepolling area, change to entry "Additional functions" in the project folderand select list entry "Polling area" in window "Properties".
In our example one single variable ("...with 3 single variables") is allocatedfor each zone of the polling area. The polling area consists of thefollowing ranges
• coordination byte (data type 'BYTE'),
• message channel (data type 'WORD') and
• LED control (data type 'DWORD').
Polling area:
6-12 IndraControl VCP – BRC symbolic - serial Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The coordination byte is read by the operator device and written by thecontrol.
The message channel serves for displaying messages from the messagesystem of the operator device.
With the variable for the LED control the LEDs on the operator devicescan be set to the operation for "Steady light" or "Flashing light". Thatmeans two bits are reserved for each LED in the allocated variable.
The variables are allocated as shown in "Fig. 6-15: Dialog variableselection". To open the window "Variable" you have to click with themouse on the symbol for opening a file. Afterwards the variable must beselected and confirmed with a double-click. Also see "Fig. 6-15: Dialogvariable selection".
Note: It is not necessary to configure the polling area.
VI-Composer_Dlg_PollingArea-Selected_Ser.bmp
Fig. 6-14: System parameters - configure polling area
VI-Composer_Dlg_VariableSelection_BRC.bmp
Fig. 6-15: Dialog variable selection
Coordination byte:
Message channel:
LED control:
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - serial 6-13
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
After the configuration of the project that is loaded to the VCP05 device,the terminal file must be defined.
Therefore you have to change to list entry "Project management" in theproject folder and select your project. In this example "First project".
The menu "Terminal file" is selected in the window "Properties"afterwards and the path and the file name of the project are entered to theinput field "S3/CB file". Alternatively the button "Select" can also be used.
VI-Composer_Wnd_Edit-Project_BRC.bmp
Fig. 6-16: Configuration of VI-Composer projects
Define terminal file:
6-14 IndraControl VCP – BRC symbolic - serial Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
6.5 Creating a screen
For the creation of a screen an existing screen is changed according tothe requirements. Therefore you have to change to list entry "Languages \First language \ Screens" in the tree of the project folder and select entry"Main screen".
To open the main screen you have to click to "Main screen" with the rightmouse button and select menu item "Edit" in the context menu.
VI-Composer_Wnd_Edit-LanguageScreen_BRC.bmp
Fig. 6-17: Management of the screens for the language
Objects are insert with the MDI screen (figure "Fig. 6-18: Toolbar "Tools").
VI-Composer_Wnd_ToolbarEdit.bmp
Fig. 6-18: Toolbar "Tools"
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - serial 6-15
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
"Fig. 6-19: Objects - "Static text"" and "Fig. 6-20: Objects - "Variable""specifies the alternative configuration settings of the used objects for themask. The mask layout is displayed in "Fig. 6-21: Regenerated masklayout".
The figures "Fig. 6-22: Configuration of a variable element" and "Fig. 6-23: Configuration of the display type" exemplary show the configurationsettings for the output object that is specified with "4".
Object no. Content
1 Master axis 1
2 Enable (0/1):
5 Cmd. speed:
7 Act. Speed:
Fig. 6-19: Objects - "Static text"
type editobjectno.
variable display format
field type format limits
text list
documen-tation value
3 .VxP_EnableMA1 binary number input /cyclic
number of bits:1
preliminaryresult: 0
1
4 .VxP_EnableMA1Ack selection text output /cyclic
field length: 3
height: 1
text list:"off/on"
6 .VxP_CmdSpeedMA1 floating-pointnumber
input /cyclic
field length: 9
decimal placeabsolute: 3
lower: -3000.000
upper:3000.000
99999.999
8 .VxP_SpeedMA1.ActualSpeedFmt
floating-pointnumber
output /cyclic
field length: 9
decimal placeabsolute: 3
99999.999
Fig. 6-20: Objects - "Variable"
VI-Composer_Wnd_LanguageScreen-Ready-Index.bmp
Fig. 6-21: Regenerated mask layout
6-16 IndraControl VCP – BRC symbolic - serial Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_EditVariable_BRC.bmp
Fig. 6-22: Configuration of a variable element
VI-Composer_Dlg_EditVarType-Textlist.bmp
Fig. 6-23: Configuration of the display type
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - serial 6-17
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
6.6 Loading a project
After the screen was created the project can be compiled with the toolbar("Fig. 6-24: Main toolbar ") and can be transmitted to the operator device.
VI-Composer_Wnd_ToolbarTools.bmp
Fig. 6-24: Main toolbar
At the compilation and the creation of the file for the download errors andwarnings may not occur. See "Fig. 6-25: Project compiled without error".
VI-Composer_Wnd_Edit-Project_Compile-Info_BRC.bmp
Fig. 6-25: Project compiled without error
Now the project can be loaded to the VCP. For this you have to click onthe icon "Download/Transfer" in the Main toolbar (see Fig. 6-24: Maintoolbar)
Then the IP address of the VCP must be entered in dialog "Create INI fileand transfer files" at the input field for the IP address. The FTP downloadof the project to the VCP is started with button "Start".
6-18 IndraControl VCP – BRC symbolic - serial Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_DownloadProject_SER_BRC.bmp
Fig. 6-26: Configure download and start
While the FTP transmission is active, the "OK" button of dialog "FTPtransmission" remains grey and the current state of the transmission isdisplayed. After the transmission is terminated, the "OK" button is re-activated automatically and the VCP should execute a reboot.
Rexroth SYNAX 200 IndraControl VCP – BRC symbolic - serial 6-19
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_DownloadProject-Active_BRC.bmp
Fig. 6-27: Download Dialog – Download aktiv
If the PLC project is on the control, the communication connection isestablished and the communication settings are executed, the masteraxis can be activated with setting a speed command value and enablingthe master axis.
6-20 IndraControl VCP – BRC symbolic - serial Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Rexroth SYNAX 200 IndraControl VCP - BRC symbolic - Profibus DP 7-1
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
7 IndraControl VCP - BRC symbolic - Profibus DP
7.1 General information
This section describes the connection of a IndraControl VCP05 device toan IndraLogic PLC of the SYNAX motion control. The communicationtakes place with the control protocol "BRC symbolic" via Profibus DPconnection.
Prerequisites for this section are
• the PLC program from chapter "4 IndraLogic example program",
• and the knowledge from chapter "3 Communication".
The aim of this section is to control and visualize data of the virtual masteraxis 1 of the SYNAX motion control, as well as the use of the projectplanning interface "VI-Composer" for the creation of screens for the VCPdevices. The data exchange takes place via the PLC variables for
• the enabling of the virtual master axis (".VxP_EnableMA1"),
• the acknowledge of the enabling for the virtual master axis(".VxP_EnableMA1Ack"),
• the speed command value (".VxP_CmdSpeedMA1") and
• the actual speed (".VxP_SpeedMA1.ActualSpeedFmt")
that are read or written by the application of the IndraControl VCP device.
"Fig. 7-1: Example VCP connection - overview" shows the physicalstructure of a serial, Ethernet or fieldbus coupling of a IndraControlVCP05 device to the IndraLogic PLC of the SYNAX control. This sectiononly describes the connection via the fieldbus "Profibus DP".
7-2 IndraControl VCP - BRC symbolic - Profibus DP Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Overview_Sample_IndraControl-VCP.bmp
Fig. 7-1: Example VCP connection - overview
Note: At the fieldbus connection the configured data length of the I/Ocoupling does not limit the number of the transmittedvisualization data.
Rexroth SYNAX 200 IndraControl VCP - BRC symbolic - Profibus DP 7-3
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
7.2 Creating a project
The "VI-Composer" is started with the link that was created in the startmenu in "Programs \ Rexroth" or on the "Desktop" at the installation. Afterstarting the application the dialog for creating a new project folder is calledwith menu "File - New - Project folder".
The first step is to select the type of the VCP device
• VCP02,
• VCP05,
• VCP08,
• VCP11
• VCP11_P
• VCP20
• VCP25 or
• VCP25_P
from the folder "ENG" (English) or "GER" (German). For our example weselect device VCP05 in folder "ENG". Depending on the folder the VCPdevice is selected from, the standard masks are displayed in thecorresponding language per default. It is always possible to add furtherlanguages after the creation of the project.
VI-Composer_Dlg_NewProject.bmp
Fig. 7-2: Selection of the VCP device type, the language and the project folder
The second step is to select or enter a target directory and the name ofthe project folder.
7-4 IndraControl VCP - BRC symbolic - Profibus DP Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_NewProject_FileName-DP-BRC.bmp
Fig. 7-3: Name and storage directory of the project folder
If dialog "Create project folder (place to store)" is confirmed the project iscreated.
Rexroth SYNAX 200 IndraControl VCP - BRC symbolic - Profibus DP 7-5
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
7.3 Connection settings "Profibus DP"
After the project was created the connection settings must be configuredthat are required for the communication between the visualization unit andthe motion control. The following steps must be executed:
• Insert communication protocol and select it for processing as follows.
• Click to "Communication" with the right mouse button and select menuitem "New controller" in the menu.
VI-Composer_Wnd_NewController_BRC_1.bmp
Fig. 7-4: Add controller
• Select protocol "BRC symbolic" in dialog "Protocol selection".
VI-Composer_Wnd_NewController_BRC_2.bmp
Fig. 7-5: Protocol selection
• Specify a name for the communication connection (in this example"BRC symbolic") in dialog "Controller create" and confirm it.
7-6 IndraControl VCP - BRC symbolic - Profibus DP Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Wnd_NewController_BRC_3.bmp
Fig. 7-6: Specify a name for the communication connection
• Set protocol parameters.
The communication parameters are set with dialogs "Fig. 7-7: Connectionsettings BRC protocol step 1", Fig. 7-8: Connection settings BRC protocolstep 2" and "Fig. 7-9: Dialog connection settings Profibus DP protocol"
At the configuration of the communication parameters, it must beconsidered that the configured fieldbus address of the VCP agrees withthe configuration of the corresponding Profibus slave in the PLCconfiguration of the IndraLogic project.
The free configuration of variables for the data exchange with the controlis not necessary with the BRC protocol. A variable list (IndraLogic symbolfile) prerequisited. It is important that the symbol file was created from theIndraLogic project that is also stored in the control. The creation of thesymbol file can be found in chapter "3 Communication".
The following figures show the configurations that have to be set for ourexample in the dialog of the VI-Composer.
VI-Composer_Dlg_ProtocolParameter_BRC_1.bmp
Fig. 7-7: Connection settings BRC protocol step 1
• In the context menu of entry "BRC symbolic" (click with right mousebutton on "BRC symbolic") the menu item "Parameters" is selected.Thereby the dialog "Connection settings BRC protocol" is opened.
Communication parameters:
Rexroth SYNAX 200 IndraControl VCP - BRC symbolic - Profibus DP 7-7
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_ProtocolParameter_DP_BRC.bmp
Fig. 7-8: Connection settings BRC protocol step 2
The communication media is selected in menu "Transport layer". In thisexample "Profibus DP".
The name of the communication connection is entered in the input field"Connection name". In this example "IL-SYNAX".
The file name of the symbol file is entered in the input field "Variable list(symbol file *.sym)" or it is selected with button "...".
The dialog "Connection settings Profibus DP protocol" is opened withbutton "Parameters".
VI-Composer_Dlg_ProtocolParameter-Settings_DP_BRC.bmp
Fig. 7-9: Dialog connection settings Profibus DP protocol
7-8 IndraControl VCP - BRC symbolic - Profibus DP Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Now the Profibus device address of the VCP is set for the createdconnection in dialog "Connection settings Profibus DP protocol" (in thisexample "10").
The dialog "Connection settings Profibus DP protocol" is closed with theacknowledge of the input with the "OK" button. The configuration that isset in dialog "Connection settings BRC protocol“ must be confirmed withthe "OK" button.
The variable list contains all variables that were exported in the configuredsymbol file (also see "3.6 Symbol file") and that are available for thecreation of the VI-Composer project. The following figure shows thevariable list from our PLC example program.
VI-Composer_Wnd_Protocol-SymbolicName_BRC_1.bmp
Fig. 7-10: Variable list for the control protocol
Variable list:
Rexroth SYNAX 200 IndraControl VCP - BRC symbolic - Profibus DP 7-9
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
7.4 Project settings
After the configuration of the Profibus DP connection some projectsettings must be made before creating screen masks.
The project settings refer to
• the polling area and
• the allocation of languages and the communication connection to theproject.
A project is built with the allocation of the available languages and thecontrol to the project. At the compilation of a project several languagescan be insert, but only one communication connection.
To activate the languages of the project the project must be selected inthe project folder of the "Project management". In this example "Firstproject".
The menu "Language" is selected in the window "Properties" afterwards,then the language that is necessary for the project must be selected at"Available languages" and must be added with the navigation button at"Active languages".
If several languages were added, the run-up language must be selectedafterwards.
7-10 IndraControl VCP - BRC symbolic - Profibus DP Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Wnd_Edit-Project_Compile_BRC_2.bmp
Fig. 7-11: Activating the language
To activate the communication connection of the project the project mustbe selected in the project folder of the "Project management". In thisexample "First project".
The menu "Communication" is selected in the window "Properties"afterwards, then the protocol that is necessary for the project must beselected at "Available protocols" and must be added with the navigationbutton at "Active protocols".
Rexroth SYNAX 200 IndraControl VCP - BRC symbolic - Profibus DP 7-11
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Wnd_Edit-Project_Compile_BRC_1.bmp
Fig. 7-12: Activating the communication protocol
The polling area serves for cyclic communication of the operator device with thecontrol and must be enabled for the read access.
To open the dialog for the allocation of the variables to the zones of thepolling area, change to entry "Additional functions" in the project folderand select list entry "Polling area" in window "Properties".
In our example one single variable ("...with 3 single variables") is allocatedfor each zone of the polling area.
The polling area consists of the following ranges
• coordination byte (data type 'BYTE'),
• message channel (data type 'WORD') and
• LED control (data type 'DWORD').
The coordination byte is read by the operator device and written by thecontrol.
The message channel serves for displaying messages from the messagesystem of the operator device.
Polling area:
Coordination byte:
Message channel:
7-12 IndraControl VCP - BRC symbolic - Profibus DP Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
With the variable for the LED control the LEDs on the operator devicescan be set to the operation for "Steady light" or "Flashing light". Thatmeans two bits are reserved for each LED in the allocated variable.
The variables are allocated as shown in "Fig. 7-13: System parameter -configure polling area". To open the window "Variable" you have to clickwith the mouse on the symbol for opening a file. Afterwards the variablemust be selected and confirmed with a double-click. Also see "Fig. 7-14:Dialog variable selection".
Note: The configuration of the polling area is not obligatory.
VI-Composer_Dlg_PollingArea-Selected_Ser.bmp
Fig. 7-13: System parameter - configure polling area
VI-Composer_Dlg_VariableSelection_BRC.bmp
Fig. 7-14: Dialog variable selection
LED control:
Rexroth SYNAX 200 IndraControl VCP - BRC symbolic - Profibus DP 7-13
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
After the configuration of the project that is loaded to the VCP05 device,the terminal file must be defined.
Therefore you have to change to list entry "Project management" in theproject folder and select your project. In this example "First project".
The menu "Terminal file" is selected in the window "Properties"afterwards and the path and the file name of the project are entered to theinput field "S3/CB file". Alternatively the button "Select..." can also beused.
VI-Composer_Wnd_Edit-Project_DP_BRC.bmp
Fig. 7-15: Configuration of VI-Composer projects
Define terminal file:
7-14 IndraControl VCP - BRC symbolic - Profibus DP Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
7.5 Creating a screen
For the creation of a screen the existing screen is changed according tothe requirements. Therefore you have to change to list entry "Languages \First language \ Screens" in the tree of the project folder and select entry"Main screen".
To open the main screen you have to click to "Main screen" with the rightmouse button and select menu item "Edit" in the context menu.
VI-Composer_Wnd_Edit-LanguageScreen_BRC.bmp
Fig. 7-16: Screen management for the language
VI-Composer_Wnd_Edit-LanguageScreen-Delete.bmp
Fig. 7-17: Standard display of the main screen
Rexroth SYNAX 200 IndraControl VCP - BRC symbolic - Profibus DP 7-15
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Objects are insert with the MDI screen (figure "Fig. 7-18: Toolbar"Tools"").
VI-Composer_Wnd_ToolbarEdit.bmp
Fig. 7-18: Toolbar "Tools"
"Fig. 7-19: Objects - "Static text"" and "Fig. 7-20: Objects - "Variable"" specifiesthe alternative configuration settings of the used objects for the mask. The masklayout is displayed in "Fig. 7-21: Regenerated mask layout".
The figures "Fig. 7-22: Configuration of a variable element" and "Fig. 7-23:Configuration of the display type" exemplary show the configuration settings forthe output object that is specified with "4".
Object no. Content
1 Master axis 1
2 Enable (0/1):
5 Cmd. speed:
7 Act. Speed:
Fig. 7-19: Objects - "Static text"
7-16 IndraControl VCP - BRC symbolic - Profibus DP Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
type editobject no. variable display format
field type format limits
text list
documen-tation value
3 .VxP_EnableMA1 binary number input /cyclic
number of bits: 1
preliminary result:0
1
4 .VxP_EnableMA1Ack selection text output /cyclic
field length: 3
height: 1
text list:"off/on"
6 .VxP_CmdSpeedMA1 floating-pointnumber
input /cyclic
field length: 9
decimal placeabsolute: 3
lower: -3000.000
upper:3000.000
99999.999
8 .VxP_SpeedMA1.ActualSpeedFmt
floating-pointnumber
output /cyclic
field length: 9
decimal placeabsolute: 3
99999.999
Fig. 7-20: Objects - "Variable"
VI-Composer_Wnd_LanguageScreen-Ready-Index.bmp
Fig. 7-21: Regenerated mask layout
Rexroth SYNAX 200 IndraControl VCP - BRC symbolic - Profibus DP 7-17
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_EditVariable_BRC.bmp
Fig. 7-22: Configuration of a variable element
VI-Composer_Dlg_EditVarType-Textlist.bmp
Fig. 7-23: Configuration of the display type
7-18 IndraControl VCP - BRC symbolic - Profibus DP Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
7.6 Loading a project
After the screen was created the project can be compiled with the toolbar("Fig. 7-24: Main toolbar ") and can be transmitted to the operator device.
VI-Composer_Wnd_ToolbarTools.bmp
Fig. 7-24: Main toolbar
At the compilation and the creation of the file for the download errors andwarnings may not occur. See "Fig. 7-25: Project compiled without error".
VI-Composer_Wnd_Edit-Project_Compile-Info_DP_BRC.bmp
Fig. 7-25: Project compiled without error
Now the project can be loaded to the VCP. For this you have to click onthe icon "Download/Transfer" in the Main toolbar (see Fig. 7-24: Maintoolbar).
Then the IP address of the VCP must be entered in dialog "Create INI fileand transfer files" at the input filed for the IP address. The FTP downloadof the project to the VCP is started with button "Start".
Rexroth SYNAX 200 IndraControl VCP - BRC symbolic - Profibus DP 7-19
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_DownloadProject_DP_BRC.bmp
Fig. 7-26: Configure download and start
While the FTP transmission is active, the "OK" button of dialog "FTPtransmission" remains grey and the current state of the transmission isdisplayed. After the transmission is terminated, the "OK" button is re-activated automatically and the VCP should execute a reboot.
7-20 IndraControl VCP - BRC symbolic - Profibus DP Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_DownloadProject-Active_BRC.bmp
Fig. 7-27: Download dialog - download active
If the PLC project is on the control, the communication connection isestablished and the communication settings are executed, the masteraxis can be activated with setting a speed command value and enablingthe master axis.
Rexroth SYNAX 200 IndraControl VCP - DeviceNet communication 8-1
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
8 IndraControl VCP - DeviceNet communication
8.1 General information
This section describes the connection of a IndraControl VCP05 device toan IndraLogic PLC of the SYNAX motion control. The communicationconnection is established via a DeviceNet connection.
Note: The visualization devices VCPxx.2 with optional fieldbusinterface "DeviceNet" have not been available for sale at thetime of the making of the documentation.
Prerequisites for this section are
• the PLC program from chapter "4 IndraLogic example program",
• and the knowledge from chapter "3 Communication".
The aim of this section is to control and visualize data of the virtual masteraxis 1 of the SYNAX motion control, as well as the use of the projectplanning interface "VI-Composer" for the creation of screens for the VCPdevices. The data exchange takes place via the PLC variables for
• the enabling of the virtual master axis (".VxP_EnableMA1"),
• the acknowledge of the enabling for the virtual master axis(".VxP_EnableMA1Ack"),
• the speed command value (".VxP_CmdSpeedMA1") and
• the actual speed (".VxP_SpeedMA1.ActualSpeedFmt")
that are read or written by the application of the IndraControl VCP device.
"Fig. 8-1: Example VCP connection - overview" shows the physicalstructure for the serial or the fieldbus coupling that is necessary. Thissection only describes the connection via the fieldbus "DeviceNet".
8-2 IndraControl VCP - DeviceNet communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Overview_Sample_IndraControl-VCP.bmp
Fig. 8-1: Example VCP connection - overview
Note: At the fieldbus connection with DeviceNet the number of thevisualization data is limited by the size of the data memory ofthe visualization device.
The data memory of the DeviceNet-VCPs has a size of 2500words (5000 Byte)
Rexroth SYNAX 200 IndraControl VCP - DeviceNet communication 8-3
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
8.2 Creating a project
The "VI-Composer" is started with the link that was created in the startmenu in "Programs \ Rexroth" or on the "Desktop" at the installation. Afterstarting the application the dialog for creating a new project folder is calledwith menu "File - New - Project folder".
The first step is to select the type of the VCP device
• VCP02,
• VCP05,
• VCP08,
• VCP11
• VCP11_P
• VCP20
• VCP25 or
• VCP25_P
from the folder "ENG" (English) or "GER" (German). For our example weselect device VCP05 in folder "ENG". Depending on the folder the VCPdevice is selected from, the standard masks are displayed in thecorresponding language per default. It is always possible to add furtherlanguages after the creation of the project.
VI-Composer_Dlg_NewProject.bmp
Fig. 8-2: Selection of the VCP device type, the language and the project folder
8-4 IndraControl VCP - DeviceNet communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The second step is to select or enter a storage directory and the name ofthe project folder.
VI-Composer_Dlg_NewProject-FileName-DN.bmp
Fig. 8-3: Name and storage directory of the project folder
If dialog "Create project folder (place to store)" is confirmed, the project iscreated.
Rexroth SYNAX 200 IndraControl VCP - DeviceNet communication 8-5
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
8.3 Connection settings "DeviceNet"
After the project was created the connection settings must be configuredthat are required for the communication between the visualization unit andthe motion control. The following steps must be executed:
• Insert communication protocol and select it for processing as follows.
• Click to "Communication" with the right mouse button and select menuitem "New controller" in the menu.
VI-Composer_Wnd_NewController_BRC_1.bmp
Fig. 8-4: Add controller
8-6 IndraControl VCP - DeviceNet communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
• Select protocol "DeviceNet raw" in dialog "Protocol selection".
VI-Composer_Wnd_NewController_DN_2.bmp
Fig. 8-5: Protocol selection
• Specify a name for the communication connection (in this example"DeviceNet raw") in dialog "Controller create" and confirm it.
VI-Composer_Wnd_NewController_DN_3.bmp
Fig. 8-6: Specify a name for the communication connection
• Set protocol parameters.
The communication parameters are set with dialog "Protocol parametersDeviceNet". Therefor select menu item "Parameter" in the context menuof entry "DeviceNet raw" (click with right mouse button on "DeviceNetraw").
Communication parameters:
Rexroth SYNAX 200 IndraControl VCP - DeviceNet communication 8-7
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_ProtocolParameter_DN_1.bmp
Abb. 8-7: Connection settings DeviceNet protocol step 1
The configurations for the "Maximum waiting time for response" and the"Delay until connection set-up" remain unchanged.
The configuration
• of the baudrate
• and the node number (= MAC address of the DeviceNet slave)
must correspond with the settings for the DeviceNet configuration in thecontrol configuration of the PLC configuration of the IndraLogic project.
The option 'Explicit-Message contains the parameter "Attribute"' must notset.
The options "Address/length Low-High" and "Data Low-High" must be set.
The following figure "Fig. 8-8: Dialog protocol parameter " shows theconfigurations that have to be set for our example in the dialog of the VI-Composer.
8-8 IndraControl VCP - DeviceNet communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_ProtocolParameter_DN_2.bmp
Fig. 8-8: Dialog protocol parameter DeviceNet
Rexroth SYNAX 200 IndraControl VCP - DeviceNet communication 8-9
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The variable list must contain all variables that are required for the maskproject planning and must be provided with a memory address. Toassociate the variable used in the VI composer with the PLC variable youhave to use the same name as used in the PLC. "Fig. 8-9: Variable list forthe control protocol" shows the configuration for the variable list.
VI-Composer_Wnd_Protocol-SymbolicName_DN.bmp
Fig. 8-9: Variable list for the control protocol
Variable list:
8-10 IndraControl VCP - DeviceNet communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
8.4 Project settings
After the configuration of the DeviceNet connection some project settingsmust be made before creating screen masks.
The project settings refer to
• the polling area and
• the allocation of languages and motion controls to the project.
The polling area serves for cyclic communication of the operator devicewith the control and must be enabled for the read access.
To open the dialog for the allocation of the variables to the zones of thepolling area, change to entry "Additional functions" in the project folderand select list entry "Polling area" in window "Properties".
VI-Composer_Wnd_Edit-PollingArea_DN.bmp
Fig. 8-10: System parameter - polling area
In our example the polling area can only be connected with one variable("Variable / Start address").
For the data length (size in Byte) and the polling time (polling time in sec.)of the polling area the standard settings "12 Byte" and "1,0 sec." areassumed.
The polling area consists of the following ranges
• coordination byte (data type 'BYTE'),
• message channel (data type 'WORD') and
• LED control (data type 'DWORD').
Polling area:
Rexroth SYNAX 200 IndraControl VCP - DeviceNet communication 8-11
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The coordination byte is read by the operator device and written by thecontrol. Therefore two bytes are reserved at the DeviceNet protocol.
The message channel serves for displaying messages from the messagesystem of the operator device. Therefore two bytes are reserved at theDeviceNet protocol.
With the variable for the LED control the LEDs on the operator devicescan be set to the operation for "Steady light" or "Flashing light". Thatmeans two bits are reserved for each LED in the allocated variable. Thusthe data length depends on the used miniature control panel (number ofLEDs).
The variables are allocated as shown in "Fig. 8-11: Dialog configurepolling area". To open the variable dialog you have to click with the mouseon the symbol for opening a file. Afterwards the variable must be selectedand confirmed with a double-click.
VI-Composer_Dlg_PollingArea-Selected_DN.bmp
Fig. 8-11: Dialog configure polling area
A project is built with the allocation of the available languages and thecontrol to the project. At the compilation of a project several languagescan be insert, but only one communication connection.
To activate the languages of the project the project must be selected inthe project folder of the "Project management". In this example "VCP05-DEMO-DN".
The menu "Language" is selected in the window "Properties" afterwards,then the language that is necessary for the project must be selected at"Available languages" and must be added with the navigation button at"Active languages".
If several languages were added, the run-up language must be selectedafterwards.
Coordination byte:
Message channel:
LED control:
Project definition:
8-12 IndraControl VCP - DeviceNet communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Wnd_Edit-Project_DN.bmp
Fig. 8-12: Activating the language
To activate the languages of the project the project must be selected inthe project folder of the "Project management". In this example "VCP05-DEMO-DN".
The menu "Communication" is selected in the window "Properties"afterwards, then the protocol that is necessary for the project must beselected at "Available protocols" and must be added with the navigationbutton at "Active protocols".
VI-Composer_Wnd_Edit-Project_DN_2.bmp
Fig. 8-13: Activating the communication protocol
Rexroth SYNAX 200 IndraControl VCP - DeviceNet communication 8-13
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
After the configuration of the project that is loaded to the VCP05 device,the terminal file must be defined.
Therefore you have to change to list entry "Project management" in theproject folder and select your project. In this example "VCP05-DEMO-DN".
The menu "Terminal file" is selected in the window "Properties"afterwards and the path and the file name of the project are entered to theinput field "S3/CB file". Alternatively the button "Select..." can also beused.
VI-Composer_Wnd_Edit-Project_DN_3.bmp
Fig. 8-14: Define terminal file
Define terminal file:
8-14 IndraControl VCP - DeviceNet communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
8.5 Creating a screen
For the creation of a screen the existing screen is changed according tothe requirements. Therefore you have to change to list entry "Languages \First language \ Screens" in the tree of the project folder and select entry"Main screen".
To open the main screen you have to click to "Main screen" with the rightmouse button and select menu item "Edit" in the context menu.
VI-Composer_Wnd_Edit-LanguageScreen_BRC.bmp
Fig. 8-15: Management of the screens for the language
VI-Composer_Wnd_Edit-LanguageScreen-Delete.bmp
Fig. 8-16: Standard view of the main screen
Rexroth SYNAX 200 IndraControl VCP - DeviceNet communication 8-15
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Objects are insert with the MDI screen (figure "Fig. 8-17: Toolbar"Tools"").
VI-Composer_Wnd_ToolbarEdit.bmp
Fig. 8-17: Toolbar "Tools"
"Fig. 8-18: Objects - "Static text"" and "Fig. 8-19: Objects - "Variable""specifies the alternative configuration settings of the used objects for themask. The mask layout is displayed in "Fig. 8-20: Regenerated masklayout".
The figures "Fig. 8-21: Configuration of a variable element" and "Fig. 8-22: Configuration of the display type" exemplary show the configurationsettings for the output object that is specified with "4".
Object no. Content
1 Master axis 1
2 Enable (0/1):
5 Cmd. speed:
7 Act. Speed:
Fig. 8-18: Objects - "Static text"
8-16 IndraControl VCP - DeviceNet communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
type editobjectno.
variable display format
field type format limits
text list
documen-tation value
3 .VxP_EnableMA1 binary number input /cyclic
number of bits:1
preliminaryresult: 0
1
4 .VxP_EnableMA1Ack selection text output /cyclic
field length: 3
height: 1
text list:"off/on"
6 .VxP_CmdSpeedMA1 floating-pointnumber
input /cyclic
field length: 9
decimal placeabsolute: 3
lower: -3000.000
upper:3000.000
99999.999
8 .VxP_SpeedMA1.ActualSpeedFmt
floating-pointnumber
output /cyclic
field length: 9
decimal placeabsolute: 3
99999.999
Fig. 8-19: Objects - "Variable"
VI-Composer_Wnd_LanguageScreen-Ready-Index.bmp
Fig. 8-20: Regenerated mask layout
Rexroth SYNAX 200 IndraControl VCP - DeviceNet communication 8-17
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_EditVariable_DN.bmp
Fig. 8-21: Configuration of a variable element
VI-Composer_Dlg_EditVarType-Textlist.bmp
Fig. 8-22: Configuration of the display type
8-18 IndraControl VCP - DeviceNet communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
8.6 Loading a project
After the screen was created the project can be compiled with the toolbar("Fig. 8-23: ") and can be transmitted to the operator device.
VI-Composer_Wnd_ToolbarTools.bmp
Fig. 8-23: Main toolbar
At the compilation and the creation of the file for the download errors andwarnings may not occur. See "Fig. 8-24: Project compiled without error".
VI-Composer_Wnd_Edit-Project_Compile-Info_DN.bmp
Fig. 8-24: Project compiled without error
Now the project can be loaded to the VCP. For this you have to click onthe icon "Download/Transfer" in the Main toolbar (see Fig. 8-23: ).
Then the IP address of the VCP must be entered in dialog "Create INI fileand transfer files" at the input filed for the IP address. The FTP downloadof the project to the VCP is started with button "Start".
Rexroth SYNAX 200 IndraControl VCP - DeviceNet communication 8-19
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_DownloadProject_DN.bmp
Fig. 8-25: Configure download and start
While the FTP transmission is active, the "OK" button of dialog "FTPtransmission" remains grey and the current state of the transmission isdisplayed. After the transmission is terminated, the "OK" button is re-activated automatically and the VCP should execute a reboot.
8-20 IndraControl VCP - DeviceNet communication Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
VI-Composer_Dlg_DownloadProject-Active_BRC.bmp
Fig. 8-26: Download dialog - download active
If the PLC project is on the control, the communication connection isestablished and the communication settings are executed, the masteraxis can be activated with setting a speed command value and enablingthe master axis.
Rexroth SYNAX 200 IndraControl BTV / VSP - communication connection 9-1
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
9 IndraControl BTV / VSP - communicationconnection
9.1 General information
This chapter describes the connection of a visualization on a Windows-PC, e.g., IndraControl BTV / VSP to the IndraLogic PLC of the SYNAXcontrol.
Prerequisites for this chapter are
• the PLC program from chapter "4 IndraLogic example program",
• and the knowledge from chapter "3 Communication".
The aim of this section is the controlling and visualization of the virtualmaster axis 1 of the SYNAX motion control, as well as the use of theproject planning interface "WinStudio" for the creation of the visualizationfor the VEP and VPP devices.
The data of the PLC variable for
• the enabling of the virtual master axis (LA structure element".VMA_ENABLE"),
• the acknowledge of the enabling for the virtual master axis (LAstructure element ".VMA_ENABLE_ACK"),
• the speed command value (parameter "C-0-0006") and
• the actual speed (parameter "C-0-0067")
are read or written by the WinStudio application.
The communication connection of the visualization (named HMI in thefollowing) is realized with OPC via Ethernet connection.
The following communication channels are available:
• SCP ("Scalable Communication Platform"),
• IndraLogic-Gateway.
See chapter "3 Communication".
Note: Direct accesses to SYNAX parameters can only be realizedvia SCP.
The figure "Fig. 9-1: Physical communication connection BTV <=> PPC"shows the physical structure of the communication connection.
Prerequisites:
Aim:
Communication:
9-2 IndraControl BTV / VSP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Overview_Sample_IndraControl-VPP.bmp
Fig. 9-1: Physical communication connection BTV <=> PPC
Rexroth SYNAX 200 IndraControl BTV / VSP - communication connection 9-3
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
9.2 Creating a project
Creating a new WinStudio projectThe project planning software "WinStudio" is started with the link thatwas created at the installation in start menu "Programs" or on the"Desktop".
To create a new project, select entry "New" from menu "File". A newproject can also be created in addition with a click on the symbol inthe tool bar or with shortcut [Strg] + [N].
In the following dialog "New" you have to
• select tab "Project",
• enter the project name in "Application name",
• select project path in "Location"
• and select the target platform where the application should be started.("Local Interface" was used in the example)
See "Fig. 9-2: Creating a new project".
WS-New_Project.bmp
Fig. 9-2: Creating a new project
After the dialog "New" was confirmed with a click on the OK button the"Project Wizard" is started.
Dialog "New"
9-4 IndraControl BTV / VSP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The desired screen resolution for the application must be set in theProject Wizard. Confirm the dialog with "OK". Further settings are notnecessary.
See "Fig. 9-3 Project-Wizard".
WS-Project_Wizard.bmp
Fig. 9-3 Project-Wizard
Note: If an application is created for different visualization devices,the project planning should be created with the highestpossible resolution. Otherwise the “zooming larger“ has anegative effect on the display quality.
Project - settings
OPC-ClientTo start the communication server automatically at the start of the runtimethe following configurations must be executed.
1. Select entry "Status" from the menu "Project" -> Dialog "Projectstatus" is opened
2. Select entry "OPC Client Runtime" in tab "Execution Tasks", clickbutton "Startup.", activate the type selection "Automatic" in dialog"Startup" and confirm with "OK".
Dialog "Project Wizard"
Dialog "Project Status"
Rexroth SYNAX 200 IndraControl BTV / VSP - communication connection 9-5
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
WS-Dlg_Project_Status.bmp
Fig. 9-4: Dialog "Project status"
Now the motion control variables from the IndraLogic example programare available in the OPC browser.
Start-ScreenTo determine the screen that should be displayed at first after starting theruntime proceed as follows.
1. Select entry "Settings" in menu "Project".
2. Enter the name of the screen in the appearing dialog "ProjectSettings" in tab "Runtime Desktop" that should be displayed at thestart of the application. See "Fig. 9-5: Project settings of the runtimedesktop"
WS-Dlg_Project_Settings_Runtime_Desktop.bmp
Fig. 9-5: Project settings of the runtime desktop
Dialog "Project Settings"
9-6 IndraControl BTV / VSP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
9.3 Creating a visualization graphic
Creating a screenTo create a new screen the following steps must be executed.
Open the menu "Insert" and select entry "Screen" to create a new screen.See Fig. 9-6: Creating a new screen 1
WS-insert_new_screen1.bmp
Fig. 9-6: Creating a new screen 1
• Alternatively it is also possible to create a new screen with a click onthe right mouse button on folder "Screens" in the window "Workspace"and selecting the entry "Insert" from the context menu. See Fig. 9-7:Creating a new screen 2
WS-insert_new_screen2.bmp
Fig. 9-7: Creating a new screen 2
Rexroth SYNAX 200 IndraControl BTV / VSP - communication connection 9-7
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
In the dialog "Screen Attributes" different attributes of the screens can beset.
In our example enter a description of the screen and a text that should bedisplayed in the title bar of the application. Confirm the inputs with "OK"now. See "Fig. 9-8 Screen attributes".
WS-Screen_Attributes.bmp
Fig. 9-8 Screen attributes
Now the created screen must be saved.
Therefore select entry "Save" from menu "File" and enter a name in thefollowing dialog where the screen should be saved. See "Fig. 9-10: Savescreen as".
WS-save_new_Screen.bmp
Fig. 9-9: Save screen
Dialog "Screen Attributes"
9-8 IndraControl BTV / VSP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Alternatively you can save the screen with a click on symbol in the toolbar or with the input of shortcut [Strg]+[S].
WS-Dlg_Save_as.bmp
Fig. 9-10: Save screen as
Rexroth SYNAX 200 IndraControl BTV / VSP - communication connection 9-9
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Insert graphic elements
Static text fieldTo insert a static text field proceed as follows:
1. Select symbol for text from tool bar "Static Objects". Now thecursor is displayed as reticle.
2. Move the cursor to the desired place in the screen and click the leftmouse button. Now the input cursor in the screen is visible.
3. Enter the desired static text.
WS-insert_text.bmp
Fig. 9-11: Insert text field
4. Open dialog "Object properties" with a double-click on the object andactivate option "Transparent".
WS-Object_Properties_Text.bmp
Fig. 9-12: Object properties - text
9-10 IndraControl BTV / VSP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Dynamic text fieldTo insert a dynamic text field proceed as follows:
1. Select symbol for text from toolbar "Static Objects. Now thecursor is displayed as reticle.
2. Move the cursor to the desired place in the screen and click the leftmouse button. Now the input cursor in the screen is visible.
3. Enter as much "#" as place holder so that the maximum number ofthe characters to display is reached.
Note: There can only be displayed as many characters as placeholders "#" are available. Place holders that are not requiredare not displayed at runtime.
For real values the number of decimal places must be definedby place holders.
(e.g.,. "####.####" -> 4 decimal places are displayed)
4. Open dialog "Object properties" with a double-click on the object andactivate option "Transparent".
AWS-Object_Properties_dynamic_Text.bmp
Fig. 9-13: Object properties - dynamic text
Dynamic text field
Rexroth SYNAX 200 IndraControl BTV / VSP - communication connection 9-11
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
5. Select symbol for text I/O from toolbar "Dynamic Properties" atselected text field.
WS-insert_dynamic_text.bmp
Fig. 9-14: Insert dynamic text field
6. Execute a double-click on the just created text field. Now dialog"Object Properties" is opened.
7. Select entry "Text I/O" in the selection box.
8. Enter the name of the tag variable that should be displayed.
WS-Object_Properties_Text_Output.bmp
Fig. 9-15: Dialog "Object Properties" text output
Text Output
9-12 IndraControl BTV / VSP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
• If the tag variable does not exist yet you are asked, if you want tocreate this variable. Confirm with "Yes".
• Now the dialog "New Tag" appears. Select type "REAL". See "Fig. 9-16: Dialog "New variable".
WS-Dlg_New_Tag.bmp
Fig. 9-16: Dialog "New variable"
Repeat this procedure to create a static and a dynamic text field for thespeed command of the master axis. Now the screen should look likefollows:
WS-insert_text_input.bmp
Fig. 9-17: Insert input field
Creating a tag variable
Rexroth SYNAX 200 IndraControl BTV / VSP - communication connection 9-13
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
To create a input field proceed as follows:
1. Open the dialog "Object properties" with a double-click or with a clickof the right mouse button on the created dynamic text field.
2. Select entry "Text I/O" from the combo box top right.
3. Activate option "Input Enabled".
4. and enter the name of the tag variable the input should be saved in.
5. Enter the input limits in "Minimum Value" and "Maximum Value".
See "Fig. 9-18: Dialog "Object Properties" - input field".
WS-Object_Properties_Text_Intput.bmp
Fig. 9-18: Dialog "Object Properties" - input field
Because the tag variable does not exist yet, it must be created. You haveto proceed as described in section "Dynamic text field".
ButtonTo insert a button attend the following orders.
1. Select the symbol from the toolbar "Static Objects" and click onthe screen at the desired position, keep hold of the mouse button andmove the mouse until the button has the desired size.
2. Open the dialog "Object Properties" with a double-click on the object.
3. Select entry "Button" in the combo box top right and enter the desiredbutton description in "Caption" (we use "VMA enable/disable" for ourexample).
WS-insert_Button.bmp
Fig. 9-19: Insert button
Input text field
Text I/O
Button
9-14 IndraControl BTV / VSP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
4. Select symbol from the tool bar "Dynamic Properties" at selectedbutton to insert a "Command".
5. Open the dialog "Object Properties" with a double-click on the object.
6. Select entry "Command" in the combo box top right and enter thename of the tag variable "VMA_Enable_Disable" in "Tag". Afterwardsa dialog appears that points out that the tag variable"VMA_Enable_Disable" does not exist yet. Confirm this dialog with"Yes" and select entry "Boolean" from the following dialog in thecombo box "Type" to determine the data type for the tag variable.
7. Enter the "Expression": "NOT VMA_Enable_Disable" in dialog "ObjectProperties" at the just entered tag variable. (This has the effect thatthe status of the variable is inverted with a click on the button.) See"Fig. 9-20: Dialog "Object properties" - button".
WS-Object_Properties_Button.bmp
Fig. 9-20: Dialog "Object properties" - button
Smart MessageTo visualize the current status of the master axis enabling we use a"Smart Message" - object, because different states can be displayed withan object in the simplest way. Therefore proceed as follows.
1. Select symbol for "Smart Message" from toolbar "Active Objects"and click on the desired position in the screen, keep hold of themouse button and move the mouse until the object has the desiredsize.
WS-insert_Smart_Message.bmp
Fig. 9-21: Insert Smart Message
Command
Smart Message
Rexroth SYNAX 200 IndraControl BTV / VSP - communication connection 9-15
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
2. Open the dialog "Object Properties" with a double-click on the object.
3. Enter the name of the tag variable "VMA_Enable_Acknowledge" in"Read Tag" that influences the display of the object. In the followingdialog create the tag variable as Boolean.
WS-Object_Properties_Smart_Message.bmp
Fig. 9-22: Dialog "Object properties" - Smart Message
4. Click button "Config..." in dialog "Object Properties" and do thefollowing settings in dialog "Configuration. See "Fig. 9-23:Configuration of the Smart Message objects".
WS-Smart_Message_Configuration.bmp
Fig. 9-23: Configuration of the Smart Message objects
Key word Meaning
State state of the tag variable
Text/Message text is output with the value tag variable
Value value of the tag variable
Text(FG) foreground color of the text
Text(BG) background color of the text
Text Blink if this object is selected, the text flashes atcorresponding variable value.
Rec(FG) framework color of the Smart-Message object
Rec(BG) background color of the Smart-Message object
Rec Blink if this option is selected, the framework and thebackground of the Smart-Message object flashes atcorresponding variable value.
Fig. 9-24: Explanation of Fig. 9-23: Configuration of the Smart Message objects
9-16 IndraControl BTV / VSP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Frame with headlineFinally a frame and a headline is inserted.
1. Here you have to select the symbol for rectangle from toolbar"Static Objects", click on the position of the screen where the leftupper corner should be, keep hold of the mouse button and move themouse to the position where the bottom right corner of the frameshould be.
2. Select the created rectangle and select symbol in the toolbar"Align and order" to place the rectangle to the background.
3. Open dialog "Object Properties" with a double-click on the rectangleand activate button "Caption...".See Fig. 9-25: Dialog "Object properties - rectangle".
WS-Object_Properties_Rectangle.bmp
Fig. 9-25: Dialog "Object properties - rectangle"
4. To insert an area headline use a static text field with the followingcontent: "Master Axis 1", select setting "Top left" at "Align" and set thedesired font.
WS-Object_Properties_Rectangle_Caption.bmp
Fig. 9-26: Dialog "Object properties" - rectangle - labelling
Frame + headline
Rexroth SYNAX 200 IndraControl BTV / VSP - communication connection 9-17
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Configuration - overviewThe configuration of the graphical interface is terminated now.
Save the screen now with a click on symbol in the tool bar or with theselection of entry "Save" in menu "File".
The figures
• "Fig. 9-27: Screen - overview ",
• "Fig. 9-28: Static graphic elements " and
• "Fig. 9-29: Dynamic graphic elements "
show the different objects and their configurations.
WS-Screen-_Overview.bmp
Fig. 9-27: Screen - overview
Object no. Object type Content
1 Rectangle(framework + labelling)
Master Axis 1:
2 Text MasterAxis-Command-Speed:
3 Text MasterAxis-Actual-Speed:
Fig. 9-28: Static graphic elements
Objectno.
Object type Tag variable Data type Limits
4 Text (input field) VMA_Command_Speed Real
5 Text (dynamic text field) VMA_Actual_Speed Real Lower: -3000.0000Upper: 3000.0000
6 Button VMA_Enable_Disable Bool
7 Smart Message VMA_Enable_Acknowledge Bool
Fig. 9-29: Dynamic graphic elements
9-18 IndraControl BTV / VSP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
9.4 Communication configuration - OPC
The communication between motion control and HMI takes place withOPC.
OPC server configurationFor this example the same OPC server configuration is used as describedin section "3.7 Configuration for the OPC server".
Communication configurationFor the communication connection of the visualization to the motioncontrol the tag variables must be linked with the motion control variablesnow.
You have to proceed as follows:
• Change to tab "Comm" in window "Workspace".
• Click with the right mouse button on folder OPC.
• Select the context menu entry "Insert".
WS-Communication_Settings1.bmp
Fig. 9-30: OPC - communication configuration 1
Here the communication sheet is created that is divided into 2 areas.
In the upper area general settings are made as
• the description of the communication sheet,
• the OPC server,
• the deactivation of the communication of this communication sheet,
• the updating rate,
• the "Percent Deadband" (minimum change at analog items),
• the status of connection and
• the remote server (OPC server to another computer).
OPC connection
OPC communication sheet
Rexroth SYNAX 200 IndraControl BTV / VSP - communication connection 9-19
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
WS-Communication_Settings2.bmp
Fig. 9-31: OPC - communication configuration 2
For our example we use the following settings:
Input field / selection list Input / Selection
Description e.g., "SYNAX-Demo-Communication"
Server Identifier IndraLogic.OPC.02
Update rate (ms) 200
Fig. 9-32: General OPC - communication settings
The WinStudio variables are entered in the lower part and they are linkedwith the respective motion control variable.
The following settings have to be made in the lower area of thecommunication sheet.
Variable name Item Scan
VMA_Enable_Disable PLC1:.VxP_EnableMA1 Screen
VMA_Enable_Acknowledge PLC1:.VxP_EnableMA1Ack Screen
VMA_Command_Speed PLC1:.VxP_CmdSpeedMA1 Screen
VMA_Actual_Speed PLC1:.VxP_SpeedMA1.ActualSpeedFmt Screen
Fig. 9-33: Allocation of the WinStudio variables to the control variables
To enter the WinStudio variables proceed as follows:
• With a double-click on a field in column "Tag Name" the "Object-Finder" is opened.
• Here you have to select the WinStudio variable created before fromthe "Application-Tag data base".
See "Fig. 9-34: Dialog "Object finder"".
Dialog "Object Finder"
9-20 IndraControl BTV / VSP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
WS-Dlg_Object_Finder.bmp
Fig. 9-34: Dialog "Object finder"
To enter the OPC item in the communication sheet proceed as follows:
• Click with the right mouse button on a field in column "Item" and selectentry "OPC Browser" from the context menu.
WS-Dlg_OPC_Browser.bmp
Fig. 9-35: Dialog "OPC Browser"
• Select the OPC item corresponding with the WinStudio variable indialog "OPC browser" and confirm with "OK".
• Repeat this procedure for all WinStudio variables until theconfiguration of "Fig. 9-33: Allocation of the WinStudio variables to thecontrol variables" is established.
To discharge the communication select setting "Screen" for all WinStudiovariables in column "Scan". This effects that only the variable is updatedat run-time that is used in the currently displayed visualization screen.
Dialog "OPC Browser"
Rexroth SYNAX 200 IndraControl BTV / VSP - communication connection 9-21
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Now the OPC communication sheet should look as follows:
WS-Communication_Settings3.bmp
Fig. 9-36: OPC communication sheet
The configuration of the example project is completed now.
Save the complete project with a click on the symbol for "Save all" orwith a click on entry "Save all" in menu "File".
9-22 IndraControl BTV / VSP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
9.5 Starting the application
You have two possibilities to start the application:
1. Directly in "WinStudio" with a click on symbol for "Run Application"or with the selection of entry "Run Application" in menu "Project".
• With the selection of the start menu entry in program group"Rexroth\WinStudio".
The application should look as follows:
WS-Runtime_View.bmp
Fig. 9-37: Display of the visualization
Rexroth SYNAX 200 IndraControl BTV / VSP - communication connection 9-23
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
9.6 Direct access to SYNAX parameters
In addition to the access via IndraLogic variables it is also possible todirectly access these parameters of the SYNAX motion control. TheSYNAX parameters are not accessed via the IndraLogic-OPC server butdirectly via the SCP-OPC server.
To caption this, the example application is expanded by a dynamical textfield. To display the list parameter “Y-0-0047 SYNAX diagnostic text“ witha maximum length of 60 characters you have to enter 60 “#“ as placeholders in dialog “Object-Properties“ in “Caption“.
WS-Object_Properties_OPC_SCP_Text.bmp
Fig. 9-38: Dialog “ Object Properties - Text“
Enter the tag variable “SYNAX_State“ in Text I/O and store it as stringvariable.
WS-Object_Properties_OPC_SCP_Text_IO.bmp
Fig. 9-39: Dialog “Object Properties - Text I/O“
9-24 IndraControl BTV / VSP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
OPC-SCP configurationTo link the tag variables created before with SYNAX parameter“Y-0-0047“, you have to create a new communication data sheet andconnect it with the OPC server “OPC.SCP.1“.
Enter the following configuration:
Tag Name Item Scan
SYNAX_State !BSTR,%SCP-Device-Name%,SPA1,00, Y-0-0047,D Screen
Fig. 9-40: OPC-SCP item configuration
Note: Instead of %SCP-Device-Name% enter the device name fromyour SCP configuration.
WS-OPC_SCP_Communication_Settings.bmp
Fig. 9-41: OPC-SCP communication setting
The item string consists of different parts that are separated with acomma and that are explained by means of the items from "Fig. 9-41:OPC-SCP communication setting".
Item part of string- Meaning
!BSTR data type = string
SYNAXDemo device name from SCP configuration
SPA1 identification for SERCOS parameter
00 drive address (00 for control parameter)
Y-0-0047 SYNAX parameter
D identification for the operating data of theparameter
Fig. 9-42: Explanation of the item string
Note: The specification of the data type is obligatory, because atdata request without specification of the data type the OPC-SCP server sends the data as variant (array) and the OPCclient of the WinStudio can not process it.
OPC-SCP item string
Rexroth SYNAX 200 IndraControl BTV / VSP - communication connection 9-25
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Available data types:
Item part ofstring (datatype)
COM data type Description
!I1 VT_I1 Signed short Integer (1 Byte)
!I2 VT_I2 Signed Integer (2 Byte)
!I4 VT_I4 Signed Double Integer (4 Byte)
!I8 VT_I8 Signed Long Integer (8 Byte)
!INT VT_INT Signed Integer
!R4 VT_R4 Real (4 Byte)
!R8 VT_R8 Long Real (8 Byte)
!UI1 VT_UI1 Unsigned Short Integer (1 Byte)
!UI2 VT_UI2 Unsigned Integer (2 Byte)
!UI4 VT_UI4 Unsigned Double Integer (4 Byte)
!UI8 VT_UI8 Unsigned Long Integer (8 Byte)
!UINT VT_UINT Unsigned Integer
!BOOL VT_BOOL Boolean (1Bit)
!BSTR VT_BSTR String
!DATE VT_DATE not relevant for SYNAX
!CY VT_CY not relevant for SYNAX
Fig. 9-43: Available data types
If you start the application now the content of list parameter "SYNAX -Diagnostic text" (Y-0-0047) is displayed.
See "Fig. 9-44: Display including list parameter "Y-0-0047"".
WS-Runtime_View_OPC_SCP.bmp
Fig. 9-44: Display including list parameter "Y-0-0047"
Data type identification
9-26 IndraControl BTV / VSP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Rexroth SYNAX 200 IndraControl VEP - communication connection 10-1
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
10 IndraControl VEP - communication connection
10.1 General information
This section describes the connection of a visualization at anIndraControl-VEP device (Windows CE) to the IndraLogic PLC of theSYNAX control.
The communication connection of the visualization with Windows CE(named HMI in the following) is realized via OPC.
Note: With Windows CE a direct access to SYNAX parameters isnot possible. To read or influence SYNAX parameters theymust be operated by the PLC.
With Windows CE two different communication paths are available:
• Serial (RS232)
• Ethernet (TCPIP Level 2 Route (PPC))
In this example the communication is established via a Ethernetconnection (TCPIP Level 2 Route (PPC)).
Prerequisite for this section is:
• the PLC program from section "4 IndraLogic example program",
• and the knowledge from section "3 Communication".
The aim of this section is the controlling and visualization of the virtualmaster axis 1 of the SYNAX motion control, as well as the use of theproject planning interface "WinStudio" for the creation of the visualizationfor the IndraControl VEP device.
The data of the PLC variable for
• the enabling of the virtual master axis (LA structure element".VMA_ENABLE"),
• the acknowledge of the enabling for the virtual master axis (LAstructure element ".VMA_ENABLE_ACK"),
• the speed command value (parameter "C-0-0006") and
• the actual speed (parameter "C-0-0067")
are read or written by the application of the IndraControl VEP device.
The figure "Fig. 10-1: Physical communication connection VEP <=> PPC"shows the physical structure of the communication connection.
10-2 IndraControl VEP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Overview_Sample_IndraControl-VEP.bmp
Fig. 10-1: Physical communication connection VEP <=> PPC
Rexroth SYNAX 200 IndraControl VEP - communication connection 10-3
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
10.2 Creating a project
Creating a new WinStudio projectTo create a WinStudio project for IndraControl VEP the project planningsoftware "WinStudio" is required. The project planning software"WinStudio" is started with the link that was created at the installation instart menu "Programs" or on the "Desktop".
To create a new project, select entry "New" from menu "File". A newproject can also be created in addition with a click on the symbol inthe tool bar or with shortcut [Strg] + [N].
In the following dialog "New" you have to
• select tab "Project",
• enter the project name in "Application name",
• select project path in "Location"
• and select the target system where the application should be started.("Lite CE" was used in the example) See "Fig. 10-2: Creating a newproject ".
Note: The selected type of target system should agree with thelicense type of the runtime on the target system, becauseotherwise the application only runs in "Demo-Mode".
WS-CE-New_Project.bmp
Fig. 10-2: Creating a new project
After the dialog "New" was confirmed with a click on the "OK" button the"Project Wizard" is started.
Dialog "New"
10-4 IndraControl VEP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
The desired screen resolution for the application must be set in theProject Wizard. Confirm the dialog with "OK". Further settings are notnecessary.
See: "Fig. 10-3: Project Wizard".
WS-Project_Wizard.bmp
Fig. 10-3: Project Wizard
Note: With Windows CE an automatic screen resolution is notavailable. So the WinStudio project must be projectedconcerning the resolution with which it should be displayed onthe Windows CE device.
Example:
For a full screen display on a VEP30 or VEP40 a resolution of800 x 600 pixels must be selected.
Project - settings
Dialog "Project status"Depending on the target system type different presettings concerning thestart types of the individual tasks are displayed.
To open the dialog select entry "Status" in menu "Project".
Dialog "Project Wizard"
Rexroth SYNAX 200 IndraControl VEP - communication connection 10-5
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
WS-CE-Dlg_Project_Status.bmp
Fig. 10-4: Dialog "Project Status"
No further settings are necessary, because the required tasks werealready configured with the selection of the target system.
Start-ScreenTo determine the screen that should be displayed at first after starting theruntime proceed as follows:
1. Select entry "Settings" in menu "Project".
2. In the following dialog "Project settings" select tab "Runtime Desktop"and enter the name of the screen at "Start screen" that should bedisplayed at the start of the application.
See "Fig. 10-5: Project settings of the runtime desktop".
WS-CE-Dlg_Project_Settings_Runtime_Desktop.bmp
Fig. 10-5: Project settings of the runtime desktop
Dialog "Project Settings"
10-6 IndraControl VEP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
10.3 Creating a visualization graphic
Creating a screenTo create a new screen the following steps must be executed.
• Open the menu "Insert" and select entry "Screen" to create a newscreen. See "Fig. 10-6: Creating a new screen 1".
WS-insert_new_screen1.bmp
Fig. 10-6: Creating a new screen 1
• Alternatively it is also possible to create a new screen with a click onthe right mouse button on folder "Screens" in the window "Workspace"and selecting the entry "Insert" from the context menu. See "Fig. 10-7:Creating a new screen 2".
WS-insert_new_screen2.bmp
Fig. 10-7: Creating a new screen 2
Rexroth SYNAX 200 IndraControl VEP - communication connection 10-7
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
In the dialog "Screen Attributes" different attributes of the screens can beset.
In our example enter a description of the screen and a text that should bedisplayed in the title bar of the application. Confirm the inputs with "OK"now. See "Fig. 10-8: Screen attributes".
WS-Screen_Attributes.bmp
Fig. 10-8: Screen attributes
Now the created screen must be saved.
Therefore select entry "Save" from menu "File" and enter a name in thefollowing dialog where the screen should be saved. See "Fig. 10-10: Savescreen as".
WS-save_new_Screen.bmp
Fig. 10-9: Save screen
Alternatively you can save the screen with a click on symbol in the toolbar or with the input of shortcut [Strg]+[S].
Dialog "Screen Attributes"
10-8 IndraControl VEP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
WS-Dlg_Save_as.bmp
Fig. 10-10: Save screen as
Insert graphic elements
Static text fieldTo insert a static text field proceed as follows:
1. Select symbol for text from tool bar "Static Objects". Now thecursor is displayed as reticle.
2. Move the cursor to the desired place in the screen and click the leftmouse button. Now the input cursor in the screen is visible.
3. Enter the desired static text.
WS-insert_text.bmp
Fig. 10-11: Insert text field
Rexroth SYNAX 200 IndraControl VEP - communication connection 10-9
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
4. Open dialog "Object properties" with a double-click on the object andactivate option "Transparent".
WS-Object_Properties_Text.bmp
Fig. 10-12: Object properties - text
Dynamic text fieldTo insert a dynamic text field proceed as follows:
1. Select symbol for text from toolbar "Static Objects. Now thecursor is displayed as reticle.
2. Move the cursor to the desired place in the screen and click the leftmouse button. Now the input cursor in the screen is visible.
3. Enter as much "#" as place holder so that the maximum number ofthe characters to display is reached.
Note: There can only be displayed as many characters as placeholders "#" are available. Place holders that are not requiredare not displayed at runtime.
For real values the number of decimal places must be definedby place holders.
(e.g.,. "####.####" => 4 decimal places are displayed)
4. Open dialog "Object properties" with a double-click on the object andactivate option "Transparent".
WS-Object_Properties_dynamic_Text.bmp
Fig. 10-13: Object properties - dynamic text
Dynamic text field
10-10 IndraControl VEP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
5. Select symbol for text I/O from toolbar "Dynamic Properties" atselected text field.
WS-insert_dynamic_text.bmp
Fig. 10-14: Insert dynamic text field
6. Execute a double-click on the just created text field. Now dialog"Object Properties" is opened.
7. Select entry "Text I/O" in the selection box.
8. Enter the name of the tag variable that should be displayed.
WS-Object_Properties_Text_Output.bmp
Fig. 10-15: Dialog "Object Properties" text output
Text Output
Rexroth SYNAX 200 IndraControl VEP - communication connection 10-11
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
• If the tag variable does not exist yet you are asked, if you want tocreate this variable. Confirm with "Yes".
• Now the dialog "New Tag" appears. Select type "REAL". See "Fig. 10-16: Dialog "New variable"".
WS-Dlg_New_Tag.bmp
Fig. 10-16: Dialog "New variable"
Repeat this procedure to create a static and a dynamic text field for thespeed command of the master axis. Now the screen should look likefollows:
WS-insert_text_input.bmp
Fig. 10-17: Insert input field
Creating a tag variable
10-12 IndraControl VEP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
To create a input field proceed as follows:
1. Open the dialog "Object properties" with a double-click or with a clickof the right mouse button on the created dynamic text field.
2. Select entry "Text I/O" from the combo box top right.
3. Activate option "Input Enabled".
4. Enter the name of the tag variable the input should be saved in.
5. Enter the input limits in Minimum Value and Maximum Value.
See "Fig. 10-18: Dialog "Object Properties" - input field".
WS-Object_Properties_Text_Intput.bmp
Fig. 10-18: Dialog "Object Properties" - input field
Because the tag variable does not exist yet, it must be created. You haveto proceed as described in section "Dynamic text field".
ButtonTo insert a button attend the following orders:
1. Select the symbol from the toolbar "Static Objects" and click onthe screen at the desired position, keep hold of the mouse button andmove the mouse until the button has the desired size.
2. Open the dialog "Object Properties" with a double-click on the object.
3. Select entry "Button" in the combo box top right and enter the desiredbutton description in "Caption" (we use "VMA enable/disable" for ourexample).
Input text field
Text I/O
Button
Rexroth SYNAX 200 IndraControl VEP - communication connection 10-13
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
WS-insert_Button.bmp
Fig. 10-19: Insert button
4. Select symbol from the tool bar "Dynamic Properties" at selectedbutton to insert a "Command".
5. Open the dialog "Object Properties" with a double-click on the object.
6. Select entry "Command" in the combo box top right and enter thename of the tag variable "VMA_Enable_Disable" in "Tag". Afterwardsa dialog appears that points out that the tag variable"VMA_Enable_Disable" does not exist yet. Confirm this dialog with"Yes" and select entry "Boolean" from the following dialog in thecombo box "Type" to determine the data type for the tag variable.
7. Enter the "Expression" "NOT VMA_Enable_Disable" in dialog "ObjectProperties" at the just entered tag variable. (This has the effect thatthe status of the variable is inverted with a click on the button.) See"Fig. 10-20: Dialog "Object properties" - button".
WS-Object_Properties_Button.bmp
Fig. 10-20: Dialog "Object properties" - button
Command
10-14 IndraControl VEP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Ellipse with color flapTo visualize the current state of the master axis enabling we use the"Ellipse" object with dynamic property "Color flap", because differentstates can be displayed. Proceed as follows:
1. Select the symbol for "Ellipse" from the toolbar "Static Objects"and click on the screen at the desired position, keep hold of themouse button and move the mouse until the button has the desiredsize.
Note: To create a circle the width and the height of the ellipse objectmust be equal.
WS-CE-insert_Ellipse.bmp
Fig. 10-21: Insert ellipse
2. Select symbol "Color flap" from the tool bar "dynamic properties"at selected ellipse.
3. Open the dialog "Object Properties" with a double-click to the "Ellipse-Object".
4. Enter the name of the variable "VMA_Enable_Acknowledge" at"Variable/name" that influences the display of this object. Afterwardsa dialog appears that points out that the tag variable"VMA_Enable_Acknowledge" does not exist yet. Confirm this dialogwith "Yes" and select entry "Boolean" from the following dialog in thecombo box "Type" to determine the data type for the tag variable.
WS-CE-Object_Properties_Ellipse_Color.bmp
Fig. 10-22: Dialog "Object properties - ellipse- color flap"
Ellipse
Color flap
Rexroth SYNAX 200 IndraControl VEP - communication connection 10-15
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Frame with headlineFinally a frame and a headline is inserted.
1. Here you have to select the symbol for rectangle from toolbar"Static Objects", click on the position of the screen where the leftupper corner should be, keep hold of the mouse button and move themouse to the position where the bottom right corner of the frameshould be.
2. Select the created rectangle and select symbol in the toolbar"Align and order" to place the rectangle to the background.
3. Open dialog "Object Properties" with a double-click on the rectangleand activate button "Caption...".
WS-Object_Properties_Rectangle.bmp
Fig. 10-23: Dialog "Object properties - rectangle"
4. To insert an area headline use a static text field with the followingcontent: "Master Axis 1", select setting "Top left" at "Align" and set thedesired font.
WS-Object_Properties_Rectangle_Caption.bmp
Fig. 10-24: Dialog "Object properties" - rectangle - labelling
Frame + headline
10-16 IndraControl VEP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Configuration - overviewThe configuration of the graphical interface is terminated now.
Save the screen now with a click on symbol in the tool bar or with theselection of entry "Save" in menu "File".
The figures
• "Fig. 10-25: Screen - overview ",
• "Fig. 10-26: Static graphic elements " and
• "Fig. 10-27: Dynamic graphic elements "
show the different objects and their configurations.
WS-CE-Screen_Overview.bmp
Fig. 10-25: Screen - overview
Object no. Object type Content
1 Rectangle(framework + labelling)
Master Axis 1:
2 Text MasterAxis-Command-Speed:
3 Text MasterAxis-Actual-Speed:
Fig. 10-26: Static graphic elements
Objectno.
Object type Tag variable Data type Limits
4 Text (input field) VMA_Command_Speed Real
5 Text (dynamic text field) VMA_Actual_Speed Real Lower: -3000.0000Upper: 3000.0000
6 Button VMA_Enable_Disable Boolean
7 Ellipse with color flap VMA_Enable_Acknowledge Boolean
Fig. 10-27: Dynamic graphic elements
Rexroth SYNAX 200 IndraControl VEP - communication connection 10-17
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
10.4 Communication configuration - OPC
The communication between motion control and visualization on theIndraControl VEP takes place with OPC communication.
OPC server configurationTo insert the control variable to the WinStudio development environmentwith the OPC browser, the same OPC server configuration is used asalready described in chapter "3 Communication".
So the control variables from the IndraLogic example program areavailable in the OPC browser.
Communication configurationFor the communication connection of the visualization to the motioncontrol the tag variables must be linked with the motion control variablesnow.
You have to proceed as follows:
• Change to tab "Comm" in window "Workspace".
• Click with the right mouse button on folder OPC.
• Select the context menu entry "Insert".
WS-Communication_Settings1.bmp
Fig. 10-28: OPC - communication configuration 1
Here the communication sheet is created that is divided into 2 areas.
In the upper area general settings are made as
• the description of the communication sheet,
• the OPC server,
• the deactivation of the communication of this communication sheet,
• the updating rate,
• the "Percent Deadband" (minimum change at analog items),
• the status of connection and
• the remote server (OPC server to another computer).
OPC connection
OPC communication sheet
10-18 IndraControl VEP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
WS-Communication_Settings2.bmp
Fig. 10-29: OPC - communication configuration 2
For our example we use the following settings:
Input field Input
Description SYNAX-Demo-Communication
Server Identifier IndraLogic.OPC.02
Update rate (ms) 200
Fig. 10-30: General OPC - communication settings
The tag variables are entered in the lower part and they are linked withthe respective motion control variable.
The following settings have to be made in the lower area of thecommunication sheet.
Tag name Item Scan
VMA_Enable_Disable PLC1:.VxP_EnableMA1 Screen
VMA_Enable_Acknowledge PLC1:.VxP_EnableMA1Ack Screen
VMA_Command_Speed PLC1:.VxP_CmdSpeedMA1 Screen
VMA_Actual_Speed PLC1:.VxP_SpeedMA1.ActualSpeedFmt Screen
Fig. 10-31: Allocation of the WinStudio variables to the control variables
Rexroth SYNAX 200 IndraControl VEP - communication connection 10-19
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
To enter the WinStudio variables proceed as follows:
• With a double-click on a field in column "Tag Name" the "Object-Finder" is opened.
• Here you have to select the WinStudio variable created before fromthe "Application-Tag data base".
See "Fig. 10-32: Dialog "Object finder"".
WS-Dlg_Object_Finder.bmp
Fig. 10-32: Dialog "Object finder"
To enter the OPC item in the communication sheet proceed as follows:
• Click with the right mouse button on a field in column "Item" and selectentry "OPC Browser" from the context menu.
WS-Dlg_OPC_Browser.bmp
Fig. 10-33: Dialog "OPC Browser"
Dialog "Object Finder"
Dialog "OPC Browser"
10-20 IndraControl VEP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
• Select the OPC item corresponding with the WinStudio variable indialog "OPC browser" and confirm with "OK".
• Repeat this procedure for all WinStudio variables until theconfiguration of "Fig. 10-31: Allocation of the WinStudio variables tothe control variables" is established.
To discharge the communication select setting "Screen" for all tagvariables in column "Scan". This effects that only the variable is updatedat run-time that is used in the currently displayed visualization screen.
Now the OPC communication sheet should look as follows:
WS-Communication_Settings3.bmp
Fig. 10-34: OPC communication sheet
The configuration of the example project is completed now.
Save the complete project with a click on the symbol for "Save all" orwith a click on entry "Save all" in menu "File".
Rexroth SYNAX 200 IndraControl VEP - communication connection 10-21
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
10.5 Configuration of the IndraControl VEP
For the configuration of the IndraControl VEP settings must be executedin the following applications.
• Rexroth CE Settings
• WinStudio Remote Agent (CE-Server)
WS-CE-VEP_Desktop.bmp
Fig. 10-35: IndraControl VEP - Desktop
Rexroth CE SettingsThe Ethernet interfaces of the IndraControl VEP as well as the OPCcommunication to the control are configured in the application "RexrothCE Settings". It is also set that the WindStudio Remote Agent isautomatically started after the powering-up of the VEP.
For the communication connection of the VEP to the IndraLogic PLC ofthe SYNAX control (PPC-R22) two communication paths are available:
• Serial (RS232)
• Ethernet (TCPIP Level2 Route)
For this example an Ethernet connection is used.
For the communication configuration the same conditions apply asdescribed in chapter "3.7 Configuration for the OPC server".
10-22 IndraControl VEP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
WS-CE-Rexroth_CE_Settings_App.bmp
Fig. 10-36: Rexroth CE Settings - Application Settings
The relevant settings of the menu "Application Settings" are described inthe following.
Select entry "WinStudio" from the selection menu to start the WinStudioRemote Agent automatically after the powering-up of the VEP.
Select entry "PPC SYNAX" from the selection menu.
Control name of the Multi-PLC configuration (see "3.7 Configuration forthe OPC server".
Enter the same name that you have used in the OPC communicationsheet of the WinStudio application. In this example it is "PLC1".
Waiting time till the display of connection interrupts. (This setting isimportant at slow connections or high communication appearances.)
Ethernet communicationActivate the selection "Ethernet".
Enter the IP address of the SYNAX- PPC-R22.
- or -
Serial communication
Note: To establish a serial communication between a VEP and aPPC, the serial interface of the PPC must be configured asdescribed in chapter "3.4 Gateway configuration", "RS232PPC".
Activate the selection "Serial Communication".
Select the same Baudrate that is set for the serial interface of the PPC.
Select entry "even".
Select entry "1".
Start App:
Control Type:
Control Name:
Timeout:
Ethernet
Server IP:
Serial Communication
Baud Rate:
Parity:
Stop Bits:
Rexroth SYNAX 200 IndraControl VEP - communication connection 10-23
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
WinStudio Remote AgentThe WinStudio Remote Agent is used to connect the WinStudiodevelopment environment with the WinStudio Runtime.
WS-CE-Remote_Agent.bmp
Fig. 10-37: WinStudio Remote Agent
In the Remote Agent you have the possibility to configure the connectionpath between development computer and VEP with button "Setup". Forselection are:
• Ethernet TCP/IP,
• Serial.
WS-CE-Remote_Agent_Setup.bmp
Fig. 10-38: WinStudio Remote Agent - Setup
It is also possible to set an automatic startup of the WinStudio applicationwith option "Run CEView on startup" after the powering-up of the RemoteAgent.
Note: If the WinStudio application should be executed automaticallyafter the start of the VEP, the following settings are necessary:
• The selection "WinStudio" must be set at "Start App:" inmenu "Application Settings" of the application "Rexroth CESettings" and
• the option "Run CEView on startup" must be activated inmenu "Setup" of the "Remote Agent".
10-24 IndraControl VEP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
10.6 Download of the WinStudio application
Establish network connectionTo load the WinStudio project to the IndraControl VEP, the "WinStudio-Remote Agent" at the VEP must be active. This can be started with thelink "WinStudio CE-Server" on the desktop of the VEP.
See "Fig. 10-35: IndraControl VEP - Desktop".
Select the entry "Execution platform" from menu "Project" in theWinStudio development environment.
WS-Start_Exec_Env.bmp
Fig. 10-39: Start execution platform
Execution platformSelect "Network ID" in dialog "Execution platform" at "Target station" andenter the network address of the IndraControl VEP. Now establish theconnection to the VEP with button "Connect".
WS-Dlg_Exec_Env_Target.bmp
Fig. 10-40: Execution platform connect target station
VEP:
WinStudio developmentenvironment:
Rexroth SYNAX 200 IndraControl VEP - communication connection 10-25
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Install RuntimeIf the WinStudio Runtime component is not on the IndraControl VEP yet, itis possible to install the WinStudio Runtime with button "Install: System".
WS-CE-Dlg_Exec_Env_Install.bmp
Fig. 10-41: Execution platform - install Runtime
Download of the applicationTo load the WinStudio application select tab "Application" and pressbutton "Send to target".
A
WS-CE-Dlg_Exec_Env_Download.bmp
Fig. 10-42: Execution platform - load application
10-26 IndraControl VEP - communication connection Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
10.7 Starting an application
After the download of the application is completed, it can be started. Hereare two paths available:
1. In the WinStudio development environment with button "Start" indialog Execution platform.
- or -
2. On the VEP with button "Start" in the Remote Agent, see Fig. 10-37:WinStudio Remote Agent.
The application should look as follows:
WS-CE-Runtime_View.bmp
Fig. 10-43: Display of the visualization at the VEP
Rexroth SYNAX 200 Index 11-1
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
11 Index
CCommunication 3-1Communication configuration - OPC 9-18, 10-17connection settings 8-5Connection settings 5-4, 6-5, 7-5Connection settings Profibus DP 7-5Coordination byte 5-11, 6-12, 7-11, 8-11Create project 4-2Creating a project 5-2, 6-3Creating a project - VCP (DeviceNet) 8-3Creating a project - VCP (Profibus) 7-3Creating a project - VCP (serial) 5-2, 6-3Creating a project - VEP 10-3Creating a screen - VCP (DeviceNet) 8-14Creating a screen - VCP (Ethernet) 5-13Creating a screen - VCP (Profibus) 7-14Creating a screen - VCP (serial) 6-14Creating a screen - VEP 10-6Creating a WinStudio project - BTV / VSP 9-3
DDeclaration of variables 4-9Destination folder 2-6DeviceNet 4-23, 8-1Dolfi 2-3Download WinStudio application 10-25
EEDS file 4-23
FFieldbus expansion 4-17, 4-23
GGateway 3-7Gateway configuration 3-7Global variables 4-12GSD Datei 4-17
IImplementation of variables 4-9Important information 2-5IndraControl VCP 5-1, 6-1, 7-1, 8-1IndraControl VSP 9-1IndraControl-BTV 9-1IndraControl-VEP 10-1IndraLogic 2-3, 4-1IndraLogic example program 4-1Insert grafik elements - VEP 10-8Insert graphic elements - BTV / VSP 9-9Install WinStudio CE Runtime 10-25Installation 2-4
LLED control 5-11, 6-12, 7-12, 8-11License agreement 2-5Loading a project - VCP (Profibus) 7-18
11-2 Index Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Loading a project - VCP (serial) 5-18, 6-17, 8-18Local variables 4-14
MMessage channel 5-11, 6-12, 7-11, 8-11Multi-PLC 3-17
OOPC Browser 9-20, 10-19OPC server 3-17OPC server - configuration 3-17OPC server configuration - Windows CE 10-17OPC-Client 9-4OPC-SCP configuration 9-24
PPLC program 4-17, 4-23PLC program - Fieldbus expansion - DeviceNet 4-23Poll area 6-11Polling area 5-10, 7-11, 8-10Prerequisites for the processing of the examples 1-3Profibus DP 4-17, 7-5Program folder 2-7Project - settings 4-2Project - settings - VEP 10-4Project - settings - VPP 9-4Project settings - VCP 5-9, 6-10, 7-9Project settings - VCP (DeviceNet) 8-10
RRexroth CE Settings 10-21Rexroth SYNAX 200 system 2-6
SSCP 2-2SCP configurator 3-5SCP-OPC-Server 9-23Single-PLC 3-17Starting the application - BTV / VSP 9-22Symbol configuration 4-15Symbol file 3-12, 3-16SYNAX expansions 2-3SYNAX Targets 2-3SynTop 2-2System prerequisite 1-2System Rexroth SYNAX 200 HMI 2-2System Rexroth SYNAX 200 MC 2-1System Rexroth SYNAX 200 ML 2-1System variables 4-9
TTag variable 9-12, 10-11
UUninstall process 2-9
VVCP (serial) 5-2, 6-3VI-Composer 2-3, 5-1, 6-1, 7-1, 8-1
Rexroth SYNAX 200 Index 11-3
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
WWelcome dialog 2-5Windows CE 10-1WinStudio 2-3, 9-1, 10-1WinStudio creating a screen - BTV / VSP 9-6WinStudio Remote Agent 10-23
11-4 Index Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Rexroth SYNAX 200 Service & Support 12-1
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
12 Service & Support
12.1 Helpdesk
Unser Kundendienst-Helpdesk im Hauptwerk Lohram Main steht Ihnen mit Rat und Tat zur Seite.Sie erreichen uns
Our service helpdesk at our headquarters in Lohr amMain, Germany can assist you in all kinds of inquiries.Contact us
- telefonisch - by phone: +49 (0) 9352 40 50 60über Service Call Entry Center Mo-Fr 07:00-18:00 Central European Time- via Service Call Entry Center Mo-Fr 7:00 am - 6:00 pm CET
- per Fax - by fax: +49 (0) 9352 40 49 41
- per e-Mail - by e-mail: [email protected]
12.2 Service-Hotline
Außerhalb der Helpdesk-Zeiten ist der ServiceDeutschland direkt ansprechbar unter
After helpdesk hours, contact the German serviceexperts directly at
+49 (0) 171 333 88 26
oder - or +49 (0) 172 660 04 06
Hotline-Rufnummern anderer Länder entnehmenSie bitte den Adressen in den jeweiligen Regionen.
Hotline numbers of other countries to be seen inthe addresses of each region.
12.3 Internet
Unter www.boschrexroth.com finden Sieergänzende Hinweise zu Service, Reparatur undTraining sowie die aktuellen Adressen *) unsererauf den folgenden Seiten aufgeführten Vertriebs-und Servicebüros.
Verkaufsniederlassungen
Niederlassungen mit Kundendienst
Außerhalb Deutschlands nehmen Sie bitte zuerst Kontakt mitunserem für Sie nächstgelegenen Ansprechpartner auf.
*) Die Angaben in der vorliegenden Dokumentation könnenseit Drucklegung überholt sein.
At www.boschrexroth.com you can findadditional notes about service, repairs and training.The current addresses *) for our sales and servicefacilities locations around the world are on thefollowing pages.
sales agencies
sales agencies providing service
Please contact our sales / service office in your area first.
*) Data in the present documentation may have becomeobsolete since printing.
12.4 Vor der Kontaktaufnahme... - Before contacting us...
Wir können Ihnen schnell und effizient helfen wenn Siefolgende Informationen bereithalten:
1. detaillierte Beschreibung der Störung und derUmstände.
2. Angaben auf dem Typenschild der betreffendenProdukte, insbesondere Typenschlüssel undSeriennummern.
3. Tel.-/Faxnummern und e-Mail-Adresse, unter denenSie für Rückfragen zu erreichen sind.
For quick and efficient help, please have the followinginformation ready:
1. Detailed description of the failure andcircumstances.
2. Information on the type plate of the affectedproducts, especially type codes and serial numbers.
3. Your phone/fax numbers and e-mail address, so wecan contact you in case of questions.
12-2 Service & Support Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
12.5 Kundenbetreuungsstellen - Sales & Service Facilities
Deutschland – Germany vom Ausland: (0) nach Landeskennziffer weglassen!from abroad: don’t dial (0) after country code!
Vertriebsgebiet MitteGermany Centre
Bosch RexrothElectrice Drives and Controls GmbHBgm.-Dr.-Nebel-Str. 2 / Postf. 135797816 Lohr am Main / 97803 Lohr
Kompetenz-Zentrum Europa
Tel.: +49 (0)9352 40-0Fax: +49 (0)9352 40-4885
S E R V I C E A U T O M A T I O N
C A L L E N T R Y C E N T E RH e l p d e s kMO – FR
von 07:00 - 18:00 Uhrfrom 7 am – 6 pm
Tel. +49 (0) 9352 40 50 60Fax +49 (0) 9352 40 49 41
S E R V I C E A U T O M A T I O N
H OTLIN E 24 / 7 / 365
außerhalb der Helpdesk-Zeitout of helpdesk hours
Tel.: +49 (0)172 660 04 06o d e r / o r
Tel.: +49 (0)171 333 88 26
S E R V I C E A U T O M A T I O N
ERSATZTEILE / SPARESverlängerte Ansprechzeit- extended office time -
♦ nur an Werktagen- only on working days -
♦ von 07:00 - 18:00 Uhr- from 7 am - 6 pm -
Tel. +49 (0) 9352 40 42 22
Vertriebsgebiet SüdGermany South
Bosch Rexroth AGLandshuter Allee 8-1080637 München
Tel.: +49 (0)89 127 14-0Fax: +49 (0)89 127 14-490
Vertriebsgebiet WestGermany West
Bosch Rexroth AGRegionalzentrum WestBorsigstrasse 1540880 Ratingen
Tel.: +49 (0)2102 409-0Fax: +49 (0)2102 409-406
+49 (0)2102 409-430
Gebiet SüdwestGermany South-West
Bosch Rexroth AGService-Regionalzentrum Süd-WestSiemensstr. 170736 Fellbach
Tel.: +49 (0)711 51046–0Fax: +49 (0)711 51046–248
Vertriebsgebiet NordGermany North
Bosch Rexroth AGWalsroder Str. 9330853 Langenhagen
Tel.: +49 (0) 511 72 66 57-0Service: +49 (0) 511 72 66 57-256Fax: +49 (0) 511 72 66 57-93Service: +49 (0) 511 72 66 57-783
Vertriebsgebiet MitteGermany Centre
Bosch Rexroth AGRegionalzentrum MitteWaldecker Straße 1364546 Mörfelden-Walldorf
Tel.: +49 (0) 61 05 702-3Fax: +49 (0) 61 05 702-444
Vertriebsgebiet OstGermany East
Bosch Rexroth AGBeckerstraße 3109120 Chemnitz
Tel.: +49 (0)371 35 55-0Fax: +49 (0)371 35 55-333
Vertriebsgebiet OstGermany East
Bosch Rexroth AGRegionalzentrum OstWalter-Köhn-Str. 4d04356 Leipzig
Tel.: +49 (0)341 25 61-0Fax: +49 (0)341 25 61-111
Rexroth SYNAX 200 Service & Support 12-3
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Europa (West) - Europe (West)
vom Ausland: (0) nach Landeskennziffer weglassen, Italien: 0 nach Landeskennziffer mitwählenfrom abroad: don’t dial (0) after country code, Italy: dial 0 after country code
Austria - Österreich
Bosch Rexroth GmbHElectric Drives & ControlsStachegasse 131120 Wien
Tel.: +43 (0) 1 985 25 40Fax: +43 (0) 1 985 25 40-1459
Austria – Österreich
Bosch Rexroth GmbHElectric Drives & ControlsIndustriepark 184061 Pasching
Tel.: +43 (0)7221 605-0Fax: +43 (0)7221 605-1220
Belgium - Belgien
Bosch Rexroth NV/SAHenri Genessestraat 11070 Bruxelles
Tel: +32 (0) 2 451 26 08Fax: +32 (0) 2 451 27 [email protected]@boschrexroth.be
Denmark - Dänemark
BEC A/SZinkvej 68900 Randers
Tel.: +45 87 11 90 60Fax: +45 87 11 90 61
Denmark - Dänemark
Bosch Rexroth A/SEngelsholmvej 268900 Randers
Tel.: +45 36 77 44 66Fax: +45 70 10 03 [email protected]
Great Britain – Großbritannien
Bosch Rexroth Ltd.Electric Drives & ControlsBroadway Lane, South CerneyCirencester, Glos GL7 5UH
Tel.: +44 (0)1285 863-000Fax: +44 (0)1285 [email protected]@boschrexroth.co.uk
Finland - Finnland
Bosch Rexroth OyElectric Drives & ControlsAnsatie 6017 40 Vantaa
Tel.: +358 (0)9 84 91-11Fax: +358 (0)9 84 91-13 60
France - Frankreich
Bosch Rexroth SASElectric Drives & ControlsAvenue de la Trentaine(BP. 74)77503 Chelles Cedex
Tel.: +33 (0)164 72-63 22Fax: +33 (0)164 72-63 20Hotline: +33 (0)608 33 43 28
France - Frankreich
Bosch Rexroth SASElectric Drives & ControlsZI de Thibaud, 20 bd. Thibaud(BP. 1751)31084 Toulouse
Tel.: +33 (0)5 61 43 61 87Fax: +33 (0)5 61 43 94 12
France – Frankreich
Bosch Rexroth SASElectric Drives & Controls91, Bd. Irène Joliot-Curie69634 Vénissieux – Cedex
Tel.: +33 (0)4 78 78 53 65Fax: +33 (0)4 78 78 53 62
France – Frankreich
Tightening & Press-fit:Globe Techniques Nouvelles143, Av. du Général de Gaulle92252 La Garenne Colombes
Tel.: +33 (0)1 41 19 33 33
Italy - Italien
Bosch Rexroth S.p.A.Strada Statale PadanaSuperiore 11, no. 4120063 Cernusco S/N.MIHotline: +39 02 92 365 563Tel.: +39 02 92 365 1Service: +39 02 92 365 300Fax: +39 02 92 365 500Service: +39 02 92 365 516
Italy - Italien
Bosch Rexroth S.p.A.Via Paolo Veronesi, 25010148 Torino
Tel.: +39 011 224 88 11Fax: +39 011 224 88 30
Italy - Italien
Bosch Rexroth S.p.A.Via Mascia, 180053 Castellamare di Stabia NA
Tel.: +39 081 8 71 57 00Fax: +39 081 8 71 68 85
Italy - Italien
Bosch Rexroth S.p.A.Via del Progresso, 16 (Zona Ind.)35020 Padova
Tel.: +39 049 8 70 13 70Fax: +39 049 8 70 13 77
Italy - Italien
Bosch Rexroth S.p.A.Via Isonzo, 6140033 Casalecchio di Reno (Bo)
Tel.: +39 051 29 86 430Fax: +39 051 29 86 490
Italy - Italien
Tightening & Press-fit:TEMA S.p.A. AutomazioneVia Juker, 2820025 Legnano
Tel.: +39 0 331 4671
Netherlands – Niederlande/Holland
Bosch Rexroth B.V.Kruisbroeksestraat 1(P.O. Box 32)5281 RV Boxtel
Tel.: +31 (0) 411 65 16 40Fax: +31 (0) 411 65 14 83www.boschrexroth.nl
Netherlands - Niederlande/Holland
Bosch Rexroth Services B.V.Technical ServicesKruisbroeksestraat 1(P.O. Box 32)5281 RV Boxtel
Tel.: +31 (0) 411 65 19 51Fax: +31 (0) 411 67 78 14Hotline: +31 (0) 411 65 19 [email protected]
Norway - Norwegen
Bosch Rexroth ASElectric Drives & ControlsBerghagan 1 or: Box 30071405 Ski-Langhus 1402 SkiTel.: +47 64 86 41 00
Fax: +47 64 86 90 62
Hotline: +47 64 86 94 [email protected]
Spain – Spanien
Goimendi Automation S.L.Parque Empresarial ZuatzuC/ Francisco Grandmontagne no.220018 San Sebastian
Tel.: +34 9 43 31 84 21- service: +34 9 43 31 84 56Fax: +34 9 43 31 84 27- service: +34 9 43 31 84 [email protected]@[email protected]
Spain - Spanien
Bosch Rexroth S.A.Electric Drives & ControlsCentro Industrial SantigaObradors 14-1608130 Santa Perpetua de MogodaBarcelona
Tel.: +34 9 37 47 94-00Fax: +34 9 37 47 [email protected]
Spain - Spanien
Bosch Rexroth S.A.Electric Drives & Controlsc/ Almazara, 928760 Tres Cantos (Madrid)
Tel.: +34 91 806 24 79Fax: +34 91 806 24 [email protected]
Sweden - Schweden
Bosch Rexroth ABElectric Drives & Controls- Varuvägen 7(Service: Konsumentvägen 4, Älfsjö)125 81 Stockholm
Tel.: +46 (0) 8 727 92 00Fax: +46 (0) 8 647 32 77
Sweden - Schweden
Bosch Rexroth ABElectric Drives & ControlsEkvändan 7254 67 Helsingborg
Tel.: +46 (0) 4 238 88 -50Fax: +46 (0) 4 238 88 -74
Switzerland East - Schweiz Ost
Bosch Rexroth Schweiz AGElectric Drives & ControlsHemrietstrasse 28863 ButtikonTel. +41 (0) 55 46 46 111Fax +41 (0) 55 46 46 222
Switzerland West - Schweiz West
Bosch Rexroth Suisse SAAv. Général Guisan 261800 Vevey 1
Tel.: +41 (0)21 632 84 20Fax: +41 (0)21 632 84 21
12-4 Service & Support Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Europa (Ost) - Europe (East)
vom Ausland: (0) nach Landeskennziffer weglassenfrom abroad: don’t dial (0) after country code
Czech Republic - Tschechien
Bosch -Rexroth, spol.s.r.o.Hviezdoslavova 5627 00 Brno
Tel.: +420 (0)5 48 126 358Fax: +420 (0)5 48 126 112
Czech Republic - Tschechien
Tightening & Press-fit:Bosch -Rexroth, spol.s.r.o.Stetkova 18140 68 Praha 4
Tel.: +420 (0)241 406 675
Hungary - Ungarn
Bosch Rexroth Kft.Angol utca 341149 Budapest
Tel.: +36 (1) 422 3200Fax: +36 (1) 422 3201
Poland – Polen
Bosch Rexroth Sp.zo.o.ul. Staszica 105-800 Pruszków
Tel.: +48 (0) 22 738 18 00– service: +48 (0) 22 738 18 46Fax: +48 (0) 22 758 87 35– service: +48 (0) 22 738 18 42
Poland – Polen
Bosch Rexroth Sp.zo.o.Biuro Poznanul. Dabrowskiego 81/8560-529 Poznan
Tel.: +48 061 847 64 62 /-63Fax: +48 061 847 64 02
Romania - Rumänien
East Electric S.R.L.Bdul Basarabia no.250, sector 373429 Bucuresti
Tel./Fax:: +40 (0)21 255 35 07+40 (0)21 255 77 13
Fax: +40 (0)21 725 61 [email protected]
Romania - Rumänien
Bosch Rexroth Sp.zo.o.Str. Drobety nr. 4-10, app. 1470258 Bucuresti, Sector 2
Tel.: +40 (0)1 210 48 25+40 (0)1 210 29 50
Fax: +40 (0)1 210 29 52
Russia - Russland
Bosch Rexroth OOOTschschjolkowskoje Chaussee 100105523 Moskau
Tel.: +7-495-783 30 60 + 64Fax: +7-495 783 30 68 + 69brcschrexroth.ru
Turkey - Türkei
Bosch Rexroth OtomasyonSan & Tic. A..S.Fevzi Cakmak Cad No. 334295 Sefaköy Istanbul
Tel.: +90 212 411-13 00Fax: +90 212 411-13 17www.boschrexroth.com.tr
Turkey - Türkei
Servo Kontrol Ltd. Sti.Perpa Ticaret Merkezi B BlokKat: 11 No: 160980270 Okmeydani-Istanbul
Tel: +90 212 320 30 80Fax: +90 212 320 30 [email protected]
Slowakia - Slowakei
Tightening & Press-fit:
MTS, spol .s.r.o.02755 Kriva 53
Tel.: +421 43 5819 161
Slowenia - Slowenien
DOMELOtoki 2164 228 Zelezniki
Tel.: +386 5 5117 152Fax: +386 5 5117 [email protected]
Australien, Süd-Afrika - Australia, South AfricaAustralia - Australien
AIMS - Australian IndustrialMachinery Services Pty. Ltd.28 Westside DriveLaverton North Vic 3026Melbourne
Tel.: +61 3 93 14 3321Fax: +61 3 93 14 3329Hotlines: +61 3 93 14 3321
+61 4 19 369 [email protected]
Australia - Australien
Bosch Rexroth Pty. Ltd.No. 7, Endeavour WayBraeside Victoria, 31 95Melbourne
Tel.: +61 3 95 80 39 33Fax: +61 3 95 80 17 [email protected]
South Africa - Südafrika
TECTRA Automation (Pty) Ltd.100 Newton Road, MeadowdaleEdenvale 1609
Tel.: +27 11 971 94 00Fax: +27 11 971 94 40Hotline: +27 82 903 29 [email protected]
South Africa - Südafrika
Tightening & Press-fit:Jendamark Automation76A York Road, North End6000 Port Elizabeth
Tel.: +27 41 391 4735
Asien - Asia (incl. Pacific Rim)China
Shanghai Bosch RexrothHydraulics & Automation Ltd.No.122, Fu Te Dong Yi RoadWaigaoqiao, Free Trade ZoneShanghai 200131 - P.R.China
Tel.: +86 21 58 66 30 30Fax: +86 21 58 66 55 [email protected]
China
Shanghai Bosch RexrothHydraulics & Automation Ltd.4/f, Marine TowerNo.1, Pudong AvenueShanghai 200120 - P.R.China
Tel: +86 21 68 86 15 88Fax: +86 21 68 86 05 99
+86 21 58 40 65 [email protected]
China
Bosch Rexroth (China) Ltd.Satellite Service OfficeChangchunRm. 1910, Guangming BuildingNo.336 Xi’an Rd., Chao YangDistr.Changchun 130061 - P.R.China
Tel.+Fax: +86 431 898 1129Mobile: +86 139 431 92 659
China
Bosch Rexroth (China) Ltd.Satellite Service Office WuhanNo. 22, Pinglanju, Milanyuan,Golden HarborNo. 236 Longyang AvenueEconomic & TechnologyDevelopment ZoneWuhan 430056 - P.R.China
Tel.+Fax: +86 27 84 23 23 92Mobile: +86 139 71 58 89 [email protected]
Rexroth SYNAX 200 Service & Support 12-5
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
China
Bosch Rexroth (China) Ltd.Beijing Representative OfficeXi San Qi Dong, De Sheng Mei WaiHai Dian DistrictBeijing 100096, P.R.China
Tel.: +86 10 82 91 22 29Fax: +86 10 82 91 81 [email protected]
China
Bosch Rexroth (China) Ltd.Guangzhou Repres. OfficeRoom 3710-3716, Metro Plaza,Tian He District, 183 Tian He Bei RdGuangzhou 510075, P.R.China
Tel.: +86 20 87 55 00 30+86 20 87 55 00 11
Fax: +86 20 87 55 23 87
China
Bosch Rexroth (China) Ltd.Dalian Representative OfficeRoom 2005,Pearl River Int. BuildingNo.99 Xin Kai Rd., Xi Gang DistrictDalian, 116011, P.R.China
Tel.: +86 411 83 68 26 02Fax: +86 411 83 68 27 [email protected]
China
Tightening & Press-fit:C. Melchers GmbH & CoShanghai Representation13 Floor Est Ocean CentreNo.588 Yanan Rd. East65 Yanan Rd. WestShanghai 200001Tel.: +86 21 63 52 88 48Fax: +86 21 63 51 31 [email protected]
Hongkong
Bosch Rexroth (China) Ltd.6th Floor,Yeung Yiu Chung No.6 Ind Bldg.19 Cheung Shun StreetCheung Sha Wan,Kowloon, Hongkong
Tel.: +852 27 86 46 32Fax: +852 27 42 60 [email protected]
India - Indien
Bosch Rexroth (India) Ltd.Electric Drives & ControlsPlot. No.96, Phase IIIPeenya Industrial AreaBangalore – 560058
Tel.: +91 80 51 17 0-211...-218Fax: +91 80 83 94 345
+91 80 83 97 [email protected]
India - Indien
Bosch Rexroth (India) Ltd.Electric Drives & ControlsAdvance House, II FloorArk Industrial CompoundNarol Naka, Makwana RoadAndheri (East), Mumbai - 400 059
Tel.: +91 22 28 56 32 90+91 22 28 56 33 18
Fax: +91 22 28 56 32 [email protected]
India - Indien
Tightening & Press-fit:
MICOHosur Road Adugodi560 030 Bangalore Karnataki
Tel.: +91 80 22 99 28 86
India - Indien
Bosch Rexroth (India) Ltd.S-10, Green Park ExtensionNew Delhi – 110016
Tel.: +91 11 26 56 65 25+91 11 26 56 65 27
Fax: +91 11 26 56 68 [email protected]
Indonesia - Indonesien
PT. Bosch RexrothBuilding # 202, Cilandak CommercialEstateJl. Cilandak KKO, Jakarta 12560
Tel.: +62 21 7891169 (5 lines)Fax: +62 21 7891170 - [email protected]
Japan
Bosch Rexroth CorporationService Center JapanYutakagaoka 1810, Meito-ku,NAGOYA 465-0035, Japan
Tel.: +81 52 777 88 41+81 52 777 88 53+81 52 777 88 79
Fax: +81 52 777 89 01
Japan
Bosch Rexroth CorporationElectric Drives & Controls3-6-7 Shibuya, Shibuya-kuTokyo 150-0002, Japan
Tel : +81-3-54 85-7240Fax: +81-3-54 85-7241
Korea
Bosch Rexroth-Korea Ltd.Electric Drives & Controls1515-14 Dadae-Dong, Saha-guPusan Metropolitan City, 604-050
Tel.: +82 51 26 00 741Fax: +82 51 26 00 [email protected]
Korea
Bosch Rexroth-Korea Ltd.Electric Drives and ControlsBongwoo Bldg. 7FL, 31-7, 1GaJangchoong-dong, Jung-guSeoul, 100-391
Tel.: +82 234 061 813Fax: +82 222 641 295
Korea
Bosch Rexroth-Korea Ltd.Electric Drives & Controls1515-14 Dadae-Dong, Saha-guUlsan, 680-010
Tel.: +82 52 256-0734Fax: +82 52 256-0738
Korea
Tightening & Press-fit:KVT Co., Ltd.901, Daeryung Techno Town 8481-11 Gasan-DongGeumcheon-GuSeoul, 153-775Tel.: +82 2 2163 0231 9
Malaysia
Bosch Rexroth Sdn.Bhd.11, Jalan U8/82, Seksyen U840150 Shah AlamSelangor, Malaysia
Tel.: +60 3 78 44 80 00Fax: +60 3 78 45 48 [email protected]@tm.net.my
Singapore - Singapur
Bosch Rexroth Pte Ltd15D Tuas RoadSingapore 638520
Tel.: +65 68 61 87 33Fax: +65 68 61 18 [email protected]
Taiwan
Bosch Rexroth Co., Ltd.Taichung Industrial AreaNo.19, 38 RoadTaichung, Taiwan 407, R.O.C.
Tel : +886 - 4 -235 08 383Fax: +886 - 4 -235 08 [email protected]@boschrexroth.com.tw
Taiwan
Bosch Rexroth Co., Ltd.Tainan BranchNo. 17, Alley 24, Lane 737Chung Cheng N.Rd. YungkangTainan Hsien, Taiwan, R.O.C.
Tel : +886 - 6 –253 6565Fax: +886 - 6 –253 [email protected]
Thailand
NC Advance Technology Co. Ltd.59/76 Moo 9Ramintra road 34Tharang, Bangkhen,Bangkok 10230
Tel.: +66 2 943 70 62+66 2 943 71 21
Fax: +66 2 509 23 62Hotline +66 1 984 61 [email protected]
12-6 Service & Support Rexroth SYNAX 200
DOK-SYNAX*-SY*-13VRS**-IB01-EN-P
Nordamerika – North AmericaUSAHeadquarters - Hauptniederlassung
Bosch Rexroth CorporationElectric Drives & Controls5150 Prairie Stone ParkwayHoffman Estates, IL 60192-3707
Tel.: +1 847 645-3600Fax: +1 847 [email protected]@boschrexroth-us.com
USA Central Region - Mitte
Bosch Rexroth CorporationElectric Drives & Controls1701 Harmon RoadAuburn Hills, MI 48326
Tel.: +1 248 393-3330Fax: +1 248 393-2906
USA Southeast Region - Südost
Bosch Rexroth CorporationElectric Drives & Controls2810 Premiere Parkway, Suite 500Duluth, GA 30097
Tel.: +1 678 957-4050Fax: +1 678 417-6637
USA SERVICE-HOTLINE
- 7 days week/ 24 hrs day -
+1-800-REXROTH+1 800 739 7684
USA Northeast Region – Nordost
Bosch Rexroth CorporationElectric Drives & Controls99 Rainbow RoadEast Granby, CT 06026
Tel.: +1 860 844-8377Fax: +1 860 844-8595
USA West Region – West
Bosch Rexroth CorporationElectric Drives & Controls7901 Stoneridge Drive, Suite 220Pleasanton, CA 94588
Tel.: +1 925 227-1084Fax: +1 925 227-1081
Canada East - Kanada Ost
Bosch Rexroth Canada Corporation5345 Outer Drive unit 5Windsor, OntarioCanada N9A 6J3
Tel.: +1 519 737 7393Fax.: +1 519 737 9999
Canada East - Kanada Ost
Bosch Rexroth Canada CorporationAutomation Division3426 Mainway DriveBurlington, OntarioCanada L7M 1A8
Tel.: +1 905 335 5511Fax: +1 905 335 4184 (Main)
+1 905 335 9803 (Serv.)
[email protected]@boschrexroth.ca
Canada West - Kanada West
Bosch Rexroth Canada Corporation5345 Goring St.Burnaby, British ColumbiaCanada V7J 1R1
Tel. +1 604 205 5777Fax +1 604 205 6944
[email protected]@boschrexroth.ca
CANADA SERVICE HOTLINE
- 7 days week/ 24 hrs day -
+1 905 335 5511
Mexico
Bosch Rexroth Mexico S.A. de C.V.Calle Neptuno 72Unidad Ind. Vallejo07700 Mexico, D.F.
Tel.: +52 55 57 54 17 11Fax: +52 55 57 54 50 [email protected]
Mexico
Bosch Rexroth S.A. de C.V.Calle Argentina No 3913Fracc. las Torres64930 Monterrey, N.L.
Tel.: +52 81 83 49 80 91+52 81 83 49 80 92+52 81 83 49 80 93
Fax: +52 81 83 65 52 80
Südamerika – South AmericaArgentina - Argentinien
Bosch Rexroth S.A.I.C."The Drive & Control Company"Rosario 2302B1606DLD CarapachayProvincia de Buenos Aires
Tel.: +54 11 4756 01 40+54 11 4756 02 40+54 11 4756 03 40+54 11 4756 04 40
Fax: +54 11 4756 01 36+54 11 4721 91 53
Argentina - Argentinien
NAKASE SRLServicio Tecnico CNCCalle 49, No. 5764/66B1653AOX Villa BalesterProvincia de Buenos Aires
Tel.: +54 11 4768 42 42Fax: +54 11 4768 42 42 111Hotline: +54 11 155 307 [email protected]@[email protected] (Service)
Brazil - Brasilien
Bosch Rexroth Ltda.Av. Tégula, 888Ponte Alta, Atibaia SPCEP 12942-440
Tel.: +55 11 4414 -56 92+55 11 4414 -56 84
Fax sales: +55 11 4414 -57 07Fax serv.: +55 11 4414 -56 [email protected]
Brazil - Brasilien
Bosch Rexroth Ltda.R. Dr.Humberto Pinheiro Vieira, 100Distrito Industrial [Caixa Postal 1273]89220-390 Joinville - SC
Tel./Fax: +55 47 473 58 33Mobil: +55 47 9974 6645
Columbia - Kolumbien
Reflutec de Colombia Ltda.Calle 37 No. 22-31Santafé de Bogotá, D.C.Colombia
Tel.: +57 1 208 65 55Fax: +57 1 269 97 [email protected]
Bosch Rexroth AGElectric Drives and ControlsP.O. Box 13 5797803 Lohr, GermanyBgm.-Dr.-Nebel-Str. 297816 Lohr, GermanyPhone +49 (0)93 52-40-50 60Fax +49 (0)93 52-40-49 [email protected]
Printed in GermanyDOK-SYNAX*-SY*-13VRS**-IB01-EN-PR911313738