Rexroth IndraLogic VPP 21 System Description
Rexroth IndraLogic VPP 21 System Description
Rexroth IndraLogic VPP 21 System Description
Validity The specified data is for product description purposes only and may not
be deemed to be guaranteed unless expressly confirmed in the contract.
All rights are reserved with respect to the content of this documentation
and the availability of the product.
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Contents I
Contents
1 System Overview 1-1
1.1 Components ................................................................................................................................. 1-1
1.2 Related Documentations .............................................................................................................. 1-2
DOK-CONTRL-VPP*21*****-AW01-EN-P
II Contents IndraLogic VPP 21
6 Libraries 6-1
6.1 Overview ....................................................................................................................................... 6-1
6.2 BusDiag ........................................................................................................................................ 6-2
6.3 IL_VCP_DP................................................................................................................................... 6-3
Overview.................................................................................................................................. 6-3
VCP_PBS16_A4096................................................................................................................ 6-3
VCP_PBS32_A4096................................................................................................................ 6-4
VCP_PBS32_A65536.............................................................................................................. 6-5
6.4 RIL_Check .................................................................................................................................... 6-6
6.5 RIL_ProfibusDP ............................................................................................................................ 6-8
Overview.................................................................................................................................. 6-8
Slave Diagnostic Data According to the Profibus DP Standard .............................................. 6-9
General Field Bus Diagnosis ................................................................................................. 6-11
Data Types ............................................................................................................................ 6-12
DP_RDIAG ............................................................................................................................ 6-16
DP_RDIAG_EXT ................................................................................................................... 6-17
DP_RDREC ........................................................................................................................... 6-18
DP_WRREC .......................................................................................................................... 6-19
fbdBaudrateGet ..................................................................................................................... 6-20
fbdBmErrorGet ...................................................................................................................... 6-20
fbdBmInfoGet ........................................................................................................................ 6-20
fbdBmStateGet ...................................................................................................................... 6-21
fbdKsdListGet ........................................................................................................................ 6-21
fbdPdTypeGet........................................................................................................................ 6-21
fbdPrjSlaveListGet ................................................................................................................. 6-22
fbdSlaveDiagListGet.............................................................................................................. 6-22
DP_SYCFR............................................................................................................................ 6-23
DP_ADDR.............................................................................................................................. 6-23
DP_ID .................................................................................................................................... 6-23
DP_SLOT .............................................................................................................................. 6-24
6.6 RIL_Utilities................................................................................................................................. 6-25
Overview................................................................................................................................ 6-25
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Contents III
10 Index 10-1
DOK-CONTRL-VPP*21*****-AW01-EN-P
IV Contents IndraLogic VPP 21
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 System Overview 1-1
1 System Overview
1.1 Components
Hardware The PLC system IndraLogic VPP 21 is based on the operator terminal
IndraControl VPP 21. It is composed of the following components:
• IndraControl VPP 21 (hardware)
• IndraLogic VPP 21 firmware, including real time operating system
VxWorks and VxWinRT.
The IndraControl VPP 21-devices are operator terminals using the
operating system Windows XP. As universal hardware platform for
visualization applications they can be used in combination with the
IndraLogic VPP 21 firmware as soft control also for PLC applications.
Software The software "IndraWorks Logic" serves to commission and project the
IndraLogic VPP 21.
It consists of the following components:
• IndraWorks: Project planning, configuration
• IndraLogic: PLC programming
• IndraWorks HMI: Visualization and user interface as well as
diagnostic functions (ProVi)
• IndraWorks WinStudio: Engineering tool to create user screens on
the IndraControl VPP 21, see below.
• IndraLogic VPP 21 TSP: Target files (Target Support Package) are
installed required to edit the IndraLogic VPP 21 with IndraWorks and
IndraLogic.
• Target Manager: Management of TSP files, e. g., for service updates
of control functions.
• SoftPanel: Indicating and operating software on the
IndraLogic VPP 21, description in this documentation.
All components are automatically installed or are pre-installed
components on the IndraLogic VPP 21.
Additionally, WinStudio must be installed. The installation file is in the
subdirectory "WinStudio" on the installation CD.
DOK-CONTRL-VPP*21*****-AW01-EN-P
1-2 System Overview IndraLogic VPP 21
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Important Directions for Use 2-1
Introduction
Rexroth products represent state-of-the-art developments and
manufacturing. They are tested prior to delivery to ensure operating safety
and reliability.
The products may only be used in the manner that is defined as
appropriate. If they are used in an inappropriate manner, then situations
can develop that may lead to property damage or injury to personnel.
Before using Rexroth products, make sure that all the pre-requisites for
appropriate use of the products are satisfied:
• Personnel that in any way, shape or form uses our products must first
read and understand the relevant safety instructions and be familiar
with appropriate use.
• If the product takes the form of hardware, then they must remain in
their original state, in other words, no structural changes are
permitted. It is not permitted to decompile software products or alter
source codes.
• Do not mount damaged or faulty products or use them in operation.
• Make sure that the products have been installed in the manner
described in the relevant documentation.
DOK-CONTRL-VPP*21*****-AW01-EN-P
2-2 Important Directions for Use IndraLogic VPP 21
The PLC system IndraLogic VPP 21 has been developed for use in
control tasks.
Typical applications of the IndraLogic VPP 21 are:
• Handling and assembly systems,
• Packaging and foodstuff machine,
• Printing and paper processing machines
• Machine tools.
The IndraLogic VPP 21 may only be operated under the assembly,
installation and ambient conditions (temperature, system of protection,
humidity, EMC requirements, etc.) as described in document /1/ and in
the position specified.
In residential areas as well as in business and commercial areas Class A
devices may be used with the following note:
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Safety Instructions for Electric Drives and Controls 3-1
3.1 Introduction
Read these instructions before the initial startup of the equipment in order
to eliminate the risk of bodily harm or material damage. Follow these
safety instructions at all times.
Do not attempt to install or start up this equipment without first reading all
documentation provided with the product. Read and understand these
safety instructions and all user documentation of the equipment prior to
working with the equipment at any time. If you do not have the user
documentation for your equipment, contact your local Bosch Rexroth
representative to send this documentation immediately to the person or
persons responsible for the safe operation of this equipment.
If the equipment is resold, rented or transferred or passed on to others,
then these safety instructions must be delivered with the equipment.
3.2 Explanations
The safety instructions describe the following degrees of hazard
seriousness in compliance with ANSI Z535. The degree of hazard
seriousness informs about the consequences resulting from non-
compliance with the safety instructions.
Warning symbol with signal Degree of hazard seriousness according
word to ANSI
DANGER
WARNING
CAUTION
Fig. 3-1: Hazard classification (according to ANSI Z535)
DOK-CONTRL-VPP*21*****-AW01-EN-P
3-2 Safety Instructions for Electric Drives and Controls IndraLogic VPP 21
CAUTION
CAUTION
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Safety Instructions for Electric Drives and Controls 3-3
DOK-CONTRL-VPP*21*****-AW01-EN-P
3-4 Safety Instructions for Electric Drives and Controls IndraLogic VPP 21
Touching live parts with voltages of 50 Volts and more with bare hands or
conductive tools or touching ungrounded housings can be dangerous and
cause electric shock. In order to operate electrical equipment, certain
parts must unavoidably have dangerous voltages applied to them.
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Safety Instructions for Electric Drives and Controls 3-5
DOK-CONTRL-VPP*21*****-AW01-EN-P
3-6 Safety Instructions for Electric Drives and Controls IndraLogic VPP 21
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Safety Instructions for Electric Drives and Controls 3-7
DOK-CONTRL-VPP*21*****-AW01-EN-P
3-8 Safety Instructions for Electric Drives and Controls IndraLogic VPP 21
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Safety Instructions for Electric Drives and Controls 3-9
manufacturer.
⇒ Before disassembling pressurized systems, release
pressure and drain off the fluid or gas.
⇒ Use suitable protective clothing (for example safety
glasses, safety shoes and safety gloves)
⇒ Remove any fluid that has leaked out onto the floor
immediately.
DOK-CONTRL-VPP*21*****-AW01-EN-P
3-10 Safety Instructions for Electric Drives and Controls IndraLogic VPP 21
Notes
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Projecting and Programming 4-1
4.1 Overview
Requirements To project an IndraLogic VPP 21 the installation of "IndraWorks Logic" is
required. The installation program is available on CD-ROM. During the
installation also the required target information (Target Support Package)
of the IndraLogic VPP 21 are transferred to the target computer.
Processing Steps The project planning process is divided into the following steps:
• Project planning and I/O configuration with IndraWorks
• PLC program generation with IndraLogic
• Download and Commissioning
• Operation, visualization and diagnosis with IndraWorks HMI and
IndraWorks WinStudio, see /5/.
Start IndraWorks
IndraWorks can be started by clicking on the desktop icon "IndraWorks
Engineering" or via "Start, Program Files, Rexroth, IndraWorks,
Engineering" (see figure below).
DOK-CONTRL-VPP*21*****-AW01-EN-P
4-2 Projecting and Programming IndraLogic VPP 21
The IndraLogic VPP 21 can be inserted per Drag & Drop from the device
library under "Rexroth", "Drive and Control" in the current IndraWorks
project.
Fig. 4-3: Inserting the IndraLogic VPP 21 into the project explorer
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Projecting and Programming 4-3
DOK-CONTRL-VPP*21*****-AW01-EN-P
4-4 Projecting and Programming IndraLogic VPP 21
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Projecting and Programming 4-5
In this dialog box you can determine, if you want to engineer locally on the
IndraControl VPP 21 or on another PC (remote programming).
Local Communication If IndraWorks is directly installed on the operator terminal
IndraControl VPP 21, the local communication channel
"VPP 21_xxVRS_Default" can be used. This channel is already available
by default.
The inputs are confirmed via the "Finish" button. Then, an
IndraLogic VPP 21 project is created in the project explorer.
Remote Programming If IndraWorks is not installed on the operator terminal
IndraControl VPP 21, but on another PC (remote programming), you must
establish a connection to the Gateway server of the target computer.
1. Start the Gateway server on the target computer:
"Start, Program Files, Rexroth, IndraLogic, Communication"
2. Start the software PLC "SoftPanel" on the target computer.
3. Use communication channel "VPP 21_xxVRS_Default" on the remote
computer, see Fig. 4-6.
4. Adapt the parameters on the remote computer with the
"Communication parameters" button. A dialog box appears. If there
still exist no entries, see Fig. 4-7, then confirm "New..." and enter a
name for the connection. After that, double-click on entry "localhost"
and overwrite it. Enter the IP address "192.168.0.2" and finish the
input with "Enter", see Fig. 4-8.
5. Confirm "Gateway...". A dialog box to enter the Gateway parameters
appears, see Fig. 4-9. Select here the "TCP/IP" connection and enter
the IP address of the target computer. Confirm all entries with "OK".
DOK-CONTRL-VPP*21*****-AW01-EN-P
4-6 Projecting and Programming IndraLogic VPP 21
You will find further information help about the topic "Communication
parameters" in the IndraLogic help, or in the IndraLogic manual /2/.
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Projecting and Programming 4-7
Change Settings The settings can be changed subsequently via the context menu (right
mouse key):
Further Information For further information refer to chapter 5 and to the documentation or
online help of IndraWorks /5/.
DOK-CONTRL-VPP*21*****-AW01-EN-P
4-8 Projecting and Programming IndraLogic VPP 21
Configuring Profibus DP
The IndraLogic VPP 21 provides a PROFIBUS DP interface with bus
master functionality according to DIN EN 50170, Part 2. The Profibus
configuration provides the following features:
• Slave configuration
• Processing vendor-specific data
• Modifying bus-specific settings
After finishing the Profibus configuration the data are transferred to the
target device with the help of IndraLogic.
Note: Changed settings are only activated in the PLC with the next
download, see section "Download and Commissioning"!
Master Settings
Operation parameters of the bus system can be defined for Profibus DP.
For this, open the master information by double-clicking on node
"Profibus/M" in the project explorer.
Master Settings (1) The following data are indicated. Some data can be changed:
Name: Device name of the internal bus master of the IndraLogic VPP 21
Based on: Ident number according to the GSD file
SW version: Software version according to the GSD file
HW version: Hardware version according to the GSD file
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Projecting and Programming 4-9
Note: Always use bus addresses being as low as possible for the
master, as for high bus addresses the bus performance
(concerning the token ring management) deteriorates.
Note: Changed settings are only activated in the PLC with the next
download, see section "Download and Commissioning"!
Further Information For further information refer to the documentation or online help of
IndraWorks /5/.
DOK-CONTRL-VPP*21*****-AW01-EN-P
4-10 Projecting and Programming IndraLogic VPP 21
Inserting Slaves
All Profibus DP slaves provided for the IndraLogic VPP 21 are archived in
the device library under "Periphery", "Profibus DP". Insert a slave from the
device library per Drag & Drop below the object node "Profibus/M" in the
project explorer. New slaves can be positioned between already inserted
slaves.
Additional slaves can be archived in the device library by means of GSD
files. For further information refer to the documentation or online help of
IndraWorks /5/.
While inserting a slave in the project explorer, the general slave data are
indicated in a dialog box (wizard). Some data can be changed.
All entries made in the wizard can be also changed later, see the following
figure. For this, double-click on the desired slave in the project explorer.
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Projecting and Programming 4-11
Slave Settings (1) Name: Device name of the slave according to the GSD file
Based on: Ident number according to the GSD file
SW version: Software version according to the GSD file
HW version: Hardware version according to the GSD file
Bus address: Here, the next free bus address (FDL address) is
automatically entered. The address can be overwritten or modified by
means of key "...".
The bus address of the slave is also displayed in the project explorer. It is
set in front of the slave name.
Example, see figure below: Slave "R-IL PB BK" with bus address 2 is
indicated in the project explorer as "2-R-IL PB BK".
DOK-CONTRL-VPP*21*****-AW01-EN-P
4-12 Projecting and Programming IndraLogic VPP 21
Active: Activate this option, so that the slave is transferred to the master
parameter set and thus prepared for the operation at the Profibus for the
next download. Deactivate this option to configure and archive the slave,
but it is not commissioned at the Profibus. The switch-over Active/Passive
can be also executed in the project explorer at the slave, see figure
below.
Note: Changed settings are only activated in the PLC with the next
download, see section "Download and Commissioning"!
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Projecting and Programming 4-13
Inserting Modules
Profibus DP distinguishes between two slave types:
• Compact: A compact slave has a firmly defined module structure.
• Modular: However, for a modular slave the modules can be
individually assigned depending on the fitting specification.
After inserting a slave in the project explorer (see "Inserting Slaves") the
modules below the slave object node are already completely available
because of the compact design of the slaves. However, for modular
slaves the modules have to be manually assigned.
The modules suitable for the respective slave are archived in the device
library below the slave ("+" opens the module list). Insert a module from
the device library per Drag & Drop below the slave in the project explorer.
New modules can be positioned between already inserted modules.
While inserting a slave module in the project explorer, the module data
are indicated in a dialog box (wizard). Some data can be changed.
All entries made in the wizard can be also changed later, see figure
below. For this, double-click on the desired module in the project explorer.
DOK-CONTRL-VPP*21*****-AW01-EN-P
4-14 Projecting and Programming IndraLogic VPP 21
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Projecting and Programming 4-15
Re-addressing (4) The modules can also be automatically addressed in consecutive order.
Enter the desired start address in the input box From output or From
input. The automatic addressing is started with Apply. Thereby, all
modules are sequentially provided with PLC addresses in consecutive
order. In the event of address overlappings with already assigned
addresses the next connected free address area is searched. In this case
a dialog box appears with the request, if this free area is to be used for
the addressing. The new addresses are applied to column "Address".
Vendor-Specific Data (5) With the "Vendor-specific data" tab further data can be displayed or
edited. For further information refer to the documentation or online help of
IndraWorks /5/.
DOK-CONTRL-VPP*21*****-AW01-EN-P
4-16 Projecting and Programming IndraLogic VPP 21
Overview
For the PLC project planning the following functions can be executed via
program IndraLogic integrated in IndraWorks:
• Task Configuration: Control of the program processing
• PLC Configuration: The PLC configuration is not generated within
IndraLogic, but in IndraWorks.
• Library Manager: Managing PLC block libraries
• Create a PLC Program: Creating blocks in PLC programming
languages.
The PLC project planning with IndraLogic is activated via the object node
"Logic" in the project explorer.
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Projecting and Programming 4-17
Task Configuration
For most of the application cases it is sufficient to execute the program
without special task management. But it is possible to control the project
execution via so-called tasks.
If you do not use a special task configuration, the program is processed
via the main program PLC_PRG. PLC_PRG is automatically generated
as block of type program. PLC_PRG is called up exactly one time in each
control cycle.
The task configuration can be called by
• double-clicking on "Tasks" in the object node "Logic" in the
IndraWorks project explorer
- or -
• by clicking on "Task configuration" in register "Resources" in
IndraLogic.
PLC Configuration
The PLC configuration is not generated within IndraLogic, but in
IndraWorks. All input boxes of the IndraLogic PLC configuration are
deactivated and cannot be changed.
Concerning the PLC configuration please consider section "Projecting
with IndraWorks".
DOK-CONTRL-VPP*21*****-AW01-EN-P
4-18 Projecting and Programming IndraLogic VPP 21
Library Manager
For further information about the library manager refer to the
documentation or online help of IndraLogic /2/.
For information about the libraries of the IndraLogic VPP 21 refer to
section "Libraries".
With the IndraLogic VPP 21 already a few libraries are indicated in
IndraLogic in register "Resources". To link further libraries with the current
project, menu function "Insert, Further library" is provided. After calling up
this function, a file selection dialog indicating the current IndraWorks
project path appears, see figure below:
Select here the library directory of the installed target files of the
IndraLogic VPP 21. The target files can be found in a sub-directory of the
IndraWorks installation:
...\IndraWorks\IndraLogic\Targets
Example Example for the library directory of the IndraLogic VPP 21 01VRS (see
also figure below).
C:\Program Files\Rexroth\IndraWorks\IndraLogic\Targets\
IndraLogic_VPP21_DPM_02VRS\lib\
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Projecting and Programming 4-19
Note: Always save the IndraLogic project data at first, before you
change the current project in IndraWorks.
DOK-CONTRL-VPP*21*****-AW01-EN-P
4-20 Projecting and Programming IndraLogic VPP 21
Overview
To ensure a compatible programming between the systems, consider the
following features: It is described, which programming methods can be
used, so that no incompatibilities may occur and, thus, the programs can
be ported between the systems:
• Use of pointers within structures
• Memory alignment for I/O addresses, compatibility to the
IndraControl L20.
TYPE OutStruct :
STRUCT
Out01 : BYTE;
Out02 : WORD;
Out03 : BYTE;
Out04 : DWORD;
END_STRUCT
END_TYPE
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Projecting and Programming 4-21
Permissible Addressing The compatible use of structures provides for a direct addressing of the
elements via the point operator:
Structure name.Element name := Element value;
If the address of a structure is to be transferred to subfunctions via a
pointer, the addressing of the elements is also only permissible by the
offset calculation of the compiler:
Structure pointer^.Element name := Element value;
DOK-CONTRL-VPP*21*****-AW01-EN-P
4-22 Projecting and Programming IndraLogic VPP 21
Online Functions
With IndraLogic information about the status of the control can be
retrieved with the help of the "Online Functions", see IndraLogic
documentation or help /2/.
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Additional Functions 5-1
5 Additional Functions
DOK-CONTRL-VPP*21*****-AW01-EN-P
5-2 Additional Functions IndraLogic VPP 21
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Libraries 6-1
6 Libraries
6.1 Overview
The following table contains all general libraries as well as the libraries
especially provided for the IndraLogic VPP 21.
To link libraries with the current project, please consider under "PLC
Programming with IndraLogic" section "PLC Programming with
IndraLogic".
Concerning the system and firmware libraries please also consider the
online help of IndraLogic. The documentation about the system libraries
(SysLibXXX.pdf) you will find in a sub-directory of IndraLogic, e. g.:
C:/Program Files/Rexroth/IndraWorks/IndraLogic/Documents/English
DOK-CONTRL-VPP*21*****-AW01-EN-P
6-2 Libraries IndraLogic VPP 21
6.2 BusDiag
This library allows to read the specific diagnostic information of the
Hilscher DP bus master.
You will find further information on the BusDiag.lib in the description of the
Hilscher bus card.
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Libraries 6-3
6.3 IL_VCP_DP
Overview
With this library the small operator terminals "VCP" of Rexroth with
Profibus DP connection are coupled to the PLC. For this, three function
blocks can be alternatively used:
• VCP_PBS16_A4096
• VCP_PBS32_A4096
• VCP_PBS32_A65536
VCP_PBS16_A4096
This function block (FB) activates the Profibus DP protocol for the small
operator terminals VCPxx. Additionally, the I/O image of the physical
addresses between PLC and operator terminal is generated.
The data capacity of the data transmission is 16 bytes. The size of the
address area available via an ARRAY is 4096 bytes (inputs and outputs
included).
VI Composer During the configuration with the Rexroth VI Composer the addresses of
the variable list refer to the respective byte in array "TVar", that is used in
the PLC program to exchange data.
DOK-CONTRL-VPP*21*****-AW01-EN-P
6-4 Libraries IndraLogic VPP 21
Error Handling As soon as an error occurs, the communication is interrupted and the
display of the small operator terminal indicates "COMMUNICATION
ERROR, ERROR CODE 110".
The error type (ErrorNo) shows, if there's an error in the address
calculation (CalculationError), or if the selected data capacity for Data_in
or Data_out is too high (InputRangeError).
VCP_PBS32_A4096
This function block (FB) activates the Profibus DP protocol for the small
operator terminals VCPxx. Additionally, the I/O image of the physical
addresses between PLC and operator terminal is generated.
The data capacity of the data transmission is 32 bytes. The size of the
address area available via an ARRAY is 4096 bytes (inputs and outputs
included).
VI Composer During the configuration with the Rexroth VI Composer the addresses of
the variable list refer to the respective byte in array "TVar", that is used in
the PLC program to exchange data.
Error Handling As soon as an error occurs, the communication is interrupted and the
display of the small operator terminal indicates "COMMUNICATION
ERROR, ERROR CODE 110".
The error type (ErrorNo) indicates that the error is an address calculation
error (CalculationError).
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Libraries 6-5
VCP_PBS32_A65536
This function block (FB) activates the Profibus DP protocol for the small
operator terminals VCPxx. Additionally, the I/O image of the physical
addresses between PLC and operator terminal is generated.
The data capacity of the data transmission is 32 bytes. The size of the
address area available via an ARRAY is 65536 bytes (inputs and outputs
included).
VI Composer During the configuration with the Rexroth VI Composer the addresses of
the variable list refer to the respective byte in array "TVar", that is used in
the PLC program to exchange data.
Error Handling As soon as an error occurs, the communication is interrupted and the
display of the small operator terminal indicates "COMMUNICATION
ERROR, ERROR CODE 110".
The error type (ErrorNo) indicates that the error is an address calculation
error (CalculationError).
DOK-CONTRL-VPP*21*****-AW01-EN-P
6-6 Libraries IndraLogic VPP 21
6.4 RIL_Check
Faulty accesses (accidentally) programmed outside of the ranges of
arrays and subrange types of variables, as well as the division by zero,
are not compensated by the IndraLogic compiler and/or the runtime
system and cause partly unpredictable errors during program processing.
If you insert library RIL_Check.lib such over-ranges are monitored and
prevented. Thereby, the access for arrays and subrange system types are
limited to the smallest or highest possible value. Thus, e. g. concerning an
array, the element with the highest indices is accessed, even if a higher
index value was specified in the PLC program. For a division by zero the
divisor is replaced by "1".
Functions All functions contained in the RIL_Check (see Fig. 6-8) are automatically
integrated in the PLC program and must not be explicitly called.
Designation Description
CheckBounds Automatic verification, if the permissible indices of the access to array
elements is exceeded or fallen below the minimum value.
CheckDivByte Automatic verification on division by zero (BYTE access).
CheckDivDWord Automatic verification on division by zero (DWORD access).
CheckDivReal Automatic verification on division by zero (REAL access).
CheckDivWord Automatic verification on division by zero (WORD access).
CheckRangeSigned Automatic verification, if the permissible value range of a signed variable is
exceeded or fallen below the minimum value.
CheckRangeUnsigned Automatic verification, if the permissible value range of an unsigned
variable is exceeded or fallen below the minimum value.
Fig. 6-8: Funktions of RIL_Check
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Libraries 6-7
CheckExceedingOccurred You can exactly determine the error cause by directed requesting of the
bits in the global variable „CheckExceedingOccurred“. All error accesses
are prevented by RIL_Check, so that the permissible value range is not
exceeded or fallen below the minimum value and that no division by zero
occurs. The single bits have the following meaning:
Sample Program The following PLC sample program shows the use of the variable
CheckExceedingOccurred. The limitation of arrays with CheckBounds,
always sets the respective bit in error case, when the permissible value
range is exceeded or fallen below the minimum value
(CheckBoundsLowerLimitation or CheckBoundsUpperLimitation) and the
general bit of the access violation (CheckBoundsExceedingLimitation).
Thus, a general or detailed verification, if a limit value was exceeded, can
be realized.
END_IF
IF CheckExceedingOccurred.0 (* Bit set, if value above specified range? *)
THEN
String := 'Access above the possible array range'
...
END_IF
ELSE
String := 'Access successful'
END_IF
DOK-CONTRL-VPP*21*****-AW01-EN-P
6-8 Libraries IndraLogic VPP 21
6.5 RIL_ProfibusDP
Overview
When using this library, not only DPV1 services of the Profibus master
(DP master class 1) are provided, but also a diagnostic interface between
Profibus master and PLC program is created.
DPV1 Services
Function Blocks The function blocks serve for reading and writing access for the acyclic
data exchange (DPV1):
• DP_RDREC
• DP_WRREC
Diagnostic Information
Diagnostic information can be determined via function blocks. The
diagnosis differs in
• Slave Diagnostic Data According to the Profibus DP Standard:
"DP_RDIAG" and "DP_RDIAG_EXT"
• General Field Bus Diagnosis: "fbd..."
Data Types Some of these data are administrated in special data types (arrays,
structures):
• tFBD_BM_INFO
• tFBD_BIT_LIST
• tFBD_KSD_LIST
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Libraries 6-9
DOK-CONTRL-VPP*21*****-AW01-EN-P
6-10 Libraries IndraLogic VPP 21
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Libraries 6-11
Bus Master Status Word "BmState" provides an overview of the status of the bus master and the
slaves at the field bus. Here, you can recognize for example, if at least for
one slave a diagnosis is applied.
Bus Master Error Word In "BmError" fatal errors rendering the operation at the field bus
impossible are indicated.
Slave Diagnostic List SD indicates which slaves signal diagnosis.
Classified Slave Diagnosis KSD provides detailed information. It indicates, which slaves signal
diagnosis and divides the diagnosis into error classes.
Projected Slave List The projected slave list contains all available slaves according to the
master configuration file. For example, with this list projected slaves can
be compared with the slaves currently available at the field bus.
You will find further information on the data areas in the description of the
Data Types and on the diagnostic functions in the description of the
function blocks.
DOK-CONTRL-VPP*21*****-AW01-EN-P
6-12 Libraries IndraLogic VPP 21
Data Types
tFBD_BM_INFO
This structure combines the variables "PdType", "BmStatus" and
"BmError". It is used in function block "fbdBmInfoGet".
PdType: Peripheral Driver Function block "fbdBmInfoGet" determines the type of the installed
peripheral driver and indicates it in "PdType":
Driver Description
FBD_PDT_NONE No peripheral driver installed
FBD_PDT_PCI_BMDP Peripheral driver: Profibus DP
FBD_PDT_PCI_BMCAN Peripheral driver: CAN Open (at present, not
available)
FBD_PDT_PCI_BMIBS Peripheral driver: Interbus (at present, not available)
Fig. 6-16: Installed peripheral driver in "PdType"
BmState: Bus Master Status The bus master status word "BmState" provides an overview of the
Word status of the bus master and the slaves at the field bus. Here, you can
recognize for example, if at least for one slave a diagnosis is applied.
Each set bit (TRUE) in "BmState" represents a status:
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Libraries 6-13
BmError: Bus Master Error Word In the bus master error word "BmError" fatal errors rendering the
operation at the field bus impossible are indicated. Each set bit (TRUE) in
"BmError" represents an error:
DOK-CONTRL-VPP*21*****-AW01-EN-P
6-14 Libraries IndraLogic VPP 21
tFBD_BIT_LIST
The bit list "tFBD_BIT_LIST" has a defined length of 16 bytes (128 bits).
Each bit of the bit list is assigned to a bus address of the slave (Profibus:
FDL address). Thus, e. g. the lowest-order bit in the first array element
(ARRAY[0]) is assigned to the Profibus device with address 0:
BitList[0]
7 6 5 4 3 2 1 0
Station 0
. Station 7
.
BitList[15] . .
.
.
7 6 5 4 3 2 1 0
Station 120
Station 127
Fig. 6-20: Coding of the bit list
tFBD_KSD_LIST
The list of the classified slave diagnosis (KSD list) consists of six bit lists.
Thus, a bit list exists for each error type.
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Libraries 6-15
Classified Slave Diagnosis The classified slave diagnosis distinguishes the following error types:
(KSD)
SNE Slave not accessible.
The slave is not accessible at the bus. Possible causes:
– Slave not available
– Voltage at the slave switched off
– Faulty bus installation
– Physical malfunctions
SKF Slave configuration error.
The slave type or the I/O configuration of the slave does not
correspond to the projected values in the field bus configuration file
of the master.
DPS Slave indicates static diagnosis:
The slave can't provide valid user data. The application layer of the
slave is not ready for data exchange with the master.
EXD Slave indicates extended diagnosis.
The extended diagnosis is slave-specific and can be taken from the
description of the slave. Possible causes:
– Load voltage missing/switched off (e. g. in case of Emergency
Stop)
– Short-circuit at one output
– Overload
– Over-temperature
– Line break
SNB Slave is not ready.
The slave is not ready for data exchange, as it is not yet put into
operation by the master (message from the protocol layer of the
slave).
SF Slave indicates another error.
Fig. 6-22: Classified slave diagnosis
Each bit of a bit list is assigned to a bus address of the slave (Profibus:
FDL address). Thus, the lowest-order bit in the first array element
(ARRAY[0]) is assigned to the Profibus device with address 0:
BitList[0]
7 6 5 4 3 2 1 0
Station 0
. Station 7
.
BitList[15] . .
.
.
7 6 5 4 3 2 1 0
Station 120
Station 127
Fig. 6-23: Coding of the bit list
DOK-CONTRL-VPP*21*****-AW01-EN-P
6-16 Libraries IndraLogic VPP 21
DP_RDIAG
The diagnostic data of a slave are read from the DP master (DPM1) using
function block DP_RDIAG. The data buffer of the diagnostic data must be
provided to address it via a POINTER.
Example: To address the slave with bus address 12, the ID has value
16#000C0000.
Function DP_ID serves for creating the ID from the individual
components.
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Libraries 6-17
DP_RDIAG_EXT
The diagnostic data of a slave are read from the DP master (DPM1) using
function block DP_RDIAG_EXT. The diagnostic data are stored in an
ARRAY.
Example: To address the slave with bus address 12, the ID has value
16#000C0000.
Function DP_ID serves for creating the ID from the individual
components.
DOK-CONTRL-VPP*21*****-AW01-EN-P
6-18 Libraries IndraLogic VPP 21
DP_RDREC
Function block DP_RDREC serves for reading access for the acyclic data
exchange (DPV1). For the process data to be read a target area must be
defined via a pointer addressing (POINTER).
Example: To address the slave with bus address 12, the ID has value
16#000C0000.
Function DP_ID serves for creating the ID from the individual
components.
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Libraries 6-19
DP_WRREC
Function block DP_WRREC serves for reading access for the acyclic
data exchange (DPV1). The process data to be written must provided via
a pointer addressing (POINTER).
Example: To address the slave with bus address 12, the ID has value
16#000C0000.
Function DP_ID serves for creating the ID from the individual
components.
DOK-CONTRL-VPP*21*****-AW01-EN-P
6-20 Libraries IndraLogic VPP 21
fbdBaudrateGet
Function block fbdBaudrateGet reads the baud rate of the connected field
bus. The baud rate is indicated in bits per second.
fbdBmErrorGet
Function block fbdBmErrorGet reads the current bus master error word.
fbdBmInfoGet
Function block fbdBmInfoGet provides the tFBD_BM_INFO structure.
This structure contains PdType, BmStatus and BmError. Thus, the
information is provided by one single call, instead of calling several
differing functions.
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Libraries 6-21
fbdBmStateGet
Function block fbdBmStateGet reads the current bus master status word.
fbdKsdListGet
Function block fbdKsdListGet reads the current KSD list.
fbdPdTypeGet
Function block fbdPdTypeGet determines the type of the installed
peripheral driver.
DOK-CONTRL-VPP*21*****-AW01-EN-P
6-22 Libraries IndraLogic VPP 21
fbdPrjSlaveListGet
Function block fbdPrjSlaveListGet reads the list of the projected slaves.
The list contains all available slaves according to the master configuration
file.
Each bit of the bit list is assigned to a bus address of the slave:
fbdSlaveDiagListGet
Function block fbdSlaveDiagListGet reads the current slave diagnostic
list.
Each bit of the bit list is assigned to a bus address of the slave:
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Libraries 6-23
DP_SYCFR
The IndraLogic VPP 21 does not support any sync and freeze function of
Profibus DP!
DP_ADDR
This function is not realized. This function can be called up as it is
compatible to Profibus Guideline 2182, but it passes a handle unchanged.
DP_ID
This function considers Profibus Guideline 2182. It provides the handle for
a physical address of a slot.
DOK-CONTRL-VPP*21*****-AW01-EN-P
6-24 Libraries IndraLogic VPP 21
DP_SLOT
This function considers Profibus Guideline 2182. It sets the slot number
defined in the slot handle.
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Libraries 6-25
6.6 RIL_Utilities
Overview
DOK-CONTRL-VPP*21*****-AW01-EN-P
6-26 Libraries IndraLogic VPP 21
Data Types
Library RIL_Utilities.lib does not contain any separate data types.
Global Variables
Library RIL_Utilities.lib does not contain any separate global variables.
Version_RIL_Utilities_01V*
1
Function Version_RIL_Utilities_01V* serves for version management of
library RIL_Utilities.lib.
Note: The verification of the system and the releases is also active, if
function Version_RIL_Utilities_01V* is not used.
1
(*) Release
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Libraries 6-27
Check_Version_RIL_Utilities_01Vs.bmp
IL_HighResTimeTick
Function IL_HighResTimeTick reads the high resolution time tick of the
system.
DOK-CONTRL-VPP*21*****-AW01-EN-P
6-28 Libraries IndraLogic VPP 21
Functional Description After the processing enable with "Enable" function IL_HighResTimeTick
retrieves cyclically the high resolution time tick of the system.
IL_HighResTimeDiff
Function IL_HighResTimeDiff calculates the time difference of two high
resolution time ticks of the system in microseconds.
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Libraries 6-29
Note: Reading out the high resolution time tick requires approx. one
to two microseconds depending on the system. If necessary,
the user can add this time, when he determines the time
difference.
Functional Description After the processing enable with "Enable" function IL_HighResTimeDiff
calculates cyclically the time difference of two high resolution time ticks of
the system in microseconds.
IL_Date
Function IL_Date reads the current system date.
Functional Description After the processing enable with "Enable" function IL_Date retrieves
cyclically the system date formatted according to IEC61131-3.
IL_TimeOfDay
Function IL_TimeOfDay reads the current system time.
Functional Description After the processing enable with "Enable" function IL_TimeOfDay
retrieves cyclically the system time formatted according to IEC61131-3.
DOK-CONTRL-VPP*21*****-AW01-EN-P
6-30 Libraries IndraLogic VPP 21
IL_DateAndTime
Function IL_DateAndTime reads the current system date and time.
Functional Description After the processing enable with "Enable" function IL_DateAndTime
retrieves cyclically the current system date as well as the current system
time in formatted manner according to IEC61131-3.
IL_SysTime64
Function block IL_SysTime64 reads the current system date and time.
Functional Description After the processing enable with "Enable" function block IL_SysTime64
retrieves cyclically the current system date and time in microseconds
since 1970-01-01.
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Libraries 6-31
IL_SysTimeDate
Function block IL_SysTimeDate reads the current system date and time.
Functional Description After the processing enable with "Enable" function block IL_SysTimeDate
retrieves cyclically the current system date and time in system format.
IL_ExtSysTimeDate
Function block IL_ExtSysTimeDate reads the current system date and
time.
Functional Description After the processing enable with "Enable" function block
IL_ExtSysTimeDate retrieves cyclically the current system date and time
in extended system format.
DOK-CONTRL-VPP*21*****-AW01-EN-P
6-32 Libraries IndraLogic VPP 21
IL_SysTime64ToSysTimeDate
Function block IL_SysTime64ToSysTimeDate converts the format of the
system date and time.
Functional Description After the processing enable with "Enable" function block
IL_SysTime64ToSysTimeDate converts cyclically the system date
including system time in microseconds applied at input "SysTime64"
(basis: 1970-01-01) into the system date and time in system format.
IL_SysTimeDateToSysTime64
Brief Description Function block IL_SysTimeDateToSysTime64 converts the format of the
system date and time.
Functional Description After the processing enable with "Enable" function block
IL_SysTimeDateToSysTime64 converts cyclically the system date
including system time in microseconds applied at input "SysTimeDate"
st
(basis: 01 January 1970).
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Libraries 6-33
6.7 SysLibDPV1Hilscher
When using this library, the DPV1 services of the Hilscher DP master (DP
master class 1) are provided.
DOK-CONTRL-VPP*21*****-AW01-EN-P
6-34 Libraries IndraLogic VPP 21
Notes
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 SoftPanel – Operating and Displaying 7-1
7.1 Overview
The operating and display program SoftPanel constitutes within the
IndraLogic VPP 21 the link between Windows and the Software PLC
"SoftControl" with its real time operating system VxWorks.
At first, an executable PLC program is created and loaded with
IndraLogic. The I/O data of the PLC are exchanged via the integrated field
bus. Thus, the configuration of inputs and outputs within IndraWorks is
required. To commission the Software PLC, on the one hand IndraLogic
and on the other hand the SoftPanel program might be used.
Fig. 7-1: Principle of the internal communication between Windows and the
real time operating system VxWorks
The following section illustrates the system requirements and the use of
the single components. In addition, the most important differences
compared with a conventional Hardware PLC are described.
DOK-CONTRL-VPP*21*****-AW01-EN-P
7-2 SoftPanel – Operating and Displaying IndraLogic VPP 21
7.2 Installation
Requirements
Condition of Delivery When the IndraLogic VPP 21 is delivered, SoftControl, SoftPanel and the
necessary real time components VxWorks are already installed and
directly usable. However, during the remote programming the installation
of the mentioned components might be necessary. In this case please
consider the installation instructions mentioned below.
System Requirements Generally, the system requirements are already checked during the
installation of SoftPanel. If these requirements are not fulfilled, a message
appears:
• Required hard disk space before the installation of SoftPanel: At least
40 Mbytes
• Recommended RAM memory: at least 256 Mbytes
• Operating system Windows 2000 (as of Service Pack 3) or
Windows XP (as of Service Pack 1)
Installation Process The installation is divided into three operating steps:
• Installing the driver
• Calculating the memory requirements and entering the value into the
"Boot.ini"
• Shutting-down and restarting Windows
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 SoftPanel – Operating and Displaying 7-3
Adapt "Boot.ini" The result is entered as parameter "/maxmem=" in file "Boot.ini", see
yellow mark in the following figure. This file is located in the root directory,
e. g. "C:\". This file can be selected in the Windows explorer and can be
opened for editing with the right mouse button.
Observe that you assign under [operating systems] the parameter to the
active operating system, if several operating systems are available. It is
entered behind the keyword "default" under [boot loader], see red mark in
the following figure.
Save the "Boot.ini" file and close the editor.
DOK-CONTRL-VPP*21*****-AW01-EN-P
7-4 SoftPanel – Operating and Displaying IndraLogic VPP 21
Fig. 7-4: Example of the re-calculated "maxmen" value in the "Boot.ini" file
Restart System
Windows must be shut-down and restart to apply the optimized system
parameters. The Installation is now completed.
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 SoftPanel – Operating and Displaying 7-5
Starting Behavior and PLC Shut To call up SoftPanel corresponds to switching on the mains switch
Down (Power-ON) of a conventional PLC.
If the SoftControl shall be put out of operation, the PLC must be "shut
down". If you finish SoftPanel or Windows, the PLC is shut down. During
the shut down important operating data are transmitted to the hard disk.
These data are reloaded into the SoftControl during its next start-up.
If the SoftControl is shut down, the operating mode of the PLC is saved,
so that this status is restored with the next start. Example: Before the shut
down, the soft SoftControl was in the stop mode. If SoftPanel is recalled,
the stop mode will be active again.
Remanence Concerning a conventional PLC all data in the memory are generally
remanent, if a voltage breakdown occurred. As a PC can't recognize a
voltage breakdown, the remanence of the SoftControl is only available by
a systematic "shut down". The remanence behavior is system- or device-
specifically set (see below).
When starting the SoftControl, the remanent data are transmitted from
the hard disk of the PC to the memory of the SoftControl. The transmitted
data are the data of the current project. When closing (shut down) the
SoftControl, the current data are transmitted from the memory of the
SoftControl back to the hard disk. This process is managed by the
SoftPanel program.
System Crashes So-called crashes of the operating system can never be entirely excluded.
As the SoftControl has its own real time operating system, it keeps
running after a crash.
• In this case SoftPanel could be inoperable. Thus, the PLC can't be
shut down anymore.
• All resources are managed by Windows. Hence, you have no longer
access to e.g. the hard disc to save the remanent data.
• The communication between SoftPanel and SoftControl is interrupted.
More Safety To avoid the consequences of a voltage breakdown, it is possible to use
an uninterruptible power supply (UPS). The UPS indicates Windows, that
a voltage breakdown has occurred. Thus, an automatic “Shut down” of
the installation without any data losses is initiated.
The operator terminal IndraControl VPP 21 represents a powerful
industrial PC with integrated UPS.
DOK-CONTRL-VPP*21*****-AW01-EN-P
7-6 SoftPanel – Operating and Displaying IndraLogic VPP 21
Examples:
/Y1 -> IndraLogic communication is deactivated.
/Y65 -> Trace information is output to the Telnetport
(Y64) and IndraLogic communication is
deactivated (Y1).
Fig. 7-5: SoftPanel function switch (call parameters)
Note: The following function switch is not provided for the "normal“
operation of the SoftControl. Please use this switch only after
consulting the Bosch Rexroth Support.
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 SoftPanel – Operating and Displaying 7-7
(1) PLC
(2) Periphery
Fig. 7-7: SoftPanel: screen layout
PLC (1) The display of the PLC (SoftControl) shows the states and their causes.
Here, the error messages are indicated in plain text.
Periphery (2) In this window information and error messages of the internal field bus
and the connected peripheral equipment are listed.
DOK-CONTRL-VPP*21*****-AW01-EN-P
7-8 SoftPanel – Operating and Displaying IndraLogic VPP 21
Windows Computing Time This parameter determines the relation of the assigned computing time
between the real time operating system and Windows. The smaller the
value, the less computing time is assigned to Windows. The default value
is 50%.
System Clocks per Second This value determines the frequency of accesses on the SoftControl. The
set value influences the cycle time of the SoftControl. Example: 500
clocks/s correspond to a cycle time of 2 milliseconds. The default setting
is 1000 clocks/s (1 ms cycle time).
A modification of the system clock is only activated after a restart of
SoftPanel.
Note: The switch status must not correspond to the current status of
the PLC. Thus, the SoftControl can remain in the STOP
status, e. g. caused by an error in the application program,
although the switch was set to "Run".
The switch position is indicated with the Run/Stop button in the symbol
bar (see figure below) and the current status of the PLC in the SoftPanel
display box.
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 SoftPanel – Operating and Displaying 7-9
If the SoftControl is shut down (exit SoftPanel), also the switch position of
the SoftControl is saved, so that this status is restored with the next start.
Example: Before the shut down, the SoftControl was in the stop mode.
When SoftPanel is recalled, the stop mode of the SoftControl will be
active again.
DOK-CONTRL-VPP*21*****-AW01-EN-P
7-10 SoftPanel – Operating and Displaying IndraLogic VPP 21
Notes
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Technical Data 8-1
8 Technical Data
8.1 Equipment
IndraLogic VPP 21-01VRS
Processor Pentium III with 700 MHz
Main memory 504 MB minus 48 MB for the SoftControl (456 MB)
Interfaces:
Communication 2 x Ethernet connections (RJ 45, 10/100 Base-T)
interfaces 1 x Profibus DP master interface
DOK-CONTRL-VPP*21*****-AW01-EN-P
8-2 Technical Data IndraLogic VPP 21
Notes
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 List of Figures 9-1
9 List of Figures
Fig. 1-1: Related documentations 1-2
Fig. 3-1: Hazard classification (according to ANSI Z535) 3-1
Fig. 4-1: Start IndraWorks 4-1
Fig. 4-2: Create new project 4-2
Fig. 4-3: Inserting the IndraLogic VPP 21 into the project explorer 4-2
Fig. 4-4: Example: IndraLogic VPP 21 in the project explorer 4-3
Fig. 4-5: Device settings 4-4
Fig. 4-6: Communication settings 4-5
Fig. 4-7: IndraLogic communication parameters (empty) 4-6
Fig. 4-8: IndraLogic communication parameters 4-6
Fig. 4-9: IndraLogic Gateway 4-6
Fig. 4-10: Context menu, device properties of the IndraLogic VPP 21 4-7
Fig. 4-11: Context menu, communication properties of the
IndraLogic VPP 21 4-7
Fig. 4-12: Master settings 4-8
Fig. 4-13: Insert Profibus DP slave 4-10
Fig. 4-14: Slave settings 4-11
Fig. 4-15: Active/Passive switch-over in the project explorer 4-12
Fig. 4-16: Inserting a Profibus slave module 4-13
Fig. 4-17: Module data 4-14
Fig. 4-18: Logic node in the project explorer 4-16
Fig. 4-19: Update logic node 4-16
Fig. 4-20: IndraLogic task configuration 4-17
Fig. 4-21: Insert, Further library: IndraWorks project path 4-18
Fig. 4-22: Library directory of the IndraLogic VPP 21 target 4-18
Fig. 4-23: PLC program example 4-19
Fig. 4-24: Example of a structure declaration in the IEC program 4-20
Fig. 4-25: Mapping of the memory 4-20
Fig. 4-26: Examples 4-21
Fig. 4-27: Factor for start addresses for the IndraControl L20 4-21
Fig. 5-1: Example for the dialog "Firmware management" 5-1
Fig. 5-2: Context menu, device 5-1
Fig. 5-3: IndraLogic project: Context menu, if IndraLogic is started 5-2
Fig. 5-4: IndraLogic project: Further settings 5-2
Fig. 6-1: Overview of IndraLogic VPP 21 libraries 6-1
Fig. 6-2: VCP_PBS16_A4096 6-3
Fig. 6-3: Interface of VCP_PBS16_A4096 6-3
Fig. 6-4: VCP_PBS32_A4096 6-4
Fig. 6-5: Interface of VCP_PBS32_A4096 6-4
Fig. 6-6: VCP_PBS32_A65536 6-5
Fig. 6-7: Interface of VCP_PBS32_A65536 6-5
Fig. 6-8: Funktions of RIL_Check 6-6
DOK-CONTRL-VPP*21*****-AW01-EN-P
9-2 List of Figures IndraLogic VPP 21
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 List of Figures 9-3
DOK-CONTRL-VPP*21*****-AW01-EN-P
9-4 List of Figures IndraLogic VPP 21
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Index 10-1
10 Index
A
Address verification 5-2
Alignment for I/O addresses 4-21
Appropriate use
Introduction 2-1
Uses 2-2
B
BmError 6-13
BMF_BUS_ERR 6-13
BMF_HW_ERR 6-13
BMF_MPS_ERR 6-13
BMF_SW_ERR 6-13
BMS_AKTIV 6-12
BMS_BMF 6-12
BMS_DPS 6-13
BMS_EXD 6-13
BMS_KSD 6-12
BMS_SD 6-12
BMS_SF 6-13
BMS_SKF 6-13
BMS_SNB 6-13
BMS_SNE 6-13
BmState 6-12
Boot project 5-2
Bus master error word 6-13, 6-20
Bus master status word 6-12, 6-21
BusDiag 6-2
C
CheckExceedingOccurred 6-7
Classified slave diagnosis 6-15
Compatible IEC Programming 4-20
D
Diagnostic information 6-8
Documentations 1-2
DP_ADDR 6-23
DP_ID 6-23
DP_RDIAG 6-16
DP_RDIAG_EXT 6-17
DP_RDREC 6-18
DP_SLOT 6-24
DP_SYCFR 6-23
DP_WRREC 6-19
DPV1 services 6-8
F
FBD_PDT_NONE 6-12
FBD_PDT_PCI_BMCAN 6-12
FBD_PDT_PCI_BMDP 6-12
FBD_PDT_PCI_BMIBS 6-12
fbdBaudrateGet 6-20
fbdBmErrorGet 6-20
fbdBmInfoGet 6-20
fbdBmStateGet 6-21
fbdKsdListGet 6-21
fbdPdTypeGet 6-21
fbdPrjSlaveListGet 6-22
fbdSlaveDiagListGet 6-22
DOK-CONTRL-VPP*21*****-AW01-EN-P
10-2 Index IndraLogic VPP 21
I
IL_Date 6-29
IL_DateAndTime 6-30
IL_ExtSysTimeDate 6-31
IL_HighResTimeDiff 6-28
IL_HighResTimeTick 6-27
IL_SysTime64 6-30
IL_SysTime64ToSysTimeDate 6-32
IL_SysTimeDate 6-31
IL_SysTimeDateToSysTime64 6-32
IL_TimeOfDay 6-29
Inappropriate use 2-2
Consequences, Discharge of liability 2-1
IndraControl VPP 21 1-1
IndraLogic 1-1
IndraLogic Functions 5-2
IndraLogic settings 5-2
IndraLogic VPP 21
Commissioning 4-22
Communication settings 4-4
Create a PLC program 4-19
Create project 4-2
Download 4-22
Equipment 8-1
Field bus configuration 4-8
Field bus diagnosis 6-11
Firmware management 5-1
Freeze 4-15
Gateway server 4-4
Importing IndraLogic project file 5-1
Inserting modules 4-13
Inserting slaves 4-10
Libraries 6-1
Library manager 4-18
Log-in 4-22
Online Functions 4-22
PLC configuration 4-17
PLC programming 4-16
Power data 8-1
Profibus configuration 4-8
Project explorer 4-2
Projecting and programming 4-1
Remote programming 4-5
Slave Diagnosis 6-9
Sync 4-15
Task configuration 4-17
Technical Data 8-1
IndraWorks 1-1
IndraWorks HMI 1-1
K
KSD 6-15
O
Offline operation 5-2
P
PDT_NONE 6-21
PDT_PCI_BMCAN 6-21
PDT_PCI_BMDP 6-21
PDT_PCI_BMIBS 6-21
Profibus
Diagnostic information 6-8
Master 6-8
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Index 10-3
R
Related documentations 1-2
Replacing constants 5-2
RIL_Check 6-6
RIL_ProfibusDP 6-8
RIL_Utilities 6-25
S
Safety Instructions for Electric Drives and Controls 3-1
Small operator terminals 6-3
SoftControl 7-1
SoftPanel 1-1, 7-1
SysLibDPV1Hilscher 6-33
System overview 1-1
T
Target files 1-1
Target Manager 1-1
Target Support Package 1-1
tFBD_BIT_LIST 6-14
tFBD_BM_INFO 6-12
tFBD_KSD_LIST 6-14
TSP 1-1
U
Use See appropriate use and inappropriate use
Use of pointers within structures 4-20
V
VCP_PBS16_A4096 6-3
VCP_PBS32_A4096 6-4
VCP_PBS32_A65536 6-5
Version_RIL_Utilities_01V* 6-26
VI Composer 6-3, 6-4, 6-5
VxWorks 7-1
W
WinStudio 1-1
DOK-CONTRL-VPP*21*****-AW01-EN-P
10-4 Index IndraLogic VPP 21
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Service & Support 11-1
11.1 Helpdesk
Unser Kundendienst-Helpdesk im Hauptwerk Lohr Our service helpdesk at our headquarters in Lohr am
am Main steht Ihnen mit Rat und Tat zur Seite. Main, Germany can assist you in all kinds of inquiries.
Sie erreichen uns Contact us
11.2 Service-Hotline
Außerhalb der Helpdesk-Zeiten ist der Service After helpdesk hours, contact our service
direkt ansprechbar unter department directly at
11.3 Internet
DOK-CONTRL-VPP*21*****-AW01-EN-P
11-2 Service & Support IndraLogic VPP 21
Vertriebsgebiet Mitte
Germany Centre SERVICE AUTOMATION SERVICE AUTOMATION SERVICE AUTOMATION
Bosch Rexroth CALL ENTRY CENTER ERSATZTEILE / SPARES
Electrice Drives and Controls GmbH Helpdesk HOTLINE 24 / 7 / 365 verlängerte Ansprechzeit
Bgm.-Dr.-Nebel-Str. 2 / Postf. 1357 MO – FR - extended office time -
97816 Lohr am Main / 97803 Lohr von 07:00 - 18:00 Uhr außerhalb der Helpdesk-Zeit ♦ nur an Werktagen
from 7 am – 6 pm out of helpdesk hours - only on working days -
Kompetenz-Zentrum Europa
Tel.: +49 (0)172 660 04 06 ♦ von 07:00 - 18:00 Uhr
Tel. +49 (0) 9352 40 50 60
Tel.: +49 (0)9352 40-0 oder / or - from 7 am - 6 pm -
Fax +49 (0) 9352 40 49 41
Fax: +49 (0)9352 40-4885 [email protected] Tel.: +49 (0)171 333 88 26 Tel. +49 (0) 9352 40 42 22
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Service & Support 11-3
Sweden - Schweden Sweden - Schweden Switzerland East - Schweiz Ost Switzerland West - Schweiz West
Bosch Rexroth AB Bosch Rexroth AB Bosch Rexroth Schweiz AG Bosch Rexroth Suisse SA
Electric Drives & Controls Electric Drives & Controls Electric Drives & Controls Av. Général Guisan 26
- Varuvägen 7 Ekvändan 7 Hemrietstrasse 2 1800 Vevey 1
(Service: Konsumentvägen 4, Älfsjö) 254 67 Helsingborg 8863 Buttikon
125 81 Stockholm Tel.: +46 (0) 4 238 88 -50 Tel. +41 (0) 55 46 46 111 Tel.: +41 (0)21 632 84 20
Fax: +46 (0) 4 238 88 -74 Fax +41 (0) 55 46 46 222 Fax: +41 (0)21 632 84 21
Tel.: +46 (0) 8 727 92 00
Fax: +46 (0) 8 647 32 77
DOK-CONTRL-VPP*21*****-AW01-EN-P
11-4 Service & Support IndraLogic VPP 21
Czech Republic - Tschechien Czech Republic - Tschechien Hungary - Ungarn Poland – Polen
Bosch -Rexroth, spol.s.r.o. DEL a.s. Bosch Rexroth Kft. Bosch Rexroth Sp.zo.o.
Hviezdoslavova 5 Strojírenská 38 Angol utca 34 ul. Staszica 1
627 00 Brno 591 01 Zdar nad Sázavou 1149 Budapest 05-800 Pruszków
Tel.: +420 (0)5 48 126 358 Tel.: +420 566 64 3144 Tel.: +36 (1) 422 3200 Tel.: +48 (0) 22 738 18 00
Fax: +420 (0)5 48 126 112 Fax: +420 566 62 1657 Fax: +36 (1) 422 3201 – service: +48 (0) 22 738 18 46
Fax: +48 (0) 22 758 87 35
– service: +48 (0) 22 738 18 42
DOK-CONTRL-VPP*21*****-AW01-EN-P
IndraLogic VPP 21 Service & Support 11-5
DOK-CONTRL-VPP*21*****-AW01-EN-P
11-6 Service & Support IndraLogic VPP 21
Columbia - Kolumbien
Reflutec de Colombia Ltda.
Calle 37 No. 22-31
Santafé de Bogotá, D.C.
Colombia
Tel.: +57 1 368 82 67
+57 1 368 02 59
Fax: +57 1 268 97 37
[email protected]
DOK-CONTRL-VPP*21*****-AW01-EN-P
Bosch Rexroth AG
Electric Drives and Controls
P.O. Box 13 57
97803 Lohr, Germany
Bgm.-Dr.-Nebel-Str. 2
97816 Lohr, Germany
Phone +49 (0)93 52-40-50 60
Fax +49 (0)93 52-40-49 41
[email protected]
www.boschrexroth.com
Printed in Germany
R911309379 DOK-CONTRL-VPP*21*****-AW01-EN-P