Interbus Ibs CMD g4
Interbus Ibs CMD g4
Interbus Ibs CMD g4
Reference Manual
IBS CMD G4
Designation:
Revision:
Order No.:
27 22 25 0
5219B
5219B
IBS CMD G4
Phoenix Contact reserves all rights in the case of patent award or listing of
a registered design. External products are always named without reference
to patent rights. The existence of such rights shall not be excluded.
The use of products described in this manual is oriented exclusively to
electricians or persons instructed by them, who are familiar with the applicable national standards.
Phoenix Contact assumes no liability for erroneous handling or damage to
Phoenix Contact or external products resulting from disregard of information contained in this manual.
5219B
Table of Contents
1 General Information ..........................................................................................1-3
1.1
Basic Principles...........................................................................1-3
1.2
1.3
1.4
Topology .....................................................................................1-5
1.5
1.6
Configuration...............................................................................1-8
1.7
Monitoring ...................................................................................1-9
1.8
Diagnostics................................................................................1-10
1.9
1.10
1.11
1.12
1.13
1.14
1.15
5219B
Menu "File..."...............................................................................2-6
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.1.6
2.1.7
IBS CMD G4
2.2
2.1.8
2.1.9
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.4
Menu "View..."...........................................................................2-28
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.4.8
2.4.9
ii
5219B
2.5.2
2.5.3
2.5.4
2.5.5
2.5.6
2.5.7
2.5.8
2.5.9
Menu "?..."...............................................................................2-189
2.6.1
2.6.2
2.6.3
2.6.4
2.6.5
2.6.6
3 Diagnostics .......................................................................................................3-3
5219B
3.1
3.2
3.3
3.3.2
3.3.3
iii
IBS CMD G4
3.3.4
3.3.5
3.3.6
3.3.7
3.3.8
3.3.9
4 Monitor..............................................................................................................4-3
4.1
4.2
4.2.2
4.2.3
4.2.4
4.2.5
4.2.6
4.2.7
4.2.8
4.2.9
iv
5219B
LCD ...........................................................................................4-45
4.3.1
5219B
4.4
4.5
4.6
Processing/Monitoring...............................................................4-54
IBS CMD G4
5 Preprocessing...................................................................................................5-5
5.1
5.2
5.3
5.4
Menu "File..."...............................................................................5-8
5.4.1
5.4.2
5.4.3
5.4.4
5.4.5
5.4.6
5.4.7
5.4.8
5.4.9
vi
5.5.2
5.5.3
5.5.4
5.5.5
5.5.6
5219B
5.5.7
5.5.8
5.5.9
Menu "Make..."..........................................................................5-27
5.6.1
5.6.2
5.6.3
5.6.4
5.7
Menu "?...".................................................................................5-29
5.8
5.9
5.8.1
5.8.2
5.8.3
Blocks Preprocessing................................................................5-33
5.9.1
5.9.2
5.9.3
5.9.4
5.9.5
5.9.6
5.9.7
5.9.8
5.9.9
5219B
5.10
Toolbar ......................................................................................5-55
5.11
IBS CMD G4
6 Others ...............................................................................................................6-3
viii
6.1
6.2
Bus Editor....................................................................................6-5
6.3
6.4
6.5
6.6
6.7
6.8
5219B
Section 1
This section informs you about
general information on how to work with IBS CMD G4
Basic Principles...........................................................................1-3
1.2
1.3
1.4
Topology .....................................................................................1-5
1.5
1.6
Configuration...............................................................................1-8
1.7
Monitoring ...................................................................................1-9
1.8
Diagnostics................................................................................1-10
1.9
1.10
1.11
1.12
5219B
1.13
1.14
1.15
1-1
IBS CMD G4
1-2
5219B
General Information
General Information
1.1
Basic Principles
Figure 1-1
1.2
Basic principles
The constantly growing degree of automation and the more complex requirements of production and process engineering demand more and more
powerful sensors and actuators for the special application. Today, the
INTERBUS system is already supported as an open bus system by more
5219B
1-3
IBS CMD G4
than 600 equipment manufacturers with various products. This enables
you, as the user, to select the most efficient and economical system components for your application.
1.3
Device Types
1-4
5219B
General Information
1.4
Topology
The INTERBUS network is installed in the system as a compact line following one direction. Starting at the controller board, the bus system connects
the respective PLC or PC system (host) with the INTERBUS devices installed in the periphery (e.g., digital and analog I/O modules).
Figure 1-2
Remote bus
INTERBUS topology
The main line installed through the system is known as the remote bus and
bridges the distances between the distributed sub-stations. The whole remote bus may be up to 12.8 km long (from the controller board to the last
remote bus device). The remote bus branch or local bus may branch off
from the remote bus.
From the remote bus, side lines (branching lines) are possible as local
branching lines. These are known depending on their type as remote
bus, installation remote bus or local bus.
Local bus
Installation remote
bus
5219B
1-5
IBS CMD G4
vices. It is suitable for configuring distributed sub-stations with direct connection of the sensors and actuators. This results in a shorter and less
expensive sensor/actuator connection.
1.5
Program Description
IBS CMD G4 is a software which enables interactive and control-independent configuration, operation and diagnostics of all connected devices in an
INTERBUS network..
Figure 1-3
IBS CMD G4 runs on standard PCs under MS-Windows and can be used
for a number of INTERBUS controller boards.
The connection to a controller board can be made on two communication
paths:
Through a serial interface (RS-232 level). Connect one of the serial ports
of your PC (COM1 to COM4) with the diagnostic interface on the front panel
of the host controller board. The connection is made by a serial connecting
cable.
For PC controller boards through the respective slot (e.g., ISA bus). If there
are several PC controller boards in one PC, the respective board number
of the controller board must be specified. Board numbers from 1 to 8 are
possible.
1-6
5219B
General Information
If you press the right mouse button on a selected element, a context menu
containing all functions available for this element opens. In addition the entries in the main menu are adapted accordingly to the functions assigned
to the device.
1.5.1
Connecting Cable
You use the serial connecting cable for connecting the serial interface of
your PC with the diagnostic interface of the controller board or the system
coupler.
IBS PRG CAB Order No. 28 06 86 2
Figure 1-4
5219B
1-7
IBS CMD G4
1.6
Configuration
With the aid of these menu commands in IBS CMD G4 you can design a
complete bus configuration for a system and configure all devices connected to INTERBUS. For example, you can new devices or search for devices. It is possible to assign addresses, variables and direct links (other
process data descriptions) to the input/output channels of the bus devices.
You can combine individual bus segments to form groups. It is also possible to check the bus configuration before startup.
Figure 1-5
1-8
Configuration
5219B
General Information
1.7
Monitoring
With the aid of these add-on programs you can monitor and manipulate the
data of all connected devices. The process data of connected devices can
be displayed or output states changed during system operation. The form
of representation of the displayed data depends on the individual device or
on the device description supplied by the manufacturer. It is also possible
to select an optimized form of representation (e.g., numerical value or bar
chart)..
Figure 1-6
5219B
Monitoring
1-9
IBS CMD G4
1.8
Diagnostics
This operating state offers you fast and effective help. This includes, for example, the recognition of defective bus devices, missing local bus voltage
and errors in the connected sensors and actuators.
Figure 1-7
1-10
Diagnostics
5219B
General Information
1.9
Add-on Programs
The IBS CMD G4 software enables integration of add-on programs (monitoring, diagnostics and configuration programs) which are for example, provided by the device manufacturers specially for their devices.
Add-on programs which can be integrated via a standardized interface can
manufacturer-independently parameterize and monitor the connected devices of an INTERBUS network.
Manufacturers of INTERBUS devices can use the fixed interface to develop own programs specially for their devices and link them into IBS CMD
G4.
You can request a description of the standardized interface(s) from the
INTERBUS-S Club e.V..
INTERBUS-S Club e.V.
Branch
Postfach 1108
32817 Blomberg, Germany
Tel.: +49-(0)-52 35 - 34 21 00
Fax: +49-(0)-52 35 - 34 12 34
5219B
1-11
IBS CMD G4
1.10
Hardware Requirements
You should at least have the following hardware/software equipment to operate IBS CMD G4:
80486 processor with 33 MHz (Pentium 90 MHz recommended)
8 MByte working storage (32 MByte recommended)
35 MByte free hard disk space
3.5" floppy disk drive and/or CD-ROM
Mouse
Windows 3.1 or higher
Serial interface port (COM1 ... COM4)
Parallel port (LPT1 ... LPT2)
INTERBUS Generation 4 controller board
Occasionally the free conventional working storage may not be adequate.
In this case, remove unnecessary resident programs and drivers such as
the DOS mouse driver, CD-ROM, scanner, sound driver or load these programs into a memory area above 640 Kbytes.
1-12
5219B
General Information
1.11
When installing the INTERBUS system, several regulations must be observed which cannot be checked by the IBS CMD G4 software or are presently not being checked.
Examples:
You may not exceed the maximum distance between two INTERBUS devices. Depending on the device type (remote bus, local bus, installation
local bus, ST...) the maximum distance between two devices may differ.
The wiring of INTERBUS, especially the remote bus cables and the connection of the sensors/actuators, must meet special regulations. These
regulations include:
a large-area shield
shielded, twisted pair sensor lines
a correct PE connection
You will find detailed installation and configuration documentation in the
appropriate manuals. Please consult the latest catalog or contact Phoenix
Contact for ordering information on the documentation.
5219B
1-13
IBS CMD G4
1.12
Figure 1-8
1.12.1
Main window
Title bar
The name of the program (IBS CMD G4), the path, and the name of the
central project file are displayed.
Menu bar
The menu bar contains the menu entries that control the program. Every
menu item is assigned a pop-up window in which the menu commands are
listed. Depending on the selected icon the contents of some of the submenus is variable, that means the menus are context-sensitive.
The function key bar has the job of enabling faster program operation. The
most important menu commands are included as buttons in the function
key bar. You can execute the appropriate command by pressing the buttons.
1-14
5219B
General Information
Representation area
The representation area is the area between the function key bar and the
status line. It displays the devices and the bus topology. When the available display area is exceeded, scroll bars appear which you can use to
move the bus topology within the window.
Status line
The status line is located at the bottom of the screen and contains various
status information. You will see the operating state of IBS CMD G4 among
other things. The "Status" box is displayed in gray in the "Configuration (offline)" operating state. In the "Online" operating states it may adopt the colors green or red depending on whether there is a fault or the bus is in operation.
1.12.2
Selecting or
Canceling Menus
After changing to the menu bar with <Alt>, use the <Right> or <Left> arrow
key to select the menu items. You open the marked menu with <ENTER>.
Menus which contain an underscored letter can be called with the key combination <Alt> + <Letter>. You exit the menu and return to the representation area with the <Alt> or <F10> key.
Selecting Menu
Items
You can select menu items from the sub-menus on the one hand with the
arrow key <Up> or <Down> and then confirm with <ENTER> or on the
other hand by entering the underscored letter directly. A grayed out menu
item is inactive. A check marks an active command or a selected feature.
Often a command can be called directly by function keys or a <CTRL> key
combination.
Moving Around in
the Dialog Box
Press the <TAB> key to move forwards or the <SHIFT> + <TAB> keys to
move backwards in the dialog box. If the name of the dialog element contains an underlined letter, press the <Alt> + <Letter> keys to jump directly
to the dialog selection.
5219B
1-15
IBS CMD G4
1.13
Project Files
Figure 1-9
1-16
Elements
5219B
General Information
1.14
Project Structure
Contains the actual bus topology, the configuration, the addressing, etc.
<PROJECT>.MES
Diagnostics message file. This only appears if you change to the "Diagnostics" operating state and messages arrive.
<PROJECT>.STC
Diagnostics statistics file. These only appear if you change to the "Diagnostics" operating state.
<PROJECT>.INI
*.GP
In these files you can store individual worksheets from the preprocessing.
*.PAX
*.SVC
The SVC file contains the complete parameterization and can be used in
controller boards without parameterization memory. The SVC file is an
ASCII file.
*.CSV
The CSV file (Comma Separated Value) is used to make the project data
(*.BG4) available in binary format accessible to other programs.
*.PEX
The PEX file is a CSV-format text file that can be re-imported. It contains
all the information in the BG4 file.
*.EPL
You can transfer the INTERBUS structure and the process data assignments to the "EPLAN" program via these files.
5219B
1-17
IBS CMD G4
*.FCX
In the FCX files you can save macros, user functions and events. These
are listed under the menu item "Functions" in the context menu of the controller board.
1.15
Description of Elements
1-18
5219B
Section 2
This section informs you about
the menu structure
the dialog boxes
and the use of IBS CMD G4
2.2
Menu "File..."...............................................................................2-6
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.1.6
2.1.7
2.1.8
2.1.9
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
5219B
Menu "View..."...........................................................................2-28
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2-1
IBS CMD G4
2.4
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.4.8
2.4.9
2.5.2
2.5.3
2.5.4
2.5.5
2.5.6
2.5.7
2.5.8
2.5.9
Menu "?..."...............................................................................2-189
2.6.1
2-2
5219B
5219B
2.6.2
2.6.3
2.6.4
2.6.5
2.6.6
2-3
IBS CMD G4
2-4
5219B
Menu Structure
Menu Structure
Some of the menu items are context menus. The entries in these context
menus depend on the selected element in the representation area. Only
the menu items valid and useful for an element are displayed. For example,
the element "Device" or the element "Project" are assigned a corresponding menu. The context menu can be called up using the right mouse button.
Figure 2-1
Main menu
In order to reach the unmarked elements of the context menus at any time,
the menu commands of these elements can be found as sub-menus under
their designation in the menu "Edit", "Configuration", "Monitor", and "Diagnostics".
Figure 2-2
5219B
2-5
IBS CMD G4
2.1
Menu "File..."
Figure 2-3
2.1.1
Figure 2-4
Configuration
(Offline)
Menu "File..."
The operating state "Configuration (Offline)" offers the possibility of creating and parameterizing a bus configuration without being connected to a
controller board. You can assign addresses, define groups and link process data "Offline".
No data exchange takes place between IBS CMD G4 and the controller
board in this operating state. It is, therefore, possible to configure an
INTERBUS system without additional hardware.
2-6
5219B
Menu Structure
Configuration
(Online)
Diagnostics
In the "Diagnostics" operating state it is ensured that the displayed INTERBUS configuration of IBS CMD G4 matches the currently activated configuration frame of the controller board. This means the position of the devices and the process data lengths are compared with the bus
configuration loaded in IBS CMD G4. In the "Diagnostics" add-on program
you can evaluate among other things statistics for data transmission and
view and analyze message files.
Monitoring
When changing to the "Monitoring" operating state, not only the device position and the process data lengths but also the process data descriptions
and the process data assignments are checked.
You can visualize the data of an INTERBUS network in the "Monitoring" operating state with various monitor programs.
2.1.2
5219B
2-7
IBS CMD G4
2.1.3
The command opens an existing project. Pay attention to the correct path
specification in order to be able to view the desired project with the ending
"*.BG4" in the selection box. Only one project can be opened at a time.
Figure 2-5
Open project
You have the possibility of loading projects from older IBS CMD versions.
To do this, select the file name extension *.BUS under "File Format". This
is the file format of IBS CMD up to Version 1.x. You can then save these
projects as *.BG4 files with IBS CMD G4.
When you open a project from an earlier version of IBS CMD G4, a text file
will open in the "NOTEPAD.EXE" program. The text file contains instructions on adapting the old BG4 project to the new version of IBS CMD G4.
2-8
5219B
Menu Structure
2.1.4
2.1.5
With this command you save a currently open project under the current
name. If the project has the name NONAME or an old project has been
changed "Save As" is called up.
If you have loaded an older project file with the file name extension "*.BUS",
the "Save As" command is also called and the file is saved as "*.BG4".
5219B
2-9
IBS CMD G4
2.1.6
"Save As" is used to save a project under a different name and, by changing the path specification, into another directory. All project files (*.INI,
*.BG4, *.STC, *.MES, *.ZWT) which carry the old project name are copied
into the above displayed directory with a different name. You can use this
command when a second project is to be generated from a similar, existing
project.
Figure 2-6
2-10
5219B
Menu Structure
2.1.7
Figure 2-7
Delete project
Only projects which are not opened can be deleted. It is not possible to delete the NONAME project.
5219B
2-11
IBS CMD G4
2.1.8
With this dialog box you select which parts of your project you would like to
print.
Figure 2-8
Printer
Print to File
Setup
With this button you call a dialog box to select special settings for the printout. This includes paper format and orientation among other things. Further
settings are available depending on the printer driver used.
Bus Topology
More...
2-12
Here you can select individual parts of the configuration which you want to
print. To do this, mark a line in the following dialog box. If you want to select
several specific lines, keep the <Ctrl> key pressed whilst clicking the desired lines. If you want to select a certain range, click the first desired line
and then the last desired line with the <Shift> key pressed.
5219B
Menu Structure
Figure 2-9
2.1.9
Print... More...
5219B
2-13
IBS CMD G4
2.2
Menu "Edit..."
The "Edit" menu has context menu entries. The commands in this menu
change with the element selected in the representation area.
General for All
Elements:
Undo
Search
Device:
Cut
Copy
Delete
Replace
Insert
Insert with ID Code...
Insert with Description
Link with Description
Renumber
2.2.1
With this menu item deletion of a device can be undone. However, only the
device removed last can be restored.
2-14
5219B
Menu Structure
2.2.2
Use this command to search for a bus device in the current bus configuration.
2.2.3
The marked device is removed and copied into the clipboard. Use this function to restructure the bus configuration in connection with the "Paste" command by moving devices (and the assigned data).
The "Cut" function is not possible for the elements "Project", "PLC/PC",
"Program", "Controller Board", "Configuration Frame", "Preprocessing",
and "Parameterization Memory".
The data of the device you have cut can also be pasted as ASCII data into
other programs (for example, a word processing application).
You can also drag and drop.
2.2.4
The marked device is copied into the clipboard. Use this command to restructure the bus configuration in conjunction with the "Paste" command by
shifting devices.
5219B
2-15
IBS CMD G4
The "Copy" function is not possible for the element "Project", "PLC/PC",
"Program", "Controller Board", "Configuration Frame", "Preprocessing",
and "Parameterization Memory".
The data of the device you have cut can also be pasted as ASCII data into
other programs (for example, a word processing application).
You can also drag and drop.
2.2.5
With the "Paste" command a device is copied from the clipboard to the right
of or underneath the marked device. An error message appears if you try
to paste a cut or copied device into an invalid position. (Example: Cut local
bus device and repaste into the remote bus.)
2.2.6
The marked device is deleted. The "Delete" function is not possible for the
element "Project", "PLC/PC", "Program", "Controller Board", "Configuration Frame", "Preprocessing", and "Parameterization Memory".
A deleted device can only be restored if you use the "Undo" command directly after "Delete".
2-16
5219B
Menu Structure
2.2.7
Use this command to replace a device by assigning a new device description. You can select the device description to be replaced from the device
database.
If the new device type replaces the consistency of the bus topology, the address or group assignment, the old device is only replaced after a security
prompt. If replacement is not possible (e.g., local bus device in the remote
bus), an error message appears.
Note that all previous changes and assignments of the old device description of this bus device will be lost.
2.2.8
With this menu item you insert a new device at a marked device in the bus
configuration. To do this you enter the ID code and the process data channel length of the device to be inserted. If you do not know these values,
please refer to the appropriate data sheet.
Enter the ID code of the device to be inserted here. After each figure entered, the device type is determined and displayed in the appropriate box.
The ID code is printed on most of the devices in decimal form.
Hex./dec.
5219B
These options allow you to specify a format for the ID code you enter. You
can choose between decimal (dec.) and hexadecimal (hex.) format. If you
have already entered an ID code, it is automatically converted to reflect the
option you select.
2-17
IBS CMD G4
Process Data
Channel
Parameter Channel
If you have entered a value in the ID Code field that points to a PCP device
with a variable parameter data channel length, you can enter the length of
the parameter data channel here.
Device Type
The device types are stored here. The display is automatically updated depending on the value under "ID Code" if the ID code is clear. The following
device types exist:
Local bus:
Remote bus:
2-18
5219B
Menu Structure
2.2.9
With this menu item you insert a new device at a marked device in the bus
configuration. A device description must exist in the database for the device to be inserted. If this is not the case you will have to insert the new device with its ID code and process data channel width with the aid of the "Insert with ID Code" menu item.
If the marked device is a BK module, you must first determine whether the
device to be inserted belongs in the local bus (branching (OUT2)) or in the
remote bus (outgoing (Out1)).
BK Module:
A BK module (bus terminal module) links a local bus or an installation remote bus to the remote bus.
5219B
2-19
IBS CMD G4
2.2.9.1
In the following dialog boxes you define the length of the process data or
the ID code for the device to be inserted. These dialog boxes are only available on devices with a variable ID code or with a variable process data
length (for example, slave devices, DZIs etc.).
2-20
5219B
Menu Structure
2.2.9.2
In the device database, every device is stored in lines with "Group", "Manufacturer", "Type", "ID", and "PD-Length".
Here you specify from which data source the device database is to be
loaded.
Internal Database
Product Directory
Others
You can install additional IBS CMD G4 databases besides the internal database and the product directory. These databases are available from
third-party vendors for their devices. When the "Others" option is checked,
a select box is displayed in which you can select the required device database.
5219B
2-21
IBS CMD G4
Select
Here you can enter search filters for selecting certain devices. To do this
you can use the wild card character "*" (as in MS-DOS) to select certain
areas. Click the "Search" button to search through the database according
to your criteria.
Example:
Entering "P*" in the "Group" box lists all group entries which start with the
letter "P".
The most important search filters are predefined in the "Group" and "Type"
boxes. You can select these predefined search filters by clicking the selection box at the right of the box.
In the "Group" select box, INTERBUS devices are listed by manufacturer.
For the internal database, these are:
PHOENIX - Current Phoenix Contact devices
PHOE-OLD - Phoenix Contact devices not included in the current catalog
(expiry models)
PHOE-PRJ - Special Phoenix Contact variants and developments
MMICOM - Devices based on the MMICOM specification
ENCOM Devices based on the ENCOM specification
DRIVECOM - Devices based on the DRIVECOM specification
Output
The device descriptions found according to the criteria entered in the "Select" area are listed here and can be selected by clicking.
Status
Here is displayed whether data records are currently being read in and how
many data records have been read in.
2.2.10
If you have determined the bus configuration with "Read Again" or created
it with "Insert with ID Code" only standard devices are represented in the
bus configuration. A standard device contains the information:
Identification Code (ID Code)
Process data channel length (PD length)
Standard icon
The ID code contains the least significant byte of the device code which
describes the function of the device.
2-22
5219B
Menu Structure
To link the bus devices with a device description from the device database
and thus with real existing products, use the "Link with Description" command.
Only device descriptions can be assigned whose ID code and process data
channel length match the data of the respective standard bus device.
Depending on whether you call the command "Link with Description" from
the "Controller Board" element or from a device, the function of the command changes.
Link with Description (from "Controller Board" Element)
All bus devices can be linked consecutively with a device description. You
can end the link at any time with the "Cancel" button.
Link with Description (from the "Device" Element)
Only the devices in the current bus segment are linked, starting with the
selected device. For every device in the bus segment you can select
whether you want to link this device.
Use this command to link the displayed device with a device description
from the database whose ID code and process data channel length match
those of the current device. After this link, the dialog box is called for the
next bus device in the bus segment.
No
Use this command if you do not want to link the displayed device with a device description from the database. After this selection, the dialog box is
called for the next bus device in the bus segment.
If several suitable entries for a device are found in the database, you can
select the entry suitable for your application from a list in the following dialog box.
5219B
2-23
IBS CMD G4
Group
Here the device group is displayed. All INTERBUS devices in the database
are assigned to a group.
Manufacturer
Type
ID
PD Length
2-24
5219B
Menu Structure
2.2.11
You can use this command to reassign the device numbers. The command
works differently depending on whether it is accessed from the controller
boards context menu or from a bus terminal module.
Controller Board
When the command is accessed from the controller boards context menu,
all the INTERBUS devices are renumbered. Starting with device 1.0 all the
remote bus segments (1.x, 2.x...etc.) and all the local bus segments (x.0,
x.1...etc.) are numbered consecutively.
Bus Terminal
Module
5219B
2-25
IBS CMD G4
The assignment between process data descriptions and preprocessing
variables remains unaffected by the new numbering. When devices are renumbered, all the device numbers are automatically transferred to the process data assignments.
2-26
5219B
Menu Structure
2.3
Menu "View..."
You determine the representation of the bus devices with this menu.
2.3.1
With this command you can change between the standard representation
and the reduced representation of the bus configuration display.
A check next to this menu item indicates that the reduced representation is
being used at the moment.
5219B
2-27
IBS CMD G4
2.3.2
You can use this command to change the way in which the device bus configuration is displayed. You can toggle between standard and box display
mode.
In this mode, you can display the essential device information. The device
icon can be selected in an icon library (ICL file). You can specify which device data is displayed in the "Settings" dialog box on the "View" menu.
Box Display
In box display mode, you can select the device information (select one
item) that is to appear on the standardized device icon (box). Box display
is designed for inline devices in particular; however, it can also be used for
any INTERBUS device.
Reduced
Representation
This is designed to provide an overview of the entire bus configuration connected to the controller board.
2-28
5219B
Menu Structure
2.3.3
Use this command to define the standard box display and reduced bus topology display.
Decide on what information should be displayed and their respective representation type using the option boxes and dialog boxes.
Indicate all option boxes in this column which should have standard bus
representation.
Reduced
Representation
Indicate all option boxes in this column which should have reduced bus
representation.
The individual boxes can also be selected with the keyboard by entering
the letter or number, respectively, on the right of the option box.
5219B
2-29
IBS CMD G4
If the display of the program address contains the wild card character "*"
(e.g., IN:*), another process data description or a variable is assigned to
the device process data description.
Service Info
Options
2-30
You can define the box display here and the size of the local bus.
5219B
Menu Structure
2.3.4
5219B
Set the horizontal extents of the bus configuration as a value in centimeters. This value is only of relevance when printing the graphical bus structure. A line break is forced on local buses with many devices when the
specified width is exceeded.
2-31
IBS CMD G4
You can set the height of the device icon in the box display here. You can
vary the height in order to adapt the box display to the length of the label.
For labels with an ID code set a small box height and for label with the device name, set a higher value.
Label
You can specify which device data is used in the device label in box display
mode.
The setting you make applies to all the devices in the project (as does the
height setting).
2-32
5219B
Menu Structure
2.3.5
After renaming devices or changing the bus configuration, it may be necessary to update the representation area. To do this, use the "Refresh"
menu item. When this command is executed, the bus configuration is redrawn on the screen with all of the current settings.
The graphic representation of malfunctions or errors is also updated.
5219B
2-33
IBS CMD G4
2.4
Menu "Configuration..."
If you press the right mouse button on a selected element in the representation area, a context menu opens which contains all functions available for
this element. In addition the entries in the menus are adapted to the element.
The following menu items are available for the elements:
Project
Description...
Export project files(<Project_name>.PEX)
EPLAN Viewer
PLC/PC
Description...
Program
Description...
Controller Board
Description...
Process Data...
Settings >
IB Function Blocks >
Parameterization >
Control >
Type...
Device Registration
Parameterization Memory
Description...
Write ASCII File >
Write...
Read...
Compare...
Format
File >
2-34
5219B
Menu Structure
Preprocessing
Description...
Variables...
Programming
PROGRAM WORX
Import
Configuration Frame
Description...
Read Again
Compare
Device
Description...
Process Data...
Device-Parameterization
5219B
2-35
IBS CMD G4
2.4.1
All data serves to describe the current project clearly with features.
2.4.2
You can use this command to export the IBS CMD G4 project for further
processing in other applications. The exported data contains the entire
BG4 project and exists as a PEX file. The PEX file is an ASCII file in which
the individual entries are separated by commas (CSV = Comma Separated
Value).
You can process the PEX file in a word processing application, spreadsheet program or a database and you can import it back into IBS CMD G4
if required.
2-36
5219B
Menu Structure
2.4.3
If you have installed the viewer for EPLAN projects, you can start it using
this command.
You can export the bus structure, the process data assignments and other
parameters for use in EPLAN. To do this, click "Save As ASCII... EPLAN
Data (*.EPL)" on the parameterization memorys Context menu.
EPLAN is an CAE system for generating electrical documentation. Terminal drawings, wiring diagrams, assembly drawings, parts schedules etc.
can be created quickly and easily using EPLAN.
5219B
2-37
IBS CMD G4
2.4.4
In this dialog box you describe the PLC or PC where the controller board is
installed.
The entry in the "Name" input area is also displayed in the representation
area.
2-38
5219B
Menu Structure
2.4.5
5219B
2-39
IBS CMD G4
2.4.6
2-40
5219B
Menu Structure
2.4.7
The controller board operating and error states are stored here.
Diagnostic
Parameter Register
Error type and error location are stored here as additional data.
Standard Function Registers:
Standard Function
Start Register
Standard Function
Status Register
The status of the standard functions during execution can be read from this
register.
5219B
2-41
IBS CMD G4
Standard Function
Result Bit
If a standard function has been executed, you can determine the result of
the execution from this bit. The standard function result bit is a bit from the
diagnostic status register.
Standard Function
Parameter Register
Information Register
Byte n+1:
0
1
2
3
4
5
6
7
User
PF
BUS
Ctrl
DTC
RUN
ACT
RDY
User error
Peripheral fault
Remote bus (RB) - or local bus (LB) - fault
Controller board error
Detection (bus error localization is running)
Data cycles are running
The bus is active (only ID cycles are running)
Controller board is ready
Byte n:
0
1
2
3
4
5
2-42
BSA
One or more bus segments are switched off
Sys-Fail System failure of the host system (lock the output data)
RES
Result of a standard function (1 = negative)
Sync-Res Synchronization error (only in synchronousmode of operation)
DCR
Data cycle error (only in synchronous mode of operation)
Warn
Bus warning time has run out (parameterizable)
5219B
Menu Structure
6 Qual
7 SS-Info
Diagnostic
Parameter Register
With the standard function start register you can execute predefined and
frequently used functions by setting a bit in this register. The individual bits
of the standard function start register are assigned the following functions:
Byte n+1 bit 0 : Start the INTERBUS system
Byte n+1 bit 1 : Stop the INTERBUS system and reset outputs
Byte n+1 bit 2 : Clear diagnostic display
Byte n+1 bit 3 : Switch off device
Byte n+1 bit 4 : Switch on device
Byte n+1 bit 5 : Bypass device
Byte n+1 bit 6 : Cancel device bypass
5219B
2-43
IBS CMD G4
Standard Function
Status Register
You can check the running process with the standard function status register. As long as a function is being processed, the appropriate bit is set in
the standard function status register. The bit is reset to zero after processing irrespectively of whether or not the service could be executed successfully.
Standard Function
Parameter Register
Standard Function
Result Bit
This bit indicates whether the currently executed function has been ended
successfully or not. The "RES" bit is part of the diagnostic status register
(byte n bit 2).
RES = 1 function not ended successfully
RES = 0 function ended successfully
The function execution which you start with the standard function start bit
is displayed by the status bit.
You must reset the start bit after recognizing the status bit.
You can only reset the start bit if the status bit indicates that the function
has been fully executed.
2-44
5219B
Menu Structure
Only one function can be executed at one time. The next function cannot
be started until execution of the first function has been completed.
2.4.7.3
5219B
2-45
IBS CMD G4
Bus Mode
Mode of Operation:
Asynchronous
Running of bus cycles takes place in the shortest possible time for the configuration and is not linked to any further events.
Mode of Operation:
Bus triggered
Mode of Operation:
Program triggered
The controller board receives a message (interrupt) as soon as an application program is ended.
In this mode of operation the controller board waits for the end of the current application program cycle.
The default cycle time must be greater than the minimum cycle time for the
respective bus configuration. Depending on the bus configuration, the
length of the minimum cycle time can vary. If no default cycle time is specified, or the specified default cycle time is too small, the minimum cycle time
is adopted as a default. The minimum cycle time is calculated during an ID
cycle of the controller board.
The entry of a defined cycle time is only effective in the "Asynchronous"
and "Bus-triggered" operating modes.
Automatic
If you want to have the controller board cycle time specified automatically,
mark this option box.
The current cycle time is displayed in this info area. The current cycle time
is determined by the controller board when the bus is running. This display
is not active in the "Configuration (Offline)" operating state.
Start-Up Delay
Enter the amount of time that is to elapse between switching on the power
and starting up the controller board. This delay ensures that all the INTERBUS devices can be initialized before the INTERBUS starts up with the
controller board.
Automatic
2-46
If a fault in the data transmission occurs on the INTERBUS network, the application program receives a warning message after the bus warning time.
The standard value for the bus warning time is 0 ms i.e., no warning messages are generated.
5219B
Menu Structure
Warning Off
Even if a bus warning time was defined, you can deactivate this in this option box. If the option box is marked, the bus warning time is not taken into
account.
Bus Timeout
If a fault lasts longer than the bus timeout, the bus cycles are stopped and
the INTERBUS network switched off. The outputs are reset. The standard
value for the bus timeout is 20 times the cycle time but at least 200 ms. If
a default cycle time is specified, the bus timeout is not automatically set to
20 times the value.
Automatic
If you have marked this option box, the bus timeout time is assigned automatically on the basis of existing bus parameters. One of these parameters, for example, is the current cycle time.
Buttons
Execute
Pressing this button transfers and applies the changed settings to the controller board.
Operating Mode
Options...
Click this button to set additional options for the operation of the controller
board. This button is only available with the S5 and S7 400 (direct operation) controller boards.
5219B
2-47
IBS CMD G4
Information (S7 300 only)
Bytes transmitted
2.4.7.4
Use this dialog box in the synchronous operating modes to synchronize the
controller board with the control system or other controller boards using interrupts.
2-48
5219B
Menu Structure
.
Interrupt Mode
Interrupt Line
Check this option if you want to use the control systems interrupt lines. Interrupt leads A to F are physical leads on the backplane (the data and control bus are on the back of the control rack).
The "Interrupt Line" option enables the "Event from Preprocessing " and
"Synchronous (Output)" options.
EW0
To see the interrupts in the address area (process data area) select "Board
ID" in this select box. Depending on the board ID selected, the interrupts
are displayed within the EW0 process data word. If you select the entry
"Process Data" in the "EW0" select box instead, the input word 0 is not
used for interrupts. It is used to represent process data.
Operating Mode
Event from
Preprocessing
5219B
You can send interrupts from the preprocessing to the control system and
other controller boards. Check this option to do so. A special function block
is used in the preprocessing to generate the event.
2-49
IBS CMD G4
Synchronous (Input)
When this option is checked, the controller board will react to external interrupts (from other controller boards, for example). You can thus synchronize the INTERBUS with other controller boards.
Synchronous
(Output to SPS)
When this option is checked, the controller board sends interrupts to the
control system. Check this option if you want to use the controller board as
the clock-pulse generator for the control system.
Synchronous
(Output to IBS)
When this option is checked, the controller board sends interrupts to other
controller boards in the control system. Check this option if you want to use
the controller board as the clock-pulse generator for the control systems
other controller boards.
Direct
Communication /
Group Message
This option is available when the entry "Board ID" has been selected in the
"EW0" select box. The EW0s low-order byte is then used to represent direct communication. The group messages are in the EW0s higher-order
byte. Direct communication also has to be selected in the S5 control systems event block.
Synchronous
Operation / Group
Message
This option is available when the entry "Board ID" has been selected in the
"EW0" select box. The EW0s low-order byte is then used to represent synchronous operation. The group messages are in the EW0s higher-order
byte. Direct communication also has to be selected in the S5 control systems synchronization block.
Board ID
Specify whether the controller board is to operate as master or slave within
the control system. At least one of the controller boards used has to be configured as a master.
Identical board IDs may not be assigned within a control system.
Master
Slave
Check this option to configure the controller board as a salve. Select a bit
that will serve as unique identification for the board in the control system.
Bit (7..0)
Select the controller boards slave bit here. You can configure up to seven
controller boards in the control system as slaves in this way. Bit 0 is reserved for the "Master" board ID and is set automatically.
2-50
5219B
Menu Structure
The following dialog box is only available for the S7 400 controller boards
in direct operating mode.
When this option is checked, the controller board sends interrupts to the
control system in every bus cycle.
Event from
Preprocessing
You can send interrupts from the preprocessing to the control system.
Check this option to do so. A special function block is used in the preprocessing to generate the event.
Host Systems Interrupt Mode
The following settings have to be made in the S7 environment in the same
way.
Function
5219B
2-51
IBS CMD G4
INT-Line to CPU
Select the control systems interrupt line that is to be used. Interrupt lines 1
to 4 are physical leads on the backplane (the data and control bus are on
the back of the control rack).
Alarm OB
Check this option if you want the values of the input process image to be
set to "Zero" in the event of a bus error.
When this option is checked, the most recent input process image that was
valid in the controller boards memory is kept.
2-52
5219B
Menu Structure
Communication (S5, S7 400, BA only)
Here you seen the address of the two word wide communication register.
The controller board exchanges its data with the PLC through this register.
You will, therefore, find it in the input data area as well as in the output data
area.
The communication register is set on the controller board by DIP switches.
When the bus configuration is read and a new configuration frame is created, the position of the communication register selected on the controller
board is determined automatically and displayed in the dialog box. The register for the controller board IBS S5 DSC/I-T must be on an address above
P128 and must be divisible by four with no remainder..
5219B
2-53
IBS CMD G4
2-54
5219B
Menu Structure
2.4.7.6
Enter the number of the row (0..3) in which the controller board has been
installed in the control system.
Enter the number of the controller board slot (4..11) within the row defined
above.
The base address of the controller board in the S7 300s address space is
derived automatically from the information entered in "Row" and "Slot" and
is displayed in the "Board Base Address" box. The position of the standard
register, in turn, is derived from the base address.
5219B
2-55
IBS CMD G4
Board Base Address
Address (S7 400 in
advanced operating
mode only)
Select the controller boards base address here. The base address and the
address in the control systems hardware catalog must match. The position
of the standard register and the communication register are derived from
the base address.
With the S7 300, the base address derived from "Row" and "Slot" is displayed.
Address Area
Set the address range in accordance with the DIP switch settings on the
controller board. The following address ranges are available: "P", "Q",
"IM3", "IM4", "P/Q", "IM3/IM4". The address ranges are required to ensure
that the INTERBUS data is displayed correctly in the control systems different ranges.
2.4.7.7
This dialog box is only available for the S7 controller board IBS S7 400
DSC/I-T in direct operating mode.
In the S7 400s operating mode you can simulate the individual address
ranges of an S5 controller board. Every S5 address range (P, Q, IM3, IM4)
has two additional sub-ranges which means that it is necessary to assign
offsets.
2-56
5219B
Menu Structure
Select the address range (input range/output range) of the address you
wish to edit and display in the dialog box.
Address Ranges
Enter a start address for each range in the S7 400 control systems address
space.
Transfer Windows
Enter the start address and the length of the S5 mailbox for each address
range (P, Q, IM3 IM4). The length of the memory areas may not exceed
128 bytes. If the communication register is within the transfer window, the
maximum length is only 124 bytes.
Communication
Register
The communication registers start address in the controller boards memory is shown here. You can set the position of the register in the S7s address space under S7 Address.
5219B
2-57
IBS CMD G4
2.4.8
This dialog box is only available for the S7 IBS S7 300 BC-T and IBS S7
400 DSC/I-T controller boards in advanced operating mode.
You can use this dialog box to adapt the control addresses in the S7 environment. With the S7 300, one data record may be assigned for the input
and output area respectively. The S7 400 (advanced operating mode) provides four data records per data direction.
Select the number of the IBS data record that you wish to set.
Area
Data Block
2-58
If you have selected the entry "DB" (data block) under "Area", you can
specify the data blocks number here.
5219B
Menu Structure
Offset
Length
Enter the length of the IBS data record here. Make sure that the length you
select is long enough for all the process data.
Source P#
Based on the settings you make in the dialog box, IBS CMD G4 generates
a control string as it is used in the S7 environment.
2.4.9
System couplers and some controller boards have, in addition to the function of a controller board, the property of appearing as a device in the
INTERBUS system or connecting another bus system to the INTERBUS
system. The properties of this device can be defined freely by the ID code
and the process data channel length to be assigned and thus any device
with process data and parameter data generated.
When you change the process data channel length, all the devices process data descriptions are re-initialized. In other words, this will delete process data descriptions (except the new, default ones) and assignments!
5219B
2-59
IBS CMD G4
ID Data
ID Code
Set the ID with which the device is to appear in the INTERBUS system. In
the case of system couplers, this is the ID code used for the device in the
higher-level INTERBUS system.
Process Data
Channel
In this select box, choose the process data channel length of the device in
the INTERBUS or in the higher-level INTERBUS system (in the case of
system couplers).
Parameter Channel
The length of the parameter data channel is displayed here. This is derived
from the ID code.
CR in the Higher Level Bus
CR
Activate
You can activate or deactivate the use of the CR. The CR is activated if you
have marked the option box.
2-60
5219B
Menu Structure
2.4.10
2.4.10.1
5219B
2-61
IBS CMD G4
Parameterizations
Parameterization
Contains the name of a defined action sequence. The name must not be
longer than 64 characters. The parameterization name must be unambiguous and may only be assigned once.
Boot
Comment
You can describe the selected parameterization in more detail in this input
area.
Action Sequence
This table indicates which actions are assigned in what order to the above
selected parameterization. When you have marked a box you can select
an action from the selection list appearing there.
Action
This column displays the name of the selected action. With the button "Action Library" you can edit the action or add a new action. The texts in the
boxes in this column cannot be edited directly.
Comment
You can describe the selected action in more detail in this input area.
Active
2-62
5219B
Menu Structure
Buttons
Action Library
Standard
Use this button to undo all the changes you have made and restore the
original (default setting) parameterizations.
The following diagram shows the relationship between parameterization,
action and (firmware) service. A parameterization is composed of actions.
An action is a service assigned with parameters or a non-editable service
sequence.
More...
5219B
This button is only displayed when a BG4 project from an earlier version of
IBS CMD G4 is loaded. You can determine and alter the addresses here
that were assigned to the actions in the old project.
2-63
IBS CMD G4
2.4.10.2
The "Edit Parameterization" dialog box has a context menu for easy-to-use
operation of the dialog box. Like the other context menus, you call up this
menu with the right mouse button or with <Shift> + <SPACE> or <Shift> +
<F10>.
Delete
Parameterization/Ac
tion
The command deletes the marked line from the dialog box.
2.4.10.3
In this dialog box you can edit an existing action (or one selected in the
"Edit Parameterization" dialog box). You can also create new actions, i.e.,
services parameterized to meet your requirements.
2-64
5219B
Menu Structure
After selecting the action, the "Comment" info area and the "Used in Parameterization" info area are updated.
When this dialog box is called, the selected action name is transferred to
the "Action Name" input area.
This selection box contains the name of the action which is to be edited or
changed. If an action already exists, the "Rename" button is enabled (the
"New" button is disabled). The "Comment" and "Used in Parameterization"
areas are updated automatically. As soon as you enter a character to create a new action, the "New" button is enabled. (The "Rename" and "OK"
buttons are disabled.)
Comment
You can describe the respective action in more detail here, for example, to
clarify your function. This comment is then displayed in the action sequence.
Used in
Parameterization
This area shows you in which parameterizations the above displayed action is already used.
Buttons
New
After full input of the new action name, you confirm this with the "New" button. Then you go to the action editor with the "Edit" button to enter the parameters necessary for the new action.
Rename
5219B
2-65
IBS CMD G4
Delete
You can delete the selected action from the list with this button.
Edit
2.4.10.4
In this dialog box you can assign parameters to the firmware services (requests) and store them under a previously selected action name. The
structure of the firmware services cannot be changed. With the action editor, however, you have the possibility of adapting all services to meet your
requirements. These parameterized and commented services can then be
combined in parameterizations and stored on the controller board.
Service
Code
This contains the value of the firmware service. Every firmware service has
a four-digit hexadecimal code.
Name
This contains the service name in its original form. This name is clearly
linked to the four-digit code. Select the service which you want to use and
parameterize from this list.
2-66
5219B
Menu Structure
Parameters
If parameters follow the firmware service you have selected, this option box
is marked and the dialog box is extended by the following area:
Parameters
This area shows the parameters of the service specified above. Prerequisite is that appropriate parameters are defined for the service.
The list contains the parameters of the service. There is always a blank
entry at the end of the list so that at least one blank entry exists. You can
append a maximum of 510 parameters to a service. The parameter list is
preassigned from a service database.
The input areas above are updated according to the selected line.
Amount
Here you see how many parameters follow the service or how many parameters you have entered in the parameter list.
The line under the info area "Amount" is the input line for the parameters.
Here you enter your changes for "Value", "Format" and "Comment".
No.
Value
Enter the value here which you want to assign to the parameter.
Note the data format set under "Format".
5219B
2-67
IBS CMD G4
Format
Comment
Change
Enter a new value for the parameter values in the input area and then press
this button. The entry is then transferred to the parameter list.
Insert
The function of this button refers to the line which has just been selected.
The entries in the input areas are checked. In case of a positive result, the
entries are written in a line which is inserted before the marked line. The
button cannot be selected if the service does not allow further parameters
to be inserted.
Delete
The function of this button refers to the currently marked line. The marked
line is deleted. The button is not selectable (grayed out) if the service does
not allow deletion of parameters.
Format
The format of the "Value" entry can be selected here. A value already entered is converted into the appropriate format if you change its display format in this column.
The following formats exist:
hex
Hexadecimal
dec
Decimal
dec,dec Decimal input for the most significant or least significant byte of a
16-bit integer. The order is: <high>,<low>.
bin
Binary
When the list window is opened, a selection is not transferred until the list
window is closed again. The original status with the list window open can
be restored by pressing the <ESC>-key.
Transfer of a list entry becomes valid with a column change or by pressing
the <Return>-key.
2-68
5219B
Menu Structure
2.4.10.5
5219B
1303h
0750h
0760h
030Eh
(Special) action
(Special) action
(Special) action
(Special) action
(Special) action
0144h
(Special) action
0149h
(Special) action
014Eh
(Special) action
030Eh
(Special) action
0711h
0750h
0701h
014Fh
2-69
IBS CMD G4
2.4.10.7
Name of action
Alarm Stop
Update Diagnostics Display
Read Configuration Frame From Bus
Start Data Transmission
Release Exclusive Rights
2-70
1303h
0760h
030Eh
(Special) action
(Special) action
(Special) action
(Special) action
(Special) action
0144h
(Special) action
0149h
(Special) action
014Eh
(Special) action
030Eh
0711h
0701h
014Fh
(Service) code
1303h
0760h
0710h
0701h
014Fh
5219B
Menu Structure
(Default) Actions:
5219B
Alarm Stop
Alarm_Stop_Request
1303h
0149h
0701h
0760h
Delete Events
Delete_Event_Object_Request
014Eh
014Fh
014Fh
0711h
0710h
Delete Macros
Delete_Action_Object_Request
0144h
Exit Parameterization
Control_Parameterization_Request
030Eh
Initiate Parameterization
Control_Parameterization_Request
030Eh
Release Preprocessing
Set_Value_Request
0750h
Lock Preprocessing
Set_Value_Request
0750h
2-71
IBS CMD G4
(Special) actions:
2-72
0306h
0307h
0308h
0750h
0320h
0321h
0322h
0324h
0325h
0326h
0264h
Send Macros
Initiate_Load_Action_Object_Request
Load_Action_Object_Request
Terminate_Load_Action_Object_Request
0140h
0141h
0142h
0145h
0146h
0147h
Send Events
Initiate_Load_Event_Object_Request
Load_Event_Object_Request
Terminate_Load_Event_Object_Request
014Ah
014Bh
014Ch
Send Preprocessing
03A0h
5219B
Menu Structure
2.4.10.9
This dialog box only appears when a project from IBS CMD G4 Version
4.16 or earlier is opened. In the projects in these versions of IBS CMD G4
it was possible to assign each action (a row or parameterization sequence)
a control or computer address. Actions were executed via these addresses.
To create new, user-defined parameterization sequences (user functions),
please use the IB function blocks.
To determine and utilize the start, status and result addresses in old BG4
projects, the following dialog box is provided for each line in the parameterization sequence.
To be able to start an action via an assigned address, the address assignments have to be transferred to the controller board. Check this option to
be able to execute and monitor the actions via the assigned addresses.
2.4.10.10 Menu "Controller Board... Parameterization... Check"
All parameterization data of the bus configuration is checked. If an error
was found, the affected device and the cause of the error are output in a
message window.
A BK module's current is not checked. If you load a BK module (bus terminal module) with too many local bus devices, it may not have enough power
for all of the devices.
5219B
2-73
IBS CMD G4
2.4.10.11 Menu "Controller Board... Parameterization... Import..."
With this menu item, you can import a parameterization (or several parameterization sequences) from a file. The file has the file name extension
"PAX". The file is opened in a Windows standard dialog box.
The entire parameterization is saved in a PAX file.
2.4.10.12 Menu "Controller Board... Parameterization... Export..."
You can export the parameterization into a file with this menu selection.
The file is given a name extension "PAX". The file is saved in a Windows
standard dialog box.
The entire parameterization available in the current project is saved in the
PAX file.
2-74
5219B
Menu Structure
2.4.10.13 Menu "Controller Board... Parameterization... Execute"
With this dialog box you can execute individual actions or action sequences, so-called parameterizations. The parameters of these actions
and parameterizations are taken from the currently open IBS CMD G4
project or you defined them in the action library.
Parameterizations
5219B
2-75
IBS CMD G4
Actions
This list contains individual actions. Actions are services assigned with parameters or predefined service sequences. Some of the actions are permanently defined and cannot be deleted or edited. These non-editable actions
consist of several services and take their parameters from the current bus
configuration.
2.4.11
With these commands you can operate your controller board simply and
thus activate the individual operating states of the controller board.
The controller board has run the self-test successfully and is ready to function. However, a configuration frame may exist which is not activated.
You can only change from the "READY" state to the "ACTIVE" state with
"Controller Board, Control, Activate Configuration" if there is a configuration frame on the controller board. If no configuration frame is active, you
can change from "READY" to "ACTIVE" with the "Configuration Frame,
Read Again" command.
ACTIVE (ACTV)
A configuration frame is active on the controller board. ID cycles are transmitted at regular intervals ("BA" LED flashes on the devices).
2-76
5219B
Menu Structure
RUN (RUN)
5219B
2-77
IBS CMD G4
2.4.11.2
You can select individual services from this dialog box and execute them
directly. If you have marked the "Display Service Results" option, you will
be shown the result (the CONFIRMATION) of the service in a dialog box.
This dialog box is the "Action Service Editor" dialog box which you will also
find under the "Parameterization Edit..." menu command.
2-78
5219B
Menu Structure
2.4.11.3
This command checks that IBS CMD G4's configured data of the configuration frame matches the currently connected configuration. If no error is
found, the controller board switches the bus devices of the configuration
frame active. The controller board displays the "ACTIVE" state (BA LEDs
flash).
The controller board must be in the "READY" state to activate a configuration frame. IBS CMD G4 always activates the configuration
frame "1".
2.4.11.5
The active configuration frame can be deactivated with this command if the
controller board is in the "ACTIVE" state. If the configuration frame is not
active or if the controller board is in the "RUN" state, an error message is
output.
By deactivating a configuration frame you have the possibility to configure
different configuration frames in the parameterization phase and activate
and deactivate these for testing.
Before a new configuration frame is activated, the previous one must be
deactivated as only one configuration frame may be active at any time.
5219B
2-79
IBS CMD G4
2.4.11.6
This program command stops the cyclic data traffic on the INTERBUS network. The controller board changes from "RUN" to the "ACTIVE" state.
The moment at which this program command is executed must be timed to
the current system state, as the actuator outputs of the active bus devices
remain in the current state of the stop time. The controller board displays
the "ACTIVE" state.
To ensure that the outputs are reset at the same time as the INTERBUS
system is stopped, use the "Alarm Stop" command.
2.4.11.8
This program command stops the cyclic data traffic on the INTERBUS network. The outputs of all bus devices are reset. The command is executed
immediately after completion of the current data cycle. The controller board
changes from "RUN" to the "READY" state.
2.4.11.9
This program command resets the controller board and thus the bus device
outputs. Then the controller board runs its self-test until it reaches the
"READY" state. If a parameterization memory with a valid and bootable parameterization exists, this parameterization is loaded and executed.
Note that the outputs are also reset by resetting the controller board. This
may lead to dangerous situations depending on which functions you have
assigned to these outputs.
2-80
5219B
Menu Structure
2.4.11.10 Menu "Controller Board... Control... Update Diagnostics
Display"
This command updates the diagnostic display on the front panel of the controller board and the contents of the diagnostic register.
2.4.11.11 Menu "Controller Board... Control... Reset Statistics Counter"
You can use this menu item to delete all the statistical data (like Top Ten
and Peripheral Bus Malfunctions) stored on the controller board. This command can also be run from the "Diagnostics" add-on program.
5219B
2-81
IBS CMD G4
2.4.12
The controller board controls the data traffic on the INTERBUS network.
Here you can describe the controller board with name and remarks. All
other fields are not editable.
The "Manufacturer" and "Type" info areas are read from the initialization file
of the project. The "Version Info" info area is read from the controller board
as soon as the first online connection was established.
Among other things, the "Version Info" info area contains information on
the firmware version.
2-82
5219B
Menu Structure
2.4.13
5219B
2-83
IBS CMD G4
2.4.13.1
In this dialog box you create the user functions. A user function is a macro
assigned with parameters. You can start and monitor an user function from
your application program. The addresses (bit addresses) via which you
start the user function can be freely defined.
Start
In this column assign the address of the bit which starts the user function.
If you set this bit to "1", you will start the user function.
Status
After you have started the user function, you can recognize from this bit
whether the user function is still being executed. This bit has the "1" state
during execution of the user function. Assign the status bit address in this
column.
2-84
5219B
Menu Structure
Result
Boot
Macro Name
In this column the macro name is displayed which you have assigned to the
user function. To assign a macro, first mark the line of the desired user
function and then select the desired macro in the "Macro for:" box.
Comment
You can comment on every user function directly in this input area. The created comment is displayed depending on the marked user function.
Macro for:
In this area you select the desired macro for the marked user function. The
services used in this macro can be seen in the info area below.
Addresses for:
In this area the addresses of the start, status and result bit are displayed
which you can select with the "Assign..." button.
Buttons
Parameters...
With this button you go to a dialog box in which you can supply the macro
of the current user function with parameters.
Assign...
Press this button to assign the user function with the addresses for one
start, status and result bit respectively.
Edit...
This button opens the "Macros" dialog box in which you can create, change
or delete macros.
5219B
2-85
IBS CMD G4
2.4.13.2
In this dialog box you select the addresses for the start, status and result
bit.
First select the byte addresses for "Start", "Status" and "Result" and then
the "Bit" position within the bytes.
This bit position must be the same for all three addresses. After ending the
dialog box, the selected settings are entered in the function table.
2-86
5219B
Menu Structure
2.4.13.3
In this dialog box you define the events. An event is a macro assigned with
parameters which is started by an INDICATION. The INDICATION which
causes the start of the "Event" must be determined by you.
Indication
In this column you select to which INDICATION the event is to react. You
can create one INDICATION (e.g., Write_Indication) for every event. The
event is started as soon as the INDICATION arrives. An Indication can, for
example, be sent by a PCP node which requests a service.
CR
Enter the communication reference (CR) of the PCP device for which the
event is to apply.
5219B
2-87
IBS CMD G4
Confirmation
Enter here the address of the confirmation bit. You must acknowledge an
INDICATION by setting the confirmation bit. You can recognize an indication from the notification bit.
You have to confirm every INDICATION. An unconfirmed INDICATION
prevents the process of other INDICATIONS.
Notification
Enter here the address of the notification bit. The notification bit signals the
application program that an INDICATION has occurred.
Macro Name
In this column the macro name is displayed which you have assigned to the
event. To assign a macro, first mark the line of the desired event and then
select the desired macro in the "Macro for" box.
Comment
You can comment on every event directly in this input area. The created
comment is displayed according to the marked event.
Macro for:
In this area you select the desired macro for the marked event. The services used in this macro can be seen in the info area below.
Addresses for:
In this area the addresses of the confirm and information bits are displayed
which you can select with the "Assign..." button.
Buttons
Parameters...
With this button you go to a dialog box in which you can supply the macro
of the current event with parameters.
Edit Macro...
This button opens the "Macros" dialog box where you can create, change
or delete macros.
Assign...
Press this button to assign the addresses for confirmation and notification
bit to an event.
2-88
5219B
Menu Structure
2.4.13.4
In this dialog box you select the addresses for the confirmation and notification bit.
First select the byte addresses for "Confirmation" and "Notification" then
the "Bit" position within the byte.
This bit position must be the same for both addresses. After ending the dialog box, the selected settings are entered in the events table.
2.4.13.5
In order to manage macros, events and user functions easily, you have the
option of exporting your definitions into files.
The file format for these files is "FCX". You can import existing FCX files
under the "Import" menu selection.
Import and export of the FCX files takes place in a Windows standard dialog box for file selection.
5219B
2-89
IBS CMD G4
2.4.13.6
Structure of a Service
(RES)
(IND)
(RES)
(CON)
Request a service
Receipt of the service request
Response to the service request
Confirmation of the service
Parameter_Count
Parameter 1..n
With the parameters you define, for example, which device you want to address with this service or in which way a service is to be executed. Please
refer to the firmware and PCP manuals or the "Parameters" table in the dialog box "Edit parameters" for an exact description.
2-90
5219B
Menu Structure
2.4.13.7
In this dialog box you provide the services with parameters, in order to create a functional user function in the marked macro.
If you mark a service primitive from the macro, a table of parameters is read
in from a provided database. 'According to the selected primitive the respective parameter table is displayed. As soon as you have marked a service primitive and the parameter table was displayed, the service primitive
is marked with "OK" to indicate that it is selected. This gives you an overview which of the service primitives you have already selected.
Parameters
Request (OUT)
You can edit this parameter table when you define a REQUEST to a service provider.
5219B
2-91
IBS CMD G4
Confirmation (IN)
You can edit this parameter table when you define a REQUEST to a service provider.
Response (OUT)
You can edit this parameter table when you define a RESPONSE to a service provider.
Indication (IN)
You can edit this parameter table when you define a RESPONSE or a REQUEST in an event.
Abbreviation
dec
dec,dec
hex
bin
Syntax
nnn
nn,nn
$nnnn
%nnnnnnnn
Data Type
Value Type
2-92
5219B
Menu Structure
IGN
With the "IGN" value type you ignore the value of the parameter. The parameter is ignored in the service primitives CONFIRMATION and INDICATION, the parameter is not transferred to the service provider in the REQUEST and RESPONSE service primitives.
Length
Enter the length of the array for WORD_ARRAY and BYTE_ARRAY data
types in this column. Enter the value in words or bytes, as appropriate for
the arrays data type.
Description Positive /
Description Negative
In order to manage macros, events and user functions easily, you have the
option of exporting your definitions into files.
The file format for these files is "FCX". You can import existing FCX files
under the "Import" menu selection.
Import and export of the FCX files takes place in a Windows standard dialog box for file selection.
2.4.13.9
You create macros with this dialog box. A macro is a sequence of the service primitives "Request" and "Response".
You can use a macro in different user functions or events but only one
macro per user function or event.
5219B
2-93
IBS CMD G4
If you assign parameters to this macro or the services in this macro, you
create an user function or an event.
The defined macros are listed in this table. You can select a macro respectively to
change or delete the name,
display and edit the services or,
comment on macro and services.
Used in
This info area shows you in which user functions or in which events the selected macro is used.
Comment
In this info area the comment belonging to the macro is displayed. This info
area cannot be edited directly. You can change/enter the comment for the
selected macro by clicking the "Change" button.
2-94
5219B
Menu Structure
Buttons
New...
You create a new macro with this button. Assign an unambiguous name to
the new macro and a comment if necessary.
Change...
This dialog box offers you the opportunity to change the name of the macro
and its comment
Service Sequence
This info area shows you which services have already been assigned to the
selected macro. These services or service primitives represent the actual
macro.
Request/Response
With these option boxes you select which service primitives you want to assign to your selected macro. You can select between:
REQUEST (request a service),
RESPONSE (response to a service request (INDICATION)),
Comment
5219B
You can comment on every service primitive. To do this, select the desired
primitive in the "Service sequence" box and then click the "Comment..."
button. The info area cannot be edited directly.
2-95
IBS CMD G4
Buttons
<<Assign
You assign service primitives to your macro with this button. Mark the desired service and then click "<<Assign". The service primitive is entered in
the "Service Sequence" info area above the marked line.
Remove>>
With this button you remove the marked service from your macro.
Comment...
Use this button to comment on the service marked under "Service Sequence".
2-96
5219B
Menu Structure
Only alphanumeric characters and the decimal point are permitted in device registrations. Blanks and symbols are not allowed.
The device registrations first registration field. You can specify the systems name here. This device identifier is preceded by an equal sign (=) in
the bus display.
Location
The device registrations second registration field. Enter the location of the
device (of the INTERBUS device). This device identifier is preceded by a
plus sign (+) in the bus display.
Type, Counter,
Function
The device registrations third registration field. You can enter the device
number or name here, for example. This device identifier is preceded by a
minus sign (-) in the bus display.
Buttons
Automatic
5219B
The device registration of single or of all devices can be generated automatically based on existing project data. Click this button to access the dialog box where you can select automatic device registration parameters.
2-97
IBS CMD G4
2.4.13.11 Dialog Box "Device Registration (Automatic)"
You can use the tools in this dialog box to automatically generate the device identifiers based on the data in the current project. Eight parameters
are provided for this purpose. Each parameter is preceded by a "$" symbol,
followed by identification letters for the parameter in question. You can use
several parameters in an identification field. Besides parameters, you can
also enter alphanumeric text.
Example:
Assume you want to insert the device number for each device as a device
identifier for the "System" field.
To do this, enter "$N" in the "System" field. In the Replacement Type area,
check "All Devices" and in the Replacement Mode area, check "All Fields".
If you want to enter a series of consecutive parameters, avoid using blanks
as blanks and symbols are illegal characters in device registration.
2-98
The device registrations first registration field. You can enter parameters
for the name of the system.
5219B
Menu Structure
Location
Type, Counter,
Function
The device registrations third registration field. Enter the parameter for the
device number or name, for example.
Parameters
Includes a list of the parameters that can be used for the automatic BMK.
Enter one or more parameters in the desired field.
Type of Replacement
Check this option if you want to generate only the device registration of the
device on which the dialog box was opened.
All Devices
When you check this option, the device registrations will be generated for
all the devices and for the controller board, based on the settings you entered.
Replacement Mode
All Fields
Check this option to regenerate the entire device registration from scratch.
This will describe all the fields of all the devices.
Check this option if you simply want to fill out empty registration fields.
When this option is checked, the device registration of a device is only regenerated when all its fields are empty.
5219B
2-99
IBS CMD G4
Double BMK
If one or more device identifiers are identical in all the fields, this is indicated in the next dialog box.
2-100
5219B
Menu Structure
You can select a controller board from the "Available Types" list. The selected type appears in the "Current Controller Board" info area.
Depending on the set controller board the icon of the controller board
changes in the representation area.
When this option is checked, IBS CMD G4 will determine the version number of the firmware on the controller board as soon as you switch to one of
the online operating states. The online operating states are "Configuration
(online)", "Monitoring" and "Diagnostics".
2.4.14
Use the process data dialog box to create process data descriptions of your
INTERBUS devices according to your needs, and map them to addresses,
variables or other process data descriptions.
The standard process data description, which exists after inserting a device, can be divided into individual components by creating other process
data descriptions to meet your exact process requirements (e.g., a channel
of an AI device in a process data description).
In the "Process Data" dialog box you can assign the following designations
to the process data descriptions of the INTERBUS devices:
5219B
2-101
IBS CMD G4
Addresses of the PLC or the PC in the respective address format
(e.g., P20 for S5 or 20 for PCs).
Direct links to other process data descriptions.
Input data is copied to output data.
Variables used in the preprocessing.
If you open the process data dialog box from the "Controller Board" selection, you will see the process data descriptions of all of the devices in the
current INTERBUS project. If you open the "Process Data" dialog box from
a device, you will only see the process data descriptions of that device.
2-102
5219B
Menu Structure
Display
Standard device data
This display shows the total process data channel length occupied by a device in the INTERBUS process data channel. The process data channel
length of the device's process data description you have marked is displayed.
Buttons
Edit
When you press this button, the context menu of the dialog box opens. You
can edit the process data descriptions in the dialog box with the commands
from this menu.
Option Box
Filtered
If you have restricted the process data descriptions in the "Filter" dialog
box, you can activate or deactivate the filter function with this option box.
Columns in the Process Data Dialog Box:
Device Name
ID Code
The ID code can be taken from the data sheet it is also printed on every
device.
Device Number
(D. No.)
This marks the logical position of the device in the INTERBUS data ring.
I/O
Length
Byte
Enter here as of which byte the process data description has to be started
within the standard process description.
Bit
In process data descriptions < 8 bits you can specify, here, the beginning
bit of the specified process data description.
5219B
2-103
IBS CMD G4
MA
If you want to assign several addresses or variables to a process data description, you have to activate the option box "MA" = Multiple Assignment.
If you mark the "MA" box of a standard process data description, all process data descriptions derived from this are capable of multiple assignments.
Assignments
You specify the assignments in this column. These are variables, addresses or other process data descriptions. Use the context menu for selecting the assignments or enter the assignment directly.
Example:
Create a Process data description for the third channel of a 4-channel AI
device.
The device has a process data length of 4 * 16 bits = 8 bytes = 4 words.
A channel has a length of 16 bits = 1 word. The third channel begins at byte
4 because channel 1 and 2 occupy the bytes 0 to 3 (2 words). Within this
word the process data description begins with bit 0 because the process
data description is > 8 bits.
2-104
5219B
Menu Structure
2.4.14.1
Assignments
In this column of the "Process Data" dialog box, destinations are assigned
to the process data descriptions. You can assign the following destinations:
Addresses of the PLC or PC in the respective address format (e.g.,
P20 for S5 or 20 for PCs).
Process data descriptions, i.e., input data are copied to output data.
Variables which are used in the preprocessing.
You can only change the "Length" box if no destinations were selected in
the "Assignments" column.
Syntax of the assignments:
Addresses
If you prefix a dollar sign ("$"), you enter the address in hexadecimal format. Example: $2a for the PC address 42.
Consistency areas
You can enter consistency areas by entering the desired consistency together with a colon (":") after the assignments. Example: P20 :16 for the S5
address P20 with the consistency 16 bits.
Process data
descriptions
Variables
5219B
2-105
IBS CMD G4
Example.
PDP.Emergency_Off for linking the process data item with the preprocessing variables "Emergency_Off".
Separating the
entries in multiple
addressing
The "Process Data" dialog box has a context menu for easy-to-use operation. Like the other context menus, you call up this menu with the right
mouse button or with <Shift> + <SPACE> or <Shift> + <F10>.
This command inserts a new line above the marked line in the dialog box.
Every line represents a process data item of a defined length.
Assignment...
Address
Select this menu item to assign addresses of the PLC or PC to the process
data descriptions.
Assignment...
Process Data
Description
Select this menu item to link process data descriptions to other process
data descriptions. The input process data item is then copied immediately
to the assigned output process data item.
Assignment...
Preprocessing
Select this menu item to link process data descriptions with variables of the
preprocessing.
2-106
5219B
Menu Structure
Autom. Addressing
With this menu item, you can assign free addresses automatically to the
process data descriptions of the PLC or the PC. An address is only assigned to those process data descriptions for which no assignment exists.
Delete Assignments
With this menu item you delete the assignments to the process data descriptions. If you want to delete several assignments simultaneously, you
must mark the desired process data descriptions with the mouse first. You
mark process data descriptions by moving the mouse along the line numbers of the process data descriptions with the mouse button pressed.
Address Range
The address range which you want to use in the automatic addressing is
determined here.
Filter
With this menu item you open a dialog box for filtered representation of the
process data descriptions.
Search Error
Location
You can search for an error which has occurred during parameterization
execution with this menu item.
Copy to Clipboard
5219B
2-107
IBS CMD G4
2.4.14.3
Here you determine the address range which you want to use in the automatic addressing.
Here you enter addresses at which address assignment for digital process
data is to begin, separated respectively according to input and output data.
End Address
Here you enter the addresses at which the address assignment for digital
process data is to end, separated respectively according to input and output data.
2-108
5219B
Menu Structure
Analog
Start Address
Here you enter the addresses at which the address assignment for analog
process data is to begin, separated respectively according to input and output data.
End Address
Here you enter the addresses at which the address assignment for analog
process data is to end, separated respectively according to input and output data.
Addresses
Max. Number of
Addresses
Specify here how many addresses you want to have offered at the same
time in the address assignment. If you only display a small number of free
addresses, the performance of your system increases. As long as free addresses are still available, these are displayed in the "free addresses" info
area but only the maximum number which you have defined..
2.4.14.4
With this dialog box you can assign individual (marked area) or all process
data, free addresses of the PLC or the PC.
5219B
2-109
IBS CMD G4
Standard process data descriptions are the process data description of a
device as it is available in the physical addressing. Every device is assigned a maximum of one process data description for input data and one
for output data. The standard process data descriptions cannot be deleted.
If this option is activated, addresses are only assigned to the standard process data descriptions.
Nonstandard
If this option is activated, addresses are only assigned to the process data
descriptions which are not standard.
Assign to
All
Within the defined address area the free addresses of the PLC or PC are
assigned to the process data descriptions. This assignment is independent
of the current filter setting and addresses all of the process data descriptions even if they were previously filtered out.
Selected Range
If this option is activated, addresses are only assigned to the process data
descriptions which have been previously marked.
2-110
5219B
Menu Structure
2.4.14.5
In this dialog box you can select process data descriptions or variables that
match the selected process data description in terms of length and data direction. Select the process data description or variable you require and
press "OK". This assigns the variable or process data description to the selected process data description.
5219B
2-111
IBS CMD G4
When you assign process data descriptions to other process data descriptions, input data can be copied straight onto output data without burdening
an application program or the preprocessing.
2-112
5219B
Menu Structure
2.4.14.7
In this dialog box you can assign (control or computer) addresses to process data descriptions.
This select box contains all the addresses that are available for the process
data descriptions selected beforehand. In other words, it contains addresses that have not yet been used. You can reduce the number of addresses displayed.
Assignments
This list contains addresses that have been assigned to the currently selected process data description.
Buttons
Assign >>
Select an address in the "Available Addresses" box and press this button.
The selected address is transferred to the "Assignments" field and is thus
assigned to the process data description.
Remove
Select an address in the "Assignments" field and press this button. The selected address is removed from the list. Addresses that have been removed from the list are displayed in the list of available addresses again.
5219B
2-113
IBS CMD G4
2.4.14.8
Here you select the options which restrict the representation of the process
data descriptions. Only the process data descriptions which match all the
requirements specified here are displayed.
Several options can be selected simultaneously.
Process Data
Direction
Addressing Type
2-114
5219B
Menu Structure
2.4.14.9
Data Consistency
In order to ensure that the INTERBUS process data which is read out of the
controller board memory in one program or PLC cycle, originate from one
INTERBUS cycle, you can create consistency areas. Consistency areas
can also be used to ensure that certain data from the application program
is written in one INTERBUS cycle.
Without the consistency areas, related data may be read in from different
INTERBUS cycles in an application program cycle in asynchronous mode
of operation
5219B
2-115
IBS CMD G4
Example:
An analog value of 16 bytes in length should be read in consistently.
After every INTERBUS cycle, all input process data is updated in the controller board memory. The analog word is in the memory after the first
INTERBUS cycle. Shortly after the first INTERBUS cycle the application
program has received the access rights to the memory and reads the first
byte of the analog word. Now INTERBUS receives the access rights again
and updates both bytes of the analog word. If the application program now
reads the second byte of the analog value, both bytes originate from two
different INTERBUS cycles. The analog value may, however, have
changed between both cycles so that it cannot be established without consistency that the data read from the controller board memory is the correct
analog value.
With consistency, the second byte will not be overwritten until it is picked
up by the application program.
Enter "P20:16" for a consistency area of 16 bits from address P20. This
guarantees that the 16 bit analog values from address P20 which are read
in by the application program originate from an INTERBUS cycle.
2-116
5219B
Menu Structure
2.4.15
With this command you write the data of the open project in an ASCII file
(*.CSV). The CSV file (Comma Separated Value) contains the data from
the IBS CMD G4 file. The CSV file is used to provide the project data
(*.BG4), otherwise available in binary format, accessible to other programs.
If you select the "IBS CMD G4 Data (*.CSV)" in the menu item, you must
first determine the file name of the CSV file in a Windows standard dialog
box. After you have confirmed the file name with the "OK" button, a dialog
box appears to select the project data.
5219B
2-117
IBS CMD G4
In a dialog box you define which of the IBS CMD G4 data you want to save
in the CSV file.
Here you select the areas of the BG4 file which you want to save as a CSV
file.
Device Data
With this option box you write the information about all devices such as
type, number, ID, etc. into the CSV file.
Process Data
With this option box you save all information regarding the process data.
These are the full process data descriptions including their assignments.
2-118
5219B
Menu Structure
PDV Variables /
Program Variables
All information about variables can be written into the CSV file with these
two option boxes. PDV variables are the preprocessing variables. Program
variables are the variables of the application program which you can use in
the "PC WORX" software.
Parameter Channel
You can use this option to add the name of PCP services that support the
controller board for the device in question to the CSV file in coded format
and can also be accessed in the "Devices... Description... Parameter
Channel..." dialog box.
Configuration Data
The area of the configuration data contains the following entries which can
be displayed or hidden with the respective option box:
Consecutive Number
Device Number
Group Number
Device ID
ID Code
Device Level
PD Length
Station Name
Device Name
Diagnostics Name
Manufacturer
Device Type
Database Group
Icon Library
Icon Number
Incoming Interface Type
Branching Interface Type
Outgoing Interface Type
Device Status
Process Data
The area of the process data contains the following entries which can be
displayed or hidden with the respective option box:
Index
Name
Direction (I/O)
PD Length
Byte Position
Bit Position
Type (A/D)
Virtual Process Data
5219B
(No)
(LogDevNo)
(GrpNo)
(UniqueId)
(Ident)
(BusLevel)
(PDLen)
(StationName)
(DeviceName)
(DiagName)
(VendName)
(DevType)
(DbGroup)
(IconLib)
(IconNo)
(TypeA1)
(TypeW1)
(TypeW2)
(DevState)
(PdIdx)
(PdName)
(PDDir)
(PdLen)
(PdBytepos)
(PdBitpos)
(PdType)
(Virtual)
2-119
IBS CMD G4
Multiple Addressing
Assignment
Initial Value
Program Instance Name
Configuration Name
Resource Name
(MultAdr)
(PdAss)
(InitVal)
(InstName)
(CfgName)
(ResName)
Buttons
Select All
With this button you activate all option boxes in the appropriate area.
Delete All
With this button you deactivate all option boxes in the appropriate area.
CSV Options...
With this button you select other options to create the CSV file.
The entries of the interface types "TypeA1", "TypeW1" and "TypeW2" in the
CSV file are coded as follows:
0
1
2
3
4
5
6
7
8
9
not assigned
universal
2-wire local bus
2-wire remote bus
8-wire local bus
reserved
Fiber optics remote bus
Fiber optics local bus
2-wire installation remote bus
INTERBUS Loop
2-120
Normal state
Software has localized error
Device grayed out
Bus error localized
Device message
5219B
Menu Structure
2.4.15.2
You can set the CSV file parameters with this dialog box. The separating
characters space the individual entries. If you want to import the CSV file
to another program later, you can react to this separating character by setting the program import filter to the separating character set here.
Here you set the character which separates the individual column entries
from each other.
The "Process Data Assignment Separator" and the "Text Separator" are
used within these column separators.
Process Data Assignment Separator
You separate the individual process data assignments from each other with
this character. This is particularly significant for multiple assignments.
Text Separator
This character marks text within a column. The text is "framed" by the text
separator.
Option Box
Generate Header
Line
5219B
If you have marked this option box, the first line of the CSV file is displayed
as a header line. The header line marks each of the individual columns with
an abbreviation.
2-121
IBS CMD G4
2.4.15.3
You can use the "EPLAN Data (*.EPL)" command to export the bus structure and the process data assignment of the current INTERBUS project for
use in EPLAN. Additionally, you can export further information in three
label fields.
Check this option if you want to export the bus structure of your INTERBUS
system.
The exported bus structure contains the following data:
Serial number (starting at 0)
Device type (coded as a hexadecimal value)
Remote bus level
Interface similarity (a 1 indicates an interface that is compatible with the
preceding device)
Device identifier (all the fields used are exported)
Macro name (if a specific macro is to be used for a device in EPLAN)
Manufacturer
Order number
Label fields 1 to 3 (these can be defined by clicking "Settings")
2-122
5219B
Menu Structure
Buttons
Settings
You can define three label fields for each of your INTERBUS devices. Click
this button to access the dialog box for selecting the labels. The export of
label fields is linked to the export of the bus structure.
Check an option to use the corresponding label field. In the edit box below,
you can enter parameters in plain English. The parameters are preceded
by a dollar symbol ($), followed by identification characters for the parameter. You can use several parameters in a label field. As opposed to device
registration, blanks and symbols are allowed here.
Parameters
A list of the parameters that can be used to automatically generate the device labels is displayed here. Enter one or more parameters in the desired
field.
After pressing "OK" to confirm the "EPLAN" dialog box, a Windows dialog
box will appear where you must enter a name and specify a path for the
export file. The filename extension for the EPLAN data is "EPL".
5219B
2-123
IBS CMD G4
If, during EPL export, devices are found whose "Manufacturer" and "Order
Number" fields are empty, you will be prompted to enter a macro name.
The macro will be used by EPLAN to interpret the device. In the case of devices from Phoenix Contact, the macros are identified automatically via the
"Manufacturer" and "Order Number" fields.
Enter the name of the EPLAN macro for the device displayed above.
When this option is checked, the system will no longer issue a prompt when
missing macro assignments are detected.
2.4.15.4
This command allows you to save the data in the open project in an ASCII
file (*.SVC). The SVC file contains the entire parameterization and is required for controller boards without a parameterization memory (IBS PC
ISA SC/I-T, for example).
The information contained in the SVC file is identical to the parameterization data transferred to the controller boards (e.g. IBS S5 DSC/I-T) parameterization memory when the parameterization is saved
IB Loader
The IB Loader executes the INTERBUS systems parameterization process by interpreting an ASCII file (the SVC file) and transferring the services and parameters stored in it to the controller board. Data is transferred
via a serial port or the PCs data bus.
The SVC file contains firmware/PCP services and their parameters, separated by the entry "#CMD#". When booting from the parameterization
memory, the commands (services) executed are the same as those transferred from the SVC file when booting using the IB Loader.
2-124
5219B
Menu Structure
#CMD#
#0x1303#
#0x0000#
#CMD#
#0x0750#
#0x0003#
#0x0001#
#0x0108#
#0x0000#
2.4.15.5
5219B
2-125
IBS CMD G4
You can use this command to create S7-compliant instruction lists. The instruction list is created as an ASCII file with the filename extension "AWL".
AWL files contain the same information as SVC files. However, they are
designed for the S7 environment.
The data blocks (DBs) in the AWL file are numbered consecutively. Use
this data entry box to define the number of the first data block.
Maximum DB Length
Enter the maximum data block word length here. If the length of a service
(incl. its parameters) exceeds the maximum length for a data block, a data
block length is calculated that can accommodate the service. Services cannot be distributed among data blocks. Information on the number and maximum length of the data blocks is provided in a message box.
2-126
5219B
Menu Structure
When you have entered the first DB number and the maximum DB length,
a "Save As" dialog box will appear. Enter a name for the AWL file here and
specify where to save it.
5219B
2-127
IBS CMD G4
2-128
5219B
Menu Structure
2.4.15.6
5219B
2-129
IBS CMD G4
2.4.15.7
2-130
5219B
Menu Structure
2.4.15.8
5219B
2-131
IBS CMD G4
2.4.15.9
With this command, you write the project opened in IBS CMD G4 into the
controller board's parameterization memory. The bus topology, the user
functions, events, process data descriptions with their assignments are
transferred to the controller board.
The parameterization data can be booted directly from the parameterization memory when starting up the controller board.
In addition to the parameterization data, the entire project (*.BG4, *.INI,
etc.) can be saved in the parameterization memory. Whether you want to
save the entire project in the parameterization memory and thus ensure the
restorability of the project in IBS CMD G4 is decided in the following dialog
box.
Not all controller boards have a parameterization memory. For PC controller boards with no parameterization memory, the parameterization can be
stored as an ASCII file on the PC drives.
2-132
5219B
Menu Structure
2.4.15.10 Menu "Parameterization Memory... Compare"
With this command you compare a project open in IBS CMD G4 with a
project in the controller board's parameterization memory. File name, date
and comment of the projects are displayed in a dialog box.
The "State" line tells you whether the two projects are identical after the
comparison.
5219B
2-133
IBS CMD G4
2.4.15.11 Menu "Parameterization Memory... File"
Besides the parameterization and the project files that can be read back,
you can also store other user files in the controller boards parameterization
memory. Certain PCP devices (operating and display devices, for example) can load and use these user files directly from the parameterization
memory via special PCP services.
Start by selecting the user files and specifying whether they are to be saved
in the parameterization memory in compressed or uncompressed format.
The selected fileset is compared with the fileset in the parameterization
memory prior to being saved there. Files that are missing in the current
fileset may be deleted from the parameterization memory. Files that already exist may be overwritten.
2-134
5219B
Menu Structure
2.4.15.12 Menu "Parameterization Memory... File... Select"
Start by selecting the files you want to save in the parameterization memory. The files you select can be on any drive or in any directory.
This displays the files on the current drive in the selected directory. Double-click on a file to add it to your fileset.
Directory
Select the directory containing files you want to add to your fileset.
Drives
Filetype
Selected Files
The files (incl. the drive and path) you have added to the fileset are displayed here. Double-click on a file to remove it from the selection.
Buttons
Add
This button is used to add the file selected in the "Filename" area to your
fileset. You can also add a file by double-clicking it.
All
Click this button to add all the files displayed in the "Filename" area to your
fileset.
5219B
2-135
IBS CMD G4
Remove
This button is used to remove the file selected in the "Selected Files" area
from your fileset. You can also remove a file by double-clicking it.
2.4.15.13 Menu "Parameterization Memory... File... Read"
You can use this command to read files from your controller boards parameterization memory and put it in the directory specified in "Save In ".
The dialog box shows the files available in the controller boards parameterization memory. To select and save a file in the selected directory, click
it.
The name of the author of the fileset that was last saved in the parameterization memory is displayed here.
Comments:
2-136
5219B
Menu Structure
Stored Files in Project:
This table shows which files are in your controller boards parameterization
memory.
Filename
Status
You can see here whether the file in the parameterization memory is compressed or not.
File Date
File Size
The file size displayed here is the size of the uncompressed file.
Save In
The path to the directory and the drive where the files in the parameterization memory will be stored are displayed here. You can specify a default
directory in "Options... Settings... General" or use "Directory" to select a different path.
Buttons
Directory
You can use this button to change the drive and directory where the files
from the parameterization memory are to be stored.
5219B
2-137
IBS CMD G4
Read
After selecting the files and a destination directory, click this button to start
the read operation. If the file already exists in the destination directory, you
can choose to save it in a different directory under another name.
Click this button to overwrite the file in the destination directory with the file
in the parameterization memory.
New Name...
This button opens the Windows Save dialog box. You can use it to save the
file from the parameterization memory in a different directory under a different name.
2-138
5219B
Menu Structure
2.4.15.14 Menu "Parameterization memory... File... Write"
You can use this command to write the files in the current fileset to the parameterization memory. The current fileset is displayed and you can select
the files to be written in compressed or uncompressed format to the parameterization memory.
Project Description
Author:
Comments:
5219B
2-139
IBS CMD G4
Filename
The filename, the path and the drive from which the file will be written to the
parameterization memory are displayed here.
File Date
File Size
The file size displayed here is the size of the file when uncompressed.
compressed
Check this option if you want the file to be saved in the parameterization
memory in a compressed format. Please bear in mind that files used by
PCP devices must not be compressed. Otherwise, they cannot be used by
the devices.
Buttons
Write
When you click this button, the system will start by comparing the file in the
current fileset with the files in the parameterization memory. After the files
have been compared, the relevant files are written to the parameterization
memory.
Select...
Click this button to access the dialog box for selecting the files to be written
to the parameterization memory.
Before a file in the parameterization memory is overwritten, the following
message will be displayed to prompt whether you wish to overwrite the file
or not.
Yes
2-140
5219B
Menu Structure
No
Click this button if you do not want the file in the parameterization memory
to be overwritten.
Overwrite All
Click this button if you want all the files in the parameterization memory with
filenames identical to those in your fileset to be overwritten.
Before the fileset is actually transferred, a dialog box will appear to show
you which files in the parameterization memory will be deleted or overwritten and which will remain unchanged.
Project Description
Author:
The name of the author of the fileset that was last saved in the parameterization memory is displayed here.
Comments:
5219B
2-141
IBS CMD G4
Stored Files in Project:
This table shows which files are in your controller boards parameterization
memory.
Filename
Status
You can see here whether the file in the parameterization memory is compressed or not.
File Date
File Size
The file size displayed here is the size of the file when uncompressed.
Attribute
The result of the file comparison is displayed in this column. The following
attributes exist for the files in the parameterization memory:
overwrite
The file is in the fileset and in the parameterization memory. In the preceding dialog box, you chose to overwrite the file in the parameterization memory.
delete
The file is not in the fileset. The file in the parameterization memory will
therefore be deleted.
do not overwrite
The file is in the fileset and in the parameterization memory. However, you
have decided not to overwrite the file in the parameterization memory.
Additionally, the total number of files and their file sizes (uncompressed) is
displayed.
Files with the "delete" attribute are deleted from the parameterization memory.
2.4.16
Menu "Preprocessing...Variables"
In this dialog box you can create variables that are made available to the
"Preprocessing" add-on program. After creating a variable you must assign
the required process data description.
2-142
5219B
Menu Structure
Note the relationship between data type and process data length. For example, an 8-bit process data item could be a SINT or a BYTE.
To create the first variable, first click the empty table and then press the
<Ins> key. You can also use the "Insert Variable" command from the context menu (right mouse button).
Creating a New
Variable
To create other variables with the keyboard you must first mark a line number (<Cursor left> key). Press the <Ins> key when the line number of the
whole line is marked.
If you insert a variable with the context menu, the line need not be marked.
If the insert mark is in the last line of the table, you can also create variables
by pressing the <ENTER> key.
Columns in the table
Variable Name
Enter an unambiguous name for your variable here. You use these variable
names in the "Preprocessing" add-on program or in PROGRAM WORX.
Data Type
Here you can select the desired data type from a selection box. Note that
you can only assign the variables to process data descriptions of the correct length.
1 bit
(BOOL)
8 bits
(BYTE, SINT)
5219B
2-143
IBS CMD G4
16 bits
32 bits
(WORD, INT)
(DWORD, DINT, REAL)
Q/I
Enter the letter "Q" for output data and the letter "I" for input data in this column to define your variable as an input or output variable.
Initial Value
If you want a variable to have a specific default value, you can specify this
value here. You must specify the initial value according to the syntax: Data
type#Value.
MA
In this column you can switch the Multiple Assignment for the respective
process data description ON or OFF. If several process data descriptions
have an assignment, each one must be capable of multiple addressing.
Assignments
In this column the variables are linked with process data descriptions. Use
the "Direct Link..." command from the context menu to input the assignment.
Option Boxes
Filtered
If you have restricted the representation of the variables in the "Filter" dialog box, you can activate or deactivate the filter function with this option
box.
Button
Edit
When you press this button, the context menu of the dialog box opens. You
can edit the variables in the dialog box with the commands from this menu.
Rules for assigning variable names
2-144
5219B
Menu Structure
2.4.16.1
The "Variables" dialog box has a context menu for comfortable operation.
Like the other context menus, you call up this menu with the right mouse
button or with <Shift>+<SPACE> or <Shift>+<F10>.
This command inserts a new line above the marked line in the dialog box.
Every line represents a variable.
Delete Variable
Direct Link
With this menu item you open a dialog box which offers you the process
data descriptions available for the marked variable (matching in the data
length).
Filter
With this menu item you open a dialog box for filtered representation of the
variables.
5219B
2-145
IBS CMD G4
2.4.16.2
Here you select the options which restrict the representation of the variables. Only the variables which match the requirements specified here are
displayed.
Several options can be selected simultaneously.
With this filter setting you can specifically display the variables of a certain
program instance.
Variable Name
Display all variables which match the corresponding search filter. The asterisk character "*" is used as a wild card.
Example: "a*" shows all variables beginning with "a".
Data Type
Display of all variables with specified data type such as e.g., BOOL, BYTE,
WORD, etc.
Data Direction
Display of all variables with specified data direction (input or output data).
Addressing Type
2-146
5219B
Menu Structure
2.4.16.3
In this dialog box you can assign process data descriptions to preprocessing variables.
Only process data descriptions that correspond to the variables selected
beforehand in terms of length are displayed.
5219B
2-147
IBS CMD G4
2.4.16.4
In this dialog box you describe the (process data) preprocessing. The
"Name" is also displayed in the representation area. There is also an input
area for remarks and one for the name of the author.
In the "IBS CMD G4" software, the preprocessing consists of FBDE =
FunctionBlock Diagram Editor. With this you are able to create programs
in the "FBD" programming language and execute them on the controller
board.
This menu item is only available in the "IBS CMD G4" software.
With this menu item, you start the "Preprocessing" add-on program with
which you can preprocess the process data in a graphic editor. The graphic
editor offers you the possibility of creating a program in the "FBD" (Function
Block Diagram) programming language. This program is used for preprocessing your INTERBUS data.
2-148
5219B
Menu Structure
2.4.16.6
You can import GLV files with this menu item. GLV files contain definitions
of global variables for the preprocessing of process data. You save the global variables in a file in order to make them available to several projects.
Import and export of the GLV files takes place in a Windows standard dialog box for file selection.
2.4.16.7
Reserved Keywords
CAL, CALC, CALCN, CASE, CD, CDT, CLAIM, CLK, CONCAT, CONFIGURATION, CONSTANT, COS, CTD, CTU, CTUD, CU, CV
5219B
2-149
IBS CMD G4
F
GE, GT
L, LD, LDN, LE, LEFT, LEN, LIMIT, LINT, LN, LOG, LREAL, LT, LWORD
Q, Q1, QU, QD
R, R1, R_TRIG, READ_ONLY, READ_WRITE, REAL, RELEASE, REPEAT, REPLACE, RESOURCE, RET, RETAIN, RETC, RETCN, RETURN, RIGHT, ROL, ROR, RS, RTC, R_EDGE
S, S1, SD, SEL, SEMA, SHL, SHR, SIN, SINGLE, SINT, SL, SQRT, SR,
ST, STEP, STN, STRING, STRUCT, SUB
TAN, TASK, THEN, TIME, TIME_OF_DAY, TO, TOD, TOF, TON, TP,
TRANSITION, TRUE, TYPE
XOR, XORN
2-150
5219B
Menu Structure
2.4.17
2.4.17.1
This menu item reads in the configuration frame activated on the controller
board. An already loaded bus configuration is overwritten.
The configuration frame contains the bus topology, the process data descriptions and their assignments, the group assignment and other parameters which determine the configuration of the bus.
You describe the configuration frame with this menu item. For this purpose
you can enter a name, remarks, and an author. The entry in the "Name"
input area is also displayed in the representation area.
5219B
2-151
IBS CMD G4
2.4.17.3
The active configuration frame on the controller board is compared with the
configuration frame in IBS CMD G4. If there is a difference between the two
configuration frames and it is to be allocated to a device, this device is
marked and an appropriate message displayed.
2-152
5219B
Menu Structure
2.4.18
Menu "Device..."
2.4.18.1
With this dialog box you can create a description for a marked device. A
device is an unit participating in data traffic through the INTERBUS network.
The entries after "Manufacturer Name" can be taken, for example, from the
data sheet or determined under "Options... Print Device Description".
Device Number
The device number indicates the number of the bus device. It consists of
the bus segment number and the position number within the bus (e.g., 1.3).
5219B
2-153
IBS CMD G4
Group Number
Station Name
Here you can describe the device's station name (e.g., Hall 4 Switch Cabinet 2).
Service Info
You can assign every INTERBUS device a Service Info in order to identify
them clearly and quickly in the event of a malfunction. The Service Info has
a maximum 12 characters. The service information of the individual INTERBUS devices are saved in the configuration frame and are, therefore, available in system operation on the controller board. The service information
of the devices causing the malfunction can be displayed on the (hardware
or software) LCD. To edit the service information to suit your requirements,
the "Assign Individually" option in the "Service Info" select box must be set.
In this select box you can select the device data that is to be used as service information. You can choose "Station Name" in the select box, for example, if you want to use the first twelve characters in the station name for
the Service Info. The station name is then copied automatically into the
"Service-Info" field.
Device Name
Here you assign a name to the device (e.g., limit stop switch group 3 or
motor current M1 to M4).
Manufacturer Name
Here the name of the manufacturer appears. This entry is taken from the
device database.
Device Type
Here you see the product designation of the device (e.g., IB ST 24 BK-T).
This entry is taken from the device database.
Order No.
Here the device order number is displayed (providing it is a Phoenix Contact product).
ID Code
The ID code is the least significant byte of the device code which describes
the function of the device.
Profile Number
The profile number codes a certain device function within a device specification, such as DRIVECOM, ENCOM or MMICOM. A device is clearly assigned to a specification by the profile number.
Process Data
Channel
This entry shows how many bits the device occupies in the process data
channel.
2-154
5219B
Menu Structure
Parameter Channel
This entry shows how many words the device occupies in the parameter
data channel. If you open the dialog box on a device with a variable parameter data channel length, you can select the length of the parameter data
channel in the select box.
CR
Enter the communication reference (CR) of the device here. The CRs
begin at 2 and must be assigned in ascending order. The position of the
PCP device in the bus system is irrelevant.
The communication reference (CR) identifies an INTERBUS device in the
parameter data channel (PCP). To send a PCP service to a device, its CR
must be specified.
The input area "CR" is only available in devices with parameter data.
Option Box
In this option box you can gray out the device in the configuration frame.
This means the data from or for this device is not taken into account by the
controller board in the data transmission.
Box Display
When this option is checked, the device is displayed in box display mode.
Buttons
Interface Type...
Icon...
Parameter Channel...
2.4.18.2
In the "Parameter Channel" dialog box you determine the services which
the controller board supports for the marked PCP node. These services
can be executed by the controller board at a request of the PCP node.
5219B
2-155
IBS CMD G4
You can enter a comment and allocate standard values to the services and
the message lengths.
Message Lengths
Enter the total message length in bytes into this input area. The message
length marks the transmit and receive buffer of a PCP node. A service
which is sent from or to a PCP node may not exceed a maximum length.
Standard
These two buttons set the settings for message lengths and supported parameter data channel services to standard values. The standard value is
64 bytes for the message lengths as well as "Read" and "Write" as supported parameter data channel services.
A hexadecimal code is displayed depending on the selected PCP services.
PCP nodes with permanently defined programs exist, which send back a
CONFIRMATION determined by its prespecified program on REQUEST.
In addition, so-called "intelligent" PCP nodes exist, in which you can create
the program (an application program) yourself. In application programs
which are run on these devices, you must acknowledge the response bit
with the confirmation bit after receiving an INDICATION.
2-156
5219B
Menu Structure
2.4.18.3
With "Interface Type for Bus Terminal Module" you determine with which
INTERBUS interfaces the device is equipped. Here, a distinction is made
between the incoming interface (IN1), the outgoing interface (OUT1) and
the branching interface (OUT2).
INTERBUS interfaces are, for example: 2-wire remote bus, fiber optics remote bus, 8-wire local bus, etc.
5219B
2-157
IBS CMD G4
2.4.18.4
In this dialog box you can select an icon that will be visible in standard display mode and set the color and width of the box display.
Icon Library
You can use "Icon Library" to assign an icon to the device. This icon is only
visible in the standard display mode.
You can use one of the standard icons or use those in manufacturer-specific libraries. Icon libraries have the filename extension ICL (for Icon Library). Besides the icon libraries, you can also assign individual icons.
These have the filename extension "ICO".
Select
Press this button to select the icon library you require in a file selection dialog box.
Standard
2-158
5219B
Menu Structure
Custom Icons:
To create your own icons, you need to draw the icon first using an icon editor. Then, a Windows DLL has to be created using a suitable compiler and
the filename extension has to be changed from DLL to ICL. The IBS CMD
G4 CD-ROM contains a detailed description on how to do this together with
a demo program.
Box Presentation
These settings control how the INTERBUS appears in the box display. You
can choose a color for the ID strip and set the width of the device (narrow,
standard, wide).
5219B
2-159
IBS CMD G4
All devices within a local bus segment (except the BK module) must have
the same group number.
Alternative
2-160
5219B
Menu Structure
An alternative group can only be connected to a remote bus device.
2.4.18.6
Process Data
Description
5219B
2-161
IBS CMD G4
Marks the position of the process data within the standard process data device description (total process data channel length)
I/O
This is a display which specifies whether this is input (I) or output (O) data.
Length
2-162
5219B
Menu Structure
Byte
Enter here the beginning byte number of the selected standard process
data description
Bit
For process data descriptions < 8 bits, you can specify here, at which bit of
the specified byte the process data description begins.
MA
If you want to assign several addresses or variables to a process data description, you have to activate the option box "MA" = Multiple Assignment.
Assignments
You specify the assignments in this column. These are variables, addresses or other process data descriptions. Use the context menu for selecting the assignments or enter the assignment directly.
Display
Standard Device
Data
This line shows the total process data channel length occupied by a device
in the INTERBUS process data channel. The process data channel length,
of the device's process data description you have marked, is displayed.
Button
Edit
When you use this button, the context menu of the dialog box opens. You
can edit the process data descriptions in the dialog box with the commands
from this menu.
Option Box
Filtered
5219B
2-163
IBS CMD G4
2.5
Add-on Programs
Menu "Options..."
2-164
5219B
Menu Structure
2.5.1
5219B
2-165
IBS CMD G4
2.5.2
Use this command to deactivate add-on programs and remove them from
the menu.
2-166
5219B
Menu Structure
2.5.3
Preconditions:
To create a device description for the IBS CMD G4 database you must first
have inserted a device in the bus topology or have marked a device from
the bus configuration. You insert a new device appropriately with "Insert
with ID Code".
Function:
Starting with the inserted and/or marked device you generate a new device
description for the IBS CMD G4 database with this menu item.
The following points are not transferred or filled out in the new device description:
Station name
Device name
These two entries are only displayed in the bus configuration and not transferred to the device database.
5219B
2-167
IBS CMD G4
Device Description
Device Group
Here you specify in which device group you want to insert the new device
description. You can assign the device description to, for example, the device groups Phoenix, MMICOM, DRIVECOM, etc., or create your own device group by entering a new name for this group in the "Device Group"
input area.
Manufacturer Name
Here you enter the name of the device manufacturer (e.g., Phoenix Contact).
Device Type
Profile Number
The profile number codes a certain device function within a device specification such as DRIVECOM, ENCOM, or MMICOM. A device is clearly assigned to a specification by the profile number.
With the buttons
Interface Type...
Icon...
Parameter Channel...
you make further settings.
After you have confirmed the dialog box with "OK", the device description
is inserted in the database and is available for other projects.
2-168
5219B
Menu Structure
2.5.4
You can print the device description with this menu selection. Select a device from the device database by making an appropriate preselection in the
boxes "Group", "Manufacturer", "Type", or "ID Code".
A description of the device with the most important data is printed.
2.5.5
A device description can be deleted from the device database with this
menu item.
5219B
2-169
IBS CMD G4
2.5.6
2-170
5219B
Menu Structure
2.5.7
To provide older IBS CMD versions (Version 1.x) with the device database
of IBS CMD Version 4.x, the export function exists. With this command you
can convert individual device descriptions specifically into the DSH format
(file name: *.DSH) of the older CMD versions.
5219B
2-171
IBS CMD G4
2.5.8
With this command you establish the standard counting order for the communication references (CR) for all PCP-capable devices. This order determines that the first PCP node in the bus configuration (seen from the controller board) is assigned CR=2 (the 2nd PCP node is assigned CR=3,
etc.).
Basically you can determine the counting order yourself as long as one
PCP node is assigned CR=2 and all following CRs are assigned consistently, i.e., without gaps (until every PCP node has a CR). The CR of a device is assigned in the device description. The references in the application
program are assigned to the devices, i.e., memory addresses, accordingly.
If you suspect or determine that the manual CR assignment is inconsistent
and manual checking appears too complex, use this command to quickly
and reliably assign the CRs automatically in the way described above.
Your application program must be changed accordingly!
PCP
2-172
5219B
Menu Structure
2.5.9
5219B
2-173
IBS CMD G4
2.5.10
With this menu item you go to a dialog box in which you can make global
settings for IBS CMD G4.
The dialog box is made up of several file cards. When you click a file card
in the top section, the dialog part of this card is displayed.
The "Settings" dialog box consists of the file cards:
Driver
Device Database
General
Process Data
Database (general)
Password
2-174
5219B
Menu Structure
2.5.11
In this dialog box you select the communications path between IBS CMD
G4 and the controller board.
5219B
2-175
IBS CMD G4
:
Active Driver
at
This info area shows you to which communication path (COM1, COM2...)
or to which controller board (PC-board1, PC-board2...) the driver is set at
present.
2-176
5219B
Menu Structure
Buttons
Select
With this button you confirm the selection made in the "Installed drivers"
box.
Connect...
With this button you call a dialog box to select the communication connection. You can select a free serial interface of your PC for communication via
the serial interfaces. For communication via the data bus of the PC you can
select the desired controller board if there are several controller boards in
a PC.
Settings...
You can change the driver parameters with this button. The first time you
open the dialog box you will see the standard values for the selected driver.
2.5.11.1
In this dialog box you select the board number of the controller board. Up
to eight controller boards can be used in a PC which are numbered
from 1 to 8.
5219B
2-177
IBS CMD G4
2.5.11.2
You can specify the communication parameters for the driver in this dialog
box. .
This address must be set on the controller board by DIP switches and entered here. Every board in your PC requires an I/O address area for control
and status data.
Communication
Address
The data exchange between the controller board and the PC takes place
via a special memory area. The start address of this memory area must be
specified here. In addition you have to protect the memory area against unauthorized access. This is done, for example, by entering
DEVICE=C:\DOS\EMM386.EXE NOEMS x=D000-D100
in the "CONFIG.SYS" file.
Interrupt
2-178
5219B
Menu Structure
2.5.11.3
Select the serial interface with which you have connected the controller
board here.
In this dialog box you set the communication parameters of the serial interface.
5219B
2-179
IBS CMD G4
2.5.11.5
You can set messages and search criteria of the device database in this
dialog box.
After you have read in the physical bus topology with the command "Read
Again" you can link the read in devices with descriptions from the device
database. If a device with variable process data length is available for linking, a message is displayed indicating this. You can display these messages by marking the option box.
Active Database
You can use one of the installed databases as the basis for the "Link With
Description" command.
You can select the database you want to use to link devices in this select
box.
Restrict to device
group
2-180
After you have read in the physical bus topology with the command "Read
Again" you can link the read in devices with descriptions from the device
database. You can restrict these links to a certain device group by specifying this here.
5219B
Menu Structure
Message when
inserting multiple
devices
If you insert a multiple device via "Insert with Description" in your bus topology you can have a message displayed in this option box. A multiple device
is a device with more than one ID code which cannot be understood as one
device within the bus system.
In this select box you can specify the device database you want to use for
creating and importing device descriptions.
Electronic Product
Directory From
CD-ROM:
Here you select the drive which represents your CD-ROM drive. This specification is used to enable the Software to gain access to the electronic
product directory which lists product data of various manufacturers.
2.5.11.6
Use this option to switch the function key bar on and off. If the option is
marked with a check, the function key bar is visible.
5219B
2-181
IBS CMD G4
Display Service
Results
(Confirmation)
With this option you can set whether an action or service result is to be displayed or not. If the option is marked with a check, the service results are
displayed. After you have activated the option "Display Service Results
(Confirmation) ", you have to execute the parameterization again to activate the option.
Actions are services assigned with parameters which have been defined
with a fixed name under IBS CMD G4.
You can see the service results with code, name and parameters in the following dialog box.
2-182
5219B
Menu Structure
Ask for Change of
CMD Mode
Mark this option box if you want a request from IBS CMD G4 when changing the operating states.
IBS CMD G4 has the operating states:
Configuration (Offline)
Configuration (Online)
Diagnostics
Monitoring
Mark this option to use the Service Info. The Service Info is assigned to the
INTERBUS devices in order to identify these clearly and quickly in the
event of a malfunction. You can enter the Service Info for the respective device under "Device Description". After you have activated the "Use Service
Info" option you must execute the parameterization once again for the option to become effective.
Check System
Benchmark Figures
When this option is selected, the system benchmark figures are checked
when you choose commands such as "Check Parameterization" and "Run
Parameterization". The system benchmark figures contain information on
the INTERBUSs hardware specification such as:
max. number of PCP devices
max. number of devices in the INTERBUS
max. number of devices per bus terminal module (peripheral bus) and
so on.
5219B
2-183
IBS CMD G4
Standard Paths
IBS CMD G4 uses standard paths in which projects, user files and image
libraries are searched for or saved. If you want to adapt these standard
paths to your requirements, you can set the desired path with the "Search"
button in a dialog box or enter it directly in the input area.
You can enter the standard path for the project files in this box. If you use
the "Save" menu command, the files BG4, MES, STC, INI of your project
are saved in the standard path.
User Files
You can store any (user) files in the controller boards parameterization
memory. These files are responsible, for example, for controlling operator
interfaces and indication elements. You set the standard path for user files
in this box.
Icon Library
The icons used for representing devices are saved in ICL files (icon libraries). Set the search path for your icon collection here.
2-184
5219B
Menu Structure
2.5.11.7
Besides the internal IBS CMD G4 database, you can also use databases
from other manufacturers or your own ones for "Link With Description" or
"Insert With Description". To use additional device databases, you need to
declare this in your computers ODBC environment (Open Database Connectivity). The ODBC environment is located in the Windows Control
Panel. .
5219B
2-185
IBS CMD G4
2.5.11.8
Here you specify the address area of the PLC or the PC in which you want
to write the INTERBUS data. The address area must be specified in the
typical written form for the respective host system.
2-186
5219B
Menu Structure
2.5.11.9
In this dialog box you can assign a password or change an existing password. This password is requested when changing to the extended scope of
functions. The length of the password is a maximum 10 characters. The entered password does not appear on the screen but is represented by a row
of stars ("*").
Enter an existing password here. When you create a password for the first
time, this entry stays empty. You can only create a new password if you
know the old password.
New Password
5219B
2-187
IBS CMD G4
2.6
Menu "?..."
2.6.1
Use this command to go to the table of contents of the help file. Here you
will get help for all menu items, dialog boxes, and for operating IBS CMD
G4.
With the "Help" button in the dialog boxes you can go directly to the help
page available for the dialog box. You can also call up context-sensitive
help at any time using the "F1" function key.
2.6.2
2.6.3
2-188
5219B
Menu Structure
2.6.4
Under this menu item you will find a guide to help you through the most important functions of IBS CMD G4. The most frequently used commands are
explained by examples and diagrams.
2.6.5
2.6.6
In this dialog box you get information about the version, serial number,
product designation, and date of creation of your IBS CMD G4 version.
5219B
2-189
IBS CMD G4
2-190
5219B
Section 3
This section informs you about
- the add-on program "Diagnostics"
3 Diagnostics .......................................................................................................3-3
3.1
3.2
3.3
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.3.7
3.3.8
3.3.9
5219B
3-1
IBS CMD G4
3-2
5219B
Diagnostics
Diagnostics
3.1 General Information
The "Diagnostics" mode offers you fast and effective help during startup,
error localization and elimination in the system. Defective bus devices,
defective connections or errors in the sensors and actuators can then be
processed and eliminated with the easy-to-use editing features of
IBS CMD G4.
5219B
3-3
IBS CMD G4
3.2
From the diagnostics main window you can call messages and statistics of
the INTERBUS system and set options of the diagnostics program.
Figure 3-1
Status
This displays, for example, whether the bus is running or whether data
transmission was stopped.
Current message
3-4
5219B
Diagnostics
Buttons
Messages (Online)
The message history can be called with this button. The current state is
displayed in the following area. If messages exist, the area contains the
display Filled, otherwise the message Empty.
Statistics (Online)
The transmission statistics can be switched on or off with this button. The
current state is displayed in the following area.
5219B
3-5
IBS CMD G4
3.3
Figure 3-2
Diagnostics:
Settings...
Close
Figure 3-3
Messages:
Menu "Messages"
Figure 3-5
3-6
Menu "Diagnostics"
Message History...
Evaluate Message File...
Message Types
Figure 3-4
Statistics:
Menu "Statistics"
5219B
Diagnostics
Window
Figure 3-6
?
Contents
Using Help
Figure 3-7
5219B
Menu "Window"
Menu "?"
3-7
IBS CMD G4
3.3.1
You can make the basic diagnostics settings in this dialog box.
The add-on program "Diagnostics" stores the data in two data types. These
are the statistics file with the file extension *.STC and the message file with
the extension *.MES.
You can analyze the contents of these files under the menu items
"Evaluate Message File" or "Evaluate Statistics File".
Figure 3-8
Settings
Here you can enter the seconds after which the statistic data is read out
cyclically of the controller board. Only the number of individual cycles is
read out in cyclic reading. If the number of defective cycles has changed
and a message is output, the data is entered in the statistics file.
Statistics File
Save as:
3-8
Here you see the drive, the path and the name of the current statistics file.
Select File
5219B
Diagnostics
Select File
With this button you get a file selection dialog box from which you select an
existing statistics file or in which you can create a new statistics file. The
file name extension *.STC is defined for the statistics files and cannot be
changed..
Figure 3-9
Delete File
With this button you delete the current statistics file after a security prompt.
If this option is active, the current statistic data is only saved after it was
commented.
If this option is active, the statistic data is saved after every change. Only a
change in the number of defective cycles causes the statistic data to be
saved. Every malfunction which occurs generates a further entry with date/
time stamp in the statistics file.
Stop save
You can cancel saving the statistic data after a certain time and/or if the
statistics file has reached a certain size.
5219B
3-9
IBS CMD G4
Message File:
Save as:
Here you can see the drive, the path and the name of the current message
file.
Select File
With this button you get a file selection dialog box from which you select an
existing message file or in which you can create a new message file.
Delete File
With this button you delete the current message file after a security prompt.
3.3.2
With this menu item, you return to the main program of IBS CMD G4. The
diagnostics program is not ended by this menu command but remains
resident on the background memory.
3.3.3
In this dialog box you see the messages that are received during the
current online session. In addition, these messages are sent and stored in
the messages file. If there is already a message file with the same name,
3-10
5219B
Diagnostics
the data is appended to the existing file. The message histories of the
current and previous online sessions can be viewed in the "Evaluate
Message File" dialog box..
5219B
3-11
IBS CMD G4
Here you see the drive, the path and the name of the current project file.
Curr. date/time
The current system date and time are shown in these two info areas.
With these two buttons you can print either a message overview or
individual detailed messages.
Change Setting
With this button you go to the "Settings" dialog box. You can determine the
memory options of the diagnostics in this dialog boxes.
The messages which occur are listed in this table. All incoming messages
are saved in the message file with a consecutive number (No.), a date
(Date) and time stamp (Time). Every message is tagged with a name that
characterizes the type of message. If you select a message entry with the
mouse, detailed information about the message appears in the
"Information on Message" info areas.
3-12
5219B
Diagnostics
Information on Message
This is the detailed message info area. You get detailed information about
the meaning, error code and cause of the message, as well as any remedy
hints and further information.
3.3.4
All incoming messages of the controller board are saved in a message file
(*.MES). With the "Evaluate Messages" dialog box you can view and
analyze any message file.
Messages are controller board messages to IBS CMD G4. Messages can
only be received during an online session, i.e., not in "Configuration
(Offline)" mode. For example, a message is sent by the controller board in
case of a reconfiguration request or in the event of an error.
An error is an event which disturbs the normal bus operation. An error need
not necessarily lead to a bus stoppage.
Example: The failure of a peripheral power supply leads to an error but not
to a bus stoppage..
3-13
IBS CMD G4
Message File
File
Here you see the drive, the path and the name of the current message file.
The message file of the current project is selected as default.
Change...
With this button you get a file selection dialog box from which you can
select an existing message file which is displayed in the "Evaluate
Message" dialog box.
Delete File
The current message file is deleted after a security prompt this button.
If you have selected a message in the list above, you get detailed
information about the meaning, error code and cause of the selected
message, as well as any remedy hints and further information here.
With these two buttons you can print either a message overview or an
individual detailed message.
3-14
5219B
Diagnostics
3.3.5
In this dialog box you can select which message types are taken into
account and reported by the diagnostics.
If certain message types are unimportant to you, remove the corresponding
'x' in the option box.
This message is generated if a device reports an error. This is the case, for
example, when the power supply fails on a local bus module.
PCP Abort
PCP Reject
5219B
3-15
IBS CMD G4
Messages of the Diagnostic Status Register
Bus Status (RUN/
STOP)
This message is generated when the bus cycles are started or stopped.
This message is generated when the "Warn" bit (bit 5) is set in the
diagnostic status register. The bit is set if no INTERBUS cycles could be
executed successfully beyond the bus warning time.
This message is generated when the "Qual" bit (bit 6) is set in the
diagnostic status register. The bit is set if the INTERBUS transmission
quality deteriorates past a defined degree.
Operating State
Display Changes
3-16
5219B
Diagnostics
3.3.6
In this dialog box you can trace the record of the statistic data. The number
of individual cycle types is updated at regular intervals and errors/messages which occur are assigned to bus segments and devices.
Identification Cycles:
Cycles which are required to identify the bus system. The physical process
image is available in the controller board memory after an identification
cycle. Identification cycles are executed during startup the INTERBUS
system and after certain errors.
5219B
3-17
IBS CMD G4
Data Cycles :
Process data, parameter data and some data for handling the protocol are
transmitted in the data cycles. In one data cycle, both, the data of the
devices is transmitted to the controller board (input data), and the data of
the controller board to the devices (output data).
Transmission Quality
Save in File
You see the name of the statistics file in the "Save in File" info area.
Statistics
The "Statistics" info area shows you whether the statistics functions are
active.
Change Settings...
Update Window
With this option box you can set whether the entries in the info areas are to
be cyclically updated.
Top Ten...
In this dialog box the ten devices with the most errors are displayed. These
devices are determined by the controller board and read out when calling
the dialog box. The function is only available in the "Diagnostics" operating
state.
3-18
5219B
Diagnostics
Comment...
Please use this button to enter a comment at any time. Each time a comment is entered, a new entry is written into the statistics file. The entries can
be analyzed using "Evaluate Statistics File".
5219B
3-19
IBS CMD G4
3.3.7
In this dialog box you can select individual entries from the statistics file and
determine the errors which have occurred, the transmission quality, the
number of cycles, and possible error locations.
3-20
5219B
Diagnostics
Identification Cycles:
Cycles required to identify the bus system. The physical process image is
available in the controller board memory after an identification cycle.
Identification cycles are executed during startup of the INTERBUS network
and after certain errors.
Data Cycles :
Process data, parameter data and some data for handling the protocol are
transmitted in the data cycles. In one data cycle, both, the data from the
devices are transmitted to the controller board (input data), and the data
from the controller board to the devices (output data).
Transmission Quality
Comment:
5219B
In this info area you can see the comment of the selected entry in the
statistics file.
3-21
IBS CMD G4
Comment...
You can also evaluate other statistics files by calling a file selection dialog
box with this button. The info area above this button shows the currently
selected file.
Entries
Every time the statistic data is changed (error or comment) another entry
is generated in the statistics file. You can mark these entries in this
selection box. The entry's data is then displayed in the appropriate info
areas above it.
Amount
This info area shows you how many entries there are in the statistics file.
3-22
5219B
Diagnostics
3.3.8
In this dialog box the last local bus errors to occur are displayed. A local
bus error is caused, for example, by a defective fuse or a missing local
supply voltage.
The function is only available in the "Diagnostics" operating state..
5219B
Press the "More" button to get more information about the peripheral faults.
3-23
IBS CMD G4
3.3.9
In this dialog box the ten devices with the most errors are displayed. These
devices are determined by the controller board and read out when calling
the dialog box. The function is only available in the "Diagnostics" operating
state..
Press the "More" button to get more information about the errors.
3.3.10
You can use this menu item to delete statistics like Top Ten and Peripheral
Bus Malfunctions stored on the controller board. You can access the
command on the controller boards context menu under "Control".
3-24
5219B
Diagnostics
3.3.11
As soon as a message arrives from the controller board, the following message window is displayed.
If you do not need diagnostics immediately for the current error, you can
switch the message dialog box into the background with this button. The
incoming messages can be viewed and evaluated later at any time.
Go to Diagnostics
Message recording
active
5219B
With this option box you can activate or deactivate recording of the
messages. Messages which occur when the message recording is
switched off are not saved.
3-25
IBS CMD G4
3.3.12
Use this command to go to the table of contents of the diagnostics help file.
Here you will obtain help on all menu items and dialog boxes as well as on
how to operate the "Diagnostics" add-on program.
3.3.13
3-26
5219B
Diagnostics
3.4
5219B
3-27
IBS CMD G4
3-28
5219B
Section 4
This section informs you about
the add-on program "Monitor"
4 Monitor..............................................................................................................4-3
4.1
4.2
4.2.2
4.2.3
4.2.4
4.2.5
4.2.6
4.2.7
4.2.8
4.2.9
5219B
4-1
IBS CMD G4
4.2.27 Menu (Device Parameterization) "Device...
Read Parameter List" ..................................................4-41
4.2.28 Menu (Device Parameterization) "Device...
Read Selected Parameter Descriptions" ....................4-41
4.2.29 Menu (Device Parameterization) "Device...
Compare Selected Parameter Descriptions" ..............4-41
4.2.30 Menu (Device Parameterization) "Device...
Read Selected Values" ...............................................4-42
4.2.31 Menu (Device Parameterization) "Device...
Write Selected Values" ...............................................4-42
4.2.32 Menu (Device Parameterization) "Device...
Compare Selected Values" .........................................4-42
4.2.33 Menu (Device Parameterization) "Options...
Ignore Error Message From Device" ..........................4-42
4.2.34 Menu (Device Parameterization) "Help Add-On
Program Contents" .....................................................4-43
4.2.35 Menu (Device Parameterization) "Help Using Help" ...4-43
4.2.36 Menu (Device Parameterization) "Help About" ...........4-43
4.2.37 Keyboard Assignments Device Parameterization .......4-44
4.3
LCD ...........................................................................................4-45
4.3.1
4-2
4.4
4.5
4.6
Processing/Monitoring...............................................................4-54
5219B
Monitor
Monitor
The monitors "Address Monitor" and "Display IBS DSC" are in the context
menu of the controller board. The preprocessing Monitor is in the context
menu of the "Preprocessing" element and is only available in the "IBS CMD
G4" software.
4.1
Address Monitor
With the address monitor you can visualize data which was assigned to the
addresses of the PLC or PC. In addition to the INTERBUS process data all
register contents can be displayed and written which were assigned to
addresses.
Figure 4-1
5219B
Address monitor
4-3
IBS CMD G4
View
Here you select in what data width the addresses of the PLC or PC are to
be displayed.
You have the choice between:
Word = 16 bit display
Byte = 8 bit display
Bit = 1 bit display
Data can only be transmitted to the controller board in the "Word" view.
Format
Here you select the representation format of the data. You have the choice
between:
Dec = decimal number format
Hex = hexadecimal number format
Bin = binary number format
Button
Write
The data which you enter or change in the "Value" column is transmitted to
the controller board by this button. It is only possible to write data in the
"Word" view.
Undo
The data which you enter or change in the "Value" column is undone by this
button. The last state of the data is displayed.
Display Box
Status
Different display and input facilities are available in the address monitor
depending on the operating state. The current restrictions are shown in this
display box. You have all input and display facilities when you change to
the "Monitoring" operating state.
Display Area
Address
I/O
Value
In this column you can see the data (usually process data) at the respective
PLC or PC address. The data is displayed in the number format set under
"Format".
4-4
5219B
Monitor
Assignment
Here you see with which data the respective address is assigned.
Unassigned addresses are marked "<FREE>". For data longer than the
respective address, "<CONTAINS>" is displayed. In addition a multiple
assignment is indicated by the display "<MULTIPLE ASSIGNMENT>".
You can filter the displayed addresses. For example, you can just have the
input data addresses or only the addresses of the user functions displayed,
depending on the assignment of the addresses. To filter the addresses
select the "Address Selection" command in the "Address Monitor" system
menu.
Figure 4-2
5219B
4-5
IBS CMD G4
4.1.1
Address Selection
You can filter the displayed addresses. For example, you can just have the
input data addresses or only the addresses of the user functions displayed,
depending on the assignment of the addresses. Mark which addresses you
want to see in the address monitor with the option boxes.
Figure 4-3
Address selection
4-6
5219B
Monitor
5. Function Parameters (Input)
Select this option to display addresses which are occupied by input
parameters of a user function. You can assign single parameters of a
user function specifically to addresses in order to change these
parameters dynamically.
6. Function Parameters (Output)
Select this option to display addresses which are occupied by output
parameters of a user function.
7. Events
With this option the addresses of the indication and confirmation bits of
all events are displayed.
8. Event Parameters (Input)
Select this option to display addresses which are occupied by input
parameters of an event. You can assign single parameters of an event
specifically in order to change parameters dynamically.
9. Event Parameters (Output)
Select this option to display addresses which are occupied by input
parameters of an event.
5219B
4-7
IBS CMD G4
4.2
4.2.1
Using this program add-on, you can parameterize DRIVECOM devices, set
them in operation, operate and observe them. During actual operation, you
can also display and view the process data.
4.2.2
Device Parameterization
The device parameterization allows you to read, write and manage the
parameter data of INTERBUS PCP devices.
4-8
5219B
Monitor
4.2.2.1
The following dialog box is displayed when you start the DRIVECOM
Monitor:
Figure 4-4
DRIVECOM Monitor
Set mode of
operation
The operating mode set in the DRIVECOM Monitor Settings" dialog box for
the DRIVECOM device is displayed here.
Analog Display
The Trend dialog box displays the process data descriptions set in the "A
Value" and "B Value" fields. Two channels (a red one and a blue one) are
available. The two columns on the right display the current value in analog
form. To set the output values, use the slide bars on the right, beside the
graphic.
The "Value A" and "Value B" select boxes provide the available process
data descriptions. The corresponding addresses are displayed in the
relevant field - the value and unit are displayed below the field. You can
enter a new value in the value field that does not exceed the upper limit set
in the "Settings..." dialog box. During operation, you can change the
selected value by clicking a slide bar and using the cursor keys or moving
the mouse.
5219B
4-9
IBS CMD G4
In the "DRIVECOM Monitor Settings" dialog box, you can configure how
information is displayed in "Analog Display". This dialog box can be
accessed by pressing "F3" on your keyboard, via "Settings" on the control
menu or by clicking the "Settings" button.
Control Word
You can use this to selectively set control bits. The "control words" process
data address is displayed at top right. Bits 4, 5 and 6 are dependent on the
operating mode and cannot be named. The functions of bits 11 through 15,
on the other hand, depend on the DRIVECOM device used and can be
assigned names in the "DRIVECOM Monitor Settings" dialog box.
The button in front of each control bit is used to set or reset the bit.
The button settings will only become active when you click the "Write" or
"Start-up" button or when you click a button in the "Device Control" dialog
box.
Status Word
The devices individual status bits are displayed here. Depending on the
device, the status bits have a name which defines their meaning. Besides
these bits, the address of the "status word" is displayed at top right. The
value and background color in the "Device Status" field corresponds to the
current status set in "Device Control". In the event of an error, the field
below will display the error code and a description on a red background.
The errors codes and descriptions are covered in the DRIVECOM profile.
Buttons
Start-up
Shutdown
This sets the DRIVECOM device to "READY" mode. All operations are
halted and you can start up again.
Reset Failure
The "Reset Failure" button acknowledges any errors that have occurred
and prepares the device for a restart.
Write
This button writes the set combination of bits to the "Control Word" or
transfers a new value from "Value A" or "Value B".
Undo
Restores the status that applied before a bit was changed in the "Control
Word" or a change was made in the "A Value"/"B Value" fields.
4-10
5219B
Monitor
Device Control
You can use this dialog box to control DRIVECOM devices. The "state
machine" of a DRIVECOM system based on the DRIVECOM "device
control" is displayed.
Figure 4-5
Device control
5219B
4-11
IBS CMD G4
4.2.2.3
The process data descriptions created here are only relevant for the
DRIVECOM Monitor and are not transferred to the devices or the controller
boards list of process data descriptions.
Figure 4-6
Table
Process Data Name
Displays available process data descriptions. You can define new process
data descriptions and delete existing ones.
I/O
In this column, you can specify whether the process data description is an
input or output one.
Length
Specifies the length of the process data item (the number of bits).
Byte
Qualifying Symbol
4-12
5219B
Monitor
Unit
You can enter the process data descriptions unit (for example A (ampere)
or rpm).
Maximum value
Specifies the upper limit of the range of values that can be set. (Example:
3000 for max. 3000 rpm)
Offset
You can use this to displace a range by adding an offset to the returned
value.
In this dialog box, you can define a "time grid" that will serve as the time
base in the "Analog Displays" Trend dialog box. The "time grids" displayed
are the products of a base time multiplied by the available factors.
Bit Names
Operating Mode
You can specify an operating mode (based on the DRIVECOM profile) for
your device. Depending on which mode you select, the meaning of
manufacturer-specific control and status bits may change.
ManufacturerSpecific Control/
Status Bits
In the edit boxes presented here, you can enter names for the individual
bits. This will allow you to better view their assignment to a function. The
functions of the bits displayed may change with the operating mode.
5219B
4-13
IBS CMD G4
4.2.2.4
Figure 4-7
Context menu
Using the tools on the Context menu, you can create and edit the
DRIVECOM Monitors process data descriptions. The process data
descriptions are only relevant for the DRIVECOM Monitor and are not
transferred to the devices or the controller boards list of process data
descriptions.
Paste Process Data
Item
Inserts a process data description in the table above the selected process
data description.
Cuts the selected process data description and puts it on the Clipboard.
Copies the selected process data description and puts it on the Clipboard.
Inserts a process data description from the Clipboard into the table.
4-14
5219B
Monitor
4.2.3
Figure 4-8
Bits marked with an "x" are insignificant. Due to internal processing, the
same states may produce different status word displays.
4.2.4
Figure 4-9
Bits marked with an "x" are insignificant. Due to internal processing, the
same states may produce different status word displays.
5219B
4-15
IBS CMD G4
4.2.5
The "status machine" describes the device states and the drive devices
possible control sequence. A status represents a specific internal and
external behavior.
NOT READY
LOCK IS ACTIVE
READY
ON
RELEASE FOR
OPERATION
QUICK STOP IS
ACTIVE
MALFUNCTION
FAILURE
REACTION IS
ACTIVE
4-16
5219B
Monitor
Drive function may be released
4.2.6
State transition:
Cause:
Reset
Effect/Action:
Start self-test
Start initialization
State transition:
Cause:
Self-test error-free
Initialization finished without errors
Effect/Action:
State transition:
Cause:
"Shutdown"
Effect/Action:
State transition:
READY ... ON
Cause:
"Switch on"
Effect/Action:
State transition:
Cause:
5219B
4-17
IBS CMD G4
Effect/Action:
State transition:
Cause:
"Lock operation"
Effect/Action:
State transition:
ON ... READY
Cause:
"Shutdown"
Effect/Action:
State transition:
Cause:
"Quick Start" or
"Lock Power"
Effect/Action:
None
State transition:
Cause:
"Shutdown"
Effect/Action:
State transition:
Cause:
"Lock Power"
Effect/Action:
4-18
5219B
Monitor
State transition:
Cause:
Effect/Action:
State transition:
Cause:
"Quick Stop"
Effect/Action:
State transition:
Cause:
Effect/Action:
State transition:
Cause:
Effect/Action:
State transition:
Cause:
Effect/Action:
State transition:
5219B
4-19
IBS CMD G4
Cause:
"Reset Failure"
Effect/Action:
4.2.7
4.2.8
4-20
5219B
Monitor
4.2.9
The most important commands are provided as buttons below the menu
bar. These commands can also be invoked using function keys.
Additional
information
Edit Value
You can use this button to change the value of parameter descriptions of
the following type
Visible-String
Octet-String
Date
Time-of-Day
Time Difference
Bit-String
5219B
4-21
IBS CMD G4
4.2.9.1
Table Entries
Index
Sub-Index
Some objects are further divided into sub-objects. The sub-indices of these
sub-objects are identified by a consecutive number that appears after the
index. Sub-index "3" of the PCP object "6000" is therefore displayed as
"6000h 3". The parameter type of PCP objects with sub-objects is
"Record".
Name
You can enter a name for the parameter description in this column. The
name is only displayed in the column; it is not transferred to the PCP
device.
Value
Enter the value you wish to assign to the parameter description (PCP
object).
Unit
You can enter the parameter descriptions unit (e.g. rpm, A, V etc.) in this
column. The name is only displayed in the column; it is not transferred to
the PCP device.
Format
Data Type
You can set the values data type here. If you change the data type, you
also have to make sure that the value is entered accordingly.
Length
Parameter Type
You can define the data structure of the parameter description in this
column. You can define simple variables, arrays and records.
Number
In this column you can see how many array entries the parameter
description has.
Range
The option box in this column is checked when a limit has been set on the
range of values for the parameter description.
4-22
5219B
Monitor
By clicking in the box, a dialog box appears in which you can enter the
range thresholds.
5219B
4-23
IBS CMD G4
4.2.10
Delete Parameter
Cut Parameter
Copy Parameter
Paste Parameter
From clipboard
Special dialog boxes are provided for editing arrays (of any data type) and
the values of parameter descriptions of one of the following data types
Visible String
Octet-String
Date
Time-of-Day
Time Difference
Bit-String
Parameter description values of the data type
Boolean
Integer8
Integer16
Integer32
4-24
5219B
Monitor
Unsigned8
Unsigned16
Unsigned32
Floating-Point
can be entered straight in the "Value" column in the table in the main
"Device Parameterization" window.
4.2.10.2
5219B
4-25
IBS CMD G4
4.2.10.3
Visible-String, Octet-String
4-26
5219B
Monitor
4.2.10.4
5219B
4-27
IBS CMD G4
4.2.10.5
Time Difference
Bit-String
4-28
5219B
Monitor
4.2.11
4.2.11.1
File
5219B
4-29
IBS CMD G4
4.2.11.2
Edit
4-30
5219B
Monitor
4.2.11.3
Device
Options
Help
4.2.12
This command creates a new, empty list for the parameter descriptions.
You can insert new parameter descriptions into the list using the context
menu or you can read in the entire parameter list using the "Read
Parameter List" command on the "Device" menu.
5219B
4-31
IBS CMD G4
4.2.13
You can administer several parameter lists in the IBS CMD G4 project file
(*.BG4). Use this command to specify which of the available tables you
wish to load. Do this by selecting the name of the parameter table you
require and pressing "OK".
4.2.14
Once the parameter table has been saved, you can use this command to
save any subsequent changes you make. The modified parameter table is
then saved under its current name in the project without additional prompts.
If the parameter table has not yet been saved at all, the "Save As..." dialog
box appears automatically.
4-32
5219B
Monitor
4.2.15
You can use this command to save the current parameter table under a
name of your choice in the project (BG4 file).
Enter a name for the table in the Name box or click on an existing name to
overwrite the parameter table.
5219B
4-33
IBS CMD G4
4.2.16
You can use this command to delete saved parameter tables. Select the
name of the parameter table you wish to delete and press "OK" to delete it
from the project (*.BG4).
4-34
5219B
Monitor
4.2.17
You can use this dialog box to import saved parameter tables. The file
format for the parameter tables is "*.DSC". The data in the DSC file is
transferred as the current parameter table to the main device
parameterization window.
5219B
4-35
IBS CMD G4
4.2.18
You can use this dialog box to save the current parameter table in a file.
Usually, all the parameter tables are saved in the project file (*.BG4) using
the "Save As..." command. To save each parameter table in a separate file,
you need to export them. The file format of the exported parameter table is
"*.DSC".
4-36
5219B
Monitor
4.2.19
You can use this command to print the current parameter table.
5219B
4-37
IBS CMD G4
4.2.20
4.2.21
You can use this command to create a new parameter description. Each
parameter description is represented by a row in the table.
Parameter descriptions essentially consist of an (object) index, a (data)
length and the value assigned to the object. The other columns in the table
contain information on the display mode and the status of the parameter
description.
4.2.22
You can use this command to cut the selected parameter descriptions
(rows) from the table and copy them to the Windows Clipboard.
4.2.23
You can use this command to copy the selected parameter descriptions
(rows) from the table to the Windows Clipboard.
4-38
5219B
Monitor
4.2.24
You can use this command to insert the parameter descriptions (rows)
stored on the Windows Clipboard in the parameter table.
The "Cut" and "Copy" commands can be used to put parameter
descriptions on the Windows Clipboard.
4.2.25
You can use this command to delete parameter descriptions that you have
selected from the parameter table. Parameter descriptions deleted in this
way are not copied to the Windows Clipboard.
4.2.26
You can use this command to select the entire parameter table. To read,
compare, write, copy or delete parameter descriptions, you need to select
them all or one by one.
5219B
4-39
IBS CMD G4
4.2.27
You can use this command to read all the parameter descriptions from the
PCP device for which you have opened the "Device Parameterization"
program add-on. Both the PCP objects and their values are read.
4.2.28
4.2.29
4-40
5219B
Monitor
4.2.30
4.2.31
4.2.32
You can use this command to compare the values of the selected
parameter descriptions with the values of the PCP objects on the device.
4.2.33
When this command is active (i.e. when a check mark is displayed beside
it) negative confirmations from the device are not displayed. Negative
confirmations are issued when a PCP service or Firmware service cannot
be correctly executed.
5219B
4-41
IBS CMD G4
4.2.34
You can use this command to access the Help systems table of contents.
This provides assistance on all the menu items and dialog boxes as well as
help on using the DRIVECOM monitor and the device parameterization.
Clicking the "Help" button in dialog boxes displays the relevant Help topic
for the dialog box. You can also get context-sensitive help at any time by
pressing the "F1" key.
4.2.35
You can use this command to open the standard Windows online Help
which provides general information on using Help systems in Microsoft
Windows.
4.2.36
This opens a dialog box with the device parameterizations version number
and build date.
4-42
5219B
Monitor
4.2.37
5219B
4-43
IBS CMD G4
4.3
LCD
You can visualize the LCD available on many controller boards directly in
IBS CMD G4. All indications appearing on the hardware display can also
be seen on the software display.
4-44
5219B
Monitor
4.3.1
The control panel can be displayed and hidden by the system menu of the
software LCD.
Key Assignment
5219B
4-45
IBS CMD G4
MODE
4-46
CFG
ID
LEN
LEVL
SWTC
BRDG
ACTV CFG
SAVE CFG
Configuration
Identification code of the selected device
Process data length of the device
Bus level of the selected device
List of the switched off devices
List of the bridged devices
Active configuration
Save configuration
DIAG
MPM
DEBG
ADBG
QFLG
WFLG
SNGL
Diagnostics
MPM diagnostics
Debug
Auto Debug
Quality Flag
Warning Flag
Single (single error)
STAT
ERRHIST
REC
PF
Statistics
Fault history
Number of reconfiguration requirements per device
Number of local bus errors per device
5219B
Monitor
MONI
CRC
PF TEN
CRC TEN
OPT
SCANTIME
OPTITIME
FW-V
HW-V
SER-No
RSET
LCD TEST
Options
Current cycle time
Optimum cycle time
Firmware version on the controller board
Hardware version of the controller board
Serial number of the controller board
Reset controller board
Display test
... IN
... OUT
5219B
4-47
IBS CMD G4
4.4
This monitor can be accessed from the Context menu of any INTERBUS
device with process data. The devices process data is displayed digitally
as yellow and gray squares. You can open a separate monitor for each
process data description.
The monitors title bar indicates the device for which the monitor is open.
The device number is displayed.
Name
You can select the desired process data description on the device. Open
the select box to see a list of available process data names for the device
in question.
Value
Data Direction
This field indicates whether the process data item is an input or output one.
Display Area
The process data display area is divided up into rows and columns. Rows
stand for Bytes while columns represent bits. The size of the monitor is
based on the default process data length of the device for which the
monitor has been opened. Consequently, all the process data fields are
always displayed. Process data that lie within the selected process data
description are displayed in gray when the bit is not set, and in yellow when
the bit is set. Process data beyond the selected process data description is
displayed in black.
4-48
5219B
Monitor
Depending on the selected process data description, the entire input or
output range of devices with input and output data is displayed.
Name
This displays the name of the process data description for which the
"Change" dialog box has been opened.
Value
This field displays the set process data value as a hexadecimal value.
5219B
4-49
IBS CMD G4
Set Area
Like the Display Area, the Set Area is divided up into rows and columns.
You can set and reset bits by clicking them. The changes in the process
data will only apply when you press "OK" to confirm. Device process data
that are beyond the selected process data description are displayed as
black squares.
All On
All Off
4-50
5219B
Monitor
4.5
Device States
This monitor allows you to (de)activate and jumper individual devices and
local bus windings.
ID Code, Station
Name, Device Name
The devices "ID-Code", "Station Name" and "Device Name" data are
displayed in these columns.
Activated
The device is taken into account in the configuration frame and transfers
data to the controller board. A deactivated device is jumpered logically and
is physically integrated in the bus configuration. You can activate and
deactivate a device as you require. Doing so will activate and deactivate all
of its local bus devices accordingly.
Jumpered
Check this option to exclude the device in the configuration frame. A bus
configuration with jumpered devices can only be set back into full operation
after the device has been physically removed. When a device is jumpered,
all the local bus devices that depend on it are deactivated and can only be
reactivated after the jumpered device has been removed.
5219B
4-51
IBS CMD G4
You can select a device in the bus configuration by double-clicking on its
entry in the "Device States" dialog box.
Edit Device States
Activate, Jumper
By checking these options you can specify the state which applies to the
devices selected in the list. You can also select a series of non-adjacent
devices in the list by pressing the <CTRL> key while clicking devices.
Selected
Execute / (Undo)
After selecting the required devices and specifying the device states using
the option boxes, pressing this button will apply the selection. You can
restore the state that last applied by pressing the "Undo" button as long as
you do not select another device entry in the meantime or change options.
Possible device states
Activated:
Yes
Jumpered: Yes
Yes
Jumpered: No
The device is actively integrated in the bus configuration and transfers its
data to the controller board.
Activated:
No
Jumpered: Yes
The device is not activated and does not transfer data to the controller
board. The device has been removed from the configuration frame and has
consequently been deactivated physically. If a local bus device is set to this
state, all the other devices in the local bus winding automatically assume
the state "Activate:No". The deactivated (not jumpered) devices can only
be reactivated after the jumpered device has been physically removed.
Activated:
No
Jumpered: No
The device and all its local bus devices are logically deactivated. As long
as the devices are not jumpered, you can activate and deactivate devices
as you wish without having to make changes to the bus configuration.
4-52
5219B
Monitor
4.6
Preprocessing/Monitoring
With this monitor you can see the states of the individual inputs and outputs
at the used function blocks within the graphic editor of the (process data)
preprocessing.
This monitors user interface is exactly the same as the preprocessing
programming environment, except that only the commands necessary for
configuring the display and changing variables are available.
5219B
4-53
IBS CMD G4
4-54
5219B
Section 5
This section informs you about
the add-on program "Preprocessing"
5 Preprocessing...................................................................................................5-5
5.1
5.2
5.3
5.4
Menu "File..."...............................................................................5-8
5.4.1
5.4.2
5.4.3
5.4.4
5.4.5
5.4.6
5.4.7
5.4.8
5.4.9
5219B
5.5.2
5.5.3
5.5.4
5-1
IBS CMD G4
5.5.5
5.5.6
5.5.7
5.5.8
5.5.9
Menu "Make..."..........................................................................5-27
5.6.1
5.6.2
5.6.3
5.6.4
5.7
Menu "?...".................................................................................5-29
5.8
5.9
5.8.1
5.8.2
5.8.3
Blocks Preprocessing................................................................5-33
5.9.1
5.9.2
5.9.3
5.9.4
5.9.5
5.9.6
5.9.7
5.9.8
5.9.9
5-2
5219B
5219B
5.10
Toolbar.........................................................................5-55
5.11
Keyboard Assignment..................................................5-57
5-3
IBS CMD G4
5-4
5219B
Preprocessing
Preprocessing
5.1
General Information
You have the possibility of linking INTERBUS process data using the "Preprocessing" (process data preprocessing) tool. For this, process data is
available via variable names in this add-on program. These variables can
be interlinked by numerous logic blocks. The output variables are then reassigned to a process data item or several process data.
The add-on "Preprocessing" generates a ZWT-file from the worksheets
created there. The data stored in this file is transferred by IBS CMD G4 to
the controller board (when writing the configuration) together with bus configuration, addressing, etc.
Figure 5-1
5219B
Overview
5-5
IBS CMD G4
Example:
For this example, a simple link of four input bits (A,B,C,D), three function
blocks (2* AND, 1*OR) and one output bit is used.
The four input bits may come from a device with digital inputs for example.
The output bit linked through these four input bits could then be connected
to a device with digital outputs.
Figure 5-2
The bus cycle time depends on the extent of functions programmed in the
"Preprocessing" add-on. The programmed functions are executed between two INTERBUS cycles. After programming check the bus cycle time
and, if required, optimize your programmed functions or shift some of them
to your application program.
5-6
5219B
Preprocessing
5.2
Figure 5-3
5219B
5-7
IBS CMD G4
5.3
Figure 5-4
5.4
Menu bar
Menu "File..."
Figure 5-5
5.4.1
Menu "File"
With this menu command you can save the worksheets of the current session.This command is only available if the worksheets have been changed.
You can tell from the title bar whether changes were made to the current
worksheets. If the title bar contains a "*", the worksheets were changed.
Figure 5-6
5-8
Changed worksheet
5219B
Preprocessing
5.4.2
This command exits "Preprocessing" and returns to the main IBS CMD G4
program. "Preprocessing" is not removed from the working storage.
Use this command to switch between IBS CMD G4 and "Preprocessing".
5.4.3
This command exits "Preprocessing" and returns to the main IBS CMD G4
program. "Preprocessing" is removed from the working storage..
Figure 5-7
Exit "Preprocessing"
Figure 5-8
5.4.4
Save changes
5219B
5-9
IBS CMD G4
5.4.5
5.4.6
IIn every project you can create several worksheets where you split your
function blocks, for example, into functional groups. You can move easily
between the individual pages with "Next WS" and "Prev. WS".
With this dialog box you can create, rename, delete, and move worksheets.
Figure 5-9
Worksheet management
Input area
Here you can change the name of the selected worksheet or enter a new
name. The name may not exceed 8 characters and must adhere to MS
DOS file conventions. It must also start with an alphabetic character.
Info area
New
Creates a new worksheet. First enter the name of the new worksheet in the
input area and then press this button. If a worksheet of the same name already exists this command cannot be executed.
5-10
5219B
Preprocessing
Change
Changes the name of the selected worksheet. The currently visible worksheet cannot be renamed.
Move Up
Moves the selected worksheet up in the order of worksheets. The command is inactive if the selected worksheet is at the top.
Move Down
Moves the selected worksheet down in the order of worksheets. The command is inactive if the selected worksheet is at the bottom.
Goto
Moves directly to the selected worksheet. This exits the dialog box.
5.4.7
5.4.8
This command cuts out the selected objects and puts them into the clipboard. The command can only be selected if objects are marked.
Use this command if you want to remove objects and replace them somewhere else. To copy/duplicate objects use the commands "Copy".
5.4.9
5219B
5-11
IBS CMD G4
5.4.10
IIf objects were stored in the clipboard with "Copy" or "Cut", they can be inserted in the marked position with the "Paste" command.
5.4.11
This command deletes the selected objects. The objects are not copied
into the clipboard. If you want to reuse the removed objects somewhere
else, select the command "Cut".
The command can only be selected if objects are marked.
5.4.12
You can save individual worksheets and their contents into a file. The files
have the file name extension *.GP and can be saved in any directory with
a standard Windows dialog box.
5.4.13
5-12
5219B
Preprocessing
5.4.14
This command deletes all objects on the worksheet. After executing this
command you have an empty worksheet.
Only the contents of the worksheet are deleted and not the worksheet itself.
To delete the worksheet, use the "Delete" button in the "WS manag." dialog
box.
5.4.15
With this command you can search for texts, variable names, or constants
on the current worksheet.
Lower and upper case letters are distinguished if this option box is marked.
If no matches or no other matches were found, the following message is
displayed::
5219B
5-13
IBS CMD G4
5.4.16
With this command you can search for texts, variable names, or constants
on the current worksheet and replace them with another term.
Matches are only displayed if the whole word was found. The word "OUT"
in "OUTput" is not displayed if this option box is marked.
Match Case
Lower and upper case letters are distinguished if this option box is marked.
If no matches or no other matches were found, the following message appears:
5.4.17
The command selects all objects (blocks, text, links, variables, etc.) so that
these can be edited as a group, i.e., moved, copied, or deleted.
5-14
5219B
Preprocessing
5.4.18
This command enables you to select, place, and move objects with the
mouse. As long as this command is active, MARK is displayed in the status
line and the corresponding button in the toolbar is framed in red.
If you want to select several objects, hold down the <Shift> key and click
the desired objects with the mouse.
You can also select several objects by moving the mouse over the desired
objects with the left mouse button pressed, thus drawing a frame around
the objects.
The insertion point is displayed in the form of a cross:
5.4.19
:With this command you connect the inputs and outputs of the (function)
blocks to each other. Click an input or output and then pull the mouse in the
desired direction. If you have to or want to run connecting lines around
other blocks, click the desired branching point and then change direction
by 90.
As long as the command is active, LINK is displayed in the status line and
the appropriate button in the toolbar is framed in red.
:Cursor representation when command is activated:
5.4.20
5.4.21
This dialog box shows the properties of an object. If a block is marked, the
"Function/Function Block" dialog box appears, if an input or output is
marked, the "Formal Parameter" dialog box appears.
5219B
5-15
IBS CMD G4
The "Formal Parameter" indicates an input or output of a block
5-16
5219B
Preprocessing
5.5
Menu "Object..."
5.5.1
With this dialog box you can select a function or function block from the
block database. The block is inserted at the previously marked position
after confirming the dialog box with "OK"..
You can select the desired block from this selection box.
Height
You enter the graphic size of the block here. Blocks with several inputs
(e.g., AND) are enlarged automatically when you increase the number of
inputs.
Set this option if you want to see the data type of the individual inputs and
outputs (e.g., BOOL, ANY_NUM, etc.) in the "Formal-Parameters" info
area.
5219B
5-17
IBS CMD G4
Show Type
Set this option if you want to see the type of the inputs and outputs (e.g.,
VAR_INPUT or VAR_OUTPUT) in the "Formal Parameters" info area.
Formal Parameter
The inputs and outputs of the block selected under "Name" are displayed
here. The type or data type is displayed additionally depending on the setting.
Buttons:
FP >>
In this dialog box the name, type, and data type of the formal parameter are
displayed. In addition you can negate the inputs/outputs in some blocks or
determine whether the formal parameter is to react to an edge.
Double FP
5-18
5219B
Preprocessing
5.5.2
IIn this dialog box you get the variables defined in IBS CMD G4. Process
data descriptions which you have defined in IBS CMD G4 for "Preprocessing" are contained in a selection list here..
The selection box contains the variables defined in IBS CMD G4 which are
available to "Preprocessing".
Filter
Set which variable type is to be displayed in the "Variable Name" box here.
Link
Here select whether you want to link the variable to an input or an output.
The variable name is displayed to the left or right of the connection point
depending on the selection.
Type
Init
You can assign start values to variables and memories which are set when
starting the INTERBUS network
Block
Info
Here you can see whether the variable is linked and with which process
data item.
5219B
5-19
IBS CMD G4
5.5.3
You can define constants with this command. You must specify the constant in a dialog box according to the syntax: Data Type#Value.
In addition, you must determine whether the constant is to be linked with
an input or an output.
5.5.4
With this command you can create a comment text line which is inserted at
the position marked (with the cross).
5-20
5219B
Preprocessing
5.5.5
Menu "Layout..."
5.5.6
5219B
5-21
IBS CMD G4
5.5.7
5.5.8
In this dialog box you can enter the size of the current worksheet.
Depending on this size, the worksheet will be divided into several pages indicated by boundary lines. You can display and hide the boundary lines as
required.
5-22
5219B
Preprocessing
5.5.9
5.5.10
You can enlarge the display of the worksheet step by step with this command.
This command operates in a fixed zoom range. If you try to exceed the
boundaries of this zoom range, the following message appears..
5219B
5-23
IBS CMD G4
5.5.11
You can reduce the display of the worksheet step by step with this command.
This command operates in a fixed zoom range. If you try to exceed the
boundaries of this zoom range, the following message appears.
5.5.12
This command takes you back to the last selected zoom stage. If you have
selected an overview representation (small zoom stage) and a detail representation (large zoom stage), you can change between the two representations conveniently with this command.
5.5.13
This command zooms the worksheet to standard size. From the standard
size, you can zoom in the worksheet five times or zoom out four times, before reaching the end of the zoom range.
5.5.14
When drawing connecting lines and placing function blocks, it may be necessary to refresh the representation area. When this command is executed, the worksheet is redrawn on the screen with all the current settings.
5-24
5219B
Preprocessing
5.5.15
With this menu command you can display a dot matrix (grid) as a positioning and drawing aid. The mouse cursor snaps directly to these grid points
or intermediate values depending on the zoom factor.
5.5.16
The dimensions set under "Worksheet Size" is divided into the appropriate
number of 190x227 boxes outlining the page boundaries. This division is
merely for better structuring of the worksheet and has no influence on the
functions.
5.5.17
This command is only active if you start the add-on program with the monitor functions of IBS CMD G4.
In this dialog box, you can configure how variables are displayed in the preprocessing monitor.
Show Values
No Values
Check this option to hide the value of the variables. When "No Values" is
checked, the options under "Boolean Values" are unavailable.
Only Values
Check this option to display the values of the variables only and not the
names.
Value Beside
Symbol
Check this option if you want the value of the variable to appear beside its
name.
5219B
5-25
IBS CMD G4
Value Below Symbol
Check this option if you want the value of the variables to appear below its
name.
Boolean Values
Explicit Boolean
Values
Checking this option will enable the "Text-Type Boolean Values" and "Numeric Boolean Values". When this option is not checked, Boolean variables are not displayed explicitly; they are merely represented by the colors
"red" = "1" = "TRUE" and "blue" = "0" = "FALSE".
Text-Type Boolean
Values
Numeric Boolean
Values
5-26
5219B
Preprocessing
5.6
Menu "Make..."
5.6.1
The command compiles all worksheets and checks their contents for errors.
If errors occur in the compiling process, these are stored in an error file.
You can view the error file with the "Prev. Error" and "Next Error" commands..
5219B
5-27
IBS CMD G4
5.6.2
The command compiles the current worksheet and checks its content for
errors. Possible errors are false or missing variables and constants, defective or unwired inputs/outputs, etc.
5.6.3
The errors found in the compiling process are saved in an error file. This
command shows you the next error in the error file.
The errors are displayed in the status line. At the same time the mouse
arrow points to the object in which the error has occurred. Start and end of
the error file are shown accordingly.
5.6.4
The errors found in the compiling process are saved in an error file. This
command shows you the previous error in the error file.
The errors are displayed in the status line. At the same time the mouse
arrow points to the object in which the error has occurred. Start and end of
the error file are shown accordingly.
5-28
5219B
Preprocessing
5.7
Menu "?..."
Use this command to get to the help system's table of contents. Here you
will find help on all menu items and dialog boxes, and on the operation of
"Preprocessing".
With the "Help" buttons which appear in the dialog box, you can directly go
to the help pages available for the respective dialog box. You can also call
a context-sensitive help at any time with the function key "F1".
5.7.0.2
In this dialog box you get information about the current version of your addon program "Preprocessing".
5219B
5-29
IBS CMD G4
Overwrite Variables
You can use the following dialog boxes to simulate different system states
by overwriting variables in the preprocessing monitor. To access the preprocessing monitor, click "Monitoring" on the "Preprocessing" elements
Context menu.
Your preprocessing program is displayed in the open preprocessing monitor using the graphic configuration you defined.
To access the dialog box for overwriting variables, select a variable and
then double-click it using the right mouse button. Depending on whether
you selected a Boolean or alphanumeric variable, one of the dialog boxes
below will appear.
Dialog box for forcing (overwriting) Boolean variables:
5-30
5219B
Preprocessing
Value
You can enter the variables value in this edit box (alphanumeric variables
only).
Enter numeric values in decimal format.
Operation
Overwrite
The variable to be forced is only overwritten once to the bus system. The
value of the forced variable is only valid for a single bus cycle as it is overwritten by a value from the process image in the next cycle.
Fix
Check this option to prevent the forced variable from being overwritten by
the preprocessing program.
Reset
Press this button to reset forced variables to their original values or to reset
them to the current values in the process image.
5219B
5-31
IBS CMD G4
5.8
5-32
5.8.1
ANY_BIT - Group
Type
Length (Bits)
BOOL
0 or 1
BYTE
bit pattern
no number
WORD
16
bit pattern
no number
DWORD 32
bit pattern
no number
5.8.2
ANY_INT - Group
Type
Length (Bits)
SINT
INT
16
2#101111 (dual)
DINT
32
16#2F (hex)
5.8.3
ANY_REAL - Group
Type
Length (Bits)
REAL
32
Example
integer
-123.0 or -123
Example
floating point 12.7 or 1.27E1
5219B
Preprocessing
5.9
Blocks Preprocessing
5219B
5-33
IBS CMD G4
Bit Manipulation
SHLshift left
SHRshift right
ROLrotate left
RORrotate right
Numerical Function
SQRTsquare root
ABSabsolute value
NEGnegation
Selection Function
MAX_*maximum of input parameter
MIN_*minimum of input parameter
LIMIT_*maximum or minimum of input parameter
Bistable Elements
SRSR flipflop
RSRS flipflop
Edge Recognition
R_TRIGrecognizes rising edge
F_TRIGrecognizes falling edge
Counter
CTDdown counter
CTUup counter
CTUDup/down counter
G3 Functions
RESET_OUT_IN01
RESET_OUT_IN10
RESET_OUT_IN01_SW
RESET_OUT_IN10_SW
5-34
5219B
Preprocessing
5.9.1
AND
AND logic
OR
OR logic
NOT
NOT logic
XOR
EXCLUSIVE OR logic
5219B
5-35
IBS CMD G4
All input and output parameters are of the "ANY_BIT" type.
5.9.2
5.9.2.1
ADD
Addition
MUL
Multiplication
5-36
5219B
Preprocessing
5.9.2.3
SUB
Subtraction
Figure 5-49
bl
Input parameter:
ANY_NUM
Output parameter:
ANY_NUM
5219B
5-37
IBS CMD G4
5.9.2.4
DIV
Division
MOD
MOVE
5-38
5219B
Preprocessing
5.9.3
5.9.3.1
GT
Greater than
GE
EQ
Equal to
5219B
5-39
IBS CMD G4
5.9.3.4
LE
LT
Lower than
NE
Not equal to
5-40
5219B
Preprocessing
5.9.4
5.9.4.1
*_TO_*
BCD_TO_DINT
5219B
5-41
IBS CMD G4
5.9.4.3
TRUNC_*
Truncation
There are three different functions:
TRUNC_DINT
TRUNC_INT
TRUNC_SINT
5.9.5
5.9.5.1
SHL
Shift left
5-42
5219B
Preprocessing
5.9.5.2
SHR
Shift right
ROR
Rotate right
5219B
5-43
IBS CMD G4
5.9.5.4
ROL
Rotate left
5-44
5219B
Preprocessing
5.9.6
5.9.6.1
ABS
Absolute value
NEG
Negation
SQRT
Square root
5219B
5-45
IBS CMD G4
5.9.6.4
Connection designations:
MNdefault minimum value
MXdefault maximum value
Aoutput
INinput value
E1input value 1
E2input value 2
The functions MIN, MAX, LIMIT are available for the following data types:
DINT, INT, REAL, SINT
For INT e.g., MAX_INT, MIN_INT, and LIMIT_INT
5.9.6.5
MAX_*
MIN_*
LIMIT_*
5-46
5219B
Preprocessing
5.9.6.8
SEL
Select an input value from two input values using the "G" bit. This block can
be utilized for all ANY NUM data types.
Input Parameter G:
BOOL
Parameter IN0, IN1, A
ANY_NUM
5219B
5-47
IBS CMD G4
5.9.7
5.9.7.1
SR
RS
5-48
5219B
Preprocessing
5.9.8
5.9.8.1
R_TRIG
F_TRIG
5219B
5-49
IBS CMD G4
5.9.9
Blocks Counters
Connection designations:
CVcurrent counter value
PVmaximum/minimum value
QTRUE, when CV has reached maximum/minimum value
RESETsets CV to 0
LOADsets CV to PV
QUTRUE, when CV has reached maximum value
QDTRUE, when CV has reached minimum value
CUstarts up counter
CDstarts down counter
5.9.9.1
CTU
5-50
5219B
Preprocessing
5.9.9.2
CTD
CTUD
5219B
5-51
IBS CMD G4
5.9.10
Blocks G3 Functions
Generally process data from the PLC or computer (HOST_IN) and to the
bus (BUS_OUT) cannot be influenced in a buffered instance. To provide
this possibility of additional influence, the reset functions were formerly developed as part of the firmware (Generation 3) and are now available as
function blocks in "Preprocessing" add-on program.
Function:
The bit at HOST_IN is passed directly to BUS_OUT. This is the normal connection between the host system and the INTERBUS system. You can influence this direct connection with the RESET input because the RESET
input has a higher priority than HOST_IN.
The HOST_IN bit is only connected through again via a rising edge at
BUS_OUT.
This block exists respectively for a rising edge (Reset_OUT_IN01 and
Reset_OUT_IN01_SW) and a falling edge (Reset_OUT_IN10 and
Reset_OUT_IN10_SW) of the RESET input.
5-52
5219B
Preprocessing
5.9.10.1
RESET_OUT_IN01
RESET_OUT_IN10
5219B
5-53
IBS CMD G4
5.9.10.3
RESET_OUT_IN01_SW
This block has an additional enable input. This must be set for the RESET
bit to be effective.
RESET_OUT_IN10_SW
This block has an additional enable input. This must be set for the RESET
bit to be effective.
5-54
5219B
Preprocessing
5.9.10.5
Discrete structure:
5219B
5-55
IBS CMD G4
5.10
Toolbar
"Preprocessing"
Save File
Compile All
Compile Worksheet
Zoom Out
Zoom In
Zoom Area
Paste Object
Copy Object
Cut Object
Delete Object
Undo
Mark Object
5-56
5219B
Preprocessing
Add Text
Insert Block
Define Constant
Previous Worksheet
Worksheet Management
Next Worksheet
Previous Error
Next Error
Find
5219B
5-57
IBS CMD G4
5.11
Keyboard Assignment
"Preprocessing"
5-58
5219B
Preprocessing
5219B
5-59
IBS CMD G4
5-60
5219B
Section 6
This section informs you about
representation / designation
keyboard assignments
6 Others ...............................................................................................................6-3
5219B
6.1
6.2
Bus Editor....................................................................................6-5
6.3
6.4
6.5
6.6
6.7
6.8
6-1
IBS CMD G4
6-2
5219B
Others
Others
6.1
Message Box
The message box provides you with information on type and origin
of an event,
a malfunction, or
an error.
Figure 6-1
5219B
6-3
IBS CMD G4
You can close the message box with "OK" or have detailed information
displayed with the "Detail >>" button.
Figure 6-2
Message Code,
Message File
Double-click on the picture icon in the dialog box to see the message code
and the name of the file in which it is stored.
Figure 6-3
6-4
5219B
Others
6.2
Using keyboard
shortcuts to cut,
copy and paste
Bus Editor
Pasting in other
applications
You can also paste a device from the Windows Clipboard into another textbased application. When you do so, the device data is pasted in as text and
not the device icon.
Example:
Bus terminal module:
Bus device:
ID Code:
Process data channel length:
Parameter channel length:
Profile number:
Incoming interface (IN1):
Outgoing interface (OUT1):
Branching interface (OUT2):
Manufacturer name:
Device type:
Group:
Icon library:
Selecting multiple
devices
No
Local Bus
126
64 [Bit]
0 [Bit]
0h
ST Local Bus
ST Local Bus
None
Phoenix Contact
IB ST 24 AI 4/SF
PHOENIX
PHOENIX.ICL
You can select several devices simultaneously and move, copy and delete
them.
When a device is moved, it may be attached to an interface of the same
type. If the device cannot be inserted at the interface in question, the
system will search for another, acceptable interface (for example, on a
double bus terminal module like the IBS ST 24 BK RB-T).
To select a range of
devices
5219B
To select a range of consecutive devices, click the first device in the range
and press the <SHIFT> key. Without releasing the <SHIFT> key, select the
last device in the range. This will select all the devices between, and
including, the first one and the last one.
6-5
IBS CMD G4
To select a specific
device
To select specific devices in your bus configuration, press the <Ctrl> key
and then the device. To move the selected item, drag it to its new location
in the bus configuration.
To move or copy devices, you can use the mouse to drag and drop them
at the desired location in the bus configuration. To do this, point and click
on a selected device with the left mouse button and, without releasing the
mouse button, drag the device to its new location. The device will be
inserted at the point where you release the left mouse button.
The appearance of the cursor during Drag and Drop
Moving a device
Copying a device
6-6
You can configure and set the width of the bus display. You might set a
maximum width when working at a lower resolution, for example, or prior
to printing out the bus display. If the display width is not sufficient for the
loaded bus configuration, the bus display will be reformatted as shown
below. You can set the display width in the "Settings" dialog box on the
"View" menu.
5219B
Others
Figure 6-4
5219B
Bus representation
6-7
IBS CMD G4
6.3
This yellow symbol indicates failure messages of a device and points to the
device that generated the message.
This red symbol indicates that an error was found in the configuration frame
check and/or the parameterization. The detected device has, for example,
a different ID code or a different process data channel length. The symbol
is placed directly on the device causing the fault.
This red symbol signals an error which has led to the bus being switched
off. If the fault is localized, the bus terminal of the bus segment affected is
covered with this symbol. In addition, the bus line to the incoming interface
of the bus terminal is displayed in a different color. Since the bus can no
longer run from this position, all subsequent devices are represented as
inactive (device icon grayed out and text in italics).
This symbol indicates that IBS CMD G4 cannot assign a device icon from
the database to the read in device.
.
This representation indicates that the
device is inactive. If a specific device is
hidden, it is also represented in this way
In the event of errors in the operation of IBS CMD G4 and messages from
the controller board you will be provided with information in a message box
6-8
5219B
Others
Error display in the box display.
Figure 6-5
The device appears yellow when a peripheral error has occurred (error in
the peripheral power supply, for example). This error will not cause the bus
to stop.
Figure 6-6
The device appears red when a bus error has occurred that causes the bus
system to stop (a defective bus cable, for example).
5219B
6-9
IBS CMD G4
6.4
6-10
5219B
Others
Installation ring
5219B
6-11
IBS CMD G4
6.5
With the left mouse button you can select (focus) an element (project, PLC/
PC, controller board, parameterization memory, configuration frame,
device). If you press the right mouse button on the marked element, a
context menu appears containing the commands available for this element.
The context menu is divided into up to four areas which are also displayed
in the menu bar.
Figure 6-7
Edit
Configuration
Monitoring
Context menu items such as: Address Monitor, Display IBS DSC
Diagnostics
6-12
5219B
Others
6.6
Figure 6-8
Module designations
Design
SL
RT
ST
CB
IP
IPKIS
IPKES
SAB
Voltage
24
120
etc.
- 24V
- 120V
Task
D
A
BK
CBK
PT
UTH
V24
CNT
RELS
- Digital device
- Analog device
- Bus terminal module (BK module)
- Installation remote bus terminal
- Resistance thermometer
- Thermocouples
- Serial connection V24/RS232
- Counter
- Relay outputs
5219B
6-13
IBS CMD G4
Direction
I
O
IO
- Input
- Output
- In-/Output
Number of inputs/
outputs
8
32
etc.
- 8 inputs or outputs
- 32 inputs or outputs
Connection method
/2
/4
etc.
- 2-wire connection
- 4-wire connection
Example:
IB ST 24 DO 32/2
Bus type:
Voltage:
Signal form:
Direction:
Outputs:
Connection
method:
6-14
SmartTerminal
24 V
Digital
Output
32
2-wire
5219B
Others
6.7
Keyboard Assignment
Main Program
5219B
6-15
IBS CMD G4
6-16
5219B
Others
6.8
+49-52 35-3-00
+49-52 35-3-4 12 00
HOTLINE:
Should you encounter problems that that you are unable to solve using this
Help file or the accompanying documentation, please contact our technical
support hotline:
+49-52 35-3-4 18 88
5219B
6-17
IBS CMD G4
6-18
5219B
List of Figures
A 1 List of Figures
5219B
Figure 1-1:
Basic principles.............................................................1-3
Figure 1-2:
Figure 1-3:
Figure 1-4:
Figure 1-5:
Configuration ................................................................1-8
Figure 1-6:
Monitoring .....................................................................1-9
Figure 1-7:
Diagnostics .................................................................1-10
Figure 1-8:
Figure 1-9:
Elements .....................................................................1-16
Figure 2-1:
Figure 2-2:
Figure 2-3:
Menu "File...".................................................................2-6
Figure 2-4:
Figure 2-5:
Figure 2-6:
Figure 2-7:
Delete project..............................................................2-11
Figure 2-8:
Print ............................................................................2-12
Figure 2-9:
Figure 2-10:
Figure 2-11:
Figure 2-12:
Figure 2-13:
Figure 2-14:
Figure 2-15:
Figure 2-16:
Figure 2-17:
Figure 2-18:
Figure 2-19:
A-1
IBS CMD G4
A-2
Figure 2-20:
Link? ...........................................................................2-24
Figure 2-21:
Figure 2-22:
Figure 2-23:
Menu "View...".............................................................2-28
Figure 2-24:
Figure 2-25:
Figure 2-26:
Figure 2-27:
Figure 2-28:
Figure 2-29:
Figure 2-30:
Figure 2-31:
Figure 2-32:
Figure 2-33:
Figure 2-34:
Icons "PLC/PC"...........................................................2-39
Figure 2-35:
Program description....................................................2-40
Figure 2-36:
Figure 2-37:
Figure 2-38:
Figure 2-39:
Figure 2-40:
Standard function........................................................2-45
Figure 2-41:
Figure 2-42:
Figure 2-43:
Figure 2-44:
Figure 2-45:
Figure 2-46:
Figure 2-47:
Figure 2-48:
Figure 2-49:
Figure 2-50:
5219B
List of Figures
5219B
Figure 2-51:
Figure 2-52:
Figure 2-53:
Figure 2-54:
Figure 2-55:
Figure 2-56:
Figure 2-57:
Figure 2-58:
Parameterization data.................................................2-74
Figure 2-59:
Figure 2-60:
Control parameterization.............................................2-77
Figure 2-61:
Figure 2-62:
Figure 2-63:
Figure 2-64:
Figure 2-65:
Figure 2-66:
User functions.............................................................2-85
Figure 2-67:
Figure 2-68:
Events.........................................................................2-88
Figure 2-69:
Figure 2-70:
Service primitives........................................................2-91
Figure 2-71:
Figure 2-72:
Figure 2-73:
Figure 2-74:
Edit Macro...................................................................2-95
Figure 2-75:
Figure 2-76:
Figure 2-77:
Figure 2-78:
Figure 2-79:
Figure 2-80:
Double BMK..............................................................2-101
Figure 2-81:
A-3
IBS CMD G4
A-4
Figure 2-82:
Figure 2-83:
Figure 2-84:
Figure 2-85:
Figure 2-86:
Figure 2-87:
Figure 2-88:
Figure 2-89:
Figure 2-90:
Figure 2-91:
Figure 2-92:
Figure 2-93:
Figure 2-94:
Figure 2-95:
Figure 2-96:
Figure 2-97:
Figure 2-98:
Figure 2-99:
EPLAN settings.........................................................2-124
Figure 2-100:
Figure 2-101:
Figure 2-102:
Figure 2-103:
Figure 2-104:
Figure 2-105:
Figure 2-106:
Figure 2-107:
Figure 2-108:
Figure 2-109:
Menu "File"................................................................2-135
Figure 2-110:
Selecting files............................................................2-136
Figure 2-111:
Figure 2-112:
5219B
List of Figures
5219B
Figure 2-113:
Figure 2-114:
Figure 2-115:
Figure 2-116:
Figure 2-117:
Program variables.....................................................2-144
Figure 2-118:
Figure 2-119:
Figure 2-120:
Figure 2-121:
Preprocessing description.........................................2-149
Figure 2-122:
Figure 2-123:
Figure 2-124:
Figure 2-125:
Figure 2-126:
Figure 2-127:
Figure 2-128:
Presentation..............................................................2-159
Figure 2-129:
Figure 2-130:
Groups ......................................................................2-161
Figure 2-131:
Alternatives ...............................................................2-162
Figure 2-132:
Figure 2-133:
Figure 2-134:
Figure 2-135:
Figure 2-136:
Figure 2-137:
Figure 2-138:
Figure 2-139:
Figure 2-140:
Figure 2-141:
Password Request....................................................2-174
Figure 2-142:
Settings .....................................................................2-175
Figure 2-143:
Settings "Driver"........................................................2-176
A-5
IBS CMD G4
A-6
Figure 2-144:
Figure 2-145:
Figure 2-146:
Driver settings...........................................................2-179
Figure 2-147:
Figure 2-148:
Figure 2-149:
Figure 2-150:
Settings "General".....................................................2-182
Figure 2-151:
Figure 2-152:
Figure 2-153:
Service primitives......................................................2-183
Figure 2-154:
Figure 2-155:
Figure 2-156:
Figure 2-157:
Settings "Password"..................................................2-188
Figure 2-158:
Figure 2-159:
About ........................................................................2-190
Figure 3-1:
Figure 3-2:
Figure 3-3:
Menu "Diagnostics".......................................................3-6
Figure 3-4:
Figure 3-5:
Figure 3-6:
Menu "Window".............................................................3-7
Figure 3-7:
Figure 3-8:
Settings .........................................................................3-8
Figure 3-9:
Figure 3-10:
Figure 3-11:
Figure 3-12:
Figure 3-13:
Figure 3-14:
Delete file?..................................................................3-14
Figure 3-15:
Message types............................................................3-15
5219B
List of Figures
5219B
Figure 3-16:
Figure 3-17:
Figure 3-18:
Figure 3-19:
Figure 3-20:
Figure 3-21:
Top ten........................................................................3-24
Figure 3-22:
Figure 4-1:
Address monitor............................................................4-3
Figure 4-2:
Figure 4-3:
Figure 4-4:
DRIVECOM Monitor......................................................4-8
Figure 4-5:
Figure 4-6:
Figure 4-7:
Figure 4-8:
Figure 4-9:
Figure 4-10:
Figure 4-11:
Figure 4-12:
Figure 4-13:
Figure 4-14:
Figure 4-15:
Figure 4-16:
Figure 4-17:
Figure 4-18:
Figure 4-19:
Figure 4-20:
Menu File..................................................................4-30
Figure 4-21:
Figure 4-22:
Figure 4-23:
Figure 4-24:
Menu ? .....................................................................4-32
A-7
IBS CMD G4
A-8
Figure 4-25:
Figure 4-26:
Figure 4-27:
Figure 4-28:
Figure 4-29:
Figure 4-30:
Figure 4-31:
Figure 4-32:
Figure 4-33:
Figure 4-34:
Figure 4-35:
Figure 4-36:
Figure 4-37:
Figure 4-38:
Figure 4-39:
Figure 4-40:
Figure 4-41:
Figure 4-42:
Figure 4-43:
Figure 5-1:
Overview .......................................................................5-5
Figure 5-2:
Figure 5-3:
Figure 5-4:
Menu bar.......................................................................5-8
Figure 5-5:
Menu "File"....................................................................5-8
Figure 5-6:
Figure 5-7:
Figure 5-8:
Figure 5-9:
Worksheet management.............................................5-10
Figure 5-10:
Figure 5-11:
Figure 5-12:
Search ........................................................................5-13
5219B
List of Figures
5219B
Figure 5-13:
No matches found.......................................................5-13
Figure 5-14:
Figure 5-15:
No matches found.......................................................5-14
Figure 5-16:
Figure 5-17:
Figure 5-18:
Figure 5-19:
Figure 5-20:
Figure 5-21:
Figure 5-22:
Figure 5-23:
Constant .....................................................................5-20
Figure 5-24:
Comment ....................................................................5-20
Figure 5-25:
Menu "Layout".............................................................5-21
Figure 5-26:
Toolbar........................................................................5-21
Figure 5-27:
Representation of buttons...........................................5-21
Figure 5-28:
Figure 5-29:
Figure 5-30:
Figure 5-31:
Figure 5-32:
Figure 5-33:
Figure 5-34:
Menu "Make"...............................................................5-27
Figure 5-35:
Figure 5-36:
Figure 5-37:
Figure 5-38:
Figure 5-39:
Figure 5-40:
Overwrite Variables.....................................................5-30
Figure 5-41:
Overwrite Variables.....................................................5-30
Figure 5-42:
Figure 5-43:
OR block .....................................................................5-35
A-9
IBS CMD G4
A-10
Figure 5-44:
Figure 5-45:
XOR block...................................................................5-35
Figure 5-46:
Figure 5-47:
Figure 5-48:
Figure 5-49:
Figure 5-50:
Figure 5-51:
Figure 5-52:
Figure 5-53:
GT block .....................................................................5-39
Figure 5-54:
GE block .....................................................................5-39
Figure 5-55:
EQ block .....................................................................5-39
Figure 5-56:
LE block ......................................................................5-40
Figure 5-57:
LT block ......................................................................5-40
Figure 5-58:
NE block .....................................................................5-40
Figure 5-59:
Figure 5-60:
BCD_TO_DINT block..................................................5-41
Figure 5-61:
Figure 5-62:
Figure 5-63:
Figure 5-64:
Figure 5-65:
Figure 5-66:
Figure 5-67:
NEG block...................................................................5-45
Figure 5-68:
Figure 5-69:
Figure 5-70:
Figure 5-71:
Figure 5-72:
Figure 5-73:
Figure 5-74:
5219B
List of Figures
5219B
Figure 5-75:
Figure 5-76:
Figure 5-77:
F_TRIG block..............................................................5-49
Figure 5-78:
Figure 5-79:
Figure 5-80:
Figure 5-81:
Figure 5-82:
Figure 5-83:
Figure 5-84:
Figure 5-85:
RESET_OUT_IN01_SW block....................................5-53
Figure 5-86:
Figure 5-87:
RESET_OUT_IN10_SW block....................................5-54
Figure 5-88:
Figure 6-1:
Figure 6-2:
Figure 6-3:
Figure 6-4:
Bus representation........................................................6-7
Figure 6-5:
Figure 6-6:
Figure 6-7:
Figure 6-8:
Module designations...................................................6-13
A-11
IBS CMD G4
A-12
5219B
Index
A 2 Index
Symbols
.BG4...............................................1-17
.CSV ..............................................1-17
.EPL ...............................................1-17
.FCX...............................................1-18
.GP.................................................1-17
.INI .................................................1-17
.MES ..............................................1-17
.PAX...............................................1-17
.PEX...............................................1-17
.STC...............................................1-17
.SVC ..............................................1-17
? menu.........................................2-189
A
About ...........................................2-190
About (Preprocessing) ...................5-29
ABS block ......................................5-45
Action editor...................................2-67
Action library ..................................2-66
Actions ...........................................2-70
Activate
Add-on programms.................2-166
Configuration frame..................2-80
ACTIVE..........................................2-77
ADD block......................................5-36
Add-on programms
Activate...................................2-166
Deactivate ..............................2-167
Add-on programs .............................1-9
Address assignment ....................2-114
Address of Phoenix... 2-191, 5-59, 6-17
Address range .............................2-109
Address selection ............................4-5
5219B
Addresses
Set...................................2-56, 2-57
Adress area
Set............................................2-57
Alarm stop .....................................2-81
AND block .....................................5-35
ANY ...............................................5-32
ANY_BIT .......................................5-32
ANY_INT .......................................5-32
ANY_REAL....................................5-32
Arithmetic comparison
(Preprocessing) ..................5-39
Arithmetic operators
(Preprocessing) ..................5-36
ASCII file
AWL data ...............................2-126
CSV file ..................................2-118
EPLAN data ...........................2-123
INTERBUS data.....................2-125
Write.......................................2-118
Assign
Addresses ..............................2-114
Destinations ...........................2-106
Destinations to process data..2-106
Process data descriptions......2-111
Variables ................................2-111
Assign addresses
Automatic ...............................2-110
Assignment..................................2-148
Automatic assignment of
addresses .........................2-110
AWL data.....................................2-126
A-13
IBS CMD G4
B
Back to CMD (Preprocessing) .........5-9
BCD_TO_DINT Block ....................5-41
Bistable elements (Preprocessing) 5-48
Bit manipulation (Preprocessing)...5-42
Bit selection
User functions ..........................2-90
Bit selection
Events ......................................2-90
BK module ........................... 2-19, 2-20
Block
*_TO_*......................................5-41
ABS ..........................................5-45
ADD..........................................5-36
AND..........................................5-35
BCD_TO_DINT ........................5-41
CTD ..........................................5-51
CTU ..........................................5-50
CTUD .......................................5-51
DIV ...........................................5-38
EQ ............................................5-39
F_TRIG.....................................5-49
GE ............................................5-39
GT ............................................5-39
LE .............................................5-40
LIMIT_*.....................................5-46
LT .............................................5-40
MAX_* ......................................5-46
MIN_* ............................. 5-46, 5-47
MOD .........................................5-38
MOVE.......................................5-38
MUL..........................................5-36
NE ............................................5-40
NEG..........................................5-45
NOT..........................................5-35
OR ............................................5-35
R_TRIG ....................................5-49
A-14
RESET_OUT_IN01..................5-52
RESET_OUT_IN01_SW ..........5-53
RESET_OUT_IN10..................5-53
RESET_OUT_IN10_SW ..........5-54
ROL..........................................5-44
ROR .........................................5-43
RS-Flip-Flop.............................5-48
SHL ..........................................5-42
SHR .........................................5-43
SQRT .......................................5-45
SR-Flip-Flop.............................5-48
SUB..........................................5-37
TRUNC_* .................................5-42
XOR .........................................5-35
Blocks (Preprocessing) ........5-33, 5-35
Boolean link (Preprocessing)5-33, 5-35
Box display ....................................2-29
Bus editor ........................................6-5
Bus line.................................6-10, 6-11
Bus mode
Set............................................2-47
Bus system messages .................3-25
C
Check parameterization of controller
board ..................................2-74
Checking
Hardware .................................1-13
Close
Diagnostics ..............................3-10
Close a file (DRIVECOM monitor). 4-39
Comment (Preprocessing) ............5-20
Communication paths......................1-6
Communication references .........2-173
Compare
Configuration frame ...............2-153
Parameterization memory......2-134
5219B
Index
5219B
A-15
IBS CMD G4
Data transmission
Start..........................................2-81
Stop ..........................................2-81
Data types (Preprocessing) ...........5-32
Database ............................ 2-22,2-181
Database (general)
Set ..........................................2-186
Deactivate
Add-on programms.................2-167
Deactivate configuration frame ......2-80
Default size (Preprocessing)..........5-24
Define
Events ......................................2-88
User functions ..........................2-85
Delete ............................................2-18
Device description ..................2-170
Delete (DRIVECOM monitor).........4-40
Delete (Preprocessing) ..................5-12
Delete a file....................................2-11
Delete a file (DRIVECOM monitor) 4-35
Delete worksheet (Preprocessing).5-13
Description.....................................2-35
Configuration frame................2-152
Controller board........................2-83
Device ....................................2-154
PLC/PC ....................................2-39
Preprocessing ........................2-149
Project ............................ 2-35, 2-37
Designation of modules .................6-13
A-16
Device
Description .............................2-154
Process data ..........................2-162
States.......................................4-52
Device control
(DRIVECOM monitor )........4-14
Device database............................2-22
Set..........................................2-181
Device description
Create ....................................2-168
Delete.....................................2-170
Export.....................................2-172
Import .....................................2-171
Print........................................2-170
Device parameterization..................4-7
Device parameterization
(DRIVECOM monitor)
Menu structure .........................4-30
Device registration.........................2-97
Device registration
Automatic .................................2-99
Device types ....................................1-4
Diagnostic register.........................2-43
Diagnostics .................................... 1-17
Close ........................................ 3-10
General information ...................3-3
Main window ..............................3-4
Menu commands .......................3-6
Messages (online)....................3-10
Set..............................................3-8
Diagnostics display
Update .....................................2-82
Dialog box
"Action Editor" .......................... 2-68
"Action/Service Result" .......... 2-183
"Activate Add-on Program" ....2-166
"Address Areas".....................2-109
5219B
Index
"Address Monitor".......................4-3
"Automatic Assignment" .........2-111
"Change Device Description" .2-154
"Change Password" ...............2-188
"Comment" ..................... 3-19, 5-20
"Configuration Frame" ............2-152
"Constant" ................................5-20
"Create CSV File"...................2-119
"Create Device Description" ...2-172
"CSV File Options" .................2-122
"Deactivate Add-on Program" 2-167
"Device Database" .................2-181
"Device Description For Library" ..2168
"Driver Settings" .....................2-179
"Driver" ...................................2-176
"Edit Macro".................... 2-95, 2-96
"Edit Parameter".......................2-92
"Evaluate Messages" ...............3-13
"Evaluate Transmission
Statistics".......................3-20
"Events"....................................2-88
"Execute Parameterization"......2-76
"Filter".....................................2-115
"Formal Parameter"........ 5-16, 5-18
"Function/Function Block"5-16, 5-17
"Insert Device"..........................2-18
"Insert with Device Description" .2-22
"Interface Type for BK Module" 2-158
"Local Find" ..............................5-13
"Local Replace" ........................5-14
"Memory Card" .......................2-130
"Message Types" .....................3-15
"Messages (Online)".................3-12
"Operating State"........................2-6
"Parameter Channel"..............2-157
"PLC/PC Description"...............2-39
5219B
"Print" .......................................2-12
"Process Data" ............2-103, 2-163
"Program Description"..............2-40
"Project Description" ................2-37
"Record Statistic" ..................... 3-17
"Save As" ................................. 5-12
"Save Statistic File" ....................3-9
"Search Error Location"..........2-112
"Select Address" ........................4-6
"Select Connection" ....2-178, 2-180
"Select Controller Board" .......2-101
"Select Directory" ...................2-185
"Service Comment" ..................2-97
"Settings".........................2-175, 3-8
"User Function" ........................2-85
"Variable Selection"..................5-19
"Variables"..............................2-144
"Worksheet Management" .......5-10
"Worksheet Size" .....................5-22
Action Editor.............................2-67
Action Library ...........................2-66
Action/Service Editor................2-79
Digital process data monitor..........4-49
Direct link.....................................2-112
Display.........................................2-159
Display options ..............................2-32
Distance between INTERBUS
devices ...............................1-13
DIV block .......................................5-38
DRIVECOM monitor ........................4-7
Context menu Settings...............4-8
Control word.............................4-14
Keyboard assignment ..............4-20
Set..............................................4-8
State transitions .......................4-16
Status machine ........................4-15
Status word ..............................4-14
A-17
IBS CMD G4
E
Edge recognition (Preprocessing) .5-49
Edit.................................................2-15
Parameter.................................2-92
Elements in the workspace............1-18
EPLAN data .................................2-123
EPLAN viewer................................2-38
EQ block ........................................5-39
Error
Bus representation .....................6-8
Devices with most errors ..........3-24
Local bus error .........................3-23
Top ten .....................................3-24
Error (Preprocessing)
Compiling error.........................5-27
Error location ...............................2-112
Error messages
Ignore .......................................4-42
Errors .............................................1-10
Evaluate
Message file .............................3-13
Statistics file .............................3-20
Events
Define .......................................2-88
Execute parameterization of
controller board ...................2-76
Exit a file ........................................2-13
Exit a file (Preprocessing)................5-9
Export
Device description ..................2-172
IB user functions.......................2-90
F
F_TRIG block ................................5-49
File
Close (DRIVECOM monitor) ...4-30,
4-39
Export (DRIVECOM monitor) ...4-37
Import (DRIVECOM monitor) ...4-36
Load (DRIVECOM monitor) ..... 4-33
New (DRIVECOM monitor) ..... 4-30
Parameterization memory......2-135
Print (DRIVECOM monitor)......4-38
File (Preprocessing) ........................5-8
Exit .............................................5-9
Save...........................................5-8
Files
Project files ..............................1-17
Filter
Process data ..........................2-115
Variables ................................ 2-147
Find (Preprocessing) .....................5-13
Firmware library...........................2-189
First steps....................................2-190
Format of "Value" entry .................2-69
Function (Preprocessing) ..............5-17
Function block (Preprocessing).....5-17
Function key bar............................1-14
A-18
G
G3 functions (Preprocessing)........5-52
GE block ........................................ 5-39
General information about
diagnostics............................3-3
General information about
preprocessing .......................5-5
5219B
Index
Grid (Preprocessing)......................5-25
GT block ........................................5-39
Guide ...........................................2-190
H
Hardware
Checking ..................................1-13
Hardware/software equipment.......1-12
Help (Diagnostics) .........................3-26
Help (DRIVECOM monitor)............4-43
Help (Preprocessing) .....................5-29
Hotline....................... 2-191, 5-59, 6-17
I
I/O coupling
Set ............................................2-60
IB function blocks...........................2-84
Import .......................................2-94
IB user functions
Export .......................................2-90
IBS data records
Set ............................................2-59
Impor
IB user functions.......................2-94
Import
Device description ..................2-171
Preprocessing ........................2-150
Import a file (DRIVECOM monitor) 4-36
Import parameterization of controller
board...................................2-75
Insert from (Preprocessing) ...........5-12
Insert with description ....................2-20
Insert with ID code .........................2-18
Installation
Remote bus ................................1-5
INTERBUS.......................................1-3
INTERBUS data...........................2-125
INTERBUS-S Club e.V. .................1-11
5219B
Interface ........................................1-11
Interface type...............................2-158
K
Keyboard
Operation with..........................1-15
Keyboard assignment....................6-15
Diagnostics .............................. 3-27
DRIVECOM monitor................. 4-20
Keyword ...................................... 2-150
L
Layout (Preprocessing) .................5-21
LCD ............................................... 4-45
Control panel............................4-46
LE block......................................... 5-40
Length of the process data ............2-21
LIMIT_* block ................................ 5-46
Lines
Bus lines .................................. 6-10
Link objects (Preprocessing) .........5-15
Link with description ...................... 2-23
Load a file (DRIVECOM monitor) ..4-33
Local bus .........................................1-5
Location of process data .............2-163
LT block.........................................5-40
M
Macros...........................................2-94
Main window
Diagnostics ................................3-4
Preprocessing ............................5-7
SYSTEM WORX ...................... 1-14
Make (Preprocessing) ...................5-27
Margins..........................................5-25
Mark all objects (Preprocessing) ...5-14
MAX_* block .................................. 5-46
Menu
"?"............................ 2-189, 6-3, 6-4
A-19
IBS CMD G4
5219B
Index
P
Page borders (Preprocessing).......5-25
Parameter
Edit ...........................................2-92
Parameter channel ......................2-156
Parameter descriptions (DRIVECOM
monitor)
Compare...................................4-41
New ..........................................4-39
Read.........................................4-41
Parameter list (DRIVECOM monitor)
Read.........................................4-41
Parameterization data....................2-74
Parameterization memory............2-118
Compare.................................2-134
Description .............................2-130
File..........................................2-135
Format ....................................2-131
Read.......................................2-132
Read file .................................2-137
Select file................................2-136
Write .......................................2-133
Parameterizations..........................2-70
Password
Set ..........................................2-188
Paste..............................................2-17
DRIVECOM monitor .................4-40
Preprocessing ..........................5-12
Peripheral error..............................3-23
Preprocessing..................................5-5
Description .............................2-149
General information....................5-5
Import .....................................2-150
Main window...............................5-7
Menu structure ...........................5-8
Programming..........................2-149
Variables ................................2-143
5219B
Preprocessing variables
Context menu.........................2-146
Previous view (Preprocessing)......5-24
Print
Device description..................2-170
Print a file (DRIVECOM monitor)...4-38
Process data ...............................2-102
Assign destinations ................ 2-106
Assignment ............................ 2-148
Context menu.........................2-107
Device .................................... 2-162
Set ............................................. 2-187
Process data length
Determine ................................2-21
Process data monitor
Digital .......................................4-49
Processing.....................................4-54
Program description ........................1-6
Programming
Preprocessing ........................2-149
Project ........................................... 1-16
Data export ..............................2-37
Other files.................................1-17
Project description.........................2-37
Project files .................................... 1-17
R
R flipflop block ................................. 5-48
R_TRIG block................................5-49
Read
Configuration frame ...............2-152
Parametrization memory........2-132
Read (DRIVECOM monitor)
Parameter descriptions ............4-41
Parameter list...........................4-41
Values ......................................4-42
Read file
A-21
IBS CMD G4
ROL block......................................5-44
ROR block .....................................5-43
5219B
Index
5219B
Options...................................2-175
Password ...............................2-188
Process data ..........................2-187
Slot/Addresses.........................2-56
Standard register .....................2-42
SHL block ......................................5-42
SHR block .....................................5-43
Slot ..................................................1-6
Set............................................2-56
Software ..........................................1-6
SQRT block ...................................5-45
SR flipflop block.............................5-48
Standard function registers ...........2-42
Standard register
Set............................................2-42
Start data transmission..................2-81
State transitions
(DRIVECOM monitor).........4-16
States
Device ......................................4-52
Statistics
Record (online) ........................3-17
Statistics counter
Reset...............................2-82, 3-24
Statistics file
Evaluate ...................................3-20
Status bar ......................................5-22
Status Line ...........................1-15, 5-22
Status machine
(DRIVECOM monitor )........4-15
Status word
DRIVECOM monitor.................4-14
Statusline (Preprocessing) ............5-22
Stop data transmission..................2-81
Structure of a message file............3-11
Structure of a service ....................2-91
SUB block......................................5-37
A-23
IBS CMD G4
SVC file........................................2-125
System menu
DRIVECOM monitor .................4-20
T
Text (Preprocessing) .....................5-20
Title bar..........................................1-14
*_TO_* block..................................5-41
Toolbar (Preprocessing) ...... 5-21, 5-55
Topology ..........................................1-5
TRUNC_* block .............................5-42
Type
Messages .................................3-15
Type (Preprocessing)
Data..........................................5-32
Type conversion (Preprocessing) ..5-41
Type of controller board...............2-101
U
Undo ..............................................2-16
Undo (Preprocessing)....................5-11
Update
Diagnostics display...................2-82
Representation area.................2-34
Update (Preprocessing)
Representation area.................5-24
User functions
Define .......................................2-85
Using help....................................2-190
Diagnostics...............................3-26
DRIVECOM monitor .................4-43
Preprocessing ..........................5-29
Variables
Preprocessing ........................2-143
Variables (Preprocessing)
Overwrite..................................5-30
View............................................... 2-28
W
Wiring .....................................1-3, 1-13
Working storage ............................1-12
Worksheet (Preprocessing)
Compile....................................5-27
Next............................................5-9
Previous ...................................5-10
Size .......................................... 5-22
Worksheet management
(Preprocessing) ..................5-10
Workspace
Elements ..................................1-18
Write
Parameterization memory......2-133
Write (DRIVECOM monitor)
Values ......................................4-42
Write file
Parameterization memory......2-140
X
XOR block .....................................5-35
Z
Zoom in (Preprocessing) ...............5-23
Zoom out (Preprocessing).............5-24
Zoom range (Preprocessing).........5-23
V
Values (DRIVECOM monitor)
Compare...................................4-42
Read.........................................4-42
Write .........................................4-42
Variable (Preprocessing) ...............5-19
A-24
5219B
FAX Reply
Date:
Fax.-No:
Sender:
Company:
Name:
Department:
Address:
Job function:
City,Postal
code:
Phone:
Country
Fax:
Manual Data:
Designation:
Revision:
Order No.:
Yes
In part
No
Does the page layout make it easy to locate the required information?
Yes
In part
No
Contents
Other Comments:
Date:
Abteilung EE-PT
Phone: +49 - (0) 52 35 - 3-4 10 05
E-mail: [email protected]
Fax No.:
Sender:
Company:
Phone:
Name:
Fax:
Department:
E-mail:
System:
PC Data
Processor:
RAM:
Clock:
Operating system:
Version:
Software/Hardware Data
Software version:
Firmware version:
Field Controller/
Controller board:
Version date:
Version date:
Order number:
Hardware version:
SYSTEM WORX
PROGRAM WORX
GRAPH WORX
IBS CMD G4
Error
Message:
Correction:
Field Controller/
Controller board
In next version
In next release
In a later release
"nice to have
Enclosed:
Pages:
Files:
aufgenommen von:
Rckmeldung
Datum:
Datum: