Interbus Ibs CMD g4

Download as pdf or txt
Download as pdf or txt
You are on page 1of 408

INTERBUS

Reference Manual
IBS CMD G4

Designation:

IBS CMD SWT G4 UM E

Revision:

Order No.:

27 22 25 0

This manual is valid for:


IBS CMD SWT G4 4.4x

Phoenix Contact 05/1998

5219B

Please Observe the Following:


In order to guarantee that your use of this manual is as straightforward as
possible and that hardware is used safely in the installation, operation and
maintenance phases, we request that you carefully read and observe the
following notes:
Explanation of Symbols Used
The attention symbol refers to erroneous handling which could lead to damage to the hardware or software, or in indirect connection with dangerous
process peripherals, to personal injury. This symbol is always located to
the left of the tagged text.
The hand symbol gives you tips and advice on the efficient use of hardware
and on software optimization. In addition, text marked in this way informs
you of system-related conditions that must absolutely be observed to
achieve error-free operation. The hand is also found in front of clarifications
of terms.
The text symbol refers to detailed sources on information (manuals, data
sheets, literature, etc.) on the subject matter, product, etc. This text also
provides helpful information for the orientation, reading order etc. in the
manual.
We Are interested in Your Opinion
We are constantly attempting to improve the quality of our manuals. Should
you have any suggestions or recommendations for improvement of the
contents and layout of our manuals, we would appreciate it if you would
send us your comments. Please use the universal telefax form at the end
of the manual for this.
Statement of Legal Authority
This manual, including all illustrations contained herein, is copyright protected. Use of this manual by any third party in departure from the copyright
provision is forbidden. Reproduction, translation, or electronic or photographic archiving or alteration requires the express written consent of Phoenix
Contact. Violations are liable for damages.
Phoenix Contact reserves the right to make any technical changes that
serve for the purpose of technical progress.

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

Automation with INTERBUS .......................................................1-3

1.3

Device Types ..............................................................................1-4

1.4

Topology .....................................................................................1-5

1.5

Program Description ...................................................................1-6


1.5.1

Connecting Cable .........................................................1-7

1.6

Configuration...............................................................................1-8

1.7

Monitoring ...................................................................................1-9

1.8

Diagnostics................................................................................1-10

1.9

Add-on Programs ......................................................................1-11

1.10

Hardware Requirements ...........................................................1-12

1.11

Checking the Hardware.............................................................1-13

1.12

General Operating Instructions .................................................1-14


1.12.1 Operating and Display Elements ................................1-14
1.12.2 Operation with the Keyboard ......................................1-15

1.13

Project Files ..............................................................................1-16

1.14

Project Structure .......................................................................1-17

1.15

Description of Elements ............................................................1-18

2 Menu Structure .................................................................................................2-5


2.1

5219B

Menu "File..."...............................................................................2-6
2.1.1

Menu "File... Operating State" ......................................2-6

2.1.2

Menu "File... New" ........................................................2-7

2.1.3

Menu "File... Open..." ....................................................2-8

2.1.4

Conversion instructions (BUS -> BG4) .........................2-9

2.1.5

Menu "File... Save" .......................................................2-9

2.1.6

Menu "File... Save As..." .............................................2-10

2.1.7

Menu "File... Delete..." ................................................2-11

IBS CMD G4

2.2

2.1.8

Menu "File... Print..." ...................................................2-12

2.1.9

Menu "File... Exit" ........................................................2-13

Menu "Edit..." ............................................................................2-15


2.2.1

Menu "Edit... Undo" .....................................................2-16

2.2.2

Menu "Edit... Search..." ...............................................2-16

2.2.3

Menu "Edit... Cut" ........................................................2-16

2.2.4

Menu "Edit... Copy" .....................................................2-17

2.2.5

Menu "Edit... Paste" ....................................................2-17

2.2.6

Menu "Edit... Delete" ...................................................2-18

2.2.7

Menu "Edit... Replace" ................................................2-18

2.2.8

Menu "Edit... Insert with ID Code" ...............................2-18

2.2.9

Menu "Edit... Insert with Description" ..........................2-20

2.2.10 Menu "Edit... Link with Description" ............................2-23


2.2.11 Menu "Edit... Renumber" ............................................2-26
2.3

2.4

Menu "View..."...........................................................................2-28
2.3.1

Menu "View...Reduced Representation" .....................2-28

2.3.2

Menu "View... Box Display" .........................................2-29

2.3.3

Menu "View... Settings..." ............................................2-30

2.3.4

Dialog Box "Display Options" ......................................2-32

2.3.5

Menu "View... Refresh" ...............................................2-34

Menu "Configuration..." .............................................................2-35


2.4.1

Menu "Project... Description" ......................................2-37

2.4.2

Menu "Project... Export Project Data"


(<Project_name>.PEX) ...............................................2-37

2.4.3

Menu "Project... EPLAN Viewer..." .............................2-38

2.4.4

Menu "PLC/PC... Description..." .................................2-39

2.4.5

Menu "Program... Description" ....................................2-40

2.4.6

Menu "Controller Board... Settings" ............................2-41

2.4.7

Dialog Box "Settings... Standard Register" .................2-42

2.4.8

Dialog Box "Settings... IBS Data Records" .................2-59

2.4.9

Dialog Box "Settings... I/O Coupling" ..........................2-60

2.4.10 Menu "Controller Board... Parameterization" ..............2-62


2.4.11 Menu "Controller Board... Control..." ...........................2-77
2.4.12 Menu "Controller Board... Description" .......................2-83

ii

5219B

2.4.13 Menu "Controller Board... IB Function Blocks..." ........2-84


2.4.14 Menu "Controller Board... Process Data" ..................2-102
2.4.15 Menu "Parameterization Memory... Write ASCII File" 2-118
2.4.16 Menu "Preprocessing...Variables" ............................2-143
2.4.17 Menu "Configuration Frame..." ..................................2-152
2.4.18 Menu "Device..." .......................................................2-154
2.5

Menu "Options..." ....................................................................2-165


2.5.1

Menu "Options... Add-on Programs... Activate..." .....2-166

2.5.2

Menu "Options... Add-on Programs... Deactivate" ....2-167

2.5.3

Menu "Options... Device Description... Create" ........2-168

2.5.4

Menu "Options... Device Description... Print" ............2-170

2.5.5

Menu "Options... Device Description... Delete" .........2-170

2.5.6

Menu "Options... Device Description... Import" .........2-171

2.5.7

Menu "Options... Device Description... Export" .........2-172

2.5.8

Menu "Options... Reset CRs" ....................................2-173

2.5.9

Menu "Options... Extended Scope of Functions" ......2-174

2.5.10 Menu "Options... Settings" ........................................2-175


2.5.11 Menu "Options... Settings... Driver" ..........................2-176
2.6

Menu "?..."...............................................................................2-189
2.6.1

Menu "?... Contents IBS CMD G4" ...........................2-189

2.6.2

Menu "?... Operating Instructions" ............................2-189

2.6.3

Menu "?... Firmware Library" ....................................2-189

2.6.4

Menu "?... First Steps" ..............................................2-190

2.6.5

Menu "?... Using Help" ..............................................2-190

2.6.6

Menu "?... About" ......................................................2-190

3 Diagnostics .......................................................................................................3-3

5219B

3.1

General Information ....................................................................3-3

3.2

Main Window "Diagnostics" ........................................................3-4

3.3

Menu "Commands Diagnostics"..................................................3-6


3.3.1

Menu "Diagnostics... Settings..." ...................................3-8

3.3.2

Menu "Diagnostics... Close" ........................................3-10

3.3.3

Menu "Messages... Messages (Online)..." ..................3-10

iii

IBS CMD G4
3.3.4

Menu "Messages... Evaluate Message File..." ............3-13

3.3.5

Menu "Messages... Message Types..." .......................3-15

3.3.6

Menu "Statistics... Record Statistics (Online)..." .........3-17

3.3.7

Menu "Statistics... Evaluate Statistics File..." ..............3-20

3.3.8

Menu "Statistics... Last Peripheral Error..." .................3-23

3.3.9

Menu "Statistics... Top Ten..." .....................................3-24

3.3.10 Menu "Statistics... Reset Statistics Counter" ..............3-24


3.3.11 Menu "Window... Bus System Messages" ..................3-25
3.3.12 Menu "?... Contents" ...................................................3-26
3.3.13 Menu "?... Using Help" ................................................3-26
3.4

Keyboard Assignment Diagnostics ...........................................3-27

4 Monitor..............................................................................................................4-3
4.1

Address Monitor ..........................................................................4-3


4.1.1

4.2

Address Selection .........................................................4-6

DRIVECOM Monitor / Device Parameterization..........................4-7


4.2.1

DRIVECOM Monitor ......................................................4-7

4.2.2

Device Parameterization ...............................................4-7

4.2.3

Status Word DRIVECOM Monitor ...............................4-14

4.2.4

Control Word DRIVECOM Monitor .............................4-14

4.2.5

Device Control Status Machine (DRIVECOM-Monitor) 4-15

4.2.6

Device Control State transitions (DRIVECOM Monitor) 4-16

4.2.7

System Menu "DRIVECOM Monitor" ..........................4-20

4.2.8

Keyboard Assignment DRIVECOM Monitor ...............4-20

4.2.9

Dialog Main Window (Device Parameterization) .........4-21

4.2.10 Context menu "Device Parameterization" ...................4-24


4.2.11 Menu "Structure Device Parameterization" .................4-30
4.2.12 Menu (Device Parameterization) "File... New" ............4-32
4.2.13 Menu (Device Parameterization) "File... Load" ...........4-33
4.2.14 Menu (Device Parameterization) "File... Save" ...........4-33
4.2.15 Menu (Device Parameterization) "File... Save As..." ...4-34
4.2.16 Menu (Device Parameterization) "File... Delete" .........4-35
4.2.17 Menu (Device Parameterization) "File... Import" .........4-36
4.2.18 Menu (Device Parameterization) "File... Export" .........4-37

iv

5219B

4.2.19 Menu (Device Parameterization) "File... Print" ............4-38


4.2.20 Menu (Device Parameterization) "File... Close" ..........4-39
4.2.21 Menu (Device Parameterization) "Edit...
New Parameter Description" .......................................4-39
4.2.22 Menu (Device Parameterization) "Edit... Cut" .............4-39
4.2.23 Menu (Device Parameterization) "Edit... Copy" ..........4-39
4.2.24 Menu (Device Parameterization) "Edit... Paste" .........4-40
4.2.25 Menu (Device Parameterization) "Edit... Delete" ........4-40
4.2.26 Menu (Device Parameterization) "Edit... Select All" ....4-40
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

5219B

Control Panel of the LCD ............................................4-46

4.4

Digital Process Data Monitor.....................................................4-49

4.5

Device States ............................................................................4-52

4.6

Processing/Monitoring...............................................................4-54

IBS CMD G4

5 Preprocessing...................................................................................................5-5
5.1

General Information ....................................................................5-5

5.2

Main Window "Preprocessing" ....................................................5-7

5.3

Menu Structure "Preprocessing" .................................................5-8

5.4

Menu "File..."...............................................................................5-8
5.4.1

Menu "File... Save" .......................................................5-8

5.4.2

Menu "File... Back to CMD" ..........................................5-9

5.4.3

Menu "File... Exit" ..........................................................5-9

5.4.4

Menu "Edit... Next WS" .................................................5-9

5.4.5

Menu "Edit... Prev. WS" ..............................................5-10

5.4.6

Menu "Edit... WS manag." ..........................................5-10

5.4.7

Menu "Edit... Undo" .....................................................5-11

5.4.8

Menu "Edit... Cut" ........................................................5-11

5.4.9

Menu "Edit... Copy" .....................................................5-11

5.4.10 Menu "Edit... Paste" ....................................................5-12


5.4.11 Menu "Edit... Delete" ...................................................5-12
5.4.12 Menu "Edit... Copy To..." .............................................5-12
5.4.13 Menu "Edit... Insert From" ...........................................5-12
5.4.14 Menu "Edit... Delete Worksheet" .................................5-13
5.4.15 Menu "Edit... Find" ......................................................5-13
5.4.16 Menu "Edit... Find and Replace" .................................5-14
5.4.17 Menu "Edit... Mark All Objects" ...................................5-14
5.4.18 Menu "Edit... Mark Object" ..........................................5-15
5.4.19 Menu "Edit... Link Objects" .........................................5-15
5.4.20 Menu "Edit... Object open" ..........................................5-15
5.4.21 Menu "Edit... Object Properties" .................................5-15
5.5

vi

Menu "Object..." ........................................................................5-17


5.5.1

Menu "Object... Function/Function Block" ...................5-17

5.5.2

Menu "Object... Variable" ............................................5-19

5.5.3

Menu "Object... Constant" ...........................................5-20

5.5.4

Menu "Object... Text (Comment)" ...............................5-20

5.5.5

Menu "Layout..." ..........................................................5-21

5.5.6

Menu "Layout... Toolbar" ............................................5-21

5219B

5.5.7

Menu "Layout... Statusline" .........................................5-22

5.5.8

Menu "Layout... WS size" ...........................................5-22

5.5.9

Menu "Layout... Zoom Range" ....................................5-23

5.5.10 Menu "Layout... Zoom in" ............................................5-23


5.5.11 Menu "Layout... Zoom out" .........................................5-24
5.5.12 Menu "Layout... Previous View" ..................................5-24
5.5.13 Menu "View... Default Size" ........................................5-24
5.5.14 Menu "Layout... Redraw" ............................................5-24
5.5.15 Menu "Layout... Grid" ..................................................5-25
5.5.16 Menu "Layout... Page Borders" ...................................5-25
5.5.17 Menu "Layout... Online Layout" ..................................5-25
5.6

Menu "Make..."..........................................................................5-27
5.6.1

Menu "Make... Compile All" ........................................5-27

5.6.2

Menu "Make... Check Unit" .........................................5-28

5.6.3

Menu "Make... Next Error" ..........................................5-28

5.6.4

Menu "Make... Prev. Error" .........................................5-28

5.7

Menu "?...".................................................................................5-29

5.8

Data Types Preprocessing........................................................5-32

5.9

5.8.1

ANY_BIT - Group ........................................................5-32

5.8.2

ANY_INT - Group ........................................................5-32

5.8.3

ANY_REAL - Group ....................................................5-32

Blocks Preprocessing................................................................5-33
5.9.1

Blocks Bit-by-Bit Boolean Link ....................................5-35

5.9.2

Blocks Arithmetic Operators .......................................5-36

5.9.3

Blocks Arithmetic Comparison ....................................5-39

5.9.4

Blocks Type Conversion .............................................5-41

5.9.5

Blocks Bit Manipulation ...............................................5-42

5.9.6

Blocks Numerical Functions ........................................5-45

5.9.7

Blocks Bistable Elements ............................................5-48

5.9.8

Blocks Edge Recognition ............................................5-49

5.9.9

Blocks Counters ..........................................................5-50

5.9.10 Blocks G3 Functions ...................................................5-52

5219B

5.10

Toolbar ......................................................................................5-55

5.11

Keyboard Assignment ...............................................................5-57


vii

IBS CMD G4

6 Others ...............................................................................................................6-3

viii

6.1

Message Box ..............................................................................6-3

6.2

Bus Editor....................................................................................6-5

6.3

Bus Representation in the Event of an Error...............................6-8

6.4

Connecting Leads of the Bus Lines ..........................................6-10

6.5

Mouse Menu / Context Menu ...................................................6-12

6.6

Explanation of the Module Designations...................................6-13

6.7

Keyboard Assignment ...............................................................6-15

6.8

Address and Hotline..................................................................6-17

5219B

Section 1
This section informs you about
general information on how to work with IBS CMD G4

11 General Information .......................................................................................1-3


1.1

Basic Principles...........................................................................1-3

1.2

Automation with INTERBUS .......................................................1-3

1.3

Device Types ..............................................................................1-4

1.4

Topology .....................................................................................1-5

1.5

Program Description ...................................................................1-6


1.5.1

Connecting Cable .........................................................1-7

1.6

Configuration...............................................................................1-8

1.7

Monitoring ...................................................................................1-9

1.8

Diagnostics................................................................................1-10

1.9

Add-on Programs ......................................................................1-11

1.10

Hardware Requirements ...........................................................1-12

1.11

Checking the Hardware.............................................................1-13

1.12

General Operating Instructions .................................................1-14


1.12.1 Operating and Display Elements ................................1-14
1.12.2 Operation with the Keyboard ......................................1-15

5219B

1.13

Project Files ..............................................................................1-16

1.14

Project Structure .......................................................................1-17

1.15

Description of Elements ............................................................1-18

1-1

IBS CMD G4

1-2

5219B

General Information

General Information
1.1

Basic Principles

INTERBUS system, the fast, universal sensor/actuator bus system.


The INTERBUS network (or IBS for short) shifts the I/O level from the master PLC or PC system (Host) directly to the machine or system. A serial bus
cable connects the host with the I/O modules installed in the system. This
reduces the amount of wiring involved to a minimum compared to conventional parallel wiring.

Figure 1-1

1.2

Basic principles

Automation with INTERBUS

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

Controller boards for


Programmable logic controllers (PLCs)
Computer systems such as PCs, VME systems and industrial
computers
Input/Output units for
Analog input/output
Digital input/output
IP 20 Degree of protection
IP 65 Degree of protection
IP 67 Degree of protection
High-tech modules for
Wrenching controllers
Positioning controllers
Robot controllers
Drives
DRIVECOM standard
Frequency inverters, servo drives
General drive engineering
Pneumatic valve terminals
Hydraulic valve terminals
Encoders
ENCOM standard
Identification systems
Operating and display equipment
MMICOM standard

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

The local bus is designed for low-cost, flexible configuration of a distributed


sub-station in cabinets and terminal boxes. A bus terminal module (BK
module) starts the local bus. The local bus cables connect the various local
bus modules to the respective BK module and to each other.

Installation remote
bus

The installation remote bus corresponds in its configuration to the remote


bus but offers the option of carrying a supply voltage for sensors in the bus
cable (hybrid cable structure). The installation remote bus can be configured with CDI, CDO, DIO modules and other installation remote bus de-

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

Parameterization of all INTERBUS devices

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

Serial connecting cable

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

Checking the Hardware

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

General Operating Instructions

Figure 1-8

1.12.1

Main window

Operating and Display Elements

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.

Function key bar

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

Operation with the Keyboard

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

An automation project can be divided as follows:


A project may consist of several PLCs/PCs. Several controller boards may
be installed in one PLC/PC system. There may be several configuration
frames on one controller board which contain INTERBUS devices.
The representation of a project in IBS CMD G4, therefore, always contains
the following basic structure:
Project
PLC/PC
Program
Controller Board
Parameterization Memory
Preprocessing
Configuration Frame

Figure 1-9

1-16

Elements

5219B

General Information

1.14

Project Structure

IBS CMD G4 generates the following files for a project:


<PROJECT>.BG4

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

Project initialization file.


All files of a project are stored on the hard disk in a common directory.
Loading and saving is carried out using a Windows file menu. With the
"Save As" dialog box, all files with this project name are copied. If files already exist with the same name in the target directory, an overwrite warning is issued.
Other Files:
There are a number of other file types in addition to the central project files.

*.GP

In these files you can store individual worksheets from the preprocessing.

*.PAX

In these files you can save the parameterization of your INTERBUS


projects. For example, the parameterization contains the startup behavior
of INTERBUS and the bus topology.

*.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

The elements available in the workspace:


"Project", "PLC/PC", "Program", "Controller Board", "Parameterization
Memory", "Preprocessing", and "Configuration Frame" as well as every device, can be described respectively by a special dialog box. In these dialog
boxes, information about the type, programmer, position, comment, etc.
can be assigned to the individual 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 Menu Structure .................................................................................................2-5


2.1

2.2

Menu "File..."...............................................................................2-6
2.1.1

Menu "File... Operating State" ......................................2-6

2.1.2

Menu "File... New" ........................................................2-7

2.1.3

Menu "File... Open..." ....................................................2-8

2.1.4

Conversion instructions (BUS -> BG4) .........................2-9

2.1.5

Menu "File... Save" .......................................................2-9

2.1.6

Menu "File... Save As..." .............................................2-10

2.1.7

Menu "File... Delete..." ................................................2-11

2.1.8

Menu "File... Print..." ...................................................2-12

2.1.9

Menu "File... Exit" ........................................................2-13

Menu "Edit..." ............................................................................2-15


2.2.1

Menu "Edit... Undo" .....................................................2-16

2.2.2

Menu "Edit... Search..." ...............................................2-16

2.2.3

Menu "Edit... Cut" ........................................................2-16

2.2.4

Menu "Edit... Copy" .....................................................2-17

2.2.5

Menu "Edit... Paste" ....................................................2-17

2.2.6

Menu "Edit... Delete" ...................................................2-18

2.2.7

Menu "Edit... Replace" ................................................2-18

2.2.8

Menu "Edit... Insert with ID Code" ...............................2-18

2.2.9

Menu "Edit... Insert with Description" ..........................2-20

2.2.10 Menu "Edit... Link with Description" ............................2-23


2.2.11 Menu "Edit... Renumber" ............................................2-26
2.3

5219B

Menu "View..."...........................................................................2-28
2.3.1

Menu "View...Reduced Representation" .....................2-28

2.3.2

Menu "View... Box Display" .........................................2-29

2.3.3

Menu "View... Settings..." ............................................2-30

2.3.4

Dialog Box "Display Options" ......................................2-32

2.3.5

Menu "View... Refresh" ...............................................2-34

2-1

IBS CMD G4
2.4

Menu "Configuration..." .............................................................2-35


2.4.1

Menu "Project... Description" ......................................2-37

2.4.2

Menu "Project... Export Project Data"


(<Project_name>.PEX) ...............................................2-37

2.4.3

Menu "Project... EPLAN Viewer..." .............................2-38

2.4.4

Menu "PLC/PC... Description..." .................................2-39

2.4.5

Menu "Program... Description" ....................................2-40

2.4.6

Menu "Controller Board... Settings" ............................2-41

2.4.7

Dialog Box "Settings... Standard Register" .................2-42

2.4.8

Dialog Box "Settings... IBS Data Records" .................2-59

2.4.9

Dialog Box "Settings... I/O Coupling" ..........................2-60

2.4.10 Menu "Controller Board... Parameterization" ..............2-62


2.4.11 Menu "Controller Board... Control..." ...........................2-77
2.4.12 Menu "Controller Board... Description" .......................2-83
2.4.13 Menu "Controller Board... IB Function Blocks..." ........2-84
2.4.14 Menu "Controller Board... Process Data" ..................2-102
2.4.15 Menu "Parameterization Memory... Write ASCII File" 2-118
2.4.16 Menu "Preprocessing...Variables" ............................2-143
2.4.17 Menu "Configuration Frame..." ..................................2-152
2.4.18 Menu "Device..." .......................................................2-154
2.5

Menu "Options..." ....................................................................2-165


2.5.1

Menu "Options... Add-on Programs... Activate..." .....2-166

2.5.2

Menu "Options... Add-on Programs... Deactivate" ....2-167

2.5.3

Menu "Options... Device Description... Create" ........2-168

2.5.4

Menu "Options... Device Description... Print" ............2-170

2.5.5

Menu "Options... Device Description... Delete" .........2-170

2.5.6

Menu "Options... Device Description... Import" .........2-171

2.5.7

Menu "Options... Device Description... Export" .........2-172

2.5.8

Menu "Options... Reset CRs" ....................................2-173

2.5.9

Menu "Options... Extended Scope of Functions" ......2-174

2.5.10 Menu "Options... Settings" ........................................2-175


2.5.11 Menu "Options... Settings... Driver" ..........................2-176
2.6

Menu "?..."...............................................................................2-189
2.6.1

2-2

Menu "?... Contents IBS CMD G4" ...........................2-189

5219B

5219B

2.6.2

Menu "?... Operating Instructions" ............................2-189

2.6.3

Menu "?... Firmware Library" ....................................2-189

2.6.4

Menu "?... First Steps" ..............................................2-190

2.6.5

Menu "?... Using Help" ..............................................2-190

2.6.6

Menu "?... About" ......................................................2-190

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

Context menu of unmarked elements

2-5

IBS CMD G4

2.1

Menu "File..."

Figure 2-3

2.1.1

Figure 2-4
Configuration
(Offline)

Menu "File..."

Menu "File... Operating State"

Set operating state

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)

In this operating state a connection to the controller board is established.


In this operating state you can read in a physically available bus configuration or copy data configured in IBS CMD G4 to the controller board and
have them executed there. In addition you can write to the parameterization memory of a PLC controller board.
Error messages are reported to IBS CMD G4 and displayed.
When changing from the "Configuration (Offline)" to the "Configuration
(Online)" operating state it is checked whether the right controller board
type and an adequate firmware version are available.

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

Menu "File... New"

This command creates a new, empty project.


A project consists of a file set (*.ini, *.bg4, *.stc, *.mes) which can be created in any directory (Default=C:\IBSCMD\PROJECT).
The empty project is assigned the name "NONAME" (i.e., NONAME.INI,
NONAME.BG4, etc.). The file with the extension *.BG4 is the central
project file which you specify when opening a project. If changes to the old
project are not saved, the "Save As..." dialog box is called up.
The new project contains, by way of default, the following elements:
"Project", "PLC/PC", "Program", "Controller Board", "Parameterization
Memory", "Preprocessing", and "Configuration Frame".
You can only create a new project in the "Configuration (Offline)" operating
state.

5219B

2-7

IBS CMD G4

2.1.3

Menu "File... Open..."

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

Conversion instructions (BUS -> BG4)

Note, that the following changes will occur during conversion:


The input of the host controller board type Generation 3 is converted into a
corresponding type of Generation 4, insofar as this is possible. Otherwise
the type "Other" or "Firmware universal" is entered.
Of the process data links, only the byte and bit copy commands are converted.
New process data descriptions may be created in certain cases which are
marked by a number in square brackets [4] after the process data name.
These process data descriptions may be deleted if they have no assignment.
The former diagnostic bit register is now entered under diagnostic status
register. The diagnostic parameter register and the communication register
(IBS S5 DSC/I-T) are also maintained.

2.1.5

Menu "File... Save"

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

Menu "File... Save As..."

"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

Save project as...

5219B

Menu Structure

2.1.7

Menu "File... Delete..."

A project (filename.bg4) is deleted from the hard disk after a security


prompt. All project files that have this project name are also deleted.

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

Menu "File... Print..."

With this dialog box you select which parts of your project you would like to
print.

Figure 2-8

Print

Printer

Here you select one of the printers installed under Windows.

Print to File

If this option box is marked, the printout is routed to a file instead of a


printer.

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

The bus topology of the currently opened project is output in tabular or


graphic form on your printer.
The tabular printout is usually faster than the graphic form.

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...

Menu "File... Exit"

Use this command to exit IBS CMD G4.

Figure 2-10 End IBS CMD G4?


Before exiting, the program checks whether open projects were changed
but not yet saved. If so, you decide in a dialog box whether you want to
save the changes.

Figure 2-11 Save changes?


Then the program is ended.

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

Controller Board and


Devices:

Insert
Insert with ID Code...
Insert with Description
Link with Description

Controller Board and


Bus Terminal
Modules:

Renumber

Figure 2-12 Menu "Edit..."

2.2.1

Menu "Edit... Undo"

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

Menu "Edit... Search..."

Use this command to search for a bus device in the current bus configuration.

Figure 2-13 Search for a bus device


Format of the input:

Left digit: Bus segment


Right digit: Position in the bus segment
The two digits are separated by a period (.).
After successful search the view of the bus topology is shifted so that the
sought device is visible and marked.

2.2.3

Menu "Edit... Cut"

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

Menu "Edit... Copy"

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

Menu "Edit... Paste"

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.)

Figure 2-14 Insertion not possible


Paste is not possible for the element "Project", "PLC/PC", "Program", "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.6

Menu "Edit... Delete"

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

Menu "Edit... Replace"

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

Menu "Edit... Insert with ID Code"

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.

Figure 2-15 Insert device with ID code


ID Code

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

Enter the process data channel length in bits.


Upon pressing the "OK" button, the input in the "Device Type" input area is
compared with the ID code.

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:

Is displayed, if the appropriate bit is set in the ID code.

Remote bus:

Is displayed, if this is a remote bus device without BK module functionality.

Bus coupler with


local bus branch:

Is displayed, if the ID code refers to a BK module.

Bus coupler with


remote bus branch:

Is displayed, if the ID code has the value of 12.

2-18

5219B

Menu Structure

2.2.9

Menu "Edit... Insert with Description"

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.

Figure 2-16 Selection of the connection interface


After selecting the interface, select a device from the device database.
If you have inserted a device with a variable ID code and/or variable process data length you will be requested to determine this data for the inserted device.

5219B

2-19

IBS CMD G4
2.2.9.1

Dialog Box "Define Process Data Length"

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.).

Figure 2-17 ID Code Selection

Figure 2-18 Define process data length

2-20

5219B

Menu Structure
2.2.9.2

Dialog Box "Device Database"

In the device database, every device is stored in lines with "Group", "Manufacturer", "Type", "ID", and "PD-Length".

Figure 2-19 Device database


Data Source

Here you specify from which data source the device database is to be
loaded.

Internal Database

The internal IBS CMD G4 program database is supplied on the installation


disks. Check this option if you wish to utilize the internal database.

Product Directory

The product directory is a CD-ROM which is published at regular intervals


by the INTERBUS-S Club e.V. and contains device descriptions of the various INTERBUS devices. To use the CD-ROM, you need to specify the
drive letter of your CD-ROM drive in the "Options... Device Database" dialog box.

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

Menu "Edit... Link with Description"

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.

Figure 2-20 Link?


Yes

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

Figure 2-21 Select device for connection

Group

Here the device group is displayed. All INTERBUS devices in the database
are assigned to a group.

Manufacturer

The device manufacturer appears here (e.g., Phoenix Contact).

Type

The device name (e.g., IBS ST 24 BK-T) appears here.

ID

The ID code appears here in decimal form.

PD Length

The process data channel length appears here.

2-24

5219B

Menu Structure

2.2.11

Menu "Edit... Renumber"

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

When the command is accessed from a bus terminal modules context


menu, all the local bus devices connected to the module are numbered
consecutively.

Figure 2-22 Re-assigning device numbers


If you are using the device numbers as parameters in your application program or in the IB function blocks, you will have to renumber them accordingly.

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.

Figure 2-23 Menu "View..."

2.3.1

Menu "View...Reduced Representation"

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.

Figure 2-24 Reduced representation


Use this command to get an overview of the bus topology.

5219B

2-27

IBS CMD G4

2.3.2

Menu "View... Box Display"

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.

Figure 2-25 Box Display


Standard Display

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

Menu "View... Settings..."

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.

Figure 2-26 Set representation


Standard
Representation

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

Figure 2-27 Representation of a device


In the representation area, only the program addresses of the standard
process data descriptions are displayed!
Program Address

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

In the bus configuration, the Service Info is displayed in three brackets (


[1234][1234][1234]). Each pair of brackets may contain up to four characters. This display method was chosen because it matches the Service Info
display on certain controller boards. The diagnostics display has three rows
each of which can display four characters.
Buttons

Options

2-30

You can define the box display here and the size of the local bus.

5219B

Menu Structure

2.3.4

Dialog Box "Display Options"

Figure 2-28 Display options


Local Bus Size
Line Break Every:

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

Figure 2-29 Box display


Box Display
Height

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

Menu "View... Refresh"

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.

Figure 2-30 Error at device x.y

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

Menu "Project... Description"

All data serves to describe the current project clearly with features.

Figure 2-31 Project description


The entry in the "Name" input area is also displayed in the representation
area of the main window.
In the "Comment" input area you can enter text to describe the project in
more detail. For this eight text lines with the width shown in the dialog box
are available.

2.4.2

Menu "Project... Export Project Data"


(<Project_name>.PEX)

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

Menu "Project... EPLAN Viewer..."

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.

Figure 2-32 EVIEW main menu

5219B

2-37

IBS CMD G4

2.4.4

Menu "PLC/PC... Description..."

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.

Figure 2-33 PLC or PC description


Depending on the set controller board type, the icon of the PLC or PC
changes in the representation area. The displayed icon depends on
whether it is a controller board for a PLC or for a PC.

Figure 2-34 Icons "PLC/PC"

2-38

5219B

Menu Structure

2.4.5

Menu "Program... Description"

With this dialog box you describe your application program.


The "Name" is also displayed in the representation area. In addition there
is an input area for remarks and one for the name of the author of the application program.

Figure 2-35 Program description

5219B

2-39

IBS CMD G4

2.4.6

Menu "Controller Board... Settings"

Figure 2-36 Controller board settings


The dialog box is made up of several file cards. When you click a file card
in the top section, the dialog box part of this card is displayed.

2-40

5219B

Menu Structure

2.4.7

Dialog Box "Settings... Standard Register"

Here you determine the addresses for the INTERBUS-specific registers.

Figure 2-37 Standard register settings


Diagnostic Registers:
Diagnostic Status
Register

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

The firmware on the controller board provides standard functions which


can be started by setting individual bits in this register.
Every standard function is assigned one bit of the 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

The standard functions can be allocated parameters. These parameters


are communicated to the standard function by means of this register.
Bus Information (S7 300 only)

Information Register

Depending on the type and number of devices, a certain bus configuration


will generate a defined length of input and output process data. The information register provides information on the number of input and output process data bytes. The contents of the information register can be viewed in
the "Bus Operation" dialog box.
2.4.7.1

Diagnostic Status Register / Diagnostic Parameter Register

Figure 2-38 Diagnostic register


Diagnostic Status
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

Bus quality has deteriorated


There is still a message in the standard signal interface

The Diagnostic Parameter Register contains additional information on the


malfunction reported in the Diagnostic Status Register. This may be the location of a malfunction (bus errors) or the type of malfunction as indicated
by the error code (for example, A050h for address overlapping.
2.4.7.2

Standard Function Start Register / Status Register / Parameter Register

Figure 2-39 Standard function register


Standard Function
Start 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

The functions on the bits


Byte n+1 bit 1
Byte n+1 bit 3
Byte n+1 bit 4
Byte n+1 bit 5 and
Byte n+1 bit 6
require another parameter for execution. You can enter this parameter in
the standard function parameter register.
This parameter is the configuration frame number for the function on bit 1
and the device number for the functions on bit 3 to bit 6.

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

Figure 2-40 Standard function

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

Dialog Box "Settings... Bus Mode"

Figure 2-41 Settings "Bus Mode"

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

The application program receives a message (interrupt) as soon as a bus


cycle is ended. In this mode of operation, the application program waits for
the end of the current running INTERBUS cycle.

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.

Default Cycle Time

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.

Current Cycle Time

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

When this option is checked, the start-up delay is disabled.


Monitoring Times

Bus Warning Time

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

The contents of the information register selected in "Settings... Standard


Register" are displayed here. The number of process data bytes transmitted in an INTERBUS cycle are displayed, sorted by inputs and outputs.

Figure 2-42 Bus operation (S7 300)

2.4.7.4

Dialog Box "Operating Mode Options"

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
.

Figure 2-43 Operating mode options

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

Check this option to configure the board as a 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.

Figure 2-44 Operating mode options (S7 400)

Controller Boards Interrupt Mode


Bus-Synchronous

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

The interrupt modes function is set to "Process Alarm" by default.

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

Select the operation block (OB) to be invoked with an interrupt.


The settings should match those in the S7 environment.
2.4.7.5

Dialog Box "Settings... Controller Board"

Figure 2-45 Settings "Controller board" (S5, S7 400 and BA)

Reaction on Bus Error


These options allow you to specify how the controller board handles the
input process image in the event of a bus error.
Delete Inputs

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.

Keep Input State

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..

Figure 2-46 Register for IBS S5 DSC/I-T


Example:
The communication register is to begin at the address "P88". Use DIP
switch "1" to select the P or Q range. This will set DIP switch "1" to "OFF".
DIP switches 3, 5 and 6 have the valencies 64+16+8=88. Set these DIP
switches to "ON". DIP switch "8" is of no relevance for the communication
register.

5219B

2-53

IBS CMD G4

Figure 2-47 Settings "Controller board" (PLC)


Data Storage Areas (PLC5 only)
In the data entry boxes, enter the data storage areas in which you have
placed the controller boards process data in the control system. Possible
areas are A0 to ZZ999. This information is required for ensuring correct address syntax within the assignment and address dialog boxes. The data
storage area information is separate for inputs and outputs and is used for
the address prefix. A PLC5 address will then appear as N13:0/0, for example.

2-54

5219B

Menu Structure
2.4.7.6

Dialog Box "Settings... Slot/Addresses"

This dialog box is only available for the S7 controller boards.


You need to inform IBS CMD G4 of the position of the controller board
within the S7 control system so that address ranges and registers can be
calculated and assigned.

Figure 2-48 Settings "Slot/Addresses"


Controller Board Slot
Row (S7 300 only)

Enter the number of the row (0..3) in which the controller board has been
installed in the control system.

Slot (S7 300 only)

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

Range (S7 400 in


direct operation
only)

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

Dialog Box "Settings... Address Areas"

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

Figure 2-49 Settings "Address Areas"


Address Direction

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

Dialog Box "Settings... IBS Data Records"

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.

Figure 2-50 Settings "IBS Data Records"


Input Range and Output Range
Record

Select the number of the IBS data record that you wish to set.

Area

Select the data record you wish to use here:


M = Flag area,
DB= Data block area,
A = Output area (under Output Area on the S7 300 only)
E = Input area (under Input Area on the S7 300 only)

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

Enter an offset relative to the S7 base address.

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

Dialog Box "Settings... I/O Coupling"

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!

Figure 2-51 Settings I/O Coupling lauten

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

To exchange data with the higher-level bus, the communication reference


(CR) of the PCP-device (system coupler) must be specified in the
higher-level bus.

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

Menu "Controller Board... Parameterization"

2.4.10.1

Menu "Controller Board... Parameterization... Edit"

Use this menu item to define one or more sequences (parameterizations)


of INTERBUS actions. You can select one of the defined parameterizations
to have it executed when starting up the controller board.
An action is a service assigned with parameters or a predefined service sequence.

Figure 2-52 Context Menu "Edit parameterization"

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

A parameterization is assigned the BOOT attribute if it is to be executed


when starting up the controller board. Only one of the defined parameterizations may be assigned to the BOOT attribute.

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

You can activate or deactivate individual actions within a parameterization.


If the option box is marked, the action is taken into account when executing
the parameterization.

2-62

5219B

Menu Structure
Buttons
Action Library

To define new actions, use the "Action Library" button.

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.

Figure 2-53 Parameterization / action / service

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

Context Menu "Edit Parameterization"

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>.

Figure 2-54 Context menu "Edit Parameterization"


Depending on whether the mouse pointer is in the "Parameterizations" or
"Action sequence" area, the appropriate context menu appears.
Insert
Parameterization/Ac
tion

This command inserts a new parameterization/action in the dialog box via


the marked line.

Delete
Parameterization/Ac
tion

The command deletes the marked line from the dialog box.

2.4.10.3

Dialog Box "Action Library"

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.

Figure 2-55 Action library


Action Name

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

You can rename the selected action with this button.

5219B

2-65

IBS CMD G4
Delete

You can delete the selected action from the list with this button.

Edit

To edit an action, select the "Edit" button.

2.4.10.4

Dialog Box "Action Editor"

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.

Figure 2-56 Action editor without parameters

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:

Figure 2-57 Action editor with parameters

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.

Consecutive number of the parameter.

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

Here you can enter text to describe the parameter.


Buttons

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

Parameterizations, Actions and their Services

Each INTERBUS parameterization consists of a sequence of actions.


These actions, in turn, consist of a firmware service that has been assigned
parameters. Some actions are special in that they comprise several services. These (special) actions cannot be edited or deleted. All actions take
their parameters from the currently loaded project.
2.4.10.6

Actions of the "Start-Up With Preprocessing" parameterization:

Name of action (Service) code


Alarm Stop
Lock Preprocessing
Update Diagnostics Display
Initiate Parameterization
Send Bus Structure
Set Operating Parameters
Send Process Data Channel Descriptions
Send Process Data Assignments
Send Parameter Channel Settings
Delete Macros
Send Macros
Delete User Functions
Send User Functions
Delete Events
Send Events
Exit Parameterization
Send Preprocessing
Activate Configuration Frame
Release Preprocessing
Start Data Transmission
Release Exclusive Rights

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

Actions of the "Start-Up Without Preprocessing"


parameterization:

Name of action(Service) code


Alarm Stop
Update Diagnostics Display
Initiate Parameterization
Send Bus Structure
Set Operating Parameters
Send Process Data Channel Descriptions
Send Process Data Assignments
Send Parameter Channel Settings
Delete Macros
Send Macros
Delete User Functions
Send User Functions
Delete Events
Send Events
Exit Parameterization
Activate Configuration Frame
Start Data Transmission
Release Exclusive Rights
2.4.10.8

Actions of the "Start-Up With Physical Addressing"


parameterization:

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

Delete User Functions


Delete_Signal_Object_Request

0149h

Start Data Transmission


Start_Data_Transfer_Request

0701h

Update Diagnostics Display


Confirm_Diagnostics_Request

0760h

Delete Events
Delete_Event_Object_Request

014Eh

Request Exclusive Rights


Change_Exclusiv_Rights_Request

014Fh

Release Exclusive Rights


Change_Exclusiv_Rights_Request

014Fh

Activate Configuration Frame


Activate_Configuration_Request

0711h

Read Configuration Frame From Bus


Create_Configuration_Request

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

Send Bus Structure


Initiate_Load_Configuration_Request
Load_Configuration_Request
Terminate_Load_Configuration_Request

0306h
0307h
0308h

Set Operating Parameters


Set_Value_Request

0750h

Send Process Data Channel Descriptions


Initiate_Put_Process_Data_Description_List_Request
Put_Process_Data_Description_List_Request
Terminate_Put_Process_Data_Description_List_Request

0320h
0321h
0322h

Send Process Data Assignments


Initiate_Load_Process_Data_Reference_List_Request
Load_Process_Data_Reference_List_Request
Terminate_Load_Process_Data_Reference_List_Request

0324h
0325h
0326h

Send Parameter Channel Settings


Load_CRL_Attribute_Loc_Request

0264h

Send Macros
Initiate_Load_Action_Object_Request
Load_Action_Object_Request
Terminate_Load_Action_Object_Request

0140h
0141h
0142h

Send User Functions


Initiate_Load_Signal_Object_Request
Load_Signal_Object_Request
Terminate_Load_Signal_Object_Request

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

Dialog Box "Parameterization Data"

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.

Figure 2-58 Parameterization data


The edit boxes with a white background show the syntax of the address as
it was entered in the old BG4 project. The syntax of the converted addresses for the currently selected controller board type is displayed in the
gray display boxes below (in this example, it is S5).
Resident

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.

Figure 2-59 Execute parameterization


In the above selection box you can choose whether you want to execute a
parameterization or an action. Depending on the setting in this box you will
see a list of the available actions or parameterizations.
Comment

In the input area "Comment" you can comment on the parameterization or


action you have just selected.

Parameterizations

With the parameterizations different INTERBUS startup behaviors can be


realized. For example, a startup with or without preprocessing. The parameters of the actions of which the parameterization consists, are taken from
the currently open IBS CMD G4 project and the actions you have defined.

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

Menu "Controller Board... Control..."

With these commands you can operate your controller board simply and
thus activate the individual operating states of the controller board.

Figure 2-60 Control parameterization


Operating states of the controller board
All commands listed under this menu item can only be executed in the "Extended" range of functions and only after confirming a security prompt.
2.4.11.1

Operating States of the Controller Board

The Generation 4 controller boards know the following operating states:


READY (RDY)

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)

Data cycles are transmitted.

Figure 2-61 Operation states of controller board

5219B

2-77

IBS CMD G4
2.4.11.2

Menu "Controller Board... Control... Other..."

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.

Figure 2-62 Action / Service editor


If you have selected a service and entered parameters where necessary,
you can transfer the service to the controller board with the "OK" button
where it can be executed.

2-78

5219B

Menu Structure
2.4.11.3

Menu "Controller Board... Operation... Create Configuration Frame"

This command creates a configuration frame on the controller board that


contains the physically connected bus configuration. This command does
not in any way affect the bus configuration displayed in IBS CMD G4, nor
does it affect the current project. After a configuration frame has been created on the controller board, the bus can be put into operation using "Start
Data Transmission".
2.4.11.4

Menu "Controller Board... Control... Activate Configuration


Frame"

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

Menu "Controller Board... Control... Deactivate Configuration Frame"

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

Menu "Controller Board... Control... Start Data Transmission"

This program command activates the cyclic data traffic on an INTERBUS


network. The controller board must be in the "ACTIVE" state. The controller
board is in the "RUN" state after successfully executing this command.
2.4.11.7

Menu "Controller Board... Control... Stop Data Transmission"

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

Menu "Controller Board... Control... Alarm Stop"

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

Menu "Controller Board... Control... Reset Controller"

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

Menu "Controller Board... Description"

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.

Figure 2-63 Controller board description

2-82

5219B

Menu Structure

2.4.13

Menu "Controller Board... IB Function Blocks..."

Figure 2-64 User functions / events / parameters


You can define user functions and events with the "IB Function Blocks"
menu. These user functions and events are each assigned one macro and
- depending on the selected service primitives - different numbers of parameters.
User functions can be started by setting a bit in the application program.
Events are started if the INDICATION defined in an event appears.

Figure 2-65 Menu "IB Function Blocks"

5219B

2-83

IBS CMD G4
2.4.13.1

Menu "Controller Board... IB Function Blocks... User


Functions..."

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.

Figure 2-66 User functions


Function Table
Name

In this column assign an unambiguous name for the user function.

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

If an user function cannot be executed successfully, the result bit is set.


Enter the address of the result bit in this column.

Boot

A function receives the boot attribute if this function is to be executed when


booting the controller board.

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

Dialog Box "Bit Selection User Functions"

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.

Figure 2-67 Bit selection user functions

2-86

5219B

Menu Structure
2.4.13.3

Menu "Controller Board... IB Function Blocks... Events..."

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.

Figure 2-68 Events


Event Table
Name

Assign an unambiguous name to the event in this column.

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

Dialog Box "Bit Selection Events"

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.

Figure 2-69 Bit selection events

2.4.13.5

Menu "Controller Board... IB Function Blocks... Export..."

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

A full service (firmware and PCP) consists of four service primitives.


REQUEST
INDICATION
RESPONSE
CONFIRMATION

(RES)
(IND)
(RES)
(CON)

Request a service
Receipt of the service request
Response to the service request
Confirmation of the service

Figure 2-70 Service primitives


A service primitive consists of a block of data words. The parameters contained in this block are represented in hexadecimal (hex) or binary (bin). All
services are structured according to the following:
Service_Code

Code of the service primitive in hexadecimal representation.

Parameter_Count

Number of following words. If no other words follow, Parameter_Count has


the value 0000hex.

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.

Figure 2-71 Structure of a service

2-90

5219B

Menu Structure
2.4.13.7

Dialog Box "Edit Parameter"

In this dialog box you provide the services with parameters, in order to create a functional user function in the marked macro.

Figure 2-72 Edit parameter


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

Depending on whether you define an user function or an event, you must


supply different service primitives with parameters (REQUEST / RESPONSE) or assign the incoming parameters to addresses (INDICATION
/ CONFIRMATION).

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.

Figure 2-73 Overview available service primitives


Value

The parameter values and addresses can be entered in different formats.


Number format
decimal
decimal in bytes
hexadecimal
binary

Abbreviation
dec
dec,dec
hex
bin

Syntax
nnn
nn,nn
$nnnn
%nnnnnnnn

Data Type

The data types BYTE, WORD, BYTE_ARRAY and WORD_ARRAY are


available. If you use one of the arrays, you can only use addresses (ADDR)
as a value type. The length of the arrays is entered in the "Length" column.
A WORD_ARRAY of length n allocates n*16 bits and starts at the address
entered under "Value".

Value Type

CONST (Constant), ADDR (Address) and IGN (Ignore) are available as


value types.
CONST
With the "CONST" value type you assign the parameter a constant value.
You enter this constant value in the "Value" column. The "CONST" value
type is only valid for the REQUEST and RESPONSE service primitives.
ADDR
With the "ADDR" value type you refer to an address. You enter this PLC or
PC address in the "Value" column and thus refer to the actual value of the
parameter. This address is read from with the REQUEST and RESPONSE
service primitives. The addresses are written to with the CONFIRMATION
and INDICATION service primitives.

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

A description of the parameter is displayed in these columns. You can edit


this description as you wish. To display CONFIRMATIONS the description
was divided into positive and negative descriptions. If a service could not
be executed correctly, the service provider transfers a negative confirmation. Positive confirmation is given if the service is executed properly. Since
the parameter contents differ from each other, these are described in two
columns.
2.4.13.8

Menu "Controller Board... IB Function Blocks... Import..."

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

Menu "Controller Board... IB Function Blocks... Macros..."

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.

Figure 2-74 Edit Macro


Macro Table:
Defined

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

Figure 2-75 Comment or rename macro


Delete

You delete the selected macro with this button.


Macro Contents:

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".

Figure 2-76 Comment service


2.4.13.10 Menu "Controller Board... (Bus Device...) Device Registration"
Device registration (BMK for short) allows you to uniquely identify your
INTERBUS devices. The data already available in the bus configuration
can be used to generate the BMK automatically. The device registration
can be used within the IBS CMD G4 project for the controller board and all
existing devices in the bus configuration. Click "Device Registration" on a
devices Context menu to see its BMK in a dialog box.
The device registration is part of DIN 40719 and consists of four registration fields. The first three fields can be filled out in IBS CMD G4.

2-96

5219B

Menu Structure
Only alphanumeric characters and the decimal point are permitted in device registrations. Blanks and symbols are not allowed.

Figure 2-77 Device registration


Device Identification
System

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.

Figure 2-78 Automatic device registration


Device Labeling
System

2-98

The device registrations first registration field. You can enter parameters
for the name of the system.

5219B

Menu Structure
Location

The device registrations second registration field. Enter parameters here


to mark the location of the device (of the INTERBUS device).

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

Current Device Only

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.

Empty Fields Only

Check this option if you simply want to fill out empty registration fields.

Entire BMK Only

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.

Figure 2-79 Select controller board


Change the BMK so that there are no identical registrations.
2.4.13.12 Menu "Controller Board... Type..."
Select here which controller board you use.

Figure 2-80 Double BMK

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.

Figure 2-81 Icon "Controller Board"


Address Conversion
When you change the controller board type, all the addresses that have already been assigned are converted to the address format of the new controller board (for example "P20" in IBS S5 DSC I/T will become "20" in a
IBS PC ISA I/T). Addresses that cannot be converted to the new address
format or that are not valid are displayed in square brackets.
Firmware Version
The range of functions available varies depending on the firmware version
on the controller board. To adapt the IBS CMD G4 range of functions to the
functionality of the firmware on the controller board, you can define a firmware version number. Enter the required firmware version in the edit box or
select one of the values presented.
Auto-Detect

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

Menu "Controller Board... Process Data"

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.

Figure 2-82 Dialog box "Process Data"

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

You enter the device name with the device description.

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.

Process Data Name

This clearly designates the selected process data description.

I/O

Displays whether it is input (I) or output (O) data.

Length

Here you enter the process data length in bits.

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.

Figure 2-83 Example of a process data description


The number specifications for length, byte and bit must be within the maximum values of the greatest possible process data item. For example, a
16-bit device may not have an entry > 2 in the "Bytes" column.
Mark a process data description of the device's process data description
you want to copy. You can copy this process data description with the
<Ins> key. Then you only need to change the "Process Data Name",
"Length", "Byte" and "Bit" input areas to meet your requirements.

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

Enter the addresses of the PLC or PC in the host-specific format.


Examples:
20; 22.1; 24.5 for PC addresses
P20; P24.2; Q30 for Siemens S5 addresses
N20:0; N30:0.4 for Allen Bradley addresses

Input in HEX format

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

Process data interlinks have the syntax:


'device segment'.'device position'.'process data name'
Example: 1.2.Emergency_Off for a direct link to the process data item
"Emergency_Off" of the device in the bus segment 1 at position 2

Variables

Variables are input with the syntax: ART.variable name .


The variables TYPE distinguishes between:
VAR = Variable for PROGRAM WORX
PDP = Variable for the preprocessing (process data preprocessing)

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 separating character of the assignments in multiple addressing is the


semicolon (";"). Example: P20; P22; P24 for the assignment of a process
data item to three S5 addresses.
2.4.14.2

Context Menu "Process Data"

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>.

Figure 2-84 Context menu "Process Data"


Insert Process Data
Description

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.

Delete Process Data


Description

deletes the marked line from the dialog box.

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

Copies the marked line to the Windows clipboard.

5219B

2-107

IBS CMD G4
2.4.14.3

Dialog Box "Address Range"

Here you determine the address range which you want to use in the automatic addressing.

Figure 2-85 Dialog box "Address Range"


Digital
Start Address

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.

Figure 2-86 "Digital" address range

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.

Figure 2-87 "Analog" address range

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..

Figure 2-88 Max. number of addresses

2.4.14.4

Dialog Box "Automatic Assignment"

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.

Figure 2-89 Automatic assignment


Process Data Type
Standard

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

Dialog Box "Search Error Location"

If an error should occur during execution of the parameterization, you can


have the error location displayed in the error message determined with this
dialog box. An error during execution of the parameterization may occur for
example, due to an illegal multiple addressing.

Figure 2-90 Search error location


2.4.14.6

Dialog Box "Direct Link/Variables"

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.

Figure 2-91 Direct link

2-112

5219B

Menu Structure
2.4.14.7

Dialog Box "Address Assignment"

In this dialog box you can assign (control or computer) addresses to process data descriptions.

Figure 2-92 Address assignment


Select Boxes
Available Addresses

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

Dialog Box "Filter (Process Data)"

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.

Figure 2-93 Filter for process data description

Process Data Type

Display of the "Standard" or "Non-standard process data descriptions".

Process Data
Direction

Display of all process data descriptions or the process data descriptions


with input or output data.

Process Data Length

Display of all process data descriptions or the process data descriptions


with length specified in bits.

Process Data Name

Display of all process data descriptions or the process data descriptions


with specified names.

Addressing Type

Display of all process data descriptions or the process data descriptions


with specified addressing (addresses, direct link, etc.).
The displayed devices or process data descriptions are not complete when
the "filtered" option is active.

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

Figure 2-94 Data consistency


You can create consistency areas of 8, 16, 32 and 64 bits. To do this, enter
a colon followed by the value of the consistency area after the program or
PLC address in the "Assignments" column of the "Process Data" dialog
box.

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

Menu "Parameterization Memory... Write ASCII


File"

Figure 2-95 Menu "Write ASCII File"


2.4.15.1

Menu "Parameterization Memory... Write ASCII File... IBS


CMD G4 Data (*.CSV)"

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.

Figure 2-96 Create CSV file


Area

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.

Slave Process Data

INTERBUS controller boards with slave functionality and system couplers


have a process data area of a defined length in their slave part. With this
option box you can write the description of these slave process data in the
CSV file.

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

The entry of the "DevState" in the CSV file is coded as follows:


1hex
2hex
4hex
10hex
20hex

2-120

Normal state
Software has localized error
Device grayed out
Bus error localized
Device message

5219B

Menu Structure
2.4.15.2

Dialog Box "CSV File Options"

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.

Figure 2-97 CSV file options


Selection Boxes
Column Separator

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

Menu "Parameterization memory... Save As ASCII... EPLAN


Data (*.EPL)"

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.

Figure 2-98 EPLAN export


EPLAN Export
Bus Structure

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.

Figure 2-99 EPLAN settings


Label Field x

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.

Figure 2-100 EPLAN macro


Macro Name

Enter the name of the EPLAN macro for the device displayed above.

Do not display this


dialog again.

When this option is checked, the system will no longer issue a prompt when
missing macro assignments are detected.
2.4.15.4

Menu "Parameterization Memory... Save As ASCII... INTERBUS Data (*.SVC)"

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.

SVC File Structure

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#

;First service line


;Service code (here: Alarm_Stop_Request)
;Number of parameters

#CMD#
#0x0750#
#0x0003#
#0x0001#
#0x0108#
#0x0000#

;First service line


;Service code(here: Set_Value_Request)
;Number of parameters
;Parameter 1
;Parameter 2
;Parameter 3

Running the IB Loader


The IB Loader is an EXE file that will run in DOS, WIN 3.1x and WIN NT.
The IB Loader is also available as a DLL for WINDOWS (16 and 32 Bit).
This DLL (Dynamic Link Library) can be run from your application program,
for example. When the IB Loader is run, you need to transfer certain parameters and the name of the SVC file to it.
By entering the IB Loader in AUTOEXEC.BAT or adding it to the AUTOSTART group, the INTERBUS will be parameterized each time the host
computer boots.
Use:

IBLOADER IBCOM1 C:\TEST.SVC


to transfer the file "TEST.SVC" to the controller board via the serial port
(COM1).
Additional run parameters are described in the IB Loader documentation.

2.4.15.5

Menu "Parameterization Memory... Write ASCII File... AWL


Data (*.AWL)"

This menu item is only available for S7 controller boards


(IBS S7 400 DSC/I-T).

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.

Figure 2-101 AWL specification


Number of First
Parameter DB

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.

Figure 2-102 AWL file successfully generated


Example for the first data block:

DATA_BLOCK DB 1//This is where the number of the parameter is entered


AUTHOR: PH_CNTCT//Do not change this entry
Family: InterBus
//Do not change this entry
Name: Par_DB
//Do not change this entry
Version: 4.40
//Do not change this entry
STRUCT
DBW_0000 :WORD :=W#16#1303;
DBW_0002 :WORD :=W#16#0000;
DBW_0004 :WORD :=W#16#0760;
DBW_0006 :WORD :=W#16#0000;
DBW_0008 :WORD :=W#16#030E;
DBW_0010 :WORD :=W#16#0001;
DBW_0012 :WORD :=W#16#0001;
DBW_0014 :WORD :=W#16#0306;
DBW_0016 :WORD :=W#16#0004;

5219B

2-127

IBS CMD G4

DBW_0018 :WORD :=W#16#0001;


DBW_0020 :WORD :=W#16#0001;
DBW_0022 :WORD :=W#16#0004;
DBW_0024 :WORD :=W#16#0000;
DBW_0026 :WORD :=W#16#0200; //The following DB is DB2
END_STRUCT;
BEGIN
END_DATA_BLOCK
...
...

2-128

5219B

Menu Structure
2.4.15.6

Menu "Parameterization Memory... Description"

The parameterization memory is used for resident storage of INTERBUS


parameterization, program and diagnostic data. The parameterization
memory may be structured differently - depending on the controller board.
The product line ranges from pluggable ICs through plug-in boards up to
permanently installed ICs. All parameterization memories are flash
EPROMs which can be written to and read by IBS CMD G4.
In this dialog box you write the parameterization memory. The "Name" is
also displayed in the representation area. In addition there is an input area
for remarks and one for the name of the author of the parameterization
memory contents.

Figure 2-103 Parameterization memory description

5219B

2-129

IBS CMD G4
2.4.15.7

Menu "Parameterization Memory... Format"

Formatting the parameterization memory deletes its entire contents.

Figure 2-104 Format parameterization memory


If no error occurs during formatting of the parameterization memory, the following message appears:

Figure 2-105 Parameterization memory successfully formatted


During formatting the controller board displays: SCANDISK.

2-130

5219B

Menu Structure
2.4.15.8

Menu "Parameterization Memory... Read"

In addition to the parameterization data the entire project can also be


stored in the parameterization memory. The parameterization data is required by the controller board to start INTERBUS according to your parameterization. The project files (*.BG4, *.INI) can be restored from the parameterization memory by IBS CMD G4.
If you have saved your project in the parameterization memory of the controller board with restorability, this command reads out the project with the
files *.BG4, *.INI and, if available, *.ZWT.

Figure 2-106 Read parameterization memory


The entries displayed in the info area "Created by:", "Last update by:" and
"Comment:" refer to the element "Project". The data entered there under
"Description" is displayed in this 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.

5219B

2-131

IBS CMD G4
2.4.15.9

Menu "Parameterization Memory... Write"

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.

Figure 2-107 Write parameterization memory

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.

Figure 2-108 Compare projects

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.

Figure 2-109 Menu "File"

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.

Figure 2-110 Selecting files


Filename

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

Select the drive containing the files you want to select.

Filetype

Specify the filetype of the files displayed in the "Filename" area.

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.

Figure 2-111 Reading files


Project Description
Author:

The name of the author of the fileset that was last saved in the parameterization memory is displayed here.

Comments:

Comments on the fileset currently in the parameterization memory are


shown in this display box.

2-136

5219B

Menu Structure
Stored Files in Project:
This table shows which files are in your controller boards parameterization
memory.
Filename

The name of the file in the parameterization memory is displayed here.

Status

You can see here whether the file in the parameterization memory is compressed or not.

File Date

This column shows the date of the original file.

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.

Figure 2-112 Select destination directory

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.

Figure 2-113 Reading user files


Overwrite

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.

Figure 2-114 Writing user files to the parameterization memory

Project Description
Author:

Enter your name in this box.

Comments:

Enter comments about the fileset here.


Current Project:
The name of the currently loaded project file is displayed here. Each row in
the following table represents a file in the current fileset.

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

This column shows the date of the original file.

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.

Figure 2-115 Overwriting a file

Yes

2-140

Click this button to overwrite the file in the parameterization memory.

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.

Figure 2-116 User files in the parameterization memory

Project Description
Author:

The name of the author of the fileset that was last saved in the parameterization memory is displayed here.

Comments:

Comments on the fileset currently in the parameterization memory are


shown in this display box.

5219B

2-141

IBS CMD G4
Stored Files in Project:
This table shows which files are in your controller boards parameterization
memory.
Filename

The name of the file in the parameterization memory is displayed here.

Status

You can see here whether the file in the parameterization memory is compressed or not.

File Date

This column shows the date of the original file.

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.

Figure 2-117 Program variables

Creating the First


Variable

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

Context menu "Preprocessing Variables"

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>.

Figure 2-118 Context menu "Variables"


Insert Variable

This command inserts a new line above the marked line in the dialog box.
Every line represents a variable.

Delete Variable

Deletes the marked line from the dialog box.

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

Dialog Box "Filter (Variables)"

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.

Figure 2-119 Filter for variables


Program Instance
Name

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

Display of all variables with specified addressing (with or without direct


link).
The displayed variables may not be complete if the "filtered" option is active
in the variables dialog box.

2-146

5219B

Menu Structure
2.4.16.3

Dialog Box "Process Data Assignments"

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.

Figure 2-120 Process data assignment


The names of the variables can be generated automatically based on the
name of the process data description assigned. Automatic name generation is only active while the variable has no name. In addition to the name
of the process data description assigned, the variable name can also contain the device number. You can specify whether the device number is
placed in front of or after the name of the process data description.

5219B

2-147

IBS CMD G4
2.4.16.4

Menu "Preprocessing... Description..."

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.

Figure 2-121 Preprocessing description


2.4.16.5

Menu "Preprocessing... Programming"

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

Menu "Preprocessing... Import"

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

Rules for Assigning Variable Names

According to IEC 1131-3


A variable name must be specified with at least one and at the
maximum 31 characters. The first 30 characters must be unambiguous.
The variable name may only contain alphanumeric characters (A-Z, a-z,
0-9) and underscores ( _ ). Special characters are not permitted.
The first character of the variable name may not be a digit.
The first character of the variable name may be an underscore ( _ ).
However, there may not be two underscores at the beginning of the
variable name.
No keywords may be used.
2.4.16.8

Reserved Keywords

According to IEC 1131-3


The following keywords (according to IEC 1131-3) may not be used as variable names:
A

ABS, ACOS, ACTION, ADD, AND, ANDN, ANY, ANY_BIT, ANY_DATE,


ANY_INT, ANY_NUM, ANY_REAL, ARRAY, ASIN, AT, ATAN

BOOL, BUSY, BY, BYTE

CAL, CALC, CALCN, CASE, CD, CDT, CLAIM, CLK, CONCAT, CONFIGURATION, CONSTANT, COS, CTD, CTU, CTUD, CU, CV

D, DATE, DATE_AND_TIME, DELETE, DINT, DIV, DO, DS, DT, DWORD

ELSE, ELSIF, END_ACTION, END_CASE, END_CONFIGURATION,


END_FOR, END_FUNCTION, END_FUNCTION_BLOCK, END_IF,
END_PROGRAM, END_REPEAT, END_RESOURCE, END_STEP,
END_STRUCT, END_TRANSITION, END_TYPE, END_VAR,
END_WHILE, EN, ENO, EQ, ET, EXIT, EXP, EXPT

5219B

2-149

IBS CMD G4
F

FALSE, F_EDGE, F_TRIG, FIND, FOR, FROM, FUNCTION,


FUNCTION_BLOCK

GE, GT

IF, IN, INITIAL_STEP, INSERT, INT, INTERVAL

JMP, JMPC, JMPCN

L, LD, LDN, LE, LEFT, LEN, LIMIT, LINT, LN, LOG, LREAL, LT, LWORD

MAX, MID, MIN, MOD, MOVE, MUL, MUX

N, NE, NEG, NOT

OF, ON, OR, ORN

P, PRIORITY, PROGRAM, PT, PV

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

UDINT, UINT, ULINT, UNTIL, USINT

VAR, VAR_ACCESS, VAR_EXTERNAL, VAR_GLOBAL, VAR_INPUT,


VAR_IN_OUT, VAR_OUTPUT

WHILE, WITH, WORD

XOR, XORN

2-150

5219B

Menu Structure

2.4.17

Menu "Configuration Frame..."

2.4.17.1

Menu "Configuration Frame... Read Again"

This menu item reads in the configuration frame activated on the controller
board. An already loaded bus configuration is overwritten.

Figure 2-122 Read configuration frame


If the controller board is in the "READY" state, the connected configuration
is read in by "Create_Configuration". All data of the loaded project will be
lost.
2.4.17.2

Menu "Configuration Frame... Description"

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.

Figure 2-123 Configuration frame description

5219B

2-151

IBS CMD G4
2.4.17.3

Menu "Configuration Frame... Compare"

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.

Figure 2-124 Compare configuration frame

2-152

5219B

Menu Structure

2.4.18

Menu "Device..."

2.4.18.1

Menu "Device... Description"

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".

Figure 2-125 Device description


Display/Edit Boxes:
Consecutive
Number

The number is displayed for the consecutively numbered INTERBUS devices.

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

You can combine individual bus segments in groups. It is also possible to


define alternative groups. The group number is thus composed of: [group]
- [alternative].

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.

"Service Info" select


box

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

Gray out Device

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

Dialog Box "Parameter Channel..."

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.

Figure 2-126 Parameter channel

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

Dialog Box "Interface Type for Bus Terminal Module"

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.

Figure 2-127 Selection of interface


If you use an interface which does not correspond to any preset interface
type, you should use the "Universal" interface type.
If the wrong interface type is selected, you receive an error message. However, the device will be positioned and the connection drawn with a dotted
line to indicate the wrong interface type. If the device interface is set to
"Universal" on one side of a connection, a different interface type is not indicated.

5219B

2-157

IBS CMD G4
2.4.18.4

Dialog Box "Display"

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.

Figure 2-128 Presentation

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

To use the standard icon library, click this button.

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).

Figure 2-129 Box presentation


2.4.18.5
Groups

5219B

Groups and Alternatives

You can combine individual devices in groups in order to switch these on


and off together. A group may also include devices which do not follow consecutively. If you switch off a group, all the devices in this group and the
devices dependent upon these devices (e.g., the corresponding local bus
branch) are switched off.

2-159

IBS CMD G4
All devices within a local bus segment (except the BK module) must have
the same group number.

Figure 2-130 Groups


You can switch a group on and off with the firmware service
0713hex Control_Active_Configuration_Request
The device number is then transferred to the firmware service.
If the device to be switched off is assigned to a group, this group is switched
off completely. When you switch off a BK module (bus terminal module),
you always switch off all the following remote bus devices including the
local bus on the BK module.
The group number consists of group and alternative with the syntax:
GROUP - ALTERNATIVE.
Group

The "Group" parameter assigns a device or a local bus segment to a group.

Alternative

An alternative is a self-contained part of the bus configuration which can be


activated at a certain position alternatively to the rest of the bus configuration.
You can define alternative bus segments within a group. One of the defined
alternatives can then be connected depending on requirements.

2-160

5219B

Menu Structure
An alternative group can only be connected to a remote bus device.

Figure 2-131 Alternatives

2.4.18.6
Process Data
Description

Menu "Device... Process Data"

A process data description describes the process data of a device with:


Name,
Data direction,
Data length,
and the assigned destinations (addresses, variables, direct links)
Every process data description is represented by one line in the process
data dialog box. For example, you can create one process data description
for a single bit of a digital device or a channel of an analog device. This
gives you the possibility of assigning process data specifically to addresses
or linking them with each other.
If you open the process data dialog box from the "Controller Board" element, you will see the process data descriptions of all devices in the current
INTERBUS project. If you open the "Process Data" dialog box from a device, you only see the process data descriptions of that device.

5219B

2-161

IBS CMD G4

Figure 2-132 "Process Data" dialog box of a device


Columns in the Process Data Dialog Box:
Location

Marks the position of the process data within the standard process data device description (total process data channel length)

Figure 2-133 Location of process data


The position of the data is represented by vertical bars. Every bar stands
for one bit. Long bars mark the bits used in this process data description,
small bars mark the unused bits.
Process Data Name

Clearly marks the selected process data description.

I/O

This is a display which specifies whether this is input (I) or output (O) data.

Length

Here you enter the process data length in bits.

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

If you have restricted the representation of the process data descriptions in


the "Filter" dialog box, you can activate and deactivate the filter functions
with this option box.

2-163

IBS CMD G4

2.5
Add-on Programs

Menu "Options..."

IBS CMD G4 enables add-on programs to be linked. The add-on programs


include monitors, parameterization and diagnostics programs which are
supplied by device manufacturers in connection with their device descriptions.

Figure 2-134 Menu "Options..."

2-164

5219B

Menu Structure

2.5.1

Menu "Options... Add-on Programs... Activate..."

An add-on program is activated by this menu item. The activated program


extensions are listed as additional menu items in the "Edit", "Configuration", "Monitor", and "Diagnostics" menus. The context menus are also
adapted in accordance with the activated add-on program.

Figure 2-135 Activate add-on programs


The add-on program is available as a DLL (Dynamic Link Library). You can
select the desired DLL using a file selection dialog box (Windows standard).

5219B

2-165

IBS CMD G4

2.5.2

Menu "Options... Add-on Programs... Deactivate"

Use this command to deactivate add-on programs and remove them from
the menu.

Figure 2-136 Deactivate add-on programs


Click the add-on program to be removed and confirm with "OK". Deactivation of add-on programs may be useful when you want to replace an add-on
program with an add-on program with a similar function or if your system
resources are insufficient for all add-on programs.

2-166

5219B

Menu Structure

2.5.3

Menu "Options... Device Description... Create"

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.

Figure 2-137 Create device description

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

Here you enter the device product designation (e.g., IB ST 24 BK-T).

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

Menu "Options... Device Description... Print"

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.

Figure 2-138 Print device description

2.5.5

Menu "Options... Device Description... Delete"

A device description can be deleted from the device database with this
menu item.

5219B

2-169

IBS CMD G4

2.5.6

Menu "Options... Device Description... Import"

To utilize the device database and self-created device descriptions from


older IBS CMD versions (Version 1.x), an import function exists. With this
command you can import specific device descriptions individually which
are available in IBS CMD 1.x DSH format.
If the device description already exists in the IBS CMD 4.x database, an appropriate message is output.

Figure 2-139 Import device description

2-170

5219B

Menu Structure

2.5.7

Menu "Options... Device Description... Export"

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.

Figure 2-140 Export device description


You can save the device previously selected in the IBS CMD 4.x device database in a dialog box (as you are used to from IBS CMD 1.x) in the database.
To do this, enter "Manufacturer Name", "Device Group", and "Device Type"
or select the desired entries from the existing entries.
When making new entries, make sure that the MS-DOS file name conventions are observed. Blank, * ? . " and other special characters are not allowed in file name entries.

5219B

2-171

IBS CMD G4

2.5.8

Menu "Options... Reset CRs"

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

With the aid of the PCP (Peripherals Communication Protocol) data is


transmitted via the parameter data channel. This data is used, for example,
for configuration and parameterization of PCP nodes such as counters, frequency inverters, operator interfaces, etc.

5219B

Menu Structure

2.5.9

Menu "Options... Extended Scope of Functions"

This menu item is password protected.


The extended scope of functions is available when you enter the correct
password.
Only actions which cause a change in the configuration data are permissible and marked as editable in the extended scope of functions.

Figure 2-141 Password Request


A password is only requested if you have assigned one. Otherwise you
reach the extended scope of functions without being asked to enter a password.
You can assign a new password at any time in the menu "Options... Settings" if you know the old password.

5219B

2-173

IBS CMD G4

2.5.10

Menu "Options... Settings"

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

Figure 2-142 Settings

2-174

5219B

Menu Structure

2.5.11

Menu "Options... Settings... Driver"

In this dialog box you select the communications path between IBS CMD
G4 and the controller board.

Figure 2-143 Settings "Driver"


Communication Between IBS CMD G4 and Controller Board:
The PC (on which IBS CMD G4 is running) and the controller board communicate via a serial connection. 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. This
communication path is available for all controller boards. Only one communication path is available in PLC controller boards.
The PC (on which IBS CMD G4 is running) and the controller board communicate via the data bus (e.g., ISA bus). Since several controller boards
can be operated in one PC, every controller board must be assigned a card
number.

5219B

2-175

IBS CMD G4
:

Figure 2-144 Communication path


Driver Selection and Parameterization
To select a driver, first click the driver in the "Installed drivers" selection
box. Confirm your selection with the "Select" button.
In order to specify the communication path in more detail click the "Connect" button. Here you will get different dialog boxes depending on the selected driver.
Installed Drivers

Here you can see the drivers available on your PC.


Driver IBSISASC - driver for communicating via the data bus (IBS PC ISA
SC/I-T)
RS-232 driver for communicating via the serial interfaces.
To activate a driver, click one of the drivers and confirm the selection with
the "Select" button.

Active Driver

The selected active driver is displayed in this info area.

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

Dialog Box "Select Connection" for the Driver "DriverIBSISASC"

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.

Figure 2-145 Communication with PC controller board

5219B

2-177

IBS CMD G4
2.5.11.2

Dialog Box "Driver Settings" for the Driver


"DriverIBSISASC"

You can specify the communication parameters for the driver in this dialog
box. .

Figure 2-146 Driver settings


IO Address

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

Set an available interrupt of your PC here. Accesses of the controller board


are reported to the PC by the interrupt.

5219B

Menu Structure
2.5.11.3

Dialog Box "Select Connection" for the "RS-232" Driver

Select the serial interface with which you have connected the controller
board here.

Figure 2-147 Select serial interface


2.5.11.4

Dialog Box "Driver Settings" for the RS232 Driver

In this dialog box you set the communication parameters of the serial interface.

Figure 2-148 Setting the serial interface

5219B

2-179

IBS CMD G4
2.5.11.5

Menu "Options... Settings... Device Database"

You can set messages and search criteria of the device database in this
dialog box.

Figure 2-149 Settings "Device Database"


Link With Description
Display devices with
variable process
data length

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.

Active Database For


Device Descriptions

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

Menu "Options... Settings... General"

Figure 2-150 Settings "General"


Display Function
Keys

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.

Figure 2-151 Function key bar

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.

Figure 2-152 Show service results


If the service is a confirmed service, the request for a service is followed by
a service result (Confirmation). Activate the option if you want to see this
service result.

Figure 2-153 Service primitives

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

Use Service Info

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.

Figure 2-154 Select directory


Projects

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

Menu "Options... Settings... Database (general)"

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. .

Figure 2-155 Settings "Database (general)


All the registered databases are displayed as "available". Only select databases that you know are device databases.

5219B

2-185

IBS CMD G4
2.5.11.8

Menu "Options... Settings... Process Data"

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.

Figure 2-156 Settings "Process Data"


Control or computer
addressed in the
area

2-186

If you restrict the address area, the program sequence is accelerated in


some dialog boxes (e.g., in the assignment of addresses to process data
descriptions). For example, you can restrict the address area to P addresses in an S5 controller board if you do not want to use the Q and E addresses or if these addresses are not available.

5219B

Menu Structure
2.5.11.9

Menu "Options... Settings... Password"

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 ("*").

Figure 2-157 Settings "Password"


Old Password

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

Enter the new password here.

Enter New Password


Again

Enter the password a second time to confirm it.

5219B

2-187

IBS CMD G4

2.6

Menu "?..."

Figure 2-158 Menu "?..."

2.6.1

Menu "?... Contents IBS CMD G4"

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

Menu "?... Operating Instructions"

Use this menu item to get help for:


Operation and display elements,
Selection of menus and menu entries or
Operation of dialog boxes.

2.6.3

Menu "?... Firmware Library"

The firmware library gives you an overview and detailed explanations of


services and error messages of the Generation 4 firmware and of PCP services.

2-188

5219B

Menu Structure

2.6.4

Menu "?... First Steps"

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

Menu "?... Using Help"

Use this command to start the standard Windows help.


This will give you general information about working with Help systems
under MS Windows.

2.6.6

Menu "?... About"

In this dialog box you get information about the version, serial number,
product designation, and date of creation of your IBS CMD G4 version.

Figure 2-159 About

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

General Information ....................................................................3-3

3.2

Main Window "Diagnostics" ........................................................3-4

3.3

Menu "Commands Diagnostics"..................................................3-6


3.3.1

Menu "Diagnostics... Settings..." ...................................3-8

3.3.2

Menu "Diagnostics... Close" ........................................3-10

3.3.3

Menu "Messages... Messages (Online)..." ..................3-10

3.3.4

Menu "Messages... Evaluate Message File..." ............3-13

3.3.5

Menu "Messages... Message Types..." .......................3-15

3.3.6

Menu "Statistics... Record Statistics (Online)..." .........3-17

3.3.7

Menu "Statistics... Evaluate Statistics File..." ..............3-20

3.3.8

Menu "Statistics... Last Peripheral Error..." .................3-23

3.3.9

Menu "Statistics... Top Ten..." .....................................3-24

3.3.10 Menu "Statistics... Reset Statistics Counter" ..............3-24


3.3.11 Menu "Window... Bus System Messages" ..................3-25
3.3.12 Menu "?... Contents" ...................................................3-26
3.3.13 Menu "?... Using Help" ................................................3-26
3.4

5219B

Keyboard Assignment Diagnostics ...........................................3-27

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.

A special feature of this program is the statistical error evaluation running


in the background, which gives you information on the error resistance of
the system (e.g., to electromagnetic interference) because messages
(e.g., module errors) and transmission errors are recorded automatically.
Messages and statistic data are only recorded if there is a connection to
the controller board and IBS CMD G4 is in the "Diagnostics" operating
state.

5219B

3-3

IBS CMD G4

3.2

Main Window "Diagnostics"

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

Main window "Diagnostics"

Function Key Bar:


The function key bar has the task of enabling faster operation of the
program. The most important menu commands are stored as buttons in the
function key bar.
Current message displays in the main window:
The contents of the display in the "Error" and "State" boxes are read from
the "Diagnostic status register". The display of the device number on the
right of the "Error" box is derived from the "Diagnostic parameter register".
Error

This box displays the last device where an error occurred.

Status

This displays, for example, whether the bus is running or whether data
transmission was stopped.

Current message

The last incoming message is described in detail in this info area.

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

Menu "Commands Diagnostics"

Figure 3-2

Diagnostics:

Settings...
Close

Figure 3-3
Messages:

Menu "Messages"

Record Statistics (Online)...


Evaluate Statistics File...
Top Ten...
Last Peripheral Error...
Reset Statistics Counter.

Figure 3-5

3-6

Menu "Diagnostics"

Message History...
Evaluate Message File...
Message Types

Figure 3-4
Statistics:

Main menu "Diagnostics"

Menu "Statistics"

5219B

Diagnostics
Window

Bus System Messages

Figure 3-6
?

Contents
Using Help

Figure 3-7

5219B

Menu "Window"

Menu "?"

3-7

IBS CMD G4

3.3.1

Menu "Diagnostics... Settings..."

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

Update Automatically After:

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

Save statistic file

With this button you delete the current statistics file after a security prompt.

Figure 3-10 Delete STC file?


Save after entering
comment

If this option is active, the current statistic data is only saved after it was
commented.

Save after every


change in statistic
data

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

Menu "Diagnostics... Close"

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

Menu "Messages... Messages (Online)..."

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..

Figure 3-11 Structure of message file

5219B

3-11

IBS CMD G4

Figure 3-12 Messages (online)


Project

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.

Print

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.

No. / Date / Time /


Message

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

Menu "Messages... Evaluate Message File..."

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..

Figure 3-13 Evaluate messages


5219B

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.

Figure 3-14 Delete file?


Message Display Box
Here you see the list of incoming messages in the current message file.
The messages are consecutively numbered, with the date and time of their
occurrence. The last column shows the type of message. If you select a
message entry with the mouse, detailed information about this message
appears in the "Information on Message" info area.
Information on Message

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.

Print

With these two buttons you can print either a message overview or an
individual detailed message.

3-14

5219B

Diagnostics

3.3.5

Menu "Messages... Message Types..."

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.

Figure 3-15 Message types


Messages from Bus System
Module Status

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

This message is generated if an error occurs in transmission of a PCP


service. The "Abort" service leads to a break in the connection to the PCP
node concerned.

PCP Reject

This message is generated if a "Reject_Indication" occurs. An illegal


service which cannot be transmitted is rejected internally with a
"Reject_Indication". A "Reject_Indication" does not lead to a break in the
connection to a PCP node.

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.

Bus Segment Disabled (BSA)

This message is generated when a bus segment is switched on or off. For


example, a bus segment (local bus) can be switched off after an error. The
rest of the INTERBUS system remains operable.

Bus Warning Time


Expired

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.

Bus Quality Bit

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

This message is generated if the operating state of IBS CMD G4 changes.


The operating states "Configuration (Online)", "Configuration (Offline)",
"Monitoring", and "Diagnostics" exist.

5219B

Diagnostics

3.3.6

Menu "Statistics... Record Statistics (Online)..."

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.

Figure 3-16 Record statistic


Overview
The number of INTERBUS cycles is displayed here in six info areas.
At the top you see the total number of cycle types and below the number
of defective cycles.
The types of cycle are next to each other:
Transmission Cycles:

Transmission cycles = identification cycles + data cycles.

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

Here the ratio of defective to error-free cycles is evaluated by a defined


(non-linear) algorithm and displayed graphically.
Bus Segment Statistics
In this info area you can select individual bus segments with the mouse.
The devices in the bus segment in question (e.g., the local bus devices on
one bus terminal) are then displayed in the "Device Statistics" info area.
The number of messages and errors is displayed numerically as well as
graphically. The bus segment with most errors is given a bar which fills out
the entire box. The bus segments with fewer errors are given bars of
proportionately smaller size.
Device Statistics
Depending on the selected bus segment in the info area "Bus Segment
Statistics", you see the devices in this bus segment here.
The number of messages and errors is displayed numerically as well as
graphically. The device with most errors is given a bar which fills out the
entire box. The devices with fewer errors are given bars of proportionately
smaller size.
Settings

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...

With this button you go to the "Settings" dialog box.

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".

Figure 3-17 Comment statistic entry

5219B

3-19

IBS CMD G4

3.3.7

Menu "Statistics... Evaluate Statistics File..."

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.

Figure 3-18 Evaluate statistics


All displayed statistical data from the current statistics file refers to the line
selected in the "Entries" area. .Each entry has a date and time stamp and
may optionally include a comment.
The display is not updated because an existing file is evaluated in this
dialog box..
Overview
Here the number of individual INTERBUS cycles is displayed in six info
areas.
At the top you see the total number of cycle types and below the number
of defective cycles. The types of cycle are next to each other:
Transmission Cycles:

3-20

Transmission cycles = identification cycles + data cycles.

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

Here, the ratio of disruptive cycles to error-free cycles is evaluated using a


defined (non-linear) algorithm and graphically displayed. The display refers
to the last entry in the statistics file and, therefore, always shows the current
transmission quality.
Bus Segment Statistics
In this info area you can select individual bus segments with the mouse.
The devices in the bus segment in question (e.g., the local bus devices on
one bus terminal) are then displayed in the "Device Statistics" info area.
The number of messages and errors is displayed numerically as well as
graphically. The bus segment with most errors is given a bar which fills out
the entire box. The bus segments with fewer errors are given bars of
proportionately smaller size.
Device Statistics
Depending on which bus segment you have selected in the upper display
area "Bus Segment Statistics", you can see the devices in the selected bus
segment.
The number of messages and errors is displayed numerically as well as
graphically. The device with most errors is given a bar which fills out the
entire box. The devices with fewer errors are given bars of proportionately
smaller size.

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...

To be able to modify or create a comment on any statistics file entry, please


use this button.

Figure 3-19 Change comment


Settings
Other File

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

Menu "Statistics... Last Peripheral Error..."

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..

Figure 3-20 Last peripheral error


More...

5219B

Press the "More" button to get more information about the peripheral faults.

3-23

IBS CMD G4

3.3.9

Menu "Statistics... 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..

Figure 3-21 Top ten


More...

Press the "More" button to get more information about the errors.

3.3.10

Menu "Statistics... Reset Statistics Counter"

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

Menu "Window... Bus System Messages"

As soon as a message arrives from the controller board, the following message window is displayed.

Figure 3-22 Bus system messages


This message window shows all messages of the bus system from the
current session. If there are more than four entries, you can view the
previous messages by means of the scroll bar.
Buttons
Window in Background

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

This button changes to the "Diagnostics" add-on program.


Option Box

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

Menu "?... Contents"

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

Menu "?... Using Help"

Use this command to start the standard Windows help.


This will give you general information about on with Help systems under
MS Windows.

3-26

5219B

Diagnostics

3.4

Keyboard Assignment Diagnostics

Help (in the "?" menu)

Settings... (in the "Diagnostics" menu)

Evaluate Message File... (in the "Messages" menu)

Evaluate Statistics File... (in the "Statistics" menu)

Close (in the "Diagnostics" menu)

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

Address Monitor ..........................................................................4-3


4.1.1

4.2

Address Selection .........................................................4-6

DRIVECOM Monitor / Device Parameterization..........................4-7


4.2.1

DRIVECOM Monitor ......................................................4-7

4.2.2

Device Parameterization ...............................................4-7

4.2.3

Status Word DRIVECOM Monitor ...............................4-14

4.2.4

Control Word DRIVECOM Monitor .............................4-14

4.2.5

Device Control Status Machine (DRIVECOM-Monitor) 4-15

4.2.6

Device Control State transitions (DRIVECOM Monitor) 4-16

4.2.7

System Menu "DRIVECOM Monitor" ..........................4-20

4.2.8

Keyboard Assignment DRIVECOM Monitor ...............4-20

4.2.9

Dialog Main Window (Device Parameterization) .........4-21

4.2.10 Context menu "Device Parameterization" ...................4-24


4.2.11 Menu "Structure Device Parameterization" .................4-30
4.2.12 Menu (Device Parameterization) "File... New" ............4-32
4.2.13 Menu (Device Parameterization) "File... Load" ...........4-33
4.2.14 Menu (Device Parameterization) "File... Save" ...........4-33
4.2.15 Menu (Device Parameterization) "File... Save As..." ...4-34
4.2.16 Menu (Device Parameterization) "File... Delete" .........4-35
4.2.17 Menu (Device Parameterization) "File... Import" .........4-36
4.2.18 Menu (Device Parameterization) "File... Export" .........4-37
4.2.19 Menu (Device Parameterization) "File... Print" ............4-38
4.2.20 Menu (Device Parameterization) "File... Close" ..........4-39
4.2.21 Menu (Device Parameterization) "Edit...
New Parameter Description" .......................................4-39
4.2.22 Menu (Device Parameterization) "Edit... Cut" .............4-39
4.2.23 Menu (Device Parameterization) "Edit... Copy" ..........4-39
4.2.24 Menu (Device Parameterization) "Edit... Paste" .........4-40
4.2.25 Menu (Device Parameterization) "Edit... Delete" ........4-40
4.2.26 Menu (Device Parameterization) "Edit... Select All" ....4-40

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

Control Panel of the LCD ............................................4-46

4.4

Digital Process Data Monitor.....................................................4-49

4.5

Device States ............................................................................4-52

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

The PLC or PC address is displayed here.


The bit number is added to the address in the "Bit" display.

I/O

This display identifies whether it is input (I) or output (O) data.

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

System menu of "Address Monitor"

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

1. Input Process Data


Process data transmitted by the INTERBUS network to the controller
board.
2. Output Process Data
Process data transmitted by the controller board to the INTERBUS
network.
3. Standard Registers
If you select this option, the addresses occupied with the diagnostics
and standard function registers are displayed.
4. User Functions
The start, status, and result bits of all user functions are displayed with
this option.

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

DRIVECOM Monitor / Device


Parameterization
DRIVECOM Monitor

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

Dialog Box "Main Window (DRIVECOM-Monitor)"

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

This button triggers the DRIVECOM devices automatic start-up sequence


(of an engine, for example). During this process, the states in the "Device
Control" dialog box are run through automatically. The "Device Status" field
displays these in plain English at the same time. The bits in the "Status
Word" field also change accordingly.

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

Opens the "Device Control" dialog box.


4.2.2.2

Dialog Box "Device Control (DRIVECOM-Monitor)"

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

The current status is highlighted in color, as are the possible "state


transitions".
Each of the available buttons represents a different state transition. These
allow you to gradually bring a DRIVECOM device into operation. The
labeled device control buttons are used to distinguish between the control
commands; the numbered buttons are always assigned to the possible
transitions. The "control word" in the area at top right indicates the last
active changeover as a hexadecimal value. The "status word" below
reflects the current status.
Due to internal processing of the bits for control and status word, the
hexadecimal display may change. The values can be checked in binary
format.

5219B

4-11

IBS CMD G4
4.2.2.3

Dialog Box "Settings (DRIVECOM-Monitor)"

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

DRIVECOM monitor settings

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

Defines the addressed Byte.

Qualifying Symbol

Yes - the value has a qualifying symbol.


No - the value is without a 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.

Trend dialog box

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" "Settings (DRIVECOM Monitor) "

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.

Delete Process Data


Item

Deletes the selected process data description from the table.

Cut Process Data


Item

Cuts the selected process data description and puts it on the Clipboard.

Copy Process Data


Item

Copies the selected process data description and puts it on the Clipboard.

Paste Process Data


Item From Clipboard

Inserts a process data description from the Clipboard into the table.

4-14

5219B

Monitor

4.2.3

Status Word DRIVECOM Monitor

Relationship between device states and status word:

Figure 4-8

Device status and status word

Bits marked with an "x" are insignificant. Due to internal processing, the
same states may produce different status word displays.

4.2.4

Control Word DRIVECOM Monitor

Relationship between device control command and control word:

Figure 4-9

Device control command and control word

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

Device Control Status Machine


(DRIVECOM-Monitor)

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

Electronics are supplied with power


Performing a self-test
Initializing
Drive function is locked

LOCK IS ACTIVE

Software/hardware initialization is finished


Parameterization of the drive device using the stored values is finished
Drive device can be re-parameterized
Drive function is locked
Switch On is locked

READY

Drive device can be re-parameterized


Drive function is locked
Released for Switch On

ON

Drive device can be re-parameterized


Drive function is locked
Power section is ready

RELEASE FOR
OPERATION

Drive device can be re-parameterized

QUICK STOP IS
ACTIVE

Drive device can be re-parameterized

Drive function is released

Quick stop function is running


Drive function is released

MALFUNCTION

Drive device can be re-parameterized


Drive function is locked

FAILURE
REACTION IS
ACTIVE

4-16

Drive device can be re-parameterized


An error-dependent action is being performed

5219B

Monitor
Drive function may be released

4.2.6

Device Control State transitions


(DRIVECOM-Monitor)

State transition:

Status machine... NOT READY

Cause:

Reset

Effect/Action:

Start self-test
Start initialization

State transition:

NOT READY ... LOCK IS ACTIVE

Cause:

Self-test error-free
Initialization finished without errors

Effect/Action:

Activate communication and process data monitors

State transition:

LOCK IS ACTIVE ... READY

Cause:

"Shutdown"

Effect/Action:

Possibly: manufacturer-specific (for example, power section has no


power supply)

State transition:

READY ... ON

Cause:

"Switch on"

Effect/Action:

If the power section is not yet on, it is switched on

State transition:

ON ... RELEASE FOR OPERATION

Cause:

"Release for operation"

5219B

4-17

IBS CMD G4
Effect/Action:

Release drive function

State transition:

RELEASE FOR OPERATION... ON

Cause:

"Lock operation"

Effect/Action:

Execute parameterizable "Lock Drive Function" function

State transition:

ON ... READY

Cause:

"Shutdown"

Effect/Action:

You can switch off the power section

State transition:

READY ... LOCK IS ACTIVE

Cause:

"Quick Start" or
"Lock Power"

Effect/Action:

None

State transition:

RELEASE FOR OPERATION ... READY

Cause:

"Shutdown"

Effect/Action:

Execute parameterizable "Lock Drive Function" function


You can switch off the power section

State transition:

RELEASE FOR OPERATION ... LOCK IS ACTIVE

Cause:

"Lock Power"

Effect/Action:

Lock drive function


You can switch off the power section

4-18

5219B

Monitor
State transition:

ON ... LOCK IS ACTIVE

Cause:

"Lock Power" or "Quick Stop"

Effect/Action:

You can switch off the power section

State transition:

RELEASE FOR OPERATION... QUICK STOP IS ACTIVE

Cause:

"Quick Stop"

Effect/Action:

Run parameterizable "Quick Stop Function"

State transition:

QUICK STOP IS ACTIVE... LOCK IS ACTIVE

Cause:

Quick stop is finished or


"Lock Power"

Effect/Action:

Lock drive function


You can switch off the power section

State transition:

All states ... FAILURE REACTION IS ACTIVE

Cause:

Drive failure detected

Effect/Action:

Run error-dependent failure reaction

State transition:

FAILURE REACTION IS ACTIVE ... MALFUNCTION

Cause:

Failure reaction is finished

Effect/Action:

Lock drive function


You can switch off the power section

State transition:

5219B

MALFUNCTION ... LOCK IS ACTIVE

4-19

IBS CMD G4
Cause:

"Reset Failure"

Effect/Action:

Possibly: Failure no longer exists


Failure reaction is running

4.2.7

System Menu "DRIVECOM Monitor"

DRIVECOM Monitors System menu is a standard Windows menu, the only


difference being that the item "Settings" has been added.
In the "Settings" dialog box, you can describe the manufacturer-specific
bits and create process data descriptions for the DRIVECOM device.

4.2.8

Keyboard Assignment DRIVECOM Monitor

Help (can be invoked at any time)


Settings (on the Control menu)
Device Control (in the Main window)
Close (in the Main window)

4-20

5219B

Monitor

4.2.9

Dialog Main Window (Device Parameterization)

The "Device Parameterization" allows you to selectively read, compare and


write the parameter descriptions (PCP objects) of the selected device.

Figure 4-10 Device parameterization


Function keys

The most important commands are provided as buttons below the menu
bar. These commands can also be invoked using function keys.

Additional
information

More detailed information is provided here on the INTERBUS device on


which you have opened the "Device Parameterization". This information
includes the device manufacturer and the profile number, for example.

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

This is the object index and serves to uniquely identify a parameter


description (PCP object). Please consult the devices documentation for
information on the importance of your PCP devices PCP objects.

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

Enter the (numeric) format in which values are to be displayed or entered.


Status
The status of the parameter description is displayed here. The status
indicates whether a parameter description has been assigned a new value
and whether the write operation was successful.

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

Enter the data length of the parameter description here.

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.

Figure 4-11 Define range thresholds


Check the "Apply Range Thresholds" option to apply the settings.
Description

When this option is checked, individual defined entries in the "Value"


column are assigned descriptions. For example, you can assign text to
default revolutions. The text will then appear in the "Value" column instead
of the figure.

Figure 4-12 Value description

5219B

4-23

IBS CMD G4

4.2.10

Context menu "Device Parameterization"

Figure 4-13 Context menu Device Parameterization


You can use the commands on this context menu to create and edit the
PCP devices parameter descriptions (PCP objects).
Paste Parameter

Inserts a parameter description above the one selected in the table.

Delete Parameter

Deletes the selected parameter description from the table.

Cut Parameter

Cuts the selected parameter description and puts it on the Clipboard.

Copy Parameter

Copies the selected parameter description and puts it on the Clipboard.

Paste Parameter
From clipboard

Inserts a parameter description from the Clipboard in the table.


4.2.10.1

Dialog (Device Parameterization) Edit Value

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

Array (e.g. "Octet-String" type)

Figure 4-14 Change values


In an array, every array entry is administered in a separate row. To edit the
value of an array entry, select it and click the "Edit Value" button.
Depending on the arrays data type, a dialog box will open in which the
selected array entry can be edited.

5219B

4-25

IBS CMD G4
4.2.10.3

Visible-String, Octet-String

Figure 4-15 Change text


The dialog box for editing the "Octet-String/Visible-String" string data types
is divided into two areas. You can make your edits in either of these areas.
The window at right contains the ASCII text and the window at left has the
corresponding hexadecimal code. Changes you make in one window are
automatically reflected in the other.

4-26

5219B

Monitor
4.2.10.4

Date and Time-of-Date

Figure 4-16 Change date and time of day

5219B

4-27

IBS CMD G4
4.2.10.5

Time Difference

Figure 4-17 Change time difference


4.2.10.6

Bit-String

Figure 4-18 Change bit string


In this dialog box you can edit the values of "Bit-String" type parameter
descriptions. A Bit-String whose length is "4" is displayed in the table with
4 entries, each consisting of 8 bits.

4-28

5219B

Monitor

4.2.11

Menu "Structure Device Parameterization"

Figure 4-19 Menu Device Parameterization

4.2.11.1

File

Figure 4-20 Menu File

5219B

4-29

IBS CMD G4
4.2.11.2

Edit

Figure 4-21 Menu Edit

4-30

5219B

Monitor
4.2.11.3

Device

Figure 4-22 Menu Device


4.2.11.4

Options

Figure 4-23 Menu Options


4.2.11.5

Help

Figure 4-24 Menu ?

4.2.12

Menu (Device Parameterization) "File... New"

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

Menu (Device Parameterization) "File... Load"

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".

Figure 4-25 Load parameter list

4.2.14

Menu (Device Parameterization) "File... Save"

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

Menu (Device Parameterization) "File... Save


As..."

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.

Figure 4-26 Save parameter list

5219B

4-33

IBS CMD G4

4.2.16

Menu (Device Parameterization) "File... Delete"

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).

Figure 4-27 Delete parameter list

4-34

5219B

Monitor

4.2.17

Menu (Device Parameterization) "File... Import"

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.

Figure 4-28 Import files

5219B

4-35

IBS CMD G4

4.2.18

Menu (Device Parameterization) "File... Export"

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".

Figure 4-29 Save parameter table

4-36

5219B

Monitor

4.2.19

Menu (Device Parameterization) "File... Print"

You can use this command to print the current parameter table.

Figure 4-30 Print parameter data


The following information will appear in the printout:
Parameter
Index
Sub-index
Name
Unit
Object type
Access rights
Data type
Length
Display format
Number
Value

5219B

4-37

IBS CMD G4

4.2.20

Menu (Device Parameterization) "File... Close"

Use this command to close the "Device Parameterization".

Figure 4-31 Close device parameterization


You can save the list of parameter descriptions by exporting it to a file or
using the "Save As..." command on the "File" menu to save it in the project
file (*.BG4).

4.2.21

Menu (Device Parameterization) "Edit... New


Parameter Description"

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

Menu (Device Parameterization) "Edit... Cut"

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

Menu (Device Parameterization) "Edit... Copy"

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

Menu (Device Parameterization) "Edit... Paste"

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

Menu (Device Parameterization) "Edit... Delete"

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

Menu (Device Parameterization) "Edit... Select


All"

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.

Figure 4-32 Select eintire paramter table


You can also select the entire parameter table by clicking in the top left box
in the table.
To select individual ranges in the parameter table, click the row number of
the first row in the range, press and hold the left mouse button and click the
row number of the last row in the range. The selected range is highlighted
and you can now delete it, cut, read, write, compare, or copy it.

5219B

4-39

IBS CMD G4

4.2.27

Menu (Device Parameterization) "Device... Read


Parameter List"

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

Menu (Device Parameterization) "Device... Read


Selected Parameter Descriptions"

This command is used to read selected parameter descriptions from the


device.

Figure 4-33 Read selected parameter descriptions


First select one or more rows in the table of parameter descriptions. Then
choose this command.
Except for the value of the parameter description, this command reads the
entire parameter description from the device.

4.2.29

Menu (Device Parameterization) "Device...


Compare Selected Parameter Descriptions"

You can use this command to compare the selected parameter


descriptions with the parameter descriptions on the device. For example, if
you have changed the data type of a parameter description, you can filter
out the differences using the "Compare Selected Parameter Descriptions"
command.
Except for the value of the parameter description, this command compares
the entire parameter description.

4-40

5219B

Monitor

4.2.30

Menu (Device Parameterization) "Device... Read


Selected Values"

This command is used to read the values of the selected parameter


descriptions from the PCP device. Only the values are read and not the
entire parameter description.

4.2.31

Menu (Device Parameterization) "Device... Write


Selected Values"

This command is used to write values of the selected parameter


descriptions to the devices corresponding PCP objects.

4.2.32

Menu (Device Parameterization) "Device...


Compare Selected Values"

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

Menu (Device Parameterization) "Options...


Ignore Error Message From Device"

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.

Figure 4-34 Ignore error message

5219B

4-41

IBS CMD G4

4.2.34

Menu (Device Parameterization) "Help Add-On


Program Contents"

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

Menu (Device Parameterization) "Help Using


Help"

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

Menu (Device Parameterization) "Help About"

This opens a dialog box with the device parameterizations version number
and build date.

Figure 4-35 About device parameterization

4-42

5219B

Monitor

4.2.37

Keyboard Assignments Device Parameterization

Help (always accessible)


Print... (on the "File" menu)
Read Selected Values (on the "Device" menu)
Write Selected Values (on the "Device" menu)
Compare Selected Values (on the "Device" menu)
New Parameter Description (on the "Edit" menu)
Close (on the "File" menu)")
Delete (on the "Edit" menu)
Copy (on the "Edit" menu)
Cut (on the "Edit" menu)
Paste (on the "Edit" menu)

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.

Figure 4-36 Software LCD


Faults are displayed by a change in color from green to red exactly as on
the hardware display.

4-44

5219B

Monitor

4.3.1

Control Panel of the LCD

The control panel can be displayed and hidden by the system menu of the
software LCD.

Figure 4-37 System menu "LCD"

Key Assignment

Figure 4-38 Control panel of LCD


1 Left
2 Select menu (Enter)
3 Up
4 Cancel / Exit menu (ESC)
5 Right
6 Down
In the following overview you see the individual menus of the LCD. You can
move horizontally within the menus with the cursor keys and vertically with
the ENTER and ESC keys. With the ENTER key you go down one menu
level and with the ESC key you go up one menu level..

5219B

4-45

IBS CMD G4

Figure 4-39 Menu of the LCD

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

Number of CRC errors per device


Top Ten local bus errors
Top Ten CRC errors

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

Display of process data on the input addresses


Display of process data on the output addresses

For detailed information on operation of the display, please refer to your


controller board documentation.

5219B

4-47

IBS CMD G4

4.4

Digital Process Data Monitor

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.

Figure 4-40 Digital process data monitor


Title Bar

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

This field displays the process data value as a hexadecimal 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.

Figure 4-41 Change output process data


Change...

If you have set an output process data description on a control or computer


address, the "Change..." button will become active as soon as the process
data description in question is set in the monitor. The output process data
can then be changed in another dialog box.
Please note that if a preprocessing or application program is running, the
bits set in the monitor may be overwritten in the next bus cycle.
Change data

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

This button sets all the bits to "1".

All Off

This button sets all the bits to "0".

4-50

5219B

Monitor

4.5

Device States

This monitor allows you to (de)activate and jumper individual devices and
local bus windings.

Figure 4-42 Device states


Device #:

The devices logical device number is displayed here. The sequence in


which the devices are displayed in the dialog box corresponds to the logical
sequence in the bus configuration.

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

The number of devices you have selected is displayed here.

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

This state is not possible. An active device can not be jumpered.


Activated:

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.

Figure 4-43 Preprocessing monitoring

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

General Information ....................................................................5-5

5.2

Main Window "Preprocessing" ....................................................5-7

5.3

Menu Structure "Preprocessing" .................................................5-8

5.4

Menu "File..."...............................................................................5-8
5.4.1

Menu "File... Save" .......................................................5-8

5.4.2

Menu "File... Back to CMD" ..........................................5-9

5.4.3

Menu "File... Exit" ..........................................................5-9

5.4.4

Menu "Edit... Next WS" .................................................5-9

5.4.5

Menu "Edit... Prev. WS" ..............................................5-10

5.4.6

Menu "Edit... WS manag." ..........................................5-10

5.4.7

Menu "Edit... Undo" .....................................................5-11

5.4.8

Menu "Edit... Cut" ........................................................5-11

5.4.9

Menu "Edit... Copy" .....................................................5-11

5.4.10 Menu "Edit... Paste" ....................................................5-12


5.4.11 Menu "Edit... Delete" ...................................................5-12
5.4.12 Menu "Edit... Copy To..." .............................................5-12
5.4.13 Menu "Edit... Insert From" ...........................................5-12
5.4.14 Menu "Edit... Delete Worksheet" .................................5-13
5.4.15 Menu "Edit... Find" ......................................................5-13
5.4.16 Menu "Edit... Find and Replace" .................................5-14
5.4.17 Menu "Edit... Mark All Objects" ...................................5-14
5.4.18 Menu "Edit... Mark Object" ..........................................5-15
5.4.19 Menu "Edit... Link Objects" .........................................5-15
5.4.20 Menu "Edit... Object open" ..........................................5-15
5.4.21 Menu "Edit... Object Properties" .................................5-15
5.5

5219B

Menu "Object..." ........................................................................5-17


5.5.1

Menu "Object... Function/Function Block" ...................5-17

5.5.2

Menu "Object... Variable" ............................................5-19

5.5.3

Menu "Object... Constant" ...........................................5-20

5.5.4

Menu "Object... Text (Comment)" ...............................5-20

5-1

IBS CMD G4
5.5.5

Menu "Layout..." ..........................................................5-21

5.5.6

Menu "Layout... Toolbar" ............................................5-21

5.5.7

Menu "Layout... Statusline" .........................................5-22

5.5.8

Menu "Layout... WS size" ...........................................5-22

5.5.9

Menu "Layout... Zoom Range" ....................................5-23

5.5.10 Menu "Layout... Zoom in" ............................................5-23


5.5.11 Menu "Layout... Zoom out" .........................................5-24
5.5.12 Menu "Layout... Previous View" ..................................5-24
5.5.13 Menu "View... Default Size" ........................................5-24
5.5.14 Menu "Layout... Redraw" ............................................5-24
5.5.15 Menu "Layout... Grid" ..................................................5-25
5.5.16 Menu "Layout... Page Borders" ...................................5-25
5.5.17 Menu "Layout... Online Layout" ..................................5-25
5.6

Menu "Make..."..........................................................................5-27
5.6.1

Menu "Make... Compile All" ........................................5-27

5.6.2

Menu "Make... Check Unit" .........................................5-28

5.6.3

Menu "Make... Next Error" ..........................................5-28

5.6.4

Menu "Make... Prev. Error" .........................................5-28

5.7

Menu "?...".................................................................................5-29

5.8

Data Types Preprocessing........................................................5-32

5.9

5.8.1

ANY_BIT - Group ........................................................5-32

5.8.2

ANY_INT - Group ........................................................5-32

5.8.3

ANY_REAL - Group ....................................................5-32

Blocks Preprocessing................................................................5-33
5.9.1

Blocks Bit-by-Bit Boolean Link ....................................5-35

5.9.2

Blocks Arithmetic Operators .......................................5-36

5.9.3

Blocks Arithmetic Comparison ....................................5-39

5.9.4

Blocks Type Conversion .............................................5-41

5.9.5

Blocks Bit Manipulation ...............................................5-42

5.9.6

Blocks Numerical Functions ........................................5-45

5.9.7

Blocks Bistable Elements ............................................5-48

5.9.8

Blocks Edge Recognition ............................................5-49

5.9.9

Blocks Counters ..........................................................5-50

5.9.10 Blocks G3 Functions ...................................................5-52

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

Simple programming example

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

Main Window "Preprocessing"

Figure 5-3

Main window of "Preprocessing"

The main window of "Preprocessing" basically consists of:


Menu Bar
Toolbar
Status Line
Other areas are the worksheet and the scroll bars.

5219B

5-7

IBS CMD G4

5.3

Menu Structure "Preprocessing"

Figure 5-4

5.4

Menu bar

Menu "File..."

Figure 5-5

5.4.1

Menu "File"

Menu "File... Save"

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

Menu "File... Back to CMD"

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

Menu "File... Exit"

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"

If one of the worksheets was changed, you will be given a warning.

Figure 5-8

5.4.4

Save changes

Menu "Edit... Next WS"

This command changes to the next worksheet, if one exists.


You can create and manage worksheets with the "WS manag." command.

5219B

5-9

IBS CMD G4

5.4.5

Menu "Edit... Prev. WS"

This command changes to the previous worksheet, if one exists.


You can create and manage worksheets with the "WS manag." command.

5.4.6

Menu "Edit... WS manag."

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

Here, the existing worksheets are listed.


Buttons:

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.

Figure 5-10 "Delete" not possible


Delete

Deletes the selected worksheet. The currently visible worksheet cannot be


deleted.

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

Menu "Edit... Undo"

This command cancels the last action or command.

5.4.8

Menu "Edit... Cut"

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

Menu "Edit... Copy"

This command copies/duplicates the selected objects. After copying the


object, it can be placed in the marked position with the "Paste" command.

5219B

5-11

IBS CMD G4

5.4.10

Menu "Edit... Paste"

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

Menu "Edit... Delete"

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

Menu "Edit... Copy To..."

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.

Figure 5-11 Save as GP file

5.4.13

Menu "Edit... Insert From"

This command inserts a saved GP file into an empty worksheet. GP files


(*.GP) hold the contents of any single worksheet. You can save process
data links as a file with the "Copy" command.

5-12

5219B

Preprocessing

5.4.14

Menu "Edit... Delete Worksheet"

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

Menu "Edit... Find"

With this command you can search for texts, variable names, or constants
on the current worksheet.

Figure 5-12 Search


Match Whole Word Only
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 is
displayed::

Figure 5-13 No matches found

5219B

5-13

IBS CMD G4

5.4.16

Menu "Edit... Find and Replace"

With this command you can search for texts, variable names, or constants
on the current worksheet and replace them with another term.

Figure 5-14 Search and Replace


Match Whole Word
Only

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:

Figure 5-15 No matches found

5.4.17

Menu "Edit... Mark All Objects"

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

Menu "Edit... Mark Object"

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:

Figure 5-16 Cursor: Insert point

5.4.19

Menu "Edit... Link Objects"

: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

Menu "Edit... Object open"

As yet this command has no function.

5.4.21

Menu "Edit... Object Properties"

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

Figure 5-17 Properties "function blocks"

Figure 5-18 Formal parameter

5-16

5219B

Preprocessing

5.5

Menu "Object..."

Figure 5-19 Menu "Object"

5.5.1

Menu "Object... Function/Function Block"

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"..

Figure 5-20 Insert object


Name

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.

Show Data Types

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.

Figure 5-21 Formal parameter


Delete FP

Deletes an input or output.

Double FP

Duplicates the selected input or output of the current block.


This function is not available in all blocks.

5-18

5219B

Preprocessing

5.5.2

Menu "Object... Variable"

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..

Figure 5-22 Variable selection


Variable Name

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

The data type is displayed here.

Init

You can assign start values to variables and memories which are set when
starting the INTERBUS network

Block

This specifies an input or output variable.

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

Menu "Object... Constant"

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.

Figure 5-23 Constant


You can use BOOL, BYTE, INT, SINT, DINT, REAL, WORD, and DWORD
for "Data Type".

5.5.4

Menu "Object... Text (Comment)"

With this command you can create a comment text line which is inserted at
the position marked (with the cross).

Figure 5-24 Comment


With the "Font >>" button, you can select the desired font from a standard
dialog box with which the comment is to be created. All fonts installed under
Windows are available here.

5-20

5219B

Preprocessing

5.5.5

Menu "Layout..."

Figure 5-25 Menu "Layout"

5.5.6

Menu "Layout... Toolbar"

This command displays or hides the toolbar. If the menu command is


marked by a check, the toolbar is displayed.

Figure 5-26 Toolbar


Not all commands are available all the time. The execution of some commands is subject to certain factors (e.g., that a block is marked). Those buttons which are not available are displayed in a two-dimensional form.

Figure 5-27 Representation of buttons

5219B

5-21

IBS CMD G4

5.5.7

Menu "Layout... Statusline"

Figure 5-28 Status line


The status line is at the bottom of the screen.
The status line gives you the following information:
The status line is at the bottom of the screen.
The status line gives you the following information:
Error messages and other information
Selected tool
- "MARK" to place the marking cross
- "LINK" to select the linking tool
Mouse pointer coordinates,
at present 104/59
Available working storage

5.5.8

Menu "Layout... WS size"

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.

Figure 5-29 Worksheet size

5-22

5219B

Preprocessing

5.5.9

Menu "Layout... Zoom Range"

Select this command to enlarge a defined area.


After selecting the command, the cursor changes its appearance.
Select a corner of the desired section of the image you want to enlarge and
pull the mouse with the left mouse button pressed to the opposite corner of
the desired image section. The marked area is displayed when you release
the mouse button.
Cursor representation for this command::

Figure 5-30 Cursor: Zooming

5.5.10

Menu "Layout... Zoom in"

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..

Figure 5-31 End of zoom range

5219B

5-23

IBS CMD G4

5.5.11

Menu "Layout... Zoom out"

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.

Figure 5-32 End of zoom range

5.5.12

Menu "Layout... Previous View"

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

Menu "View... Default Size"

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

Menu "Layout... Redraw"

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

Menu "Layout... Grid"

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

Menu "Layout... Page Borders"

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.

Figure 5-33 Page Borders

5.5.17

Menu "Layout... Online Layout"

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

Displays the values of Boolean variables as text - "TRUE" or "FALSE".

Numeric Boolean
Values

Displays the values of Boolean variables numerically - as a "0" or "1".

5-26

5219B

Preprocessing

5.6

Menu "Make..."

Figure 5-34 Menu "Make"

5.6.1

Menu "Make... Compile All"

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..

Figure 5-35 Compiler message

5219B

5-27

IBS CMD G4

5.6.2

Menu "Make... Check Unit"

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.

Figure 5-36 Compiler message

5.6.3

Menu "Make... Next Error"

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.

Figure 5-37 Text display in status line

5.6.4

Menu "Make... Prev. Error"

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 "?..."

Figure 5-38 Menu "?"


5.7.0.1

Menu "?... Contents"

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

Menu "?... Use Help"

Use this command to start standard Windows Help.


Here you get general information about working with Help systems under
MS-Windows.
5.7.0.3

Menu "?... About"

In this dialog box you get information about the current version of your addon program "Preprocessing".

Figure 5-39 Program and manufacturer information

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:

Figure 5-40 Overwrite Variables


Dialog box for forcing (overwriting) numeric variables:

Figure 5-41 Overwrite 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

Data Types Preprocessing

Data types "ANY_INT" and "ANY_REAL" are summarized under


"ANY_NUM".

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

Bit-by-Bit Boolean Link:


ANDand
ORor
NOT not
XOR exclusive or
Arithmetic Operators
ADD addition
MUL multiplication
SUB subtraction
DIV division
MOVEassignment
MODmodulo; remainder of an integer division
Arithmetic Comparisons
GT greater than
GE greater than or equal to
EQ equal to
LE lower than or equal to
LT lower than
NE not equal to
Type Conversions
BCD_TO_*type conversion from BCD code
BOOL_TO_*type conversion from BOOL
BYTE_TO_*type conversion from BYTE
DINT_TO_*type conversion from DINT
DWORD_TO_*type conversion from DWORD
INT_TO_*type conversion from INT
REAL_TO_*type conversion from REAL
SINT_TO_*type conversion from SINT
WORD_TO_*type conversion from WORD
TRUNC_*truncation

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

Blocks Bit-by-Bit Boolean Link

These are the four standard Boolean logic blocks.


5.9.1.1

AND

AND logic

Figure 5-42 AND block


5.9.1.2

OR

OR logic

Figure 5-43 OR block


5.9.1.3

NOT

NOT logic

Figure 5-44 NOT block


5.9.1.4

XOR

EXCLUSIVE OR logic

Figure 5-45 XOR block

5219B

5-35

IBS CMD G4
All input and output parameters are of the "ANY_BIT" type.

Figure 5-46 Example of varying AND blocks


You can also adapt the individual blocks to your requirements by varying
the number of inputs and/or negating individual inputs.

5.9.2

Blocks Arithmetic Operators

5.9.2.1

ADD

Addition

Figure 5-47 ADD block


Input parameter:
ANY_NUM
Output parameter:
ANY_NUM
5.9.2.2

MUL

Multiplication

Figure 5-48 MUL block


Input parameter:
ANY_NUM
Output parameter:
ANY_NUM

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

Figure 5-50 DIV block


Input parameter:
ANY_NUM
Output parameter:
ANY_NUM
5.9.2.5

MOD

Modulo, remainder of an integer division

Figure 5-51 MOD block


Input parameter:
ANY_INT
Output parameter:
ANY_INT
5.9.2.6

MOVE

Assignment, A gets the value of E.

Figure 5-52 MOVE block


Input parameter:
ANY_NUM, ANY_BIT
Output parameter:
ANY_NUM, ANY_BIT

5-38

5219B

Preprocessing

5.9.3

Blocks Arithmetic Comparison

5.9.3.1

GT

Greater than

Figure 5-53 GT block


Input parameter:
ANY_NUM
Output parameter:
BOOL
5.9.3.2

GE

Greater than or equal to

Figure 5-54 GE block


Input parameter:
ANY_NUM
Output parameter:
BOOL
5.9.3.3

EQ

Equal to

Figure 5-55 EQ block


Input parameter:
ANY_NUM
Output parameter:
BOOL

5219B

5-39

IBS CMD G4
5.9.3.4

LE

Lower than or equal to

Figure 5-56 LE block


Input parameter:
ANY_NUM
Output parameter:
BOOL
5.9.3.5

LT

Lower than

Figure 5-57 LT block


Input parameter:
ANY_NUM
Output parameter:
BOOL
5.9.3.6

NE

Not equal to

Figure 5-58 NE block


Input parameter:
ANY_NUM
Output parameter:
BOOL

5-40

5219B

Preprocessing

5.9.4

Blocks Type Conversion

5.9.4.1

*_TO_*

The type conversion functions convert the data types:


BOOL
BYTE
INT
SINT
DINT
WORD
DWORD
REAL
from one to the other.
The block designation is then:
"Source data type"_TO_"destination data type"
For example, the conversion of INT to BYTE

Figure 5-59 INT_T


5.9.4.2

BCD_TO_DINT

Type conversion from BCD-Code to DINT

Figure 5-60 BCD_TO_DINT block


Input parameter:
DWORD
Output parameter:
DINT

5219B

5-41

IBS CMD G4
5.9.4.3

TRUNC_*

Truncation
There are three different functions:
TRUNC_DINT
TRUNC_INT
TRUNC_SINT

Figure 5-61 TRUNC_INT block


Input parameter:
ANY_REAL
Output parameter:
DINT, INT, SINT (depending on the selected block)

5.9.5

Blocks Bit Manipulation

5.9.5.1

SHL

Shift left

Figure 5-62 SHL block


Input parameter IN:
ANY_BIT
Input parameter N:
ANY_INT
Output parameter A:
ANY_BIT

5-42

5219B

Preprocessing
5.9.5.2

SHR

Shift right

Figure 5-63 SHR block


Input Parameter IN:
ANY_BIT
Input Parameter N:
ANY_INT
Output Parameter A:
ANY_BIT
5.9.5.3

ROR

Rotate right

Figure 5-64 ROR block


Input parameter IN:
ANY_BIT
Input parameter N:
ANY_INT
Output parameter A:
ANY_BIT

5219B

5-43

IBS CMD G4
5.9.5.4

ROL

Rotate left

Figure 5-65 ROL block


Input parameter IN:
ANY_BIT
Input parameter N:
ANY_INT
Output parameter A:
ANY_BIT

5-44

5219B

Preprocessing

5.9.6

Blocks Numerical Functions

5.9.6.1

ABS

Absolute value

Figure 5-66 ABS block


Input parameter E:
REAL
Output parameter A:
REAL
5.9.6.2

NEG

Negation

Figure 5-67 NEG block


Input parameter E:
ANY_NUM
Output parameter A:
ANY_NUM
5.9.6.3

SQRT

Square root

Figure 5-68 SQRT block


Input parameter E:
REAL
Output parameter A:
REAL

5219B

5-45

IBS CMD G4
5.9.6.4

Blocks Selection Functions

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_*

Maximum input values

Figure 5-69 MAX_* block


5.9.6.6

MIN_*

Minimum input values

Figure 5-70 MIN_* block


5.9.6.7

LIMIT_*

Maximum or minimum input values

Figure 5-71 LIMIT_* block

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

Figure 5-72 SEL_* block


SEL_*
Select an input value from two input values using the "G" bit.
Input Parameter G:
BOOL
Parameter IN0, IN1, A
DINT, REAL, SINT depending on the selected block.

Figure 5-73 SEL_* block

5219B

5-47

IBS CMD G4

5.9.7

Blocks Bistable Elements

5.9.7.1

SR

Memory component (flipflop) priority set

Figure 5-74 SR flipflop block


Input parameter SET1:
BOOL
Input parameter RESET:
BOOL
Output parameter Q1:
BOOL
5.9.7.2

RS

Memory component (flipflop) priority reset

Figure 5-75 RS flipflop block


Input parameter SET:
BOOL
Input parameter RESET1:
BOOL
Output parameter Q1:
BOOL

5-48

5219B

Preprocessing

5.9.8

Blocks Edge Recognition

5.9.8.1

R_TRIG

Recognition of a rising edge

Figure 5-76 R_TRIG block


Input parameter CLK:
BOOL
Output parameter Q:
BOOL
5.9.8.2

F_TRIG

Recognition of a falling edge

Figure 5-77 F_TRIG block


Input parameter CLK:
BOOL
Output parameter Q:
BOOL

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

Up counter (from 0 to PV)

Figure 5-78 CTU block


Input parameter CU, RESET:
BOOL
Input parameter PV:
INT
Output parameter Q:
BOOL
Output parameter CV:
INT

5-50

5219B

Preprocessing
5.9.9.2

CTD

Down counter (from PV to 0)

Figure 5-79 CTD block


Input parameter CD, LOAD:
BOOL
Input parameter PV:
INT
Output parameter Q:
BOOL
Output parameter CV:
INT
5.9.9.3

CTUD

Up/down counter (between 0 and PV)

Figure 5-80 CTUD block


Input parameter CU, CD, RESET, LOAD:
BOOL
Input parameter PV:
INT
Output parameter QU, QD:
BOOL
Output parameter CV:
INT

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

Figure 5-81 RESET_OUT_IN01 block


Discrete structure:

Figure 5-82 Discrete structure of RESET_OUT_IN01


5.9.10.2

RESET_OUT_IN10

Figure 5-83 RESET_OUT_IN10 block


Discrete structure:

Figure 5-84 Discrete

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.

Figure 5-85 RESET_OUT_IN01_SW block


Discrete structure:

Figure 5-86 Discrete structure of RESET_OUT_IN01_SW


5.9.10.4

RESET_OUT_IN10_SW

This block has an additional enable input. This must be set for the RESET
bit to be effective.

Figure 5-87 RESET_OUT_IN10_SW block

5-54

5219B

Preprocessing
5.9.10.5

Discrete structure:

Figure 5-88 Discrete structure of RESET_OUT_IN10_SW

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

Create Connection Lines

5-56

5219B

Preprocessing
Add Text

Insert Block

Assign Input/Output Variables

Define Constant

Previous Worksheet

Worksheet Management

Next Worksheet

Previous Error

Next Error

Find

Find and Replace

5219B

5-57

IBS CMD G4

5.11

Keyboard Assignment

"Preprocessing"

Help (in the "?" menu)

Redraw (in the "Layout" menu)

Grid (in the "Layout" menu)

Mark All Objects (in the "Edit" menu)

Page Borders (in the "Layout" menu)

Delete (in the "Edit" menu)

Exit (in the "File" menu)

Copy (in the "Edit" menu)

Link Object (in the "Edit" menu)

Select Object (in the "Edit" menu)

Save (in the "File" menu)

Paste (in the "Edit" menu)

Cut (in the "Edit" menu)

5-58

5219B

Preprocessing

Undo (in the "Edit" menu)

Previous View (in the "Layout" menu)

Default Size (in the "Layout" menu)

Zoom Out (in the "Layout" menu)

Zoom In (in the "Layout" menu)

Function/Function Block (in the "Object" menu)

Text (in the "Object" menu)

Variable (in the "Object" menu)

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

Message Box ..............................................................................6-3

6.2

Bus Editor....................................................................................6-5

6.3

Bus Representation in the Event of an Error...............................6-8

6.4

Connecting Leads of the Bus Lines ..........................................6-10

6.5

Mouse Menu / Context Menu ....................................................6-12

6.6

Explanation of the Module Designations...................................6-13

6.7

Keyboard Assignment ...............................................................6-15

6.8

Address and Hotline..................................................................6-17

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

Message dialog without details

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

Message dialog with details

Message code and file

5219B

Others

6.2
Using keyboard
shortcuts to cut,
copy and paste

Bus Editor

<CTRL>+<x> Cuts the selected device


<CTRL>+<c> Copies the selected device
<CTRL>+<v> Pastes the selected device

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.

Drag and Drop

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

Moving several devices

Copying a device

Copying several devices

Setting the display


width

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

Bus Representation in the Event of an


Error

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

Figure 6-x Peripheral error

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

Figure 6-x Bus error

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

Connecting Leads of the Bus Lines

Bus Line Connection Lines

Copper remote bus

Fiber optic remote bus lines

Installation remote bus

Incompatible interface types

Infrared remote bus line

Copper local bus line

Fiber optic peripheral bus line

Infrared peripheral bus line

Bus line for IB-ST compact stations

6-10

5219B

Others

INTERBUS installation local bus connecting line

Optical waveguide installation local bus connecting line

Installation ring

5219B

In the operating states "Configuration (offline)", "Configuration (online)",


and "Monitoring" the bus lines are displayed in black. You will recognize the
"Diagnostics" operating state among other things by the green remote bus
lines.

6-11

IBS CMD G4

6.5

Mouse Menu / Context Menu

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

Mouse menu/context menu

Edit

Context menu command such as: Cut, Copy, Paste, Delete

Configuration

Context menu items such as: Process Data, Description

Monitoring

Context menu items such as: Address Monitor, Display IBS DSC

Diagnostics

Context menu items such as: Bus Diagnostics

6-12

5219B

Others

6.6

Explanation of the Module Designations

Module designations for INTERBUS products from Phoenix Contact are


structured according to a uniform scheme.
You can derive the following information from the module designations:.

Figure 6-8

Module designations

Design

SL
RT
ST
CB
IP
IPKIS
IPKES
SAB

- INTERBUS installation local bus


- RemoteTerminal
- SmartTerminal
- ControllerBoard
- IP65 degree of protection
- IP67 degree of protection KIS
- IP67 degree of protection KES
- Sensor/actuator box

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

Help (in the "?" menu)

Print... (in the "File" menu)

Operating State... (in the "File" menu)

Save (in the "File" menu)

Open (in the "File" menu)

Replace (in the "Edit" menu)

Compressed Representation (in the "View" menu)

Search... (in the "Edit" menu)

Description (in the "Configuration" menu)

Exit (in the "File" menu)

Insert with Description (in the "Edit" menu)

Delete (in the "Edit" menu)

5219B

6-15

IBS CMD G4

Cut (in the "Edit" menu)

Copy (in the "Edit" menu)

Paste (in the "Edit" menu)

Device States (in the "Monitor" menu)

Undo (in the "Edit" menu)

Process Data/Variables (in the "Configuration" menu)

Address Monitor (in the "Monitor" menu)

Exit (in the "File" menu)

Call up context menu

6-16

5219B

Others

6.8

Address and Hotline

Phoenix Contact GmbH & Co.


Flachsmarktstr. 8-28
32825 Blomberg
Germany

+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

[email protected]

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:

INTERBUS topology .....................................................1-5

Figure 1-3:

Parameterization of all INTERBUS devices..................1-6

Figure 1-4:

Serial connecting cable.................................................1-7

Figure 1-5:

Configuration ................................................................1-8

Figure 1-6:

Monitoring .....................................................................1-9

Figure 1-7:

Diagnostics .................................................................1-10

Figure 1-8:

Main window ...............................................................1-14

Figure 1-9:

Elements .....................................................................1-16

Figure 2-1:

Main menu ....................................................................2-5

Figure 2-2:

Context menu of unmarked elements ...........................2-5

Figure 2-3:

Menu "File...".................................................................2-6

Figure 2-4:

Set operating state........................................................2-6

Figure 2-5:

Open project .................................................................2-8

Figure 2-6:

Save project as... ........................................................2-10

Figure 2-7:

Delete project..............................................................2-11

Figure 2-8:

Print ............................................................................2-12

Figure 2-9:

Print... More... .............................................................2-13

Figure 2-10:

End IBS CMD G4?......................................................2-13

Figure 2-11:

Save changes? ...........................................................2-14

Figure 2-12:

Menu "Edit..." ..............................................................2-15

Figure 2-13:

Search for a bus device ..............................................2-16

Figure 2-14:

Insertion not possible ..................................................2-17

Figure 2-15:

Insert device with ID code...........................................2-18

Figure 2-16:

Selection of the connection interface ..........................2-20

Figure 2-17:

ID Code Selection .......................................................2-21

Figure 2-18:

Define process data length .........................................2-21

Figure 2-19:

Device database .........................................................2-22

A-1

IBS CMD G4

A-2

Figure 2-20:

Link? ...........................................................................2-24

Figure 2-21:

Select device for connection .......................................2-25

Figure 2-22:

Re-assigning device numbers.....................................2-26

Figure 2-23:

Menu "View...".............................................................2-28

Figure 2-24:

Reduced representation .............................................2-28

Figure 2-25:

Box Display .................................................................2-29

Figure 2-26:

Set representation ......................................................2-30

Figure 2-27:

Representation of a device .........................................2-31

Figure 2-28:

Display optios .............................................................2-32

Figure 2-29:

Box display .................................................................2-33

Figure 2-30:

Error at device x.y .......................................................2-34

Figure 2-31:

Project description ......................................................2-37

Figure 2-32:

EVIW main menu ........................................................2-38

Figure 2-33:

PLC or PC description ................................................2-39

Figure 2-34:

Icons "PLC/PC"...........................................................2-39

Figure 2-35:

Program description....................................................2-40

Figure 2-36:

Controller board settings.............................................2-41

Figure 2-37:

Standard register settings ...........................................2-42

Figure 2-38:

Diagnostic register ......................................................2-43

Figure 2-39:

Standard function register...........................................2-44

Figure 2-40:

Standard function........................................................2-45

Figure 2-41:

Settings "Bus Mode" ...................................................2-46

Figure 2-42:

Bus operation (S7 300)...............................................2-49

Figure 2-43:

Operating mode options .............................................2-50

Figure 2-44:

Operating mode options (S7 400)...............................2-52

Figure 2-45:

Settings "Controller board" (S5, S7 400 and BA)........2-53

Figure 2-46:

Register for IBS S5 DSC/I-T .......................................2-54

Figure 2-47:

Settings "Controller board" (PLC) ...............................2-55

Figure 2-48:

Settings "Slot/Addresses" ...........................................2-56

Figure 2-49:

Settings "Address Areas"............................................2-58

Figure 2-50:

Settings "IBS Data Records".......................................2-59

5219B

List of Figures

5219B

Figure 2-51:

Settings I/O Coupling lauten .......................................2-60

Figure 2-52:

Context Menu "Edit parameterization" ........................2-62

Figure 2-53:

Parameterization / action / service..............................2-64

Figure 2-54:

Context menu "Edit Parameterization"........................2-65

Figure 2-55:

Action library ...............................................................2-66

Figure 2-56:

Action editor without parameters ................................2-67

Figure 2-57:

Action editor with parameters .....................................2-68

Figure 2-58:

Parameterization data.................................................2-74

Figure 2-59:

Execute parameterization ...........................................2-76

Figure 2-60:

Control parameterization.............................................2-77

Figure 2-61:

Operation states of controller board............................2-78

Figure 2-62:

Action / Service editor.................................................2-79

Figure 2-63:

Controller board description........................................2-83

Figure 2-64:

User functions / events / parameters ..........................2-84

Figure 2-65:

Menu "IB Function Blocks"..........................................2-84

Figure 2-66:

User functions.............................................................2-85

Figure 2-67:

Bit selection user functions .........................................2-87

Figure 2-68:

Events.........................................................................2-88

Figure 2-69:

Bit selection events .....................................................2-90

Figure 2-70:

Service primitives........................................................2-91

Figure 2-71:

Structure of a service ..................................................2-91

Figure 2-72:

Edit parameter ............................................................2-92

Figure 2-73:

Overview available service primitives .........................2-93

Figure 2-74:

Edit Macro...................................................................2-95

Figure 2-75:

Comment or rename macro........................................2-96

Figure 2-76:

Comment service ........................................................2-97

Figure 2-77:

Device registration ......................................................2-98

Figure 2-78:

Automatic device registration......................................2-99

Figure 2-79:

Select controller board ..............................................2-101

Figure 2-80:

Double BMK..............................................................2-101

Figure 2-81:

Icon "Controller Board" .............................................2-102

A-3

IBS CMD G4

A-4

Figure 2-82:

Dialog box "Process Data"........................................2-103

Figure 2-83:

Example of a process data description .....................2-105

Figure 2-84:

Context menu "Process Data" ..................................2-107

Figure 2-85:

Dialog box "Address Range".....................................2-109

Figure 2-86:

"Digital" address range .............................................2-109

Figure 2-87:

"Analog" address range ............................................2-110

Figure 2-88:

Max. number of addresses .......................................2-110

Figure 2-89:

Automatic assignment ..............................................2-111

Figure 2-90:

Search error location ................................................2-112

Figure 2-91:

Direct link ..................................................................2-113

Figure 2-92:

Address assignment .................................................2-114

Figure 2-93:

Filter for process data description.............................2-115

Figure 2-94:

Data consistency ......................................................2-116

Figure 2-95:

Menu "Write ASCII File"............................................2-118

Figure 2-96:

Create CSV file .........................................................2-119

Figure 2-97:

CSV file options ........................................................2-122

Figure 2-98:

EPLAN export ...........................................................2-123

Figure 2-99:

EPLAN settings.........................................................2-124

Figure 2-100:

EPLAN macro ...........................................................2-125

Figure 2-101:

AWL specification .....................................................2-127

Figure 2-102:

AWL file successfully generated ...............................2-128

Figure 2-103:

Parameterization memory description ......................2-130

Figure 2-104:

Format parameterization memory.............................2-131

Figure 2-105:

Parameterization memory successfully formatted ....2-131

Figure 2-106:

Read parameterization memory................................2-132

Figure 2-107:

Write parameterization memory................................2-133

Figure 2-108:

Compare projects .....................................................2-134

Figure 2-109:

Menu "File"................................................................2-135

Figure 2-110:

Selecting files............................................................2-136

Figure 2-111:

Reading files ............................................................2-137

Figure 2-112:

Select destination directory.......................................2-138

5219B

List of Figures

5219B

Figure 2-113:

Reading user files .....................................................2-139

Figure 2-114:

Writing user files to the parameterization memory....2-140

Figure 2-115:

Overwriting a file .......................................................2-141

Figure 2-116:

User files in the parameterization memory ...............2-142

Figure 2-117:

Program variables.....................................................2-144

Figure 2-118:

Context menu "Variables" .........................................2-146

Figure 2-119:

Filter for variables .....................................................2-147

Figure 2-120:

Process data assignment .........................................2-148

Figure 2-121:

Preprocessing description.........................................2-149

Figure 2-122:

Read configuration frame .........................................2-152

Figure 2-123:

Configuration frame description ................................2-152

Figure 2-124:

Compare configuration frame ...................................2-153

Figure 2-125:

Device description ....................................................2-154

Figure 2-126:

Parameter channel ...................................................2-157

Figure 2-127:

Selection of interface ................................................2-158

Figure 2-128:

Presentation..............................................................2-159

Figure 2-129:

Box presentation .......................................................2-160

Figure 2-130:

Groups ......................................................................2-161

Figure 2-131:

Alternatives ...............................................................2-162

Figure 2-132:

"Process Data" dialog box of a device ......................2-163

Figure 2-133:

Location of process data...........................................2-163

Figure 2-134:

Menu "Options..." ......................................................2-165

Figure 2-135:

Activate add-on programs.........................................2-166

Figure 2-136:

Deactivate add-on programs.....................................2-167

Figure 2-137:

Create device description .........................................2-168

Figure 2-138:

Print device description.............................................2-170

Figure 2-139:

Import device description ..........................................2-171

Figure 2-140:

Export device description..........................................2-172

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:

Communication path .................................................2-177

Figure 2-145:

Communication with PC controller board..................2-178

Figure 2-146:

Driver settings...........................................................2-179

Figure 2-147:

Select serial interface ...............................................2-180

Figure 2-148:

Setting the serial interface ........................................2-180

Figure 2-149:

Settings "Device Database" ......................................2-181

Figure 2-150:

Settings "General".....................................................2-182

Figure 2-151:

Function key bar .......................................................2-182

Figure 2-152:

Show service results .................................................2-183

Figure 2-153:

Service primitives......................................................2-183

Figure 2-154:

Select directory .........................................................2-185

Figure 2-155:

Settings "Database (general)....................................2-186

Figure 2-156:

Settings "Process Data"............................................2-187

Figure 2-157:

Settings "Password"..................................................2-188

Figure 2-158:

Menu "?..." ................................................................2-189

Figure 2-159:

About ........................................................................2-190

Figure 3-1:

Main window "Diagnostics" ...........................................3-4

Figure 3-2:

Main menu "Diagnostics" ..............................................3-6

Figure 3-3:

Menu "Diagnostics".......................................................3-6

Figure 3-4:

Menu "Messages" .........................................................3-6

Figure 3-5:

Menu "Statistics" ...........................................................3-6

Figure 3-6:

Menu "Window".............................................................3-7

Figure 3-7:

Menu "?" .......................................................................3-7

Figure 3-8:

Settings .........................................................................3-8

Figure 3-9:

Save statistic file ...........................................................3-9

Figure 3-10:

Delete STC file?............................................................3-9

Figure 3-11:

Structure of message file ............................................3-11

Figure 3-12:

Messages (online) ......................................................3-12

Figure 3-13:

Evaluate messages ....................................................3-13

Figure 3-14:

Delete file?..................................................................3-14

Figure 3-15:

Message types............................................................3-15

5219B

List of Figures

5219B

Figure 3-16:

Record statistic ...........................................................3-17

Figure 3-17:

Comment statistic entry ..............................................3-19

Figure 3-18:

Evaluate statistics .......................................................3-20

Figure 3-19:

Change comment .......................................................3-22

Figure 3-20:

Last peripheral error ...................................................3-23

Figure 3-21:

Top ten........................................................................3-24

Figure 3-22:

Bus system messages ................................................3-25

Figure 4-1:

Address monitor............................................................4-3

Figure 4-2:

System menu of "Address Monitor" ..............................4-5

Figure 4-3:

Address selection .........................................................4-6

Figure 4-4:

DRIVECOM Monitor......................................................4-8

Figure 4-5:

Device control .............................................................4-10

Figure 4-6:

DRIVECOM monitor settings ......................................4-11

Figure 4-7:

Context menu .............................................................4-13

Figure 4-8:

Device status and status word ....................................4-14

Figure 4-9:

Device control command and control word.................4-14

Figure 4-10:

Device parameterization .............................................4-21

Figure 4-11:

Define range thresholds..............................................4-23

Figure 4-12:

Value description ........................................................4-23

Figure 4-13:

Context menu Device Parameterization ...................4-24

Figure 4-14:

Change values ............................................................4-26

Figure 4-15:

Change text ................................................................4-27

Figure 4-16:

Change date and time of day......................................4-28

Figure 4-17:

Change time difference...............................................4-29

Figure 4-18:

Change bit string.........................................................4-29

Figure 4-19:

Menu Device Parameterization ................................4-30

Figure 4-20:

Menu File..................................................................4-30

Figure 4-21:

Menu Edit .................................................................4-31

Figure 4-22:

Menu Device ............................................................4-32

Figure 4-23:

Menu Options ...........................................................4-32

Figure 4-24:

Menu ? .....................................................................4-32

A-7

IBS CMD G4

A-8

Figure 4-25:

Load parameter list .....................................................4-33

Figure 4-26:

Save parameter list .....................................................4-34

Figure 4-27:

Delete parameter list...................................................4-35

Figure 4-28:

Import files ..................................................................4-36

Figure 4-29:

Save parameter table .................................................4-37

Figure 4-30:

Print parameter data ...................................................4-38

Figure 4-31:

Close device parameterization....................................4-39

Figure 4-32:

Select eintire paramter table .......................................4-40

Figure 4-33:

Read selected parameter descriptions .......................4-41

Figure 4-34:

Ignore error message .................................................4-42

Figure 4-35:

About device parameterization ...................................4-43

Figure 4-36:

Software LCD .............................................................4-45

Figure 4-37:

System menu "LCD" ...................................................4-46

Figure 4-38:

Control panel of LCD ..................................................4-46

Figure 4-39:

Menu of the LCD.........................................................4-47

Figure 4-40:

Digital process data monitor .......................................4-49

Figure 4-41:

Change output process data.......................................4-50

Figure 4-42:

Device states ..............................................................4-52

Figure 4-43:

Processing monitoring ................................................4-54

Figure 5-1:

Overview .......................................................................5-5

Figure 5-2:

Simple programming example ......................................5-6

Figure 5-3:

Main window of "Preprocessing"...................................5-7

Figure 5-4:

Menu bar.......................................................................5-8

Figure 5-5:

Menu "File"....................................................................5-8

Figure 5-6:

Changed worksheet ......................................................5-8

Figure 5-7:

Exit "Preprocessing" .....................................................5-9

Figure 5-8:

Save changes ...............................................................5-9

Figure 5-9:

Worksheet management.............................................5-10

Figure 5-10:

"Delete" not possible...................................................5-11

Figure 5-11:

Save as GP file ...........................................................5-12

Figure 5-12:

Search ........................................................................5-13

5219B

List of Figures

5219B

Figure 5-13:

No matches found.......................................................5-13

Figure 5-14:

Search and Replace ...................................................5-14

Figure 5-15:

No matches found.......................................................5-14

Figure 5-16:

Cursor: Insert point .....................................................5-15

Figure 5-17:

Properties "function blocks" ........................................5-16

Figure 5-18:

Formal parameter .......................................................5-16

Figure 5-19:

Menu "Object" .............................................................5-17

Figure 5-20:

Insert object ................................................................5-17

Figure 5-21:

Formal parameter .......................................................5-18

Figure 5-22:

Variable selection .......................................................5-19

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:

Status line ...................................................................5-22

Figure 5-29:

Worksheet size ...........................................................5-22

Figure 5-30:

Cursor: Zooming .........................................................5-23

Figure 5-31:

End of zoom range .....................................................5-23

Figure 5-32:

End of zoom range .....................................................5-24

Figure 5-33:

Page Borders ..............................................................5-25

Figure 5-34:

Menu "Make"...............................................................5-27

Figure 5-35:

Compiler message ......................................................5-27

Figure 5-36:

Compiler message ......................................................5-28

Figure 5-37:

Text display in status line............................................5-28

Figure 5-38:

Menu "?" .....................................................................5-29

Figure 5-39:

Program and manufacturer information ......................5-29

Figure 5-40:

Overwrite Variables.....................................................5-30

Figure 5-41:

Overwrite Variables.....................................................5-30

Figure 5-42:

AND block ...................................................................5-35

Figure 5-43:

OR block .....................................................................5-35

A-9

IBS CMD G4

A-10

Figure 5-44:

NOT block ...................................................................5-35

Figure 5-45:

XOR block...................................................................5-35

Figure 5-46:

Example of varying AND blocks..................................5-36

Figure 5-47:

ADD block ...................................................................5-36

Figure 5-48:

MUL block ...................................................................5-36

Figure 5-49:

SUB block ...................................................................5-37

Figure 5-50:

DIV block ....................................................................5-38

Figure 5-51:

MOD block ..................................................................5-38

Figure 5-52:

MOVE block ................................................................5-38

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:

INT_TO_BYTE block ..................................................5-41

Figure 5-60:

BCD_TO_DINT block..................................................5-41

Figure 5-61:

TRUNC_INT block ......................................................5-42

Figure 5-62:

SHL block ...................................................................5-42

Figure 5-63:

SHR block ...................................................................5-43

Figure 5-64:

ROR block ..................................................................5-43

Figure 5-65:

ROL block ...................................................................5-44

Figure 5-66:

ABS block ...................................................................5-45

Figure 5-67:

NEG block...................................................................5-45

Figure 5-68:

SQRT block ................................................................5-45

Figure 5-69:

MAX_* block ...............................................................5-46

Figure 5-70:

MIN_* block ................................................................5-46

Figure 5-71:

LIMIT_* block ..............................................................5-46

Figure 5-72:

SEL_* block ................................................................5-47

Figure 5-73:

SEL_* block ................................................................5-47

Figure 5-74:

SR flipflop block ..........................................................5-48

5219B

List of Figures

5219B

Figure 5-75:

RS flipflop block ..........................................................5-48

Figure 5-76:

R_TRIG block .............................................................5-49

Figure 5-77:

F_TRIG block..............................................................5-49

Figure 5-78:

CTU block ...................................................................5-50

Figure 5-79:

CTD block ...................................................................5-51

Figure 5-80:

CTUD block ................................................................5-51

Figure 5-81:

RESET_OUT_IN01 block ...........................................5-52

Figure 5-82:

Discrete structure of RESET_OUT_IN01....................5-52

Figure 5-83:

RESET_OUT_IN10 block ...........................................5-53

Figure 5-84:

Discrete structure of RESET_OUT_IN10....................5-53

Figure 5-85:

RESET_OUT_IN01_SW block....................................5-53

Figure 5-86:

Discrete structure of RESET_OUT_IN01_SW............5-53

Figure 5-87:

RESET_OUT_IN10_SW block....................................5-54

Figure 5-88:

Discrete structure of RESET_OUT_IN10_SW............5-54

Figure 6-1:

Message dialog without details.....................................6-3

Figure 6-2:

Message dialog with details..........................................6-4

Figure 6-3:

Message code and file ..................................................6-4

Figure 6-4:

Bus representation........................................................6-7

Figure 6-5:

Figure 6-x Peripheral error............................................6-9

Figure 6-6:

Figure 6-x Bus error ......................................................6-9

Figure 6-7:

Mouse menu/context menu ........................................6-10

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

Compare (DRIVECOM monitor)


Parameter descriptions ............4-41
Values ......................................4-42
Compile (Preprocessing) ...............5-27
Worksheet ................................5-27
Compile all (Preprocessing)
Compile ....................................5-27
Configuration ......................... 1-8, 2-35
Configuration frame
Activate.....................................2-80
Compare.................................2-153
Create.......................................2-80
Deativate ..................................2-80
Description .............................2-152
Read again .............................2-152
Confirmation ..................................2-91
Connecting cable .............................1-7
Connection lines
Bus .............................................. 6-10
Consistency of data .....................2-116
Constant (Preprocessing) ..............5-20
Contents of help
Diagnostics...............................3-26
Preprocessing ..........................5-29
Context menu ................................6-10
"Edit Parameterization" ............ 2-65
"Process Data" .......................2-107
Device parameterization
(DRIVECOM monitor)... 4-24
DRIVECOM monitor settings .. 4-13
Preprocessing variables .........2-146
Selected elements .................... 2-35
Unmarked elements.................... 2-5
Context menu ..................................1-7
Control controller board .................2-77
Control panel .................................4-46
Control word

5219B

DRIVECOM monitor................. 4-14


Controller
Reset........................................2-81
Controller board
Check parameterization ...........2-74
Control .....................................2-77
Description ............................... 2-83
Edit parameterization ............... 2-62
Execute parameterization ........2-76
Export parameterization...........2-75
Import parameterization ...........2-75
Operating state ........................2-77
Parameterization ......................2-62
Set............................................ 2-41
Type ....................................... 2-101
Conversion instructions ...................2-9
Copy .............................................. 2-17
Copy (DRIVECOM monitor) .......... 4-39
Copy (Preprocessing)....................5-11
Copy to (Preprocessing)................5-12
Counters (Preprocessing) .............5-50
Create
Device description..................2-168
Create configuration frame ............2-80
CRs
Reset......................................2-173
CSV file ............................2-118, 2-122
CSV file options...........................2-122
CTD block......................................5-51
CTU block......................................5-50
CTUD block ...................................5-51
Cut .................................................2-16
Cut (DRIVECOM monitor) .............4-39
Cut (Preprocessing) ......................5-11
D
Data consistency .........................2-116

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

System menu ...........................4-20


Driver
Set ..........................................2-176

Export parameterization of controller


board ..................................2-75
Export project data ........................2-37

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

"Configuration Frame" ............2-152


"Configuration" .........................2-35
"Device"..................................2-154
"Diagnostics" ..............................3-6
"Edit".........................................2-15
"File" ................................... 2-6, 5-8
"IB Function Blocks" .................2-84
"Layout" ....................................5-21
"Make" ......................................5-27
"Messages" ................................3-6
"Object" ....................................5-17
"View" .......................................2-28
"Write ASCII File" ...................2-118
Cancel ......................................1-15
Select .......................................1-15
Menu bar........................................1-14
Menu items
Select .......................................1-15
Menu of LCD..................................4-47
Menu structure...............................1-18
Device parameterization
(DRIVECOM monitor)....4-30
Preprocessing ............................5-8
Message box ...................................6-3
Message file...................................3-11
Evaluate ...................................3-13
Message types...............................3-15
Messages
Bus system...............................3-25
Messages (online) .........................3-10
MIN_* block ......................... 5-46, 5-47
MOD block .....................................5-38
Module designation........................6-13
Monitor.............................................4-3
Monitoring .............................. 1-9, 4-54
Mouse menu ..................................6-12
MOVE block...................................5-38
A-20

Moving around in a dialog box ......1-15


MUL block .....................................5-36
N
NE block ........................................5-40
NEG block .....................................5-45
New file............................................2-7
New file (DRIVECOM monitor)......4-32
NOT block .....................................5-35
Numerical functions
(Preprocessing) ..................5-45
O
Object properties (Preprocessing). 5-15
Object, menu (Preprocessing).......5-17
Online layout (Preprocessing) .......5-25
Open a file .......................................2-8
Open object (Preprocessing).........5-15
Operating instructions ........1-14, 2-189
Operating mode
Options.....................................2-48
Operating mode options ................2-49
Operating state.......................1-10, 2-6
Operating state..............................1-15
Controller board .......................2-77
Operating state..............................1-17
Options ........................................2-165
OR block........................................5-35
Other .............................................1-17
Overview .....................................2-190
Overwrite variables
(Preprocessing) ..................5-30

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

Parameterization memory ......2-137


READY ..........................................2-77
Reception.......................................2-91
Record statistics (online) ...............3-17
Redraw (Preprocessing) ................5-24
Reduced representation ................2-28
Refresh ..........................................2-34
Register
Diagnostic registers..................2-42
Information register ..................2-43
Regulations
Wiring .......................................1-13
Renumber ......................................2-26
Replace..........................................2-18
Replace (Preprocessing) ...............5-14
Representation ..............................2-30
Box display ...............................2-29
Bus representation .....................6-8
Project ......................................1-16
Reduced ...................................2-28
Standard display.......................2-29
Representation area ......................1-15
Representation area ......................1-15
Update......................................2-34
Representation area (Preprocessing)
Update......................................5-24
Request .........................................2-91
Reserved keywords .....................2-150
Reset
CRs ........................................2-173
Statistics counter ............ 2-82, 3-24
Reset controller..............................2-81
RESET_OUT_IN01 block ..............5-52
RESET_OUT_IN01_SW block ......5-53
RESET_OUT_IN10 block ..............5-53
RESET_OUT_IN10_SW block ......5-54
Response.......................................2-91
A-22

ROL block......................................5-44
ROR block .....................................5-43

5219B

Index

Rules for assigning variable


names ...............................2-150
RUN ...............................................2-78
S
Save a file .............................. 1-18, 2-9
Save a file (DRIVECOM monitor) ..4-33
Save a file (Preprocessing)..............5-8
Scope of functions
Extended ................................2-174
Search ................................. 2-15, 2-16
SEL (Preprocessing)......................5-47
SEL_* (Preprocessing) ..................5-47
Select all (DRIVECOM monitor) ....4-40
Select file
Parameterization memory ......2-136
Selection functions
(Preprocessing)...................5-46
Serial interface.................................1-6
serial interface .................................1-7
Service primitive ............................2-91
Edit ...........................................2-92
Service structure............................2-91
Services .........................................2-70
Set representation .........................2-30
Settings
Address areas ..........................2-57
Bus mode .................................2-46
Controller board........................2-41
Database (general).................2-186
Device database.....................2-181
Diagnostics.................................3-8
Driver......................................2-176
General...................................2-182
Global .....................................2-175
I/O coupling ..............................2-60
IBS data records.......................2-59

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

We Are Interested in Your Opinion!


We would like to hear your suggestions, wishes and criticisms concerning this manual.
No matter how small your contribution we will deal with any hint or comment and add it to the documentation if possible.
Therefore, please fill in the form overleaf and fax it to us or send us your
comments, suggestions for improvement, etc. to the following address:
PHOENIX CONTACT GmbH & Co.
Produktmarketing INTERBUS / ME-DOK
Postfach 13 41
32819 Blomberg
Germany
Phone +49 - (0) 52 35 - 3-00
Telefax +49 - (0) 52 35 - 3-3 11 99

FAX Reply
Date:

Phoenix Contact GmbH & Co.


Produktmarketing
INTERBUS / ME-DOK

Fax.-No:

+49 - (0) 52 35 - 3-3 11 99

Sender:
Company:

Name:
Department:

Address:

Job function:

City,Postal
code:

Phone:

Country

Fax:

Manual Data:
Designation:

Revision:

Order No.:

My Opinion on the Manual


Form

Yes

In part

No

Is the table of contents clearly arranged?

Are the figures/diagrams easy to understand/meaningful?

Do the explanations of the figures suffice?

Does the quality of the figures meet your expectations/requirements?

Does the page layout make it easy to locate the required information?

Yes

In part

No

Are the wordings/technical terms easy to understand?

Are the index entries easy to understand/meaningful?

Are the examples practice-oriented?

Is the manual easy to handle?

Is any important information missing? If so, which?

Contents

Other Comments:

Correction Proposal/Error Message


Phoenix Contact GmbH & Co.

Date:

Abteilung EE-PT
Phone: +49 - (0) 52 35 - 3-4 10 05
E-mail: [email protected]

Fax No.:

+49 - (0) 52 35 - 3-4 20 66

Sender:
Company:

Phone:

Name:

Fax:

Department:

E-mail:

System:

Your error number:

PC Data
Processor:

RAM:

Clock:

Operating system:

Size of virtual working storage:

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:

Further working impossible

Correction:

Field Controller/
Controller board

In next version

Correct in next version

In next release

Correct in next release

In a later release

Error not critical

"nice to have

Steps which caused the error:

Detailed description of error or new functionality:

Steps to bypass the error:

Enclosed:

Pages:

Files:

Please, do not fill out!


Index:

aufgenommen von:

Rckmeldung

Datum:

Datum:

You might also like