Professional Documents
Culture Documents
Interbus g4 Manual (5150b - E)
Interbus g4 Manual (5150b - E)
User Manual
Generation 4 Controller Boards as of Firmware 4.12
Revision: B
Order No.: 27 45 18 5
5150B
Please Observe the Following:
5150B
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.
Phoenix Contact reserves the right to make any technical changes that
serve for the purpose of technical progress.
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.
5150B
Contents
3 Error Codes.......................................................................................................3-3
3.1 Error Codes for User Errors (USER FAIL) ................................. 3-3
3.2 Error Codes for General Bus Errors (BUS FAIL) ..................... 3-54
3.3 Error Codes for Remote Bus and Local Bus Errors ................. 3-64
3.4 Error Codes for System Errors ................................................. 3-79
3.5 Error Codes for Controller Boards with Slave Part................... 3-82
5150B i
IBS SYS FW G4 UM E
ii 5150B
Section 1
This section provides information on the
– differences between the firmware of Generation 3 (G3) and
Generation 4 (G4)
– the basic communication between PCP devices and controller boards
– functions for configuration frame management, process data manage-
ment, and error/diagnostic management
5150B 1-1
1-2 5150B
Introduction and Overview
1.1 Introduction
The firmware update concerns the programming of the master. All INTER-
BUS devices can still be operated in the bus system, except for 8-wire re-
mote bus devices.
The Generation 4 firmware allows the following:
– logical addressing of process data of individual devices via predefined
process data descriptions (PDDs),
– nesting of the bus topology up to 16 levels,
– support of Loop devices,
– different synchronization modes between host system and controller
board including a defined bus cycle time,
– configuration of direct link data,
– configuration of process data pre-processing,
– event-controlled function activation,
– management and parameterization of alternative or changing bus de-
vices,
– improved diagnostics for every device.
Thus, the Generation 4 firmware provides a flexible interface almost iden-
tical for all controller boards.
5150B 1-3
IBS SYS FW G4 UM E
1-4 5150B
Introduction and Overview
IBS CMD G4 The IBS CMD G4 program makes it easier to configure the system.
The IBS CMD G4 software allows the interactive and control-independent
configuration, operation and diagnostics of all devices connected within an
INTERBUS network.
IBS CMD G4 runs on standard PCs under MS Windows and can be used
for various INTERBUS controller boards. The connection to a controller
board can be established via two communication paths:
– via a serial interface (RS-232 level) to the diagnostic interface of the
controller board,
– via the corresponding slot in the case of PC controller boards (e.g., ISA
bus).
5150B 1-5
IBS SYS FW G4 UM E
1-6 5150B
Introduction and Overview
Firmware 3.x After the power-on self-test (POST), a Generation 3.x controller board gen-
erally reads in the connected bus configuration and stores it as an "initial
configuration". This configuration can be read out via the
"Send_Physical_Configuration" service. Thus, the user is able to compare
the (physically) existing configuration with the planned configuration.
Most of the applications transfer the planned configuration of the G3 con-
troller board via the "Check_Physical_Configuration" service. Differences
between the planned and present bus configuration will be indicated by the
service confirmation.
Firmware 4.x After the successful power-on self-test (POST), the G4 controller board is
set to the READY state (RDY). The configuration cannot be read in auto-
matically.
When planning a system, the configuration is created first in most cases.
The "Complete_Load_Configuration" service allows to load this configura-
tion into the controller board (see Page 2-44). When activating the loaded
configuration with the "Active_Configuration" service (see Page 2-54), the
controller board checks if this configuration corresponds to that actually
connected. Differences between the planned and present bus configura-
tion will be indicated by the service confirmation.
Also, it is possible to read in the connected configuration into the G4 con-
troller board via the "Create_Configuration" service (see Page 2-52). Now,
the user can read out this system configuration with the
"Read_Configuration" service (see Page 2-33) and compare it to the
planned configuration.
5150B 1-7
IBS SYS FW G4 UM E
The G3 and G4 services that are compared in the following partly differ with
regard to their functionality. Please refer to Section 2 "Firmware Services"
for the functionality of G4 services.
1-8 5150B
Introduction and Overview
5150B 1-9
IBS SYS FW G4 UM E
1-10 5150B
Introduction and Overview
For information exchange, the host system and the controller board have a
memory area for shared use. This memory area is designed either as a
Dual-Port Memory (DPM) or as a Multi-Port Memory (MPM) if more than
two devices are to be coupled. For better understanding, the following de-
scriptions are based on a Multi-Port Memory.
5150A002
MPM The MPM allows the information exchange between two or more devices
description (nodes). In general, the MPM is divided into the following areas: the data
transmission area (DTA), signal area (SGA) and mailbox area (MXA).
5150B 1-11
IBS SYS FW G4 UM E
The MPM size and the location of the individual memory areas depend on
the host system. Thus, exact addresses cannot be given. For host-specific
information, please refer to the corresponding driver reference manual or
to the description of the controller board.
Device driver The functions of the device driver interface (DDI) allow to access the MPM.
interface Thus, the firmware and the driver do not require hardware- or host-specific
information. The DDI with its basic functions is identical for all controller
boards.
– The devices must open or close their MPM area for communication.
– The following functions are available: two functions for reading and writ-
ing process data in the DTA, two functions for transmitting and receiving
services via the MXA, and two functions for operating the signal inter-
face (SGA).
Process data All input and output data of the connected periphery is included in one
interface memory area of the process data interface (DTI).
The DTI allows read or write access to the data area (DTA) for all MPM ac-
cessors. Viewed from the host system, all input data in the MPM is updated
with information on the devices or output data is dumped to INTERBUS de-
vices with every INTERBUS cycle.
In general, the host system and the controller board access the MPM in the
asynchronous operating mode. However, there is also the option of ac-
cessing the MPM in the synchronous operating mode. A host signal con-
trols the bus cycles or the controller board generates a signal for host con-
trol.
Most of the controller boards have a standard register set used for diagnos-
tics and easy control of the bus system. The registers are mapped to the
input and output area of the control system where they can freely be lo-
cated (see Section 1.3.2, Page 1-14).
Mailbox interface The mailbox interface (MXI) transfers services between MPM accessors.
For this, a protocol is implemented in the MPM allowing the secured trans-
mission and reading out of messages. Most of the services consist of the
request and the corresponding response. The status of the service execu-
tion and possibly additional parameters are transferred with every re-
sponse.
A message always consists of a service code and the parameter number,
even if no parameters follow (parameter length = 0). For a detailed descrip-
tion of the service structure, refer to the introductory section of the individ-
ual services.
1-12 5150B
Introduction and Overview
Signal interface The signal interface (SGI) allows the bit-controlled activation of previously
parameterized services. Also, the SGI is able to receive bit-controlled mes-
sages which, otherwise, are to be transferred via the mailbox interface. A
distinction is made between the standard signal interface (SSGI) and the
extended signal interface (XSGI).
5150B 1-13
IBS SYS FW G4 UM E
1-14 5150B
Introduction and Overview
n n+1
7 076 54 3210
USER User error/parameterization
PF Peripheral fault
n n+1
76 54 32107 0
Operating indicators The operating indicators READY, ACTIVE, and RUN show the current
state of the INTERBUS system. The diagnostic parameter register is not
used.
After the self-test the controller board is ready for operation. The indicator
bit READY is set (READY = 1).
5150B 1-15
IBS SYS FW G4 UM E
If the controller board has been configured and the configuration frame ac-
tivated without errors, the system indicates to be active. The indicator bits
READY and ACTIVE are set (READY = 1, ACTIVE = 1).
In addition, the indicator bit RUN is set when the data exchange is started
(READY, ACTIVE, and RUN = 1).
Error indicators The active error bit DETECT indicates an error which does not allow further
bus operation (DETECT = 1). The outputs decrease to the value 0 and the
diagnostic routine searches the error cause.
After having detected the error cause, the error bit DETECT bit will be reset
(DETECT = 0) and the error indicated in the bits USER, PF, BUS, and
CTRL. The diagnostic parameter register describes the error cause in more
detail.
1-16 5150B
Introduction and Overview
Error number
Error type:
e.g., address overlap 0 A 5 0
(code 0A50hex) n n+1
7 0 7 0
5150B004
Standard function The standard function register allows predefined and frequently used func-
register tions to be carried out by setting the output bit, as well as to monitor the ex-
ecution and result.
The standard function start register is used to carry out the desired func-
tion. To call the function, some of the functions require additional informa-
tion in the corresponding standard function parameter register.
The following functions are assigned to the bits of the standard function
start register:
15 8 7 6 5 4 3 2 1 0
Starting the INTERBUS system
Can only be used Stopping the bus system, resetting outputs
by the user in the and requesting a new configuration*
synchonrous mode
Deleting the diagnostic display
Disconnecting the segment*
Adding the segment*
Bypassing devices*
Canceling the device bypassing* 5150A005
5150B 1-17
IBS SYS FW G4 UM E
Function The following two figures illustrate the sequence of the function execution
execution with or without parameter transfer.
1. The function is activated via the control program with the correspond-
ing function bit in the standard function start register.
2. The function execution is indicated via the corresponding status bit in
the standard function status register.
3. Resetting the function bit via the host prevents a new function activa-
tion.
4. The RESULT bit indicates the result of the function execution in the di-
agnostic status register.
Result = 0: Function successfully completed
Result = 1: Function not successfully completed
1-18 5150B
Introduction and Overview
Standard function 1 2 3 4 5
Output bit
start bit Q 55.3
Standard function Input bit
status bit I 55.3
Standard function Input bit
result bit I 50.2
Standard function Value Output word
parameter register QW 52
5150A008
5150B 1-19
IBS SYS FW G4 UM E
READY
CFG_
LOADING
PDRL_
LOADING
PAR_
READY
Bus activity:
ACTIVE BUS_FAIL ID cycles
(permanent
diagnostics)
Bus activity:
RUN
Data cycles
5150A009
1-20 5150B
Introduction and Overview
State meanings READY The READY state is the initial state of the firmware after
every startup (cold or warm start). In this state, there is
no valid configuration available. The bus cannot be ac-
tivated.
PAR_NOT_READY After initiating the parameterization phase, the system
management is in the PAR_NOT_READY state. From
this state it is possible to initiate the three parameteriza-
tion sequences for loading the
– configuration frames,
– process data description lists (PDDLs), and
– process data reference lists (PDRL).
It is not ensured that the parameterization data that can
be read out during the parameterization phase is valid.
CFG_LOADING To load a configuration frame, the system must be in
the CFG_LOADING state.
PDDL_LOADING To define process data, the system must be in the
PDDL_LOADING state.
PDRL_LOADING To link process data, the system must be in the
PDRL_LOADING state.
PAR_READY After having terminated the parameterization phase
successfully, the firmware occupies the PAR_READY
state. One configuration frame was defined at least.
This frame was checked for completeness and consis-
tency.
ACTIVE The bus is active. Only ID cycles are run. Data is not
transmitted via the bus. The bus is operated with the
configuration characterized as "Active configuration" in
the configuration frame.
RUN Data cycles are run in this state. Only in this state is
data actually transferred.
5150B 1-21
IBS SYS FW G4 UM E
1-22 5150B
Introduction and Overview
Switch functions
General functions
5150A010
Configuration Most services are designed for the configuration of the controller board.
These services are divided into the following areas: configuration frame
management, process data management, action or signal object manage-
ment.
Configuration frame management
The configuration frame management allows to process the
information required for every device in the configuration
frame. The configuration frame describes every INTERBUS
device with an individual and numbered entry. It is possible to
configure, delete or compare several configuration frames.
The sequence of the devices within the configuration frame
5150B 1-23
IBS SYS FW G4 UM E
Bus control The bus control is responsible for the direct manipulation of the bus system
by means of firmware services. These services can be divided into two
groups. First, there are the services for changing the system state on the
bus. Second, there are the direct switching functions of individual devices,
groups or alternative groups during operation without affecting the state
machine.
General functions The general functions cannot be assigned to one of the groups mentioned
above. For example, this group includes services for accessing a memory
card, if present, as well as services for accessing system variables.
1-24 5150B
Introduction and Overview
The configuration frame reflects the configuration of the bus system in tab-
ular form. With regard to its topology and summation frame, the bus system
is fully described by the entries "device identification code" (ID), "length
code" and "bus level", as well as by the entry position within the table.
Device ID: The device ID indicates the device type and its function.
Bus level: The bus level describes for every device on which level
of the INTERBUS tree structure it is located.
Starting from the controller board, the main remote bus line has level zero.
Bus terminal modules (BK) open a new branch (bus level) with their local
bus or installation remote bus connection. The structure is limited to 16 lev-
els.
The following entries are compulsory for every device: "ID code", "length
code", and "bus level". The sequence of the devices within the frame cor-
responds to the position within the bus system, except for alternative de-
vices that are not operated on the bus at the same time.
5150B 1-25
IBS SYS FW G4 UM E
The fields "Logical device number" and "Logical group number" are the
basis for mechanisms used to switch distributed device groups, bus seg-
ments and alternative groups.
1-26 5150B
Introduction and Overview
BK I/O I/O
BK 5.0 5.1 5.2
BK I/O I/O
Level 0 Level 1 Level 2
Level 3
Inactive Active
device device 5150B011
5150B 1-27
IBS SYS FW G4 UM E
Aside from the configuration data of the bus configuration (ID code, length
code, device number, bus level, logical group number, etc.) every configu-
ration frame includes additional lists:
– Process data description list (PDDL)
– Process data reference list (PDRL)
– Communication reference list (CRL)
– Specific operating parameters (e.g. update time, timeout)
– Statistical diagnostic data, etc.
1-28 5150B
Introduction and Overview
Bus segment A bus segment consists of a remote bus device and the incoming remote
bus cable. If this remote bus device is a bus terminal module (BK), the de-
vices of the possibly branching local bus also belong to this bus segment.
The BK module of bus segment 1 is connected to the controller board via
the remote bus. Bus segment 2 is connected to the BK module of bus seg-
ment 1.
BK modules for the installation remote bus and installation remote bus de-
vices have an own bus segment number and couple a lower device level.
The position information in the logical device number corresponds to the
identification number of this device within the bus segment. Thus, every de-
vice is clearly identified via the bus segment and position number.
Physical The physical numbering is the most simplest method to number devices
device numbering within the configuration frame. All devices are numbered according to the
sequence in which they are physically located within the network.
When opening a new bus segment, all remote bus devices are assigned
the position number 0 (x.0). The individual segments are numbered in as-
cending order. If a remote bus device opens a new level (branch) as well
as another remote bus segment of that level, numbering will be continued
on the level which has just been opened, afterwards on the next higher
level.
The segment number remains constant within one bus segment and the
other devices are characterized via the position numbered in ascending or-
der.
5150B 1-29
IBS SYS FW G4 UM E
Device number
Controller Bussegment . Position
board
Inactive Active
device device
5150B012
Physical device numbering is only carried out in the test mode and after the
"Create_Configuration" service (see Page 2-52). When adding new de-
vices, the device numbers of all lower-level devices will be shifted.
Logical device The logical device numbering allows to freely set the bus segment and po-
numbering sition number of a device. When adding a new branch or a new device, the
numbering of already existing devices will not be changed. Here, the fol-
lowing rules are to be observed:
– BK modules are always assigned the position number "0".
– Devices of a local bus are always assigned the bus segment number of
the higher-level BK module.
The logical device numbering is carried out by downloading a predefined
configuration frame via the services
– "Load_Configuration" (see Page 2-27) or
– "Complete_Load_Configuration" (see Page 2-44).
1-30 5150B
Introduction and Overview
List-oriented
transmission 5150A013
5150B 1-31
IBS SYS FW G4 UM E
Assignment to The high byte includes the group number which even allows distributed de-
groups vices within the system to be assigned to one group. The low byte of the
group number indicates if this group can be switched alternatively.
Alternative groups Groups that can be switched alternatively allow the user to switch bus seg-
ments of different structure to the same remote bus output of a BK module.
Alternative devices have the same group number but a different alternative
number in the same configuration frame. The devices of different alterna-
tives must always have different logical device numbers, as corresponding
process data descriptions (PDDs) only refer to the device number. It is not
allowed to assign a logical device number twice.
BK I/O I/O
Alternative 2
Alternative 1
BK I/O I/O
5150B014
1-32 5150B
Introduction and Overview
5150B 1-33
IBS SYS FW G4 UM E
Process data In the Generation 4 firmware, the process data channel is extended by the
management process data management that can be adapted to all applications. The fol-
lowing functions can be carried out via the services of the process data
management:
– Division of the process data channel of a device into several small parts,
the so-called process data descriptions (PDDs), down to the size of one
bit.
– Independent addressing of these PDDs in the host address area.
– Broadcast addressing of the PDDs.
– Definition of direct link data.
– Superimposition of PDDs with low priority by PDDs with higher priority.
The process data management includes services to define PDDs, as well
as to assign PDDs.
Process data The PDDs in the process data description list (PDDL) allow the optimum
descriptions management of I/O modules tailored to the application. Thus, the process
image can be divided down to the bit level and addressed separately.
Process data The process data reference list (PDRL) determines the way in which input
assignment and output data is assigned to the corresponding memory position in the
MPM. Thus, all inputs and outputs can freely be shifted and accessed
within the address area of the host system. This comprehensive mecha-
nism allows to classify the data of all devices with regard to their function
or memory optimization.
Also, the process data linkage offers basic mechanisms required for the
process data pre-processing on the controller board.
1-34 5150B
Introduction and Overview
Frequency inverter
OUT
Control word Setpoint value
IN
Status word Actual value
15...........bit...........0 15...........bit...........0
5150A015
3. Afterwards the process data can freely be shifted in the address area
of the control system and thus, for example, be combined to functional
units. In addition, it is possible to realize a broadcast function via the
definition of the process data reference list. When doing so, a setpoint
definition, for example, will occupy only one address in the host sys-
tem. The controller board writes the setpoint value from the host sys-
tem to other inverters located in the system. Aside from process data
descriptions via a double word, one word or one byte, process data de-
scriptions can be carried out with one bit. In this case, status bits of dif-
ferent devices can be summarized in one word in the control computer.
Thus, several device modes can be represented quickly and compre-
hensively by means of a simple word access.
5150B 1-35
IBS SYS FW G4 UM E
MPM
Setpoint value
4. In addition, process data descriptions of one bit are required for direct
links. A direct link means that output bits are directly set by the control-
ler board. The link depends on the assigned input bits, which means it
is independent of the control program. The program processing time of
the application program is excluded. The reaction time is reduced to
the INTERBUS response time.
1-36 5150B
Introduction and Overview
Default PDD In general, the process data channel of every device is written by the firm-
ware with default process data descriptions (PDDs). The I/O data of the de-
vices then constitute one (IN or OUT) or two (IN and OUT) process data
descriptions. These PDDs include the size, data direction and device
names, as well as the default index for the IN or OUT data direction.
Default PDRL The firmware assigns process data for the IN or OUT area within the MPM.
According to the physical sequence of the devices within the ring, the pro-
cess data is assigned as of the base address and without gaps, if possible.
For assigning the process data addresses in the MPM, the following rules
are to be observed:
– Devices with one or more data words must occupy even MPM address-
es.
– Byte modules can begin on both even and odd byte addresses.
– Nibble modules begin on the upper or lower nibble of every byte.
5150B 1-37
IBS SYS FW G4 UM E
CFG_
ion Load_Configuration
urat LOADING
o nfig n
oad
_C ratio
figu
Control_Parameterization: ON itiate_L _Con
n d
I Loa
ate_
min
Ter
Initia
te_L
Control_Parameterization: OFF Ter oad
min _PD
ate_ RL
Loa
d_P
DRL
PDRL_ Load_PDRL
LOADING
5150A018
1-38 5150B
Introduction and Overview
When loading the configuration frame, the user determines the selection of
modules and the bus topology as well as the definition of functionally re-
lated bus parts/bus segments as a group. All loading processes (including
those of following lists) are initiated via an initialization service and stopped
via a termination.
5150B 1-39
IBS SYS FW G4 UM E
1-40 5150B
Introduction and Overview
This process should only be carried out for test purposes as it does not
offer the same diagnostic possibilities available when starting up a pre-
defined configuration with a certain object in mind.
After calling the "Create_Configuration" service, the controller board auto-
matically generates a configuration according to the bus configuration con-
nected at that time. This configuration frame is stored under the frame ref-
erence in the configuration frame indicated when calling the service in the
configuration directory. If there is already a configuration frame under this
frame reference, it will be overwritten.
When loading a configuration automatically, all descriptions (PDRL, CRL,
etc.) and operating parameters assigned to the configuration frame are au-
tomatically generated and set. Thus, it is possible to read out the generated
configuration with the "Read_Configuration" service and to compare it with
the planned one.
5150B 1-41
IBS SYS FW G4 UM E
It is also possible that the user loads a new configuration. A frame refer-
ence of any kind can be assigned to the configuration frame. If there is al-
ready a configuration frame under this frame reference, it will be overwrit-
ten.
A configuration is to be loaded step by step, as the parameter number of a
service is limited:
– Initiate the load process with the "Initiate_Load_Configuration" service.
– Transmit the configuration data to the controller board by calling the
"Load_Configuration" service several times.
– Terminate the load process with the "Terminate_Load_Configuration"
service. In addition, this service checks the loaded data in its total. If
there is no error, the data will be accepted. If the data is incorrect, the
service will be followed by a negative confirmation.
Also, when terminating the load process with the Default_Parameter
parameter, it is possible to indicate whether the process data and/or pa-
rameter channel should automatically be generated according to the
loaded configuration frame.
CFG_
ion Load_Configuration
urat Loading
nfig ion
ad _Co urat
o
iat e_L _Config
Init Loa
d
ate_
min
Ter
5150A019
1-42 5150B
Introduction and Overview
5150B 1-43
IBS SYS FW G4 UM E
The functions for process data management are divided into two areas:
process data definition (process data description list, PDDL) and process
data assignment (process data reference list, PDRL).
5150A020
1-44 5150B
Introduction and Overview
When defining process data descriptions (PDD) for a process data device
(PD device), the following rules are to be observed:
– The object type (IN/OUT) of PDDs must correspond to the data direction
of the PD device.
– PDDs can overlap within the internal address area of a PD device.
– IN and OUT PDDs must not exceed the internal address area of the re-
spective PD device.
– The length of the PDD must correspond to the data type except for the
fact that it is a data type of variable length.
– Bit strings must not exceed byte limits with their bit address and length:
(bit address + length ≥ 8).
5150B 1-45
IBS SYS FW G4 UM E
Put_PDDL (0321hex)
Parameter_Count
Log_Device_No PDD_Index
Entry_Count Data_Direction/Data_Type
Entry 1
Entry 1 Internal_Byte
Entry 2 Internal_Bit/Length
Extension
5150A021
Figure 1-19 Service structure of the process data description list (PDDL)
1-46 5150B
Introduction and Overview
5150B 1-47
IBS SYS FW G4 UM E
Initia
te_L
Ter oad
min _PD
ate_ RL
Loa
d_P
DRL
PDRL_ Load_PDRL
LOADING
5150A023
1-48 5150B
Introduction and Overview
Host computer
INTERBUS master
5150A024
Defining PDRL When defining PDRL entries, the following rules are to be observed:
entries – In general, only entries are accepted which correspond to one of the
combinations mentioned above.
– IN process data descriptions or addresses can repeatedly be entered
as a source in the PDRL.
– Identical or overlapping OUT process data descriptions or addresses
are not allowed to be repeatedly indicated as a destination in the PDRL,
except for the fact that one of the process data descriptions is a process
data bit string. A process data bit string will overwrite the other object.
This special case allows to map individual bits or bit strings to subordi-
nated objects.
5150B 1-49
IBS SYS FW G4 UM E
Source
Destination
15 8 7 0 Bit 5150B025
1 PDRL index 0001 ... 3FFF 4000 ... 7FFF 8000 ... BFFF C000 ... FFFF
1-50 5150B
Introduction and Overview
Error management The error management is responsible for error detection, indication and
treatment, e.g., the:
– indication of configuration errors occurred during operation.
– indication of system errors (hardware and firmware).
– possibility of indicating individual bus errors.
– supply of services for
a reading out errors later,
b confirming device status messages,
c reading out device modes.
The errors can be classified as follows:
User error User errors are caused by the user when sending a service (e.g., illegal pa-
rameters, state conflict, etc.). These errors cause a negative confirmation
of the service but do not modify the bus state (e.g., data cycles are
stopped).
System errors System errors are hardware or firmware errors which can modify the bus
state. System errors also include those errors indicated by the operating
system. If a serious error has occurred, it causes - in addition to a bus reset
- an error message and a state of the controller board which does not allow
to process services except for the "Reset_Controller_Board" service
(0956hex, see Page 2-99).
Device status Device status messages are events which occur on INTERBUS devices
messages and are indicated via the "Device_Fail_Indication" message (5340hex, see
Page 2-187). These status messages do not modify the bus state and can
be confirmed by the user with the "Control_Device_Function" service
(0714hex, see Page 2-97).
The "Read_Device_State" service (0315hex, see Page 2-105) allows to
read out selectable status information of all active devices for diagnostic
purposes.
Bus single errors Bus single errors are detected by the data link layer and processed in a bus
error statistics. The bus single errors cause an error analysis (ID cycle).
However, they do not change the bus state as long as they are individual
errors.
5150B 1-51
IBS SYS FW G4 UM E
Bus errors Bus errors are caused, for example, by a configuration change, cable fail-
ures or serious interference. These errors cause the data cycles to be
stopped (provided that data cycles were run before) and an error message
to be generated via the "Bus_Error_Indication" (6342hex) message. The
detailed cause of a bus error will not be automatically indicated but must be
requested by the user with the "Get_Error_Info" (0316hex) service. This
service reads the error cause from an error buffer which can occupy one of
the following states:
Empty No error occurred.
Not yet analyzed Error analysis not yet terminated.
Analyzed Up to ten error codes can be read out including
the error location.
Error removal or appropriate switching services (e.g., switching off the de-
fective segment) allow to eliminate the error cause in the "Analyzed" state.
Afterwards new data cycles can be initiated with the "Start_Data_Transfer"
service (0701hex).
1-52 5150B
Introduction and Overview
The bus control comprises services which directly influence the system sta-
tus during operation. This includes the activation or deactivation of different
configuration frames and the start or stop of the data transport, as well as
the reset/alarm stop of the controller board. Configuration services with
state changes are excluded from this definition.
Another area belonging to bus control includes switch functions for groups
and alternatives.
5150B 1-53
IBS SYS FW G4 UM E
Configuration
READY
Create_Configuration
pos. confirmation
neg. confirmation
Bus control
PAR_
READY
ACTIVE
Start_Data_Transfer Stop_Data_Transfer
RUN
BUS_FAIL
5150A027
1-54 5150B
Introduction and Overview
5150B 1-55
IBS SYS FW G4 UM E
1-56 5150B
Section 2
This section provides information on the
– task and the calls of firmware services
– parameters of these services
5150B 2-1
2.5 Services for Assigning Process Data ........................................2-70
2.5.1 Initiate_Load_Process_Data_Reference_List
Service .........................................................................2-70
2.5.2 Load_Process_Data_Reference_List Service .............2-72
2.5.3 Terminate_Load_Process_Data_Reference_List
Service ........................................................................2-76
2.5.4 Read_Process_Data_Reference_List Service.............2-78
2.5.5 Compact_Load_Process_Data_Reference_List
Service .........................................................................2-81
2.5.6 Compact_Read_Process_Data_Reference Service....2-85
2.6 Services for Direct INTERBUS Access .....................................2-88
2.6.1 Start_Data_Transfer Service .......................................2-88
2.6.2 Alarm_Stop Service .....................................................2-90
2.6.3 Stop_Data_Transfer Service........................................2-92
2.6.4 Control_Active_Configuration Service .........................2-94
2.6.5 Control_Device_Function Service................................2-97
2.6.6 Reset_Controller_Board Service .................................2-99
2.7 Diagnostic Services.................................................................2-100
2.7.1 Confirm_Diagnostics Service.....................................2-100
2.7.2 Get_Error_Info Service ..............................................2-102
2.7.3 Read_Device_State Service ......................................2-105
2.7.4 Get_Version_Info Service ..........................................2-109
2.7.5 Get_Diag_Info Service...............................................2-113
2.7.6 Control_Statistics Service ..........................................2-121
2.8 Services for Defining Functions ..............................................2-123
2.8.1 Initiate_Load_Action_Object Service .........................2-123
2.8.2 Load_Action_Object Service......................................2-125
2.8.3 Terminate_Load_Action_Object Service ...................2-127
2.8.4 Read_Action_Object Service .....................................2-129
2.8.5 Delete_Action_Object Service ...................................2-131
2.8.6 Initiate_Load_Signal_Object Service .........................2-133
2.8.7 Load_Signal_Object Service......................................2-135
2.8.8 Terminate_Load_Signal_Object Service ...................2-141
2.8.9 Read_Signal_Object Service .....................................2-143
2.8.10 Delete_Signal_Object Service ...................................2-148
2-2 5150B
2.8.11 Initiate_Load_Event_Object Service..........................2-150
2.8.12 Load_Event_Object Service ......................................2-152
2.8.13 Terminate_Load_Event_Object Service ....................2-157
2.8.14 Read_Event_Object Service......................................2-159
2.8.15 Delete_Event_Object Service ....................................2-162
2.9 Services for the Parameterization Memory .............................2-164
2.9.1 Program_Resident_Actions Service ..........................2-164
2.9.2 Clear_Parameterization_Memory Service .................2-166
2.9.3 File_Open Service .....................................................2-168
2.9.4 File_Close Service .....................................................2-171
2.9.5 File_Remove Service.................................................2-173
2.9.6 File_Write Service......................................................2-176
2.9.7 File_Seek Service ......................................................2-178
2.9.8 File_Read Service......................................................2-181
2.9.9 Scan_Parameterization_Memory Service..................2-184
2.10 Automatic Indications of the Controller Board .........................2-186
2.10.1 Fault Indication...........................................................2-186
2.10.2 Device_Fail Service Indication...................................2-187
2.10.3 Bus_Error Indication ..................................................2-188
5150B 2-3
2-4 5150B
Firmware Services
2 Firmware Services
2.1 Overview
5150B 2-5
IBS SYS FW G4 UM E
2-6 5150B
Firmware Services
5150B 2-7
IBS SYS FW G4 UM E
Use of The use of a service comprises the sending of a service request and the
services evaluation of the service confirmation.
The code of a service request and its corresponding service confirmation
only differ in the binary notation with regard to bit 15. Bit 15 of a service
confirmation is always set.
Thus, in hexadecimal notation, the code of a service confirmation is always
8000hex higher than the code of the service request which it follows.
Example Service request:
„Start_Data_Transfer“ "Start_Data_Transfer_Request" 0701hex
Service confirmation:
"Start_Data_Transfer_Confirmation" 8701 hex = 0701hex + 8000hex
– Result parameter = 0000hex ⇒Service executed successfully.
– Result parameter ≠ 0000hex ⇒Error during service execution.
The service confirmation confirms the successful execution of service via
a positive message and provides data, if requested. The service confirma-
tion indicates an error that occurred during service execution via a negative
message.
The Result parameter of the service confirmation shows if the service was
executed successfully (Result parameter = 0000hex) or if an error occurred
(Result parameter ≠ 0000hex) describes the error cause.
2-8 5150B
Firmware Services
Prerequisite: All conditions which must be met before a service is called in order to allow
its successful processing.
Word 1 Service_Code
Word 2 Parameter_Count
Word 3 Parameter
Word 4 Parameter
Word 5 Parameter
... ...
Parameter
Bit 15 ......................................................................... 0
5150B 2-9
IBS SYS FW G4 UM E
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-10 5150B
Firmware Services
Task: This service initiates or terminates the parameterization phase. This is nec-
essary in order to guarantee a defined startup behavior of the application.
During the parameterization phase, for example, the validity of read objects
is not guaranteed. Once the parameterization phase has been terminated,
the MPM_Node_Parameterization_Ready bit is set in the MPM. When this
bit is set, the PLC can recognize during startup when the parameterization
sequence that is stored on the EEPROM card has been successfully pro-
cessed.
Word 1 Code
Word 2 Parameter_Count
Word 3 Control_Code
Bit 15 ......................................................................... 0
5150B 2-11
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-12 5150B
Firmware Services
Prerequisite: The requesting application can receive the exclusive right only if no other
application has this right at the moment. Only one application may be the
master at a time.
Word 1 Code
Word 2 Parameter_Count
Word 3 Function
Bit 15 ................................................................................. 0
5150B 2-13
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-14 5150B
Firmware Services
Task: This service is used to enable or disable selected indications for particular
interfaces.
Word 1 Code
Word 2 Parameter_Count
Word 3 Indication_Ability
Word 4 Distribution
Word 5 Indication_Code
Bit 15 ................................................................................. 0
5150B 2-15
IBS SYS FW G4 UM E
Bit 4 …
bit 15 Reserved (always 0bin!)
Indication_Code: Use this parameter to specify the code of the in-
dication which you want to enable or disable,
e.g., 4341hex Fault_Indication.
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-16 5150B
Firmware Services
Task: This service assigns new values to the INTERBUS system parameters
(variables). A new value is only accepted if no error was detected when the
value range was checked. The following system parameters are defined:
5150B 2-17
IBS SYS FW G4 UM E
2-18 5150B
Firmware Services
Word 1 Code
Word 2 Parameter_Count
Word 3 Variable_Count
Word 4 Variable_ID
Word 5 Value 1st parameter
... ...
Variable_ID
Value 2nd parameter
...
...
Variable_ID
Value xth parameter
...
Bit 15 ................................................................................. 0
5150B 2-19
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-20 5150B
Firmware Services
Task: This service permits to read out INTERBUS system parameters (vari-
ables).
For a list of defined system parameters (variables), please refer to the de-
scription of the "Set_Value" service in the previous section.
Word 1 Code
Word 2 Parameter_Count
Word 3 Variable_Count
Word 4 Variable_ID 1st parameter
Word 5 Variable_ID 2nd parameter
... ...
Word n Variable_ID nth parameter
15 .................................................................................
Bit
0
5150B 2-21
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-22 5150B
Firmware Services
5150B 2-23
IBS SYS FW G4 UM E
Prerequisite: The parameterization phase must have been initiated with the
"Control_Parameterization" (030E hex) service before.
Word 1 Code
Word 2 Parameter_Count
Word 3 New_Config
Word 4 Frame_Reference
Word 5 Device_Count
Word 6 Extension_Length Extension
... ... Extension
2-24 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-25
IBS SYS FW G4 UM E
2-26 5150B
Firmware Services
Task: The configuration frame describes each of the specified INTERBUS de-
vices in a separate numbered entry. The sequence and the numbering of
the entries corresponds to the physical bus configuration including all alter-
natives.
This service transfers the configuration data to the controller board in the
form of a list of entries. Use the Used_ Attributes parameter to determine
which attributes the list should contain.
Example: If the entries are to consist of the INTERBUS device code and the INTER-
BUS device level only, enter the value 000Ahex for the Used_Attributes pa-
rameter (bit 1 and bit 3 are set).
The "Load_Configuration" service does not check the consistency among
the attributes but only whether this data is permitted in principle, e.g.,
whether it is within the value range.
Prerequisite: Ensure that the controller board has been prepared for the transmission
with the services
– "Control_Parameterization" (030Ehex) and
– "Initiate_Load_Configuration" (0306 hex).
Word 1 Code
Word 2 Parameter_Count
Word 3 Used_Attributes
Word 4 Start_Entry_No
Word 5 Entry_Count
Word 6
Configuration_Entry 1st device
...
...
Bit 15 ................................................................................. 0
5150B 2-27
IBS SYS FW G4 UM E
2-28 5150B
Firmware Services
Device
Word x Bus_Segment_No Position
number
Device
Word x+1 Length_Code ID_Code
code
Device
Word x+2 Device_Level
level
Log. group
Word x+3 Group Alternative
number
5150B 2-29
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-30 5150B
Firmware Services
Task: This service terminates the loading of the configuration data by segments.
The service also checks the loaded configuration data for permissibility and
consistency. If no error is detected, the controller board stores the data in
the configuration dictionary under the Frame_Reference given with the
"Initiate_Load_Configuration" (0306hex) service. If an error is detected, the
service is confirmed negatively with an error message.
Word 1 Code
Word 2 Parameter_Count
Word 3 Default_Parameter
Bit 15 ................................................................................ 0
5150B 2-31
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-32 5150B
Firmware Services
Task: This service reads out various entries of the configuration dictionary de-
pending on the parameters Frame_Reference and Start_Entry_No.
Word 1 Code
Word 2 Parameter_Count
Word 3 Frame_Reference
Word 4 Used_Attributes
Word 5 Start_Entry_No
Word 6 Entry_Count
Bit 15 ................................................................................. 0
5150B 2-33
IBS SYS FW G4 UM E
2-34 5150B
Firmware Services
5150B 2-35
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-36 5150B
Firmware Services
5150B 2-37
IBS SYS FW G4 UM E
Frame_PCP_Device_Count:
Number of configured PCP devices in the select-
ed configuration frame.
Active_PCP_Device_Count:
Number of PCP devices configured in the select-
ed configuration frame.
Frame_PCP_Word_Count:
Number of PCP words configured in the selected
configuration frame.
Active_PCP_Word_Count:
Number of active PCP words in the selected con-
figuration frame.
2-38 5150B
Firmware Services
Device
Word x Bus_Segment_No Position
number
Word x+1 Length_Code ID_Code Device code
Word x+2 Device_Level Device level
Log. group
Word x+3 Group Alternative
number
Word x+4 SUPI_Type Add_Info
"Global_bus_
Word x+5 Transmission_Error
error"
Word x+6 Device_Error
Word x+7 Out (bits 31 ... 16)
Word x+8 Out (bits 15 ... 0)
Word x+9 MAU (bits 31 ... 16)
Word x+10 MAU (bits 15 ... 0)
Word x+11 MAU_Warning "Separate_
bus_error"
Word x+12 Out_Error (bits 31 ... 16)
(SUPI III only)
Word x+13 Out_Error (bits 15 ... 0)
Word x+14 Receive_Request
Word x+15 Mod_State
Word x+16 Microprocessor_Watchdog
Word x+17 Device_State Device status
5150B 2-39
IBS SYS FW G4 UM E
2-40 5150B
Firmware Services
Task: This service transmits configuration data in the form of a list of entries to
the controller board. Determine with the Used_Attributes parameter which
attributes the entries are to contain.
The controller board compares this list with the configuration frame speci-
fied with the Frame_Reference parameter. If the list and the configuration
frame are not identical, a negative confirmation is output, which provides
error information in the form of error codes.
Word 1 Code
Word 2 Parameter_Count
Word 3 Frame_Reference
Word 4 Used_Attributes
Word 5 Start_Entry_No
Word 6 Entry_Count
Word 7
Configuration_Entry 1st device
...
...
Bit 15 ................................................................................. 0
5150B 2-41
IBS SYS FW G4 UM E
2-42 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-43
IBS SYS FW G4 UM E
Task: This service transmits configuration data to the INTERBUS master in the
form of attributes selected with Used_Attributes. It is specially adapted to
the PLC programming requirements.
Prerequisite: Ensure that the controller board has been prepared for the transmission
with the services
– "Control_Parameterization" (030Ehex, see Page 2-11) and
– "Initiate_Load_Configuration" (030Ehex, see Page 2-24).
Word 1 Code
Word 2 Parameter_Count
Word 3 Used_Attributes
Word 4 Entry_Count
Word 5
Configuration_Entry 1st device
...
...
Bit 15 ........................................................................ 0
2-44 5150B
Firmware Services
5150B 2-45
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-46 5150B
Firmware Services
Task: This service reads entries of the configuration dictionary in the form of one
or several columns which have been selected with Used_Attributes before.
It is especially adapted to PLC programming requirements.
Word 1 Code
Word 2 Parameter_Count
Word 3 Used_Attributes
Bit 15 ................................................................................. 0
5150B 2-47
IBS SYS FW G4 UM E
...
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-48 5150B
Firmware Services
5150B 2-49
IBS SYS FW G4 UM E
Task: This service deletes an active configuration frame from the configuration
dictionary.
Word 1 Code
Word 2 Parameter_Count
Word 3 Frame_Reference
Bit 15 ................................................................................. 0
2-50 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-51
IBS SYS FW G4 UM E
Task: This service causes the controller board to automatically generate a con-
figuration frame from the currently connected configuration and to activate
it in order to start the bus. After the execution of the service the controller
board is in the ACTIVE state (display: ACTV).
The new configuration frame and the active configuration are stored in the
configuration dictionary under the number specified in the
Frame_Reference parameter. If there is already a configuration frame
under this number, this frame will be overwritten. In addition, the controller
board generates default process data description lists, a default process
data reference list, and a default communication relationship list (CRL) on
the basis of the currently connected bus configuration. In the device de-
scriptions the attributes are initialized as follows:
Device_Number: According to the current configuration.
Length_Code: According to the current configuration.
ID_Code: According to the current configuration.
Device_Level: According to the current configuration.
Group_Number: For all INTERBUS devices FFFF hex
(i.e., no group number).
Device_State: All INTERBUS devices are active.
Word 1 Code
Word 2 Parameter_Count
Word 3 Frame_Reference
Bit 15 ................................................................................. 0
2-52 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-53
IBS SYS FW G4 UM E
Task: This service checks the configuration data of the configuration frame for
– conformance with the currently connected configuration and
– address overlaps.
If no error is detected, the controller board activates this configuration
frame (display: ACTV) and runs sporadically ID cycles. The number of the
configuration frame is indicated to the controller board via the
Frame_Reference parameter.
Prerequisite: When you want to activate a configuration frame, ensure that no other con-
figuration frame is active. Use the "Deactivate_Configuration" service to
deactivate the configuration frame (0712hex).
Word 1 Code
Word 2 Parameter_Count
Word 3 Frame_Reference
Bit 15 ................................................................................. 0
2-54 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-55
IBS SYS FW G4 UM E
Task: This service deactivates the specified configuration frame. No ID cycles are
run anymore. On execution of the service the controller board is in the
READY state (display: RDY).
If you executed the "Stop_Data_Transfer" service (0702hex) before, this
service has left behind "frozen" output states (set outputs). These outputs
are reset when the configuration frame is reset.
Prerequisite: The specified configuration must not only exist, it must also be active when
the service is called.
Word 1 Code
Word 2 Parameter_Count
Word 3 Frame_Reference
Bit 15 ................................................................................. 0
2-56 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-57
IBS SYS FW G4 UM E
2.4.1 Initiate_Put_Process_Data_Description_List
Service
Task: This services initiates the definition of process data descriptions. It pre-
pares the controller board for the "Put_Process_Data_ Description_List"
service (0321hex, see Page 2-60).
Prerequisite: The controller board must be prepared for parameterization with the ser-
vices
– "Control_Parameterization" (030Ehex),
– "Initiate_Load_Configuration" (0306 hex), and
– "Complete_Load_Configuration" (030A hex).
The configuration frame must be loaded since it contains the device num-
bers to which the process data descriptions are to be assigned.
Word 1 Code
Word 2 Parameter_Count
Bit 15 ................................................................................. 0
2-58 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-59
IBS SYS FW G4 UM E
Prerequisite: The controller board must have been prepared before with the services
– "Control_Parameterization" (030Ehex) and
– "Initiate_Put_Process_Data_Description_List" (0320hex).
Word 1 Code
Word 2 Parameter_Count
Word 3 Device_No
Word 4 PDD_Count
Word 5
PDD
...
Process data
PDD
description list
... (PDDL)
PDD
Bit 15 ........................................................................... 0
2-60 5150B
Firmware Services
5150B 2-61
IBS SYS FW G4 UM E
2-62 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-63
IBS SYS FW G4 UM E
2.4.3 Terminate_Put_Process_Data_Description_List
Service
Task: This service terminates a write access to a process data description list
(PDDL).
Word 1 Code
Word 2 Parameter_Count
Bit 15 ................................................................................. 0
2-64 5150B
Firmware Services
Syntax: Terminate_Put_Process_Data_Description_List_Confirmation
8322hex
Positive message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-65
IBS SYS FW G4 UM E
Task: This service reads one or several process data descriptions (PDDs) from
the process data description list (PDDL) of an INTERBUS device.
Specify via the Start_PDD_Index parameter whether you want to read out
– only the header of the process data description list or
– one/several process data descriptions.
Word 1 Code
Word 2 Parameter_Count
Word 3 Device_No
Word 4 Start_PDD_Index
Word 5 PDD_Count
Bit 15 ................................................................................. 0
2-66 5150B
Firmware Services
Process data
PDD
description list
... (PDDL)
PDD
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 .......................................................................... 0
5150B 2-67
IBS SYS FW G4 UM E
2-68 5150B
Firmware Services
5150B 2-69
IBS SYS FW G4 UM E
2.5.1 Initiate_Load_Process_Data_Reference_List
Service
Task: This service initiates the definition of process data references (PDRs). It
prepares the controller board for the
"Load_Process_Data_Reference_List" (0325hex) service.
Prerequisite: Ensure that the controller board has been prepared for the parameteriza-
tion ("Control_Parameterization"). The configuration frame must be loaded
("Initiate_Load_Configuration", thereafter "Complete_Load_
Configuration"). All process data descriptions that are used in the PDRL
must be loaded ("Initiate_Put_Process_Data_Description_List", thereafter
"Put_Process_Data_Description_List").
Word 1 Code
Word 2 Parameter_Count
Word 3 New_PDRL
Bit 15 ................................................................................ 0
2-70 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-71
IBS SYS FW G4 UM E
Task: With this service you define the process data references (PDRs) in a pro-
cess data reference list. You may define process data references for input
data, output data and direct link data.
The order in which process data references are transmitted for input data,
output data and link data is of no importance. The controller board stores
the data in the order of the ascending PDR indices (see "process data ref-
erence" syntax).
Prerequisite: The controller board must have been prepared with the services
– "Control_Parameterization" (030Ehex) and
– "Initiate_Load_Process_Data_Reference_List" (0324 hex).
Word 1 Code
Word 2 Parameter_Count
Word 3 PDR_Count
Word 4
PDR
...
Process data
PDR
reference list
... (PDRL)
PDR
15
Bit
................................................................................. 0
2-72 5150B
Firmware Services
5150B 2-73
IBS SYS FW G4 UM E
The data consistency guarantees that the specified data width comes from
one INTERBUS cycle.
The standard value for I/O modules is 16 bits. For INTERBUS devices
which demand the coherent transmission of larger data widths, you must
increase the data consistency (e.g., encoders, interfaces, or analog modu-
les with a resolution higher than16 bits). The data consistency must be
identical within one word.
You may
– divide one word into two bytes which are consistent in themselves
(8 bits each),
– define one word as being consistent in itself (16 bits), assign one word
to a larger consistency area (32 oder 64 bits).
It is not allowed to assign a data consistency of 8 bits to a byte of one word
and the other byte to another, larger consistency area.
Extension_Length: Length of the Extension parameter.
Value range:
00hex ... 7Fhex, i.e., 0 ... 127 characters.
Extension: In this parameter you can enter, for example, a
comment in ASCII code for this process data ref-
erence.
2-74 5150B
Firmware Services
Load_Process_Data_Reference_List_Confirmation 8325hex
Positive message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-75
IBS SYS FW G4 UM E
2.5.3 Terminate_Load_Process_Data_Reference_List
Service
Task: This service terminates the definition of process data references (PDRs).
Word 1 Code
Word 2 Parameter_Count
Bit 15 ................................................................................. 0
2-76 5150B
Firmware Services
Syntax: Terminate_Load_Process_Data_Reference_List_Confirmation
8325hex
Positive message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-77
IBS SYS FW G4 UM E
Task: This service can be used to read out the current process data reference list
(PDRL).
Specify via the Start_PDR_Index parameter whether you want to read out
– only the header of the process data reference list or
– one/several process data references.
Word 1 Code
Word 2 Parameter_Count
Word 3 Start_PDR_Index
Word 4 Entry_Count
Bit 15 ................................................................................. 0
2-78 5150B
Firmware Services
PDR
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ............................................................................. 0
5150B 2-79
IBS SYS FW G4 UM E
2-80 5150B
Firmware Services
2.5.5 Compact_Load_Process_Data_Reference_List
Service
Task: PLC users can use this service to configure the controller board without
support from software such as IBS CMD SWT. For this purpose you create
a host address list for the IN and OUT process data. The firmware then au-
tomatically generates corresponding entries for the process data reference
list.
The "Compact_Load_Process_Data_Reference_List" service replaces the
following service sequence:
– "Initiate_Load_Process_Data_Reference_List" (0324hex),
– "Load_Process_Data_Reference_List" (0325 hex), and
– "Terminate_Load_Process_Data_Reference_List" (0326hex).
It allows an address assignment as used for controller boards with firmware
version 3.x.
Transmit the addresses in the host-specific address format. The firmware
converts the host-specific address format into the physical 32-bit ad-
dresses of the MPM.
Word 1 Code
Word 2 Parameter_Count
Word 3 Address_Direction
Word 4 Entry_Count
Word 5 Data_Cons Reserved PD_Address 1st device
Word 6 Data_Cons Reserved PD_Address 2nd device
... ...
Data_Cons Reserved PD_Address nth device
5150B 2-81
IBS SYS FW G4 UM E
The data consistency guarantees that the specified data width comes from
one INTERBUS cycle.
The standard value for I/O modules is 16 bits. For INTERBUS devices
which demand the coherent transmission of larger data widths, you must
increase the data consistency (e.g., encoders, interfaces, or analog modu-
les with a resolution higher than16 bits). The data consistency must be
identical within one word.
You may
– divide one word into two bytes which are consistent in themselves
(8 bits each),
– define one word as being consistent in itself (16 bits),
– assign one word to a larger consistency area (32 or 64 bits).
It is not allowed to assign a data consistency of 8 bits to a byte of one
word and the other byte to another, larger consistency area.
Reserved: Set the six reserved bits (bits 8 ...13) to the value
000000bin.
PD_Address: Input address list
(Address_Direction = 1000hex):
Enter here for all INTERBUS devices with pro-
cess input data the host addresses in the order
of their physical locations. For INTERBUS devic-
es with more than one process input word (e.g.,
with 32 bits), the next higher addresses are auto-
matically assigned as well.
2-82 5150B
Firmware Services
5150B 2-83
IBS SYS FW G4 UM E
Syntax: Compact_Load_Process_Data_Reference_List_Confirmation
8328hex
Positive message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-84 5150B
Firmware Services
Task: This service can be used to read the address lists of your PLC or PC sys-
tem that have been configured with the
"Compact_Load_Process_Data_Reference_List" (0328hex) service. The
firmware converts the physical 32-bit addresses of the MPM to the speci-
fied address format of your control or computer system.
Prerequisite: This service can only be executed successfully if the process data refer-
ence lists were configured with the
"Compact_Load_Process_Data_Reference_List" (0328hex) service.
Word 1 Code
Word 2 Parameter_Count
Word 3 Address_Direction
Bit 15 ................................................................................. 0
5150B 2-85
IBS SYS FW G4 UM E
Syntax: Compact_Read_Process_Data_Reference_List_Confirmation
(8329hex)
Positive message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Address_Direction
Word 5 Entry_Count
Word 6 Data_Cons Reserved PD_Address 1st device
Word 7 Data_Cons Reserved PD_Address 2nd device
... ... ...
Data_Cons Reserved PD_Address nth device
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
2-86 5150B
Firmware Services
5150B 2-87
IBS SYS FW G4 UM E
Task: This service activates the cyclic data traffic on the bus. On execution of the
service, the controller board is in the RUN state (display: RUN).
Prerequisite: Before the service is called, the controller board must be in the ACTIVE
state, i.e., a configuration frame has been activated and ID cycles are al-
ready run sporadically.
Word 1 Code
Word 2 Parameter_Count
Bit 15 ................................................................................. 0
2-88 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-89
IBS SYS FW G4 UM E
Task: This service causes a long reset on the bus. The data traffic on the bus is
stopped. Modules with process data set their outputs to the value 0. The
command is executed directly after the running data cycle has been com-
pleted. On execution of the service, the controller board is in the READY
state (display: RDY).
Word 1 Code
Word 2 Parameter_Count
Bit 15 ................................................................................. 0
2-90 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-91
IBS SYS FW G4 UM E
Task: This service stops the cyclic process data traffic on the bus. On execution
of the service, the controller board is in the ACTIVE state (display: ACTV),
and ID cycles are sporadically run.
The controller board does not switch the output data into the safe state! Any
set outputs are not reset but remain static.
Prerequisite: The controller board must be in the RUN state before the service is called.
Word 1 Code
Word 2 Parameter_Count
Word 3 Stop_Type
Bit 15 ................................................................................. 0
2-92 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-93
IBS SYS FW G4 UM E
Task: This service allows to selectively switch on or off INTERBUS devices. De-
pending on whether this service is used in the active or inactive state of the
bus system, the changes in the configuration frame become effective im-
mediately or when the "Activate_Configuration" (0711 hex) service is
called.
Word 1 Code
Word 2 Parameter_Count
Word 3 Switch_Code
Word 4 Entry_Count
Word 5 Device_No List of
INTERBUS
Word 6 Device_No
device
... ... numbers
Word n+2 Device_No
Bit 15 ................................................................................. 0
2-94 5150B
Firmware Services
0001hex Segment_On
The specified device and all devices
that depend on it are switched on.
Please observe the special treatment
for groups that can be switched alter-
natively.
0002hex Device_Off
Only the specified device is switched
off in the configuration frame. For this,
all devices that depend on this device
must be switched off individually and
manually.
0003hex Device_On
Only the specified device is switched
on in the configuration frame. For this,
all devices that depend on this device
must be switched on individually and
manually.
0004hex Device_Disable
Only the specified device is disabled in
the configuration frame. It must not
remain physically in the data ring and
must be bypassed manually.
0005hex Device_Enable
Only the specified device is enabled in
the configuration frame. Insert it manu-
ally into the data ring.
Entry_Count: Device number in the list of INTERBUS device
numbers.
Device_No: Enter here the INTERBUS device numbers of
the devices to be switched.
5150B 2-95
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-96 5150B
Firmware Services
Task: This service can be used to send control commands to one or several
INTERBUS devices; for example, to confirm device status errors or to set
an alarm output.
Word 1 Code
Word 2 Parameter_Count (n)
Word 3 Device_Function
Word 4 Entry_Count
Word 5 Device_No List of
Word 6 Device_No INTERBUS
... devices
Word n+2 Device_No
Bit 15 ................................................................................. 0
5150B 2-97
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-98 5150B
Firmware Services
Prerequisite: Before calling this service, ensure that the state of your system allows a
controller board reset.
Word 1 Code
Word 2 Parameter_Count
Word 3 Reset_Type
Bit 15 ................................................................................ 0
5150B 2-99
IBS SYS FW G4 UM E
Task: This service updates the contents of the diagnostic registers, the error
areas in the MPM, and the diagnostic indicators on the front panel of the
controller board.
Word 1 Code
Word 2 Parameter_Count
Bit 15 ................................................................................. 0
2-100 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-101
IBS SYS FW G4 UM E
Task: This error can be used to read out the exact error cause and location after
a bus error was indicated. A maximum of 10 errors is analyzed.
Word 1 Code
Word 2 Parameter_Count
Bit 15 ................................................................................. 0
2-102 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-103
IBS SYS FW G4 UM E
2-104 5150B
Firmware Services
Task: This service reads selectable status information of all INTERBUS devices
of the active configuration for test and diagnostic purposes.
Word 1 Code
Word 2 Parameter_Count
Word 3 Device_State_Mask
Bit 15 .................................................................................. 0
5150B 2-105
IBS SYS FW G4 UM E
2-106 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result ....
Word 4 Add_Error_Info
Bit 15 ............................................................................. 0
5150B 2-107
IBS SYS FW G4 UM E
2-108 5150B
Firmware Services
Task: This service can be used to read the type, version, manufacturing date, etc.
of the hardware and firmware of your controller board.
Word 1 Code
Word 2 Parameter_Count
Bit 15 ................................................................................. 0
5150B 2-109
IBS SYS FW G4 UM E
2-110 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-111
IBS SYS FW G4 UM E
2-112 5150B
Firmware Services
Task: This service can be used to read the statistical and global diagnostic infor-
mation of a configuration frame. The positive confirmation contains the di-
agnostic information in several blocks which belong together logically.
Each block contains a count (Changed_Info_Count, CIC), which is incre-
mented when the diagnostic information of this block is incremented.
Word 1 Code
Word 2 Parameter_Count
Word 3 Frame_Reference
Word 4 Diag_Info_Attr
Bit 15 ............................................................................... 0
5150B 2-113
IBS SYS FW G4 UM E
In practice please enable only one attribute at a time to ensure that the di-
agnostic information is read out selectively and in a clearly structured man-
ner. You are advised to read the diagnostic block Changed_Info_Count
first, in order to learn which information has changed.
2-114 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result ....
Word 4 Add_Error_Info
Bit 15 ............................................................................. 0
5150B 2-115
IBS SYS FW G4 UM E
The diagnostic block contains the contents of the 32-bit counters for the fol-
lowing diagnostic blocks: Global_Count , Top_Ten_CRC, Last_Ten_PF,
IPMS_Error, Bus_Error, PF (Peripheral Fault), and Time_Out_Error.
Top_Ten_CRC_CIC, The count is incremented by "1"
Last_Ten_PF_CIC,each time the information of
the respective
IPMS_Error_CICdiagnostic block changes.
Bus_Error_CIC
PF_CIC
Time_Out_Error_CIC
2-116 5150B
Firmware Services
5150B 2-117
IBS SYS FW G4 UM E
The Top_Ten_CRC diagnostic block contains the list of all INTERBUS de-
vices with the most frequently occurring bus errors. According to the num-
ber of bus errors (Error_Count), the ten devices are listed in descending or-
der.
Top_Ten_CRC_CIC: The 32-bit counter is incremented by "1" each
time the information of the Top_Ten_CRC func-
tion block changes. The Top_Ten_CRC diagnostic
block consists of 10 diagnostic information items,
each with a length of 4 words:
Device_No_Bus_Fault: INTERBUS device number (Device_No).
Error_Count: Error number of this error (32-bit counter).
Error_Code: Information on the error type.
2-118 5150B
Firmware Services
The Last_Ten_PF diagnostic block contains a list of the last ten INTERBUS
devices on which a peripheral fault (PF) occurred. The device on which the
most recent peripheral fault occurred, is indicated first:
Last_Ten_PF_CIC: The 32-bit counter is incremented by "1" each time
the information of the Last_Ten_PF parameter
block changes. The Last_Ten_PF diagnostic block
consists of 10 diagnostic information items, each
with a length of 2 words:
Device_No_PF: INTERBUS device number (Device_No).
Error_Code: Information on error type.
5150B 2-119
IBS SYS FW G4 UM E
2-120 5150B
Firmware Services
Word 1 Code
Word 2 Parameter_Count
Word 3 Control_Code
Bit 15 .................................................................................. 0
5150B 2-121
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-122 5150B
Firmware Services
You can define functions for the controller board. A function consists of a
service sequence in any order (Action_Object) plus the associated data
records (Signal_Object). These data records can be constants or may be
loaded when the function is executed. Thus you may vary the function, for
example depending on your system conditions.
Task: This services initiates the creation of service sequences. It prepares the
controller board for the "Load_Action_Object" (0141hex) service.
Word 1 Code
Word 2 Parameter_Count
Bit 15 .................................................................................. 0
5150B 2-123
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-124 5150B
Firmware Services
Prerequisite: The controller board must have been prepared for creating service se-
quences using the "Initiate_Load_Action_Object" (0140hex) service.
Word 1 Code
Word 2 Parameter_Count
Word 3 Action_Index
Word 4 Action_Count Service
1st Action sequence
2nd Action (Action_
... Object)
Bit 15 ............................................................................... 0
5150B 2-125
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-126 5150B
Firmware Services
Word 1 Code
Word 2 Parameter_Count
Bit 15 .................................................................................. 0
5150B 2-127
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-128 5150B
Firmware Services
Task: This service reads out the service codes of a service sequence.
Word 1 Code
Word 2 Parameter_Count
Word 3 Action_Index
Bit 15 ............................................................................... 0
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-129
IBS SYS FW G4 UM E
2-130 5150B
Firmware Services
Word 1 Code
Word 2 Parameter_Count
Word 3 Action_Index
Bit 15 ............................................................................... 0
5150B 2-131
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-132 5150B
Firmware Services
Word 1 Code
Word 2 Parameter_Count
Bit 15 ............................................................................... 0
5150B 2-133
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-134 5150B
Firmware Services
Task: This service can be used to configure parameter records for service se-
quences (Signal_Object).
Prerequisite: The controller board must have been prepared for configuration using the
"Initiate_Load_Signal_Object" (0145hex) service.
Word 1 Code
Word 2 Parameter_Count
Word 3 Signal_Index
Word 4 Action_Index
Word 5 Signal_Type
Word 6 Bit_Number
Word 7 Start_Register_Address
Word 8 State_Register_Address
Word 9 Result_Register_Address
Word 10 Write_PB_Count (nWrite) Number
Word 11 W_Mode res. Write_Parameter_Count Write param-
Word 12 Write_Parameter eter block
... ... (action 1)
... ... ...
W_Mode res. Write_Parameter_Count Write param-
Write_Parameter eter block
... (action x)
Read_PB_Count (nRead) Number
R_Mode res. Read_Parameter_Count Read param-
Read_Parameter eter block
... (action 1)
...
R_Mode res. x. Read_Parameter_Count Read param-
Read_Parameter eter block
... (action x)
Bit 15 / 14 13 / 12 11............................................. 0
5150B 2-135
IBS SYS FW G4 UM E
2-136 5150B
Firmware Services
5150B 2-137
IBS SYS FW G4 UM E
Bit 15 / 14 13 / 12 11.............................................. 0
2-138 5150B
Firmware Services
5150B 2-139
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-140 5150B
Firmware Services
Word 1 Code
Word 2 Parameter_Count
Bit 15 ............................................................................... 0
5150B 2-141
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-142 5150B
Firmware Services
Word 1 Code
Word 2 Parameter_Count
Word 3 Signal_Index
Bit 15 ................................................................................ 0
5150B 2-143
IBS SYS FW G4 UM E
Bit 15 / 14 13 / 12 11.............................................. 0
2-144 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-145
IBS SYS FW G4 UM E
2-146 5150B
Firmware Services
5150B 2-147
IBS SYS FW G4 UM E
Word 1 Code
Word 2 Parameter_Count
Word 3 Signal_Index
Bit 15..................................................................................0
2-148 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-149
IBS SYS FW G4 UM E
Word 1 Code
Word 2 Parameter_Count
Bit 15 ................................................................................. 0
2-150 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-151
IBS SYS FW G4 UM E
Task: This service is used to configure event descriptions (event objects). Event
descriptions provide the parameter records for service sequences.
Code
Parameter_Count
Event_Index
Message_Code
Notification_Byte_Address
Acknowledge_Byte_Address
Event_Signal_Bit
Event_Signal_Type
Event_Interface_Selector
Bit 15 ................................................................................. 0
2-152 5150B
Firmware Services
5150B 2-153
IBS SYS FW G4 UM E
Syntax:
Number of Read_Copy_Address_Blocks
Number of Read_Copy_Addresses (n)
Read_Copy_Address 1
Read_Copy_Address 2
:
:
Read_Copy_Address n-1
Read_Copy_Address n
Bit 15 ................................................................................. 0
3. Event_Interface_Selector = E_ACTION_INTERFACE
The indication of the event by causing an action in the Action_Handler.
The Action_Object referenced by the Action_Index must be provided
by the Action_Handler. The Action_Index, several
Write_Parameter_Blocks and Read_Parameter_Blocks are defined.
For the structure and meaning, please refer to the
"Load_Signal_Object" (0146hex) service on Page 2-135.
Syntax:
Action_Index
Number of Write_Parameter_Blocks (m)
Number of Write_Parameters of the 1st Action (n)
Write_Parameter 1
Write_Parameter 2
:
Write_Parameter n
:
:
Number of Write_Parameters of the mth Action (n)
Write_Parameter 1
Write_Parameter 2
:
Write_Parameter n
Number of Read_Parameter_Blocks (m Action)
2-154 5150B
Firmware Services
Bit 15 ................................................................................. 0
4. Event_Interface_Selector =
E_ACTION_INTERFACE_AND_E_XSGI_INTERFACE
Indication of the event by causing an action in the Action_Handler. In
addition, the corresponding read parameters of the event are indicated
via the XSGI (copied).
Syntax:
Action_Index
Number of Write_Parameter_Blocks (m Action)
Number of Write_Parameters of the 1st Action (n)
Write_Parameter 1
Write_Parameter 2
:
Write_Parameter n
:
:
Number Write_Parameter of the mth Action (n)
Write_Parameter 1
Write_Parameter 2
:
5150B 2-155
IBS SYS FW G4 UM E
Write_Parameter n
Number of Read_Parameter_Blocks (m Action)
Number of Read_Parameters of the 1st action (n)
Read_Parameter 1
Read_Parameter 2
:
Read_Parameter n
:
:
Number of Read_Parameter_Blocks of the mth action
(n)
Read_Parameter 1
Read_Parameter 2
:
Read_Parameter n
Number of Read_Copy_Blocks
Number of Read_Copy_Address (n)
Read_Copy_Address 1
Read_Copy_Address 2
:
Read_Copy_Address n
Bit 15 ................................................................................. 0
2-156 5150B
Firmware Services
Task: This service terminates the configuration of event descriptions (event ob-
jects).
Word 1 Code
Word 2 Parameter_Count
Bit 15 ................................................................................. 0
5150B 2-157
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-158 5150B
Firmware Services
Word 1 Code
Word 2 Parameter_Count
Word 3 Event_Index
Bit 15 ................................................................................. 0
5150B 2-159
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
2-160 5150B
Firmware Services
5150B 2-161
IBS SYS FW G4 UM E
Word 1 Code
Word 2 Parameter_Count
Word 3 Event_Index
Bit 15 ................................................................................. 0
2-162 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-163
IBS SYS FW G4 UM E
Task: This service transmits the service sequences (Action_Object) and param-
eter records (Signal_Object) stored in the controller board RAM to the pa-
rameterization memory. Service sequences and parameter records that
are identified with bit 7 of the Signal_Type parameter as resident when the
"Load_Signal_Object" (0146hex) service is called are stored permanently in
the memory.
Word 1 Code
Word 2 Parameter_Count
Bit 15 ............................................................................. 0
2-164 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-165
IBS SYS FW G4 UM E
Word 1 Code
Word 2 Parameter_Count
Word 3 Action_Flag
Word 4 Area_Flag
Bit 15 ..................................................................................0
2-166 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-167
IBS SYS FW G4 UM E
Task: This service opens a file. The permitted access right is determined with the
flags Access and Mode.
Word 1 Code
Word 2 Parameter_Count
Access (bits 31 ... 16)
Word 3 + 4
Access (bits 15 ... 0)
Mode (bits 31 ... 16) 0200hex
Word 5 + 6
Mode (bits 15 ... 0) 0400hex
Name_Length Name
Word 7 ... (13) ... ... File name
... Name
2-168 5150B
Firmware Services
File_Open_Confirmation 815Bhex
Positive message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result 0000hex
File_Handle (bits 31 ... 16)
Words 4 + 5 Access ID
File_Handle (bits 15 ... 0)
Name_Length Name
Word 6 ... (12) ... ... File name
... Name
Negative message:
Word 1 Code
Word 2 Parameter_Count
Word 3 Result 09DEhex
File_Error (bits 31 ... 16) Add. error
Words 4 + 5
File_Error (bits 15 ... 0) information
Name_Length Name
Words
... ... File name
6 ... (12)
... Name
5150B 2-169
IBS SYS FW G4 UM E
2-170 5150B
Firmware Services
Word 1 Code
Word 2 Parameter_Count
File_Handle (bits 31 ... 16)
Words 3 + 4 Access ID
File_Handle (bits 15 ... 0)
5150B 2-171
IBS SYS FW G4 UM E
Negative message
Word 1 Code 815Chex
Word 2 Parameter_Count 0005hex
Word 3 Result 09DDhex
File_Handle (bits 31 ... 16)
Words 4 + 5 Access ID
File_Handle (bits 15 ... 0)
File_Error (bits 31 ... 16) Add. error
Words 6 + 7
File_Error (bits 15 ... 0) information
Bit 15 .................................................................................0
2-172 5150B
Firmware Services
Word 1 Code
Word 2 Parameter_Count
Name_Length Name
Words 3 ... (9) ... ... File name
... Name
5150B 2-173
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result 09DFhex
Name_Length Name
Words
... ... File name
4 ... (10)
... Name
Words File_Error (bits 31 ... 16) Add. error
(11)+(12) File_Error (bits 15 ... 0) information
2-174 5150B
Firmware Services
5150B 2-175
IBS SYS FW G4 UM E
Task: This service writes data into the file via the File_Handle access ID that was
opened before with the "File_Open" service for writing.
Word 1 Code
Word 2 Parameter_Count
File_Handle (bits 31 ... 16)
Words 4 + 5 Access ID
File_Handle (bits 15 ... 0)
Word 5 Data_Length
Data to be
Data Data
Word 6 ... written
... ...
2-176 5150B
Firmware Services
Bit 15 ..................................................................................0
5150B 2-177
IBS SYS FW G4 UM E
Task: This service sets the file pointer to the address specified with the parame-
ters Whence and Offset.
Word 1 Code
Word 2 Parameter_Count
File_Handle (bits 31 ... 16)
Words 3 + 4 Access ID
File_Handle (bits 15 ... 0)
Offset (bits 31 ... 16) Distance from
Words 5 + 6 reference
Offset (bits 15 ... 0)
address
Whence (bits 31 ... 16) Reference
Words 7 + 8
Whence (bits 15 ... 0) address
Bit 15 ..................................................................................0
2-178 5150B
Firmware Services
Negative message
Word 1 Code 815Fhex
Word 2 Parameter_Count 0007hex
Word 3 Result 09DChex
File_Handle (bits 31 ... 16)
Words 4 + 5 Access ID
File_Handle (bits 15 ... 0)
Count_Of_Possible_Seek (bits 31 ... 16) Offset steps
Wort 6 + 7
Count_Of_Possible_Seek (bits 15 ... 0) carried out
File_Error (bits 31 ... 16) Add. error
Wort 8 + 9
File_Error (bits 15 ... 0) information
Bit 15 ..................................................................................0
5150B 2-179
IBS SYS FW G4 UM E
2-180 5150B
Firmware Services
Task: This service reads out an amount of data from the specified file. The file is
called via the File_Handle access ID.
Word 1 Code
Word 2 Parameter_Count
File_Handle (bits 31 ... 16)
Words 3 + 4 Access ID
File_Handle (bits 15 ... 0)
Word 5 Number_Of_Bytes
Bit 15 ..................................................................................0
5150B 2-181
IBS SYS FW G4 UM E
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result 09DAhex
File_Handle (bits 31 ... 16)
Words 4 + 5 Access ID
File_Handle (bits 15 ... 0)
File_Error (bits 31 ... 16) Add. error
Words 6 + 7
File_Error (bits 15 ... 0) information
Bit 15 ..................................................................................0
2-182 5150B
Firmware Services
5150B 2-183
IBS SYS FW G4 UM E
Word 1 Code
Word 2 Parameter_Count
Bit 15 ..................................................................................0
2-184 5150B
Firmware Services
Negative message
Word 1 Code
Word 2 Parameter_Count
Word 3 Result
Word 4 Add_Error_Info
Bit 15 ................................................................................. 0
5150B 2-185
IBS SYS FW G4 UM E
Meaning: This indication transmits error codes of the controller board to the applica-
tion program.
Word 1 Code
Word 2 Parameter_Count
Word 3 Entry_Count
Word 4 Error_Code
Word 5 Add_Error_Info
Bit 15 ................................................................................. 0
2-186 5150B
Firmware Services
Meaning: This error indication transmits error messages of a maximum of ten INTER-
BUS devices from the controller board to the application program.
Word 1 Code
Word 2 Parameter_Count
Word 3 Entry_Count
Word 4 Error_Code
1st error
Device_No
... ...
Error_Code
(10)th error
Word (23) Device_No
Bit 15 ................................................................................. 0
5150B 2-187
IBS SYS FW G4 UM E
Remedy: Read out the error causes with the "Get_Error_Info" service (0316hex, see
Page 2-102).
Word 1 Code
Word 2 Parameter_Count
Bit 15 ................................................................................. 0
2-188 5150B
Section 3
This section provides information on:
– the meaning of the firmware codes
– the error codes
– remedies and notes concerning the error elimination
5150B 3-1
3-2 5150B
Error Codes
3 Error Codes
Meaning: The controller board could not process the service called last.
Add_Error_Info: —
0903hex(CTRL FAIL)
Add_Error_Info: —
Remedy: Check the parameters of the service called last for inconsistencies.
Add_Error_Info: —
5150B 3-3
IBS SYS FW G4 UM E
Add_Error_Info: —
Add_Error_Info: —
Add_Error_Info: —
Meaning: You called a service the processing of which conflicts with another service
called before.
Cause: The firmware cannot process these two services at the same time.
Remedy: Wait for the completion of the service called before, then try again.
Meaning: The confirmation which follows a service exceeds the maximum permissi-
ble mailbox size.
3-4 5150B
Error Codes
Meaning: The Parameter_Count parameter is not identical with the number of subse-
quent words.
Remedy: Enable the service before calling it, or use a service which has not been
disabled.
5150B 3-5
IBS SYS FW G4 UM E
Remedy: Enable the service before calling it, or use a service which is not protected.
Add_Error_Info: —
Add_Error_Info: —
0914hex
Meaning: The send buffer is full. Thus, messages can no longer be transmitted to the
host.
Cause: There are too many messages in the send buffer, as the host does not ac-
cept the pending messages or a lot of messages have been generated in
a very short time. For example, this can be caused by a loose contact in
the system.
0915hex
Meaning: The receive buffer is full. The host can no longer transmit messages.
Cause: There are too many messages in the receive buffer, as the controller board
does not accept the pending messages or the host generates a lot of mes-
sages within a very short time.
Remedy: Ensure that the controller board accepts the pending messages.
3-6 5150B
Error Codes
0919hex
Remedy: Use only services which are not longer than 1024 bytes including all pa-
rameters. To transmit a larger data record, you can call some services
more than once to transmit the data record in multiple steps.
Add_Error_Info: —
Add_Error_Info: Action_Index.
Meaning: You entered a value for the Action_Index parameter which is already used
elsewhere.
Add_Error_Info: Action_Index.
091Chex
5150B 3-7
IBS SYS FW G4 UM E
Add_Error_Info: —
091Dhex
Add_Error_Info: —
091Ehex
Add_Error_Info: —
091Fhex
Cause: During the configuration of the signal handler, the selected action index or
action object could not be found.
Remedy: Ensure that the selected action index or action object have already been
created before configuring the signal handler.
Add_Error_Info: —
Meaning: You entered a value for the Signal_Index parameter which is already used
elsewhere.
Add_Error_Info: Signal_Index.
3-8 5150B
Error Codes
0921hex
0922hex
0924hex
Cause: The event processing is not yet supported by this firmware version.
Add_Error_Info: Event_Index.
5150B 3-9
IBS SYS FW G4 UM E
Meaning: You entered a value for the Event_Index parameter which is already used
elsewhere.
Cause: This firmware version does not yet support event processing.
Add_Error_Info: Event_Index.
Remedy: Using the "Change_Exclusive_Rights" (014F hex) service, change the as-
signment of the right to call exclusive services (if allowed), or use a non-
exclusive service.
Add_Error_Info: —
0929hex
Remedy: Select a permitted bit number and send the message again to the respec-
tive target.
092Ahex
3-10 5150B
Error Codes
Remedy: Indicate the code of the error indication to be enabled or disabled, e.g.,
4341hex for the error indication "Fault_Indication".
Meaning: An MPM accessor used a communication reference which had not been
assigned to this accessor.
Add_Error_Info: —
Meaning: The controller board rejected a PCP service because a PCP service is still
processed on this communication reference with the same Invoke ID.
Add_Error_Info: —
092Ehex
Meaning: Not enough memory available on the controller board for initializing the
Standard Signal Interface (SSGI).
Add_Error_Info: —
Meaning: The controller board cannot process the "Set_Value" (0750hex) service.
Cause: You entered wrong parameter values when calling the service.
5150B 3-11
IBS SYS FW G4 UM E
Meaning: The controller board could not process the service called last.
Add_Error_Info: —
Meaning: The specified MPM accessor could not enable the exclusive rights.
Cause: The specified MPM accessor did not have the exclusive rights.
Add_Error_Info: —
Add_Error_Info: —
3-12 5150B
Error Codes
Meaning: You exceeded the permissible value range when specifying a communica-
tion reference (CR).
Remedy: Assign only communication references within the range of: 2 ≤ CR ≤ 63.
Add_Error_Info: —
0936hex
Cause: Either the "Set_Value" or the "Read_Value" service was transmitted with
an unknown variable ID code.
0937hex
Cause: Either the "Set_Value" or the "Read_Value" service was transmitted with
an unknown variable ID component.
Remedy: Transmit the service again with the correct variable component
area.
Meaning: You used a value for the Variable_ID parameter that is reserved for the
firmware.
5150B 3-13
IBS SYS FW G4 UM E
Meaning: You used a value for the Variable_ID parameter that is not enabled.
Meaning: The controller board could not process the "Set_Value" (0750hex) service.
Cause: You entered a wrong value for the Variable_ID parameter. The second
highest nibble (bits 8 to11) of the Variable_ID parameter gives the length
of the variable in words. The value of this nibble is not identical with the
length of the variable specified by you.
Meaning: The controller board could not process the service called last.
Cause: The variable length encoded in the Variable_ID parameter is not identical
with the length of the specified variable.
Add_Error_Info: —
Add_Error_Info: —
3-14 5150B
Error Codes
Add_Error_Info: —
Add_Error_Info: —
0940hex
Add_Error_Info: —
0941hex
Meaning: The controller board could not process the boot sequence without errors.
Remedy: Check the call of the service given in the Add_Error_Info parameter.
Meaning: The controller board could not process the Clear_RAM_Card (0159hex)
service without errors.
5150B 3-15
IBS SYS FW G4 UM E
Meaning: The controller board could not process the "Clear_RAM_Card" (0159hex)
service without errors.
Cause: You specified a wrong address field with the Resi_Length or Diag_Length
parameter.
Meaning: The controller board could not process the "Clear_RAM_Card" (0159hex)
service.
Add_Error_Info: —
Meaning: The controller board could not process the "Clear_RAM_Card" (0159hex)
service. The access to the parameterization memory was rejected.
Remedy: Check whether the parameterization memory has been properly inserted.
Add_Error_Info: —
3-16 5150B
Error Codes
Remedy: Remove the write protection of the parameterization memory and try again.
Add_Error_Info: —
0950hex
Cause: The RS-232 interface of the controller board is not in the print mode.
5150B 3-17
IBS SYS FW G4 UM E
Remedy: Switch the RS-232 into the print mode using the "Set_Value" (0750hex) ser-
vice.
Add_Error_Info: —
0951hex
Add_Error_Info: —
Meaning: The controller board could not process the service called last.
Add_Error_Info: —
Meaning: The controller board could not process the service called last for the RS-
232 interface.
3-18 5150B
Error Codes
Remedy: Check the call of this service. The Parameter_Count parameter must cor-
respond to the number of subsequent words.
Add_Error_Info: —
0955hex
Cause: The message exceeds the maximum permissible mailbox size of 1024
bytes of the RS-232 interface.
Remedy: If the error code occurs after a reset, you can read out the message in sev-
eral steps. Some services can be called more than once to read out large
amounts of data. Enter an address offset for the second call.
Add_Error_Info: —
0956hex
Cause: When sending PCP services via the SSGI, a PCP service was written to an
SSGI box with a communication reference which does not correspond to
the SSGI box.
Remedy: Write a PCP service only in the SSGI box if the number of the box corre-
sponds to the communication reference.
Add_Error_Info: —
0957hex
Meaning: All remote PCP services of the established connection were aborted.
Cause: The connection was interrupted due to a PMS or PNM7 abort on a commu-
nication reference.
5150B 3-19
IBS SYS FW G4 UM E
0960hex
0970hex
09D0hex
Meaning: You are using a flash EPROM card type which is not supported by your
firmware.
Remedy: Replace the existing card with a correct flash EPROM card.
09D1hex
Meaning: The flash EPROM card that you are using is defective.
Remedy: Replace the existing card with an intact flash EPROM card.
09D2hex
Meaning: You are using a flash EPROM card type which is not supported by your
firmware.
Remedy: Replace the existing card with a correct flash EPROM card.
3-20 5150B
Error Codes
09D3hex
Meaning: The number of open files on the flash EPROM card can no longer be man-
aged.
09D4hex
Meaning: You tried to store a file on the flash EPROM card whose name contains too
many characters.
09D5hex
Meaning: You violated the file access rights to an open file on the controller board’s
flash EPROM card.
Cause: You tried, for example, to write to a file which was open for reading only.
09D6hex
Meaning: There is not enough memory space available on the flash EPROM card.
Remedy: Delete some files or format the flash EPROM card again.
09D8hex
Meaning: The number of active sectors exceeds the number that can maximally be
handled.
09D9hex
Meaning: The called file does not exist or cannot be found on the flash EPROM card
of the controller board.
09DAhex
Meaning: The called file could not be read on the flash EPROM card of the controller
board.
5150B 3-21
IBS SYS FW G4 UM E
09DBhex
Meaning: The selected file could not be written to the flash EPROM card of the con-
troller board.
09DChex
Meaning: The called file could not be accessed on the flash EPROM card of the con-
troller board.
Cause: An error occurred when the file was accessed with the LSEEK service. The
file pointer could not be positioned properly.
09DDhex
Meaning: The selected file could not be closed on the flash EPROM card of the con-
troller board.
09DEhex
Meaning: The selected file could not be opened on the flash EPROM card of the con-
troller board.
3-22 5150B
Error Codes
09DFhex
Meaning: The selected file could not be deleted on the flash EPROM card of the con-
troller board.
09F0hex
Meaning: The flash EPROM card on the controller board can handle only a certain
number of files. This number has been exceeded.
Remedy: Delete some files or format the flash EPROM card again.
09F1hex
Meaning: The file structure on the flash EPROM card of the controller board cannot
be read.
Cause: The flash EPROM card was written with an older firmware version.
09F2hex
Meaning: The file on the flash EPROM card of the controller board cannot be pro-
cessed due to a wrong or invalid file handle.
Remedy: Enter the right file handle for the file to be processed.
09FChex
Meaning: The flash EPROM card cannot be written. This caused a timeout.
5150B 3-23
IBS SYS FW G4 UM E
Meaning: The controller board could not process the service called last.
Cause: You sent a service which is not permitted in the current state of the control-
ler board (e.g., the "Start_Data_Transfer" service when the controller board
is in the READY state. To start data transfer, the controller board must be
in the ACTIVE state.)
Remedy: Set the controller board to the required state before calling the desired ser-
vice.
0A03hex
Meaning: Not enough free main memory space on the controller board.
Add_Error_Info: —
Meaning: The controller board could not process the service called last.
3-24 5150B
Error Codes
Meaning: The controller board could not process the service called last.
Meaning: The controller board could not carry out the access.
Cause: The tried access to an object is not supported by the system management
for this object (e.g., a write access to an object for which only read access-
es are allowed).
Add_Error_Info: —
Meaning: The controller board could not carry out the access.
Add_Error_Info: —
Meaning: You called a service the processing of which conflicts with another service
called before.
5150B 3-25
IBS SYS FW G4 UM E
Cause: The firmware cannot process these two services at the same time.
Remedy: Wait for the completion of the service called before, then try again.
Meaning: The controller board cannot process the "Set_Value" (0750hex) service.
Meaning: The controller board cannot process the "Set_Value" (0750hex) service.
Cause: You exceeded the permitted value range when specifying a parameter.
Add_Error_Info: —
Remedy: Check the Device_Level parameter. The values from 00hex to0Fhex
(corresponding to 0 to15dec) are permitted.
Remedy: Check the Error_Char_Flag parameter. The values 0000hex and 0001hex
are permitted.
3-26 5150B
Error Codes
Remedy: Check the Position parameter. The values from 00hex to 3Fhex (0dec to
63dec) are permitted.
Meaning: You entered an invalid value for the INTERBUS device number parameter
(Segment.Position).
5150B 3-27
IBS SYS FW G4 UM E
Meaning: You exceeded the end of the frame when accessing a configuration frame.
Remedy: If you really want to delete the activated configuration frame, first deacti-
vate it using the "Deactivate_Configuration" (0712hex) service.
3-28 5150B
Error Codes
Cause: You tried to overwrite an existing configuration frame with new configura-
tion data. The size (number of INTERBUS devices) was not identical with
the existing frame. If you want to create a configuration frame of a different
size, create it under a new, unused Frame_Reference.
Remedy: Compare the existing configuration frame with the new configuration data.
Add_Error_Info: —
Meaning: The new extension could not be assigned to the configuration frame.
Cause: You tried to assign a new extension to a configuration frame, and this ex-
tension is too long for the space provided for the extension in the configu-
ration frame.
Remedy: Adapt the size of the new extension to the space provided.
Add_Error_Info: —
Add_Error_Info: Frame_Reference.
Meaning: The first physical INTERBUS device in the data ring was not switched off.
Add_Error_Info: —
5150B 3-29
IBS SYS FW G4 UM E
Meaning: Within one local bus segment the connected devices have different oper-
ating states.
Meaning: The controller board did not accept your group definition.
3-30 5150B
Error Codes
Cause: You assigned different group numbers for INTERBUS devices of one bus
segment.
Remedy: Assign always the same group number to all INTERBUS devices of one
bus segment.
Meaning: The controller board did not accept the definitions of an alternative group.
0A27hex
Meaning: The controller board did not accept the definition of an alternative group.
Meaning: The controller board could not activate the specified groups.
0A29hex
Meaning: There was a conflict of mutual group dependencies when INTERBUS de-
vices were switched on or off.
5150B 3-31
IBS SYS FW G4 UM E
0A2Ahex
Meaning: You specified an INTERBUS device number which does not exist.
Cause: - You connected more then the allowable number of PCP devices.
- You configured more PCP devices than permitted.
Add_Error_Info: —
3-32 5150B
Error Codes
Meaning: The number of internal indirect address list entries was exceeded.
Cause: You have many modules that occupy only one byte or one nibble of ad-
dress space in the data ring.
Remedy: Reduce the number of modules occupying only one byte or one nibble of
address space. The maximum number of internal permitted indirect ad-
dress list entries is 384.
Add_Error_Info: —
Add_Error_Info: —
Add_Error_Info: —
Cause: You used an INTERBUS device number that does not exist.
5150B 3-33
IBS SYS FW G4 UM E
Cause: You entered an invalid value in a process data description for the
PDD_Index parameter.
Remedy: Assign values in the range from 0000hex to 7FFFhex for the PDD_Index pa-
rameter, with the exception of the values 6010hex and 6011hex, which are
reserved for default process data descriptions. Every PDD_Index may be
assigned only once.
Meaning: You exceeded the internal address area of a device when describing a pro-
cess data item.
3-34 5150B
Error Codes
Meaning: When describing a process data item, you specified a data type and a data
length that do not match.
Remedy: Note that a bit string process data item must not exceed byte boundaries
and, therefore, may have a maximum length of 8 bits.
5150B 3-35
IBS SYS FW G4 UM E
Cause: You specified an INTERBUS device number which does not exist.
Cause: You entered for a process data item a data consistency which does not
match its length.
Cause: You entered a value that does not exist for the PDD_Index parameter.
Remedy: Enter 1000hex for an input address list, or 2000hex for an output address
list.
3-36 5150B
Error Codes
Cause: You specified an incorrect or unknown value for the PDRL_Index parame-
ter.
Meaning: The controller board cannot put the connected bus configuration into oper-
ation.
Cause: For the "Compact_Load_PDRL" (0328hex) service you entered with the
Entry_Count parameter a number of INTERBUS devices which differs from
the actual number of INTERBUS devices in the connected bus configura-
tion.
5150B 3-37
IBS SYS FW G4 UM E
Meaning: The controller board could not read out the PDRL.
Remedy: PDRLs loaded with the "Load_PDRL" (0325hex) service are to be read out
with the "Read_PDRL" (0327hex) service.
Add_Error_Info: —
Cause: Using the "Load_PDRL" (0325hex) service you assigned a bit-string pro-
cess data item so that it exceeds a byte boundary.
Remedy: Note that a bit string process data item must not exceed byte boundaries.
Add_Error_Info: Bit position of the incorrectly assigned bit string process data item in the
MPM.
Cause: You assigned an odd MPM address to a process data item with a data con-
sistency of 16, 32, or 64 bits. However, this is only permitted for process
data with a data consistency of 8 bits.
Remedy: Process data with a data consistency of 16, 32, or 64 bits are always to be
assigned even MPM addresses.
3-38 5150B
Error Codes
Remedy: Assign always only one process data item to an output address.
Meaning: The controller board did not accept the Frame_Reference parameter.
Cause: The specified value is not permitted for the Frame_Reference parameter.
Cause: The maximum permissible number of remote bus devices was exceeded
by the user with the "Create_Configuration" (0710hex) service or when au-
tomatically reading in the devices with the "Load_Configuration" (0307hex)
service.
Add_Error_Info: —
5150B 3-39
IBS SYS FW G4 UM E
Cause: The maximum permissible number of I/O points was exceeded by the user
with the "Create_Configuration" (0710hex) service or when automatically
reading in connected devices with the "Load_Configuration" (0307hex) ser-
vice.
Remedy: Reduce the number of I/O points to a maximum of 4096 I/O points for the
IN and OUT data area.
Add_Error_Info: —
0A55hex
Meaning: The configuration data sent to the controller board with the
"Compare_Configuration" (0317hex) service do not match the configuration
frame specified with the Frame_Reference parameter.
Cause: The device number (bus segment number and position) specified by the
Add_Error_Info parameter has been entered differently.
Remedy: Check the lists of the transmitted configuration data and the specified con-
figuration frame.
Add_Error_Info: Number of the configuration frame line which does not match the transmit-
ted configuration data.
0A56hex
Meaning: The configuration data transmitted to the controller board with the
"Compare_Configuration" (0317hex) service does not match the configura-
tion frame specified with the Frame_Reference parameter.
Cause: The device code (length and ID code) specified by the Add_Error_Info pa-
rameter has been entered differently.
Remedy: Check the list of transmitted configuration data and the specified configu-
ration frame.
Add_Error_Info: Number of the configuration frame line which does not match the transmit-
ted configuration data.
3-40 5150B
Error Codes
0A57hex
Meaning: The configuration data transmitted to the controller board with the
"Compare_Configuration" (0317hex) service does not match the configura-
tion frame specified by the Frame_Reference parameter.
Cause: The user level specified by the Add_Error_Info parameter has been en-
tered differently.
Remedy: Check the list of transmitted configuration data and the specified configu-
ration frame.
Add_Error_Info: Number of the configuration frame line which does not match the transmit-
ted configuration data.
0A58hex
Meaning: The configuration data transmitted to the controller board with the
"Compare_Configuration" (0317hex) service does not match the configura-
tion frame specified by the Frame_Reference parameter.
Cause: The group number (group and alternative) specified by the Add_Error_Info
parameter has been entered differently.
Remedy: Check the list of transmitted configuration data and the specified configu-
ration frame.
Add_Error_Info: Number of the configuration frame line which does not match the transmit-
ted configuration data.
0A59hex
Reason: You tried to switch the slave part of the local system coupler.
Add_Error_Info: —
5150B 3-41
IBS SYS FW G4 UM E
Cause: You entered a value for the Frame_Reference, under which no configura-
tion frame has been created.
Remedy: Observe the required order of services. Create the configuration frame be-
fore accessing it.
Add_Error_Info: —
Cause: You placed the diagnostic status register or the diagnostic parameter reg-
ister in the output address area.
Meaning: Address conflict between a diagnostic register and a process input data
item.
Cause: The diagnostic status register or the diagnostic parameter register is locat-
ed in an address area which the controller board uses for process input
data (e.g., after calling the "Create_Configuration" (0710hex) service).
Remedy: Using the "Set_Value" (0750hex) service, place the diagnostic status regis-
ter and the diagnostic parameter register in address areas which are not
assigned by process input data.
3-42 5150B
Error Codes
Cause: You assigned an odd MPM address to a register with a data consistency of
16, 32, or 64 bits. However, this is allowed only for registers with a data
consistency of 8 bits.
Remedy: Assign always even MPM addresses to registers with data consistencies
of 16, 32, or 64 bits.
Add_Error_Info: Variable_ID of the register to which you illegally assigned an odd MPM ad-
dress when calling the "Set_Value" (0750hex) service.
0A70hex
Meaning: The controller board could not process the "Get_Diag_Info" (032Bhex) ser-
vice.
Cause: You tried to enable a reserved attribute with the Diag_Info_Attr parameter.
Add_Error_Info: —
0AFBhex
Meaning: The controller board did not accept the specified data consistency.
Cause: You assigned two different data consistencies when defining the process
data references of a memory cell in the MPM.
Add_Error_Info: —
0AFChex
5150B 3-43
IBS SYS FW G4 UM E
Add_Error_Info: —
0AFDhex
Add_Error_Info: —
0AFEhex
Meaning: An address overlap was recognized when reading in the connected bus
structure.
Cause: The read addresses of the devices overlap the address of the communica-
tion register.
Add_Error_Info: —
Add_Error_Info: —
3-44 5150B
Error Codes
Remedy: Use only the values specified in the description of the "Set_Value"
(0750hex) or "Read_Value" (0351hex) services.
Add_Error_Info: —
Meaning: The controller board cannot process the "Set_Value" (0750hex) service.
Cause: You exceeded the valid value range when entering a parameter.
Remedy: Use only the values specified in the description of the "Set_Value"
(0750hex) service.
Add_Error_Info: —
Add_Error_Info: —
Cause: You made a mistake in the list of physical INTERBUS device positions.
Add_Error_Info: —
5150B 3-45
IBS SYS FW G4 UM E
Add_Error_Info: —
Cause: You tried to use this service for an INTERBUS device without a command
register.
Add_Error_Info: —
Cause: You entered a number for the Entry_Count parameter which is greater than
the actual number of INTERBUS devices.
Add_Error_Info: —
0B88hex
Add_Error_Info: —
3-46 5150B
Error Codes
Meaning: The controller board changes to the stop state after a new or changed con-
figuration was activated.
Add_Error_Info: —
Add_Error_Info: —
Cause: You initiated a synchronous interrupt in the MPM, although the controller
board was working in the asynchronous mode or the bus was not started.
Remedy: Initiate synchronous interrupts only when the bus is running and in syn-
chronous modes.
Add_Error_Info: —
5150B 3-47
IBS SYS FW G4 UM E
Cause: You initiated a diagonal handshake interrupt in the MPM, although the con-
troller board was working in the asynchronous mode or the bus was not
started.
Remedy: Initiate synchronous interrupts only when the bus is running and in syn-
chronous modes.
Add_Error_Info: —
Cause: You accessed a data area with a data width which is smaller than the data
consistency defined for this area.
Remedy: Access this data area only with the data width that is equal to the full data
consistency defined for this data area.
Add_Error_Info: —
Add_Error_Info: —
Cause: A data consistency error occurred (e.g., if not all MPM bits will be accept-
ed).
Add_Error_Info: —
3-48 5150B
Error Codes
Cause: It was not possible to process a data cycle within the timeout, as the bus
was not in the RUN state or an error occurred during the service.
Remedy: Set the bus to the RUN state, then call the READ_PD service again.
Add_Error_Info: —
Cause: The INTERBUS protocol chip could not process I/O data within the defined
time, e.g., due to a defective protocol chip.
0BB1hex (PF)
0BB2hex
Cause: The reconfiguration button was pressed on the specified INTERBUS de-
vice.
5150B 3-49
IBS SYS FW G4 UM E
0BC0hex
Cause: The lower-level bus changed to the STOP state owing to a bus error.
Remedy: Reading out the exact error cause (e.g., with the "Get_Error_Info"
(0316hex) service), or the diagnostic bit and parameter bit registers.
0BC2hex
Cause: Too many PCP devices are configured within the Loop or the total Loop ex-
tension is too large.
Remedy: Check the configuration and reduce the number of connected devices or
reduce the Loop extension.
0BC3hex
Meaning: The temperature of the INTERBUS protocol chip is too high.
Cause: The ambient temperature is too high.
Remedy: 1. Ensure a lower ambient temperature.
2. Ensure the separate ventilation of the Loop device.
Add_Error_Info: INTERBUS device number (Segment . Position) of the INTERBUS device.
0BC4hex
Meaning: The internal power source is overloaded.
Cause: The connected load of sensors and/or actuators is too high.
Remedy: 1. Check the number of connected sensors/actuators.
2. Check the sensors/actuators for errors.
3-50 5150B
Error Codes
0BC5hex
Meaning: The permitted output current of the power driver was exceeded.
0BD0hex
Meaning: The controller board could not put the configuration into operation.
Add_Error_Info: —
0BD1hex
Meaning: A data cycle exceeded the specified PD cycle time. The controller board in-
dicates this only if it has been activated with the "Set_Value" (0750hex) ser-
vice before.
Cause: The process data could not be updated within the specified PD cycle time.
Remedy: Check your system or increase the value set for the PD cycle time using
the "Set_Value" (0750hex) service.
Add_Error_Info: —
0BD2hex
Cause: No data cycle could be transmitted within the bus warning time specified
with the "Set_Value" (0750hex) service.
5150B 3-51
IBS SYS FW G4 UM E
Remedy: Check your system or increase the bus warning time with the "Set_Value"
(0750hex) service.
Add_Error_Info: —
0BD4hex
Meaning: A single bus error occurred. The controller board indicates this only if this
feature has been enabled before.
Add_Error_Info: —
0BDBhex
Meaning: The process pre-processing task is no longer in the RUN state. The bus
was stopped so that data that is not pre-processed cannot be transmitted.
Add_Error_Info: —
0BDDhex
Meaning: The bus was stopped owing to an MPM timeout caused by the user. Oth-
erwise, inconsistent data can be transmitted.
Cause: For example, the timeout can be caused by a byte access to a 16 bit-locked
MPM address.
Add_Error_Info: —
0BDEhex
Remedy: Check your system or increase the PD cycle time with the "Set_Value"
(0750hex) service.
3-52 5150B
Error Codes
Add_Error_Info: —
Meaning: The controller board has stopped data transmission and is searching for
the error location and cause.
Remedy: Wait until the search for the error has been completed. The controller board
will inform you of the result.
Add_Error_Info: —
5150B 3-53
IBS SYS FW G4 UM E
Meaning: The controller board detected changes in the configuration which do not
permit to continue the data traffic over the bus.
Add_Error_Info: —
3-54 5150B
Error Codes
5150B 3-55
IBS SYS FW G4 UM E
3-56 5150B
Error Codes
5150B 3-57
IBS SYS FW G4 UM E
Add_Error_Info: —
Remedy: Repeat the service if the controller board is in the RUN or ACTIVE state. If
diagnostics is active, you must wait for the result. Then, the indicated bus
error specifies the error location.
Add_Error_Info: —
3-58 5150B
Error Codes
5150B 3-59
IBS SYS FW G4 UM E
3-60 5150B
Error Codes
5150B 3-61
IBS SYS FW G4 UM E
If entries are made in the TOP TEN, they can provide information on the
error location. The front plate or the "Get_Diag_Info" (032Bhex) service al-
low to inquire the TOP TEN.
Add_Error_Info: INTERBUS device number (Segment . Position) of the INTERBUS device.
3-62 5150B
Error Codes
5150B 3-63
IBS SYS FW G4 UM E
The Add_Error_Info provides the coded error location for remote or local
bus errors. The exact error position is only indicated if no interface error oc-
curred. In the case of an interface error, the defective bus segment will be
indicated. Bit 7 indicates whether an interface error occurred. The mean-
ings of bits 0 to 6 will also change. This results in three different states
which have the following bit combinations in the Add_Error_Info.
15 8 7 6 5 4 3 2 1 0 Add_Error_Info
Bus segment
in which the error
occurred
Position of the located error
15 8 7 6 5 4 3 2 1 0 Add_Error_Info
Bit 0 = 0 Error at the outgoing
Bus segment remote bus interface
in which the error
occurred
Bit 1-6 = 0
3-64 5150B
Error Codes
15 8 7 6 5 4 3 2 1 0 Add_Error_Info
Bit 0 = 1 Error at the outgoing
Bus segment local bus interface
in which the error
occurred
Bit 1-6 = 0
Cause: A device entered in the connected bus configuration and not marked as
switched off is missing in the connected bus configuration.
The active configuration is the quantity of INTERBUS devices connected
to the INTERBUS system whose data is within the summation frame. The
active configuration may differ from the connected bus configuration only
when physically connected bus segments have been switched off.
Remedy: Compare the active configuration with the connected bus configuration,
taking any disabled bus segments into account.
5150B 3-65
IBS SYS FW G4 UM E
Meaning: Transmission error (CRC error) in the forward data path at the incoming
bus interface (IN) of the specified INTERBUS device.
3-66 5150B
Error Codes
Meaning: The Medium Attachment Unit (MAU) firmware component diagnosed an in-
terruption of the data transmission.
Cause: Interruption in the forward data path of the incoming bus interface (IN) of
the specified INTERBUS device.
Remedy: Check the cables, male and female connectors on cables and devices for
interruptions and repair them, if required.
Meaning: Transmission error (CRC error) in the return data path at the incoming bus
interface (IN) of the specified INTERBUS device.
5150B 3-67
IBS SYS FW G4 UM E
Meaning: The Medium Attachment Unit (MAU) diagnosed an interruption of the data
transmission.
Remedy: Check the cables, male and female connectors on cables and devices for
interruptions and repair them, if required.
Cause: Interruption in the return data path at the incoming bus interface (IN) of the
specified INTERBUS device.
Cause: Missing or defective bridge (loose contact, dry joint) in the outgoing bus
connector of the preceding INTERBUS device.
Remedy: Check the segment of the specified INTERBUS device for interruptions in
the connector (loose contact, dry joint). Solder a bridge or ensure the prop-
er connection of the already existing bridge to generate an error-free RBST
or LBST signal.
Meaning: The length code of the specified INTERBUS device is not identical with the
entry in the configuration frame.
3-68 5150B
Error Codes
Meaning: The ID code of the specified INTERBUS device is not identical with the en-
try in the configuration frame.
Meaning: The specified INTERBUS device has the ID code of a remote bus device,
but is located in a local bus.
5150B 3-69
IBS SYS FW G4 UM E
Meaning: The slave chip of the specified device is a SUPI 1 which is operated in the
µP mode. This mode is not supported by the firmware of your controller
board.
Meaning: The data transmission is interrupted at the outgoing remote bus interface
(OUT1) of the specified INTERBUS device.
Cause: – The connector has not been plugged in.
– The bridge for connector identification (RBST or LBST) is defective.
Meaning: Data transmission is interrupted at the outgoing bus interface (OUT2) of the
specified INTERBUS device.
Cause: – The connector has not been plugged in.
– The bridge for connector identification (RBST or LBST) is defective.
Meaning: Data transmission was temporarily interrupted at the outgoing bus interface
(OUT1) of the specified INTERBUS device (with SUPI 3), although this in-
terface is not used.
3-70 5150B
Error Codes
Meaning: Data transmission was temporarily interrupted at the outgoing bus interface
(OUT2) of the specified INTERBUS device (with SUPI 3), although this in-
terface is not used.
Meaning: The SUPI 3 of the specified INTERBUS device detected an I/O timeout.
5150B 3-71
IBS SYS FW G4 UM E
rent of the BK module and for the typical current consumption of the
connected local bus devices.
Cause: An invalid mode has been set on the INTERBUS protocol chip of an
INTERBUS device.
Meaning: Multiple error at the outgoing bus interface (OUT1) of the specified INTER-
BUS device.
3-72 5150B
Error Codes
Cause: Defect of the bus cable connected to this bus interface, of the following
INTERBUS device, or of a device of any subsequent local bus.
Remedy: Check this part of the system for:
– missing or incorrect shielding of the bus cables (connectors),
– missing or incorrect grounding/equipotential bonding,
– poor connections in the connector (loose contact, dry joint),
– voltage dips on the communication voltage supply of the remote bus de-
vices.
Meaning: Multiple timeout of the outgoing bus interface (OUT1) of the specified
INTERBUS device.
Cause: Defect of the bus cable connected to this bus interface, of the following
INTERBUS device, or of a device in any following local bus.
Remedy: Check this part of the system for:
– missing or incorrect shielding of the bus cables (connectors),
– missing or incorrect grounding/equipotential bonding,
– poor connections in the connector (loose contact, dry joint),
– voltage dips on the communication voltage supply of the remote bus de-
vices.
Meaning: An unexpected device was found at the outgoing bus interface (OUT1) of
the specified INTERBUS device.
Cause: – INTERBUS device connected without an entry in the active configura-
tion.
– INTERBUS cable connected without any further INTERBUS devices.
5150B 3-73
IBS SYS FW G4 UM E
Meaning: The specified INTERBUS device could not activate the following bus seg-
ment.
Cause: The INTERBUS device connected to the outgoing interface (OUT1) of the
specified INTERBUS device carried out a voltage reset or is defective.
Remedy: – Check this INTERBUS device.
– Check the supply voltage of this INTERBUS device whether it conforms
to the rated value and whether the permissible AC voltage portion is ex-
ceeded. Refer to the relevant data sheet for the values.
– Check the BK module’s power supply unit for an overload condition. Re-
fer to the relevant data sheets for the maximum permissible output cur-
rent of the BK module and for the typical current consumption of the
connected local bus devices.
Meaning: An INTERBUS device with the ID code of a local bus device was found at
the outgoing remote bus interface (OUT1) of the specified INTERBUS de-
vice.
3-74 5150B
Error Codes
Meaning: The INTERBUS device connected to the outgoing remote bus interface
(OUT1) of the specified INTERBUS device has an invalid ID code.
Meaning: The local bus connected directly to the controller board consists of more
devices than have been entered in the active configuration.
Meaning: Multiple error at the outgoing bus interface (OUT2) of the specified INTER-
BUS device.
Cause: – INTERBUS cable connected to the outgoing bus interface (OUT2) with-
out any further INTERBUS devices.
– A local/remote bus cable is defective that belongs to the local/remote
bus of the specified INTERBUS device.
– Defective INTERBUS device connected to the local/remote bus of the
specified INTERBUS device.
– Failure of the supply voltage (communication voltage UL) for the module
electronics made available by the BK module.
– Failure of the supply voltage (UL) for the BK module.
5150B 3-75
IBS SYS FW G4 UM E
Meaning: Multiple timeout at the outgoing bus interface (OUT2) of the specified
INTERBUS device.
Cause: – Defective local/remote bus cable that belongs to the local/remote bus of
the specified device.
– Defective INTERBUS device connected to the local/remote bus of the
specified INTERBUS device.
– Failure of the supply voltage (communication voltage UL) for the module
electronics made available by the BK module.
– Failure of the supply voltage (UL) for the BK module.
Meaning: Unexpected devices were found at the outgoing interface (OUT2) of the
specified INTERBUS device.
Cause: – INTERBUS device connected without an entry in the active configura-
tion.
– INTERBUS cable connected without any further INTERBUS device.
3-76 5150B
Error Codes
Remedy: Replace the INTERBUS device which is connected to the outgoing bus in-
terface (OUT2) of the specified INTERBUS device or adapt in the configu-
ration frame the entry to the length code.
Meaning: After the outgoing bus interface (OUT2) of the specified INTERBUS device
was opened, further devices in addition to a BK module were included in a
data ring.
Cause: The INTERBUS device connected to the outgoing bus interface (OUT2) of
the specified INTERBUS device carried out a voltage reset or is defective.
Remedy: – Check this INTERBUS device.
– Check the supply voltage of this INTERBUS device whether it conforms
to the rated value and whether the permissible AC voltage portion is ex-
ceeded. Refer to the relevant data sheet for the values.
– Check the BK module’s power supply unit for an overload condition. Re-
fer to the relevant data sheets for the maximum permissible output cur-
rent of the BK module and for the typical current consumption of the
connected local bus devices.
Meaning: Error in the 8-wire local bus connected to the specified INTERBUS device.
Cause: – Defective local bus cable that belongs to the local bus of the specified
device.
– Defective INTERBUS device connected to the local bus of the specified
INTERBUS device.
– Failure of the supply voltage (communication voltage UL) for the module
electronics made available by the BK module.
5150B 3-77
IBS SYS FW G4 UM E
Meaning: The local bus connected to the specified bus terminal module consists of
more local bus devices than were entered in the active configuration.
Meaning: The INTERBUS device connected to the outgoing bus interface (OUT2) of
the specified INTERBUS device has an invalid ID code.
3-78 5150B
Error Codes
Meaning: A system error (e.g., hardware or firmware error) occurred on the controller
board.
1010hex
Add_Error_Info: —
1011hex
Add_Error_Info: —
1012hex
Meaning: An error occurred in the boot firmware.
Cause: 1. Firmware error.
2. During firmware update the download of the new firmware failed.
3. Hardware error.
Remedy: 1. Download the firmware again. If the error message is still generated,
an hardware fault occurred. Please contact Phoenix Contact.
2. Download the firmware again.
3. Please contact Phoenix Contact.
Add_Error_Info: —
5150B 3-79
IBS SYS FW G4 UM E
1013hex
Meaning: An error occurred in the firmware.
Cause: 1. Firmware error.
2. During firmware update the download of the new firmware failed.
3. Hardware error.
Remedy: 1. Download the firmware again. If the error message is still generated,
an hardware fault occurred. Please contact Phoenix Contact.
2. Download the firmware again.
3. Please contact Phoenix Contact.
Add_Error_Info: —
Meaning: An error occurred on the controller board when the MPM was accessed.
Meaning: A hardware error occurred on the controller board during the self-test.
Meaning: An error occurred on the controller board when the parameterization inter-
face (RS-232) was accessed.
3-80 5150B
Error Codes
1056hex
Add_Error_Info: —
1057hex
Meaning: The firmware download was interrupted. The program initiated a restart.
Add_Error_Info: —
Meaning: An error in the host-specific part of the firmware occurred on the controller
board.
Meaning: The controller board detected an error in the connected bus system during
INTERBUS operation.
Cause: The bus cannot be operated any longer. The controller board searches the
fault location.
Remedy: Use the "Get_Error_Info" (0316hex) service for reading out the error caus-
es.
5150B 3-81
IBS SYS FW G4 UM E
1210hex
Meaning: An firmware error occurred.
Cause: Defective bus device.
Remedy: Please contact Phoenix Contact.
Add_Error_Info: Number of defective devices.
1211hex
Meaning: Incorrect setting of the slave type.
Cause: 1. Inadmissible slave number set.
2. Hardware fault.
Remedy: 1. Set the correct slave number (0 or 1).
2. Please contact Phoenix Contact.
Add_Error_Info: Incorrect slave number.
1212hex
Meaning: Devices with the protocol chip SUPI 3 and higher must be used.
Cause: Hardware fault.
Remedy: 1. Remove the device with the wrong protocol chip.
2. Please contact Phoenix Contact.
Add_Error_Info: —
1213hex
Cause: The slave was initialized with an inadmissible number of words.
Remedy: Reduce the word number and initialize the slave again.
Add_Error_Info: —
3-82 5150B
Error Codes
1215hex
Meaning: Error in the µP mode.
Cause: Data lengths have been used that are not permitted in the µP mode
(e.g., zero words).
Remedy: Initialize the slave part of the system coupler properly.
Add_Error_Info: —
1217hex
Meaning: Error during initialization.
Cause: The INTERBUS protocol chip was initialized several times. If the NOT
READY ID code physically exists, the INTERBUS protocol chip can be ini-
tialized only once. With other ID codes, SUPI 3 can be initialized several
times.
Remedy: 1. Ensure that the protocol chip will be initialized only once.
2. Disconnect the INTERBUS protocol chip from the supply, then try
again.
Add_Error_Info: —
5150B 3-83
IBS SYS FW G4 UM E
3-84 5150B
Appendix A
A 1 Figures
Section 1
Figure 1-1: Communication mechanisms in the MPM ..................1-11
Figure 1-2: Diagnostic status register ...........................................1-15
Figure 1-3: Content of the diagnostic parameter register
(example)....................................................................1-17
Figure 1-4: Assignment of frequently used functions in the
standard function start register ..................................1-17
Figure 1-5: Sequence of a function execution without
parameter transfer .....................................................1-18
Figure 1-6: Sequence of a service execution with
parameter transfer .....................................................1-19
Figure 1-7: The state machine .....................................................1-20
Figure 1-8: Overview of service groups ........................................1-23
Figure 1-9: Bus configuration (connected and active
configuration) .............................................................1-27
Figure 1-10: Structure of device numbers ......................................1-30
Figure 1-11: Device-oriented and list-oriented transmission ..........1-31
Figure 1-12: Bus configuration (groups and alternative groups) ....1-32
Figure 1-13: Process data channel of a frequency inverter ............1-35
Figure 1-14: Broadcast ...................................................................1-36
Figure 1-15: Direct link ...................................................................1-36
Figure 1-16: Services for controller board configuration ................1-38
Figure 1-17: Loading a configuration frame ...................................1-42
Figure 1-18: Loading the process data description list (PDDL) ......1-44
Figure 1-19: Service structure of the process data description
list (PDDL) .................................................................1-46
Figure 1-20: Byte IN and OUT process data ..................................1-47
Figure 1-21: Loading the process data reference list .....................1-48
5150B A-1
Figures
Section 3
Figure 3-1: No interface error occurred ........................................3-64
Figure 3-2: Error at the outgoing remote bus interface ................3-64
Figure 3-3: Error at the outgoing local bus interface ....................3-65
A-2 5150B
Appendix A
A 2 Tables
Section 1
Table 1-1: Comparison between G3 and G4 services ...................1-8
Table 1-2: Errors with bus disconnection .....................................1-16
Table 1-3: Errors without bus connection.....................................1-16
Table 1-4: Basic structure of a configuration frame .....................1-26
Table 1-5: Configuration frame ....................................................1-28
Table 1-6: Configuration frame ....................................................1-33
Table 1-7: Parameters of the process data reference list
(PDRL) ........................................................................1-50
Section 2
Table 2-1: Overview of services (according to service codes).......2-5
Table 2-2: Automatic error indications ...........................................2-7
Table 2-3: System parameters.....................................................2-17
5150B A-3
Tables
A-4 5150B
Appendix A
A 3 Glossary
Active The active configuration comprises all →(bus) devices actually connected
configuration to the INTERBUS system. The data of these devices is within the summa-
tion frame during the execution of bus cycles.
If →bus segments are switched off but are not decoupled, the active con-
figuration can differ from the current configuration.
Bus segment A bus segment is a subset of the configuration frame. It consists of all local
bus devices connected to the local bus interface - if present - and the re-
mote bus cable leading to this device.
Client/server model The client as a service requester issues jobs in order to use the functions
of other communication devices. A server is a service provider that makes
its functions available to the client. →Communication services are avail-
able to the client for issuing jobs.
Communication Data that is exchanged between two devices, e.g., measured values, pro-
object gram parts, device parameters, etc. The data is described in the object dic-
tionary of a device. It can be accessed by other devices.
5150B A-5
Glossary
Communication Services used for connection establishment and abort as well as for data
services exchange between two devices.
CR →Communication reference
Current The current configuration comprises all →(bus) devices actually connected
configuration to the controller board. If bus segments are physically decoupled, the cur-
rent configuration can differ from the configuration frame.
Device Device with an own address that is connected to the INTERBUS system.
Device number The user can assign a logical device number of the type "S.D" to each de-
(logical) vice of the configuration frame. Each number can be assigned only once.
The logical device number consists of the logical bus segment number (S)
and the logical device number (D) within the local busV. The logical bus
segment numbers are assigned in ascending order, starting with "1". The
device position is assigned according to the position in the local bus, start-
ing with "1". The remote bus devices are assigned the bus segment num-
ber "0". The assignment is carried out continuously. The logical device
number occupies one data word (16 bits). The bus segment number is
mapped to the bits 8 ... 15, the device position to the bits 0 ... 7.
A-6 5150B
Appendix A
Device number The physical device number is the position of a bus device in the configu-
(physical) ration frame. The physical device number is not influenced by the fact if in-
dividual bus segments are connected or disconnected.
Group Several bus segments belonging together with regard to functionality can
be combined in one group. Only the entire group can be added to the active
configuration. Groups must not overlap. As default, there are no groups de-
fined.
If a bus device fails, the definition of groups allows to remove the entire
group belonging to this bus device from the active configuration. To
achieve this, it is required to assign group numbers.
The structure of the group number determines whether the group can be
added alternatively.
Manufacturing Mes- ISO standard of communication services with which administrative tasks,
sage Specification identification and status prompts, communication-related activities as well
(MMS) as productive data transmission are carried out. MMS has been designed
for networks that are located hierarchically above the sensor/actuator level.
Peripherals Commu- INTERBUS protocol software. A PCP-compatible device is able, with the
nication Protocol aid of →PMS services, to exchange communication data with other PCP
(PCP) devices.
Peripherals Message Subset of the →MMS communication services, specially adapted to the
Specification (PMS) sensor/actuators area.
Process data Time-critical state information of simple devices that continually changes
and must be continually updated. It must be transmitted quickly and at reg-
ular intervals.
Physical device The physical device position is the position of the bus device within the
position summation frame. The first bus device is assigned the position "0". The
physical device position corresponds to the physical device number, if the
entire configuration number is active.
5150B A-7
Glossary
Protocol A set of conventions. It defines data formats and control procedures for
communication between devices and processes.
Summation frame Transmission method in which all physical devices are treated as if they
were one logical device: all process data is transmitted simultaneously to
all devices during a cycle. On the basis of the temporal location of the in-
formation in the summation frame, each device can accept the data that is
determined for it.
A-8 5150B
Appendix A
A 4 Index
A D
Action object management.................... 1-24 Data transmission area ......................... 1-11
Action_Object DDI........................................................ 1-12
(see service sequence) ..... 2-123, 2-164 Device
Alternative devices ................................ 1-32 Controlling ...................................... 2-97
Indicating error messages ............ 2-187
B Switching on/off ..................... 2-93, 2-94
Bus control ................................... 1-24, 1-53 Device driver interface .......................... 1-12
Bus errors.............................................. 1-52 Device numbers
Bus level................................................ 1-25 Logical .......................... 1-26, 1-29, 1-30
Bus quality............................................. 1-52 Physical .......................................... 1-29
Bus single errors ................................... 1-51 Device status messages ....................... 1-51
Device-oriented transmission................ 1-31
C Devices
Communication reference list................ 1-28 Alternative....................................... 1-32
Configuration Diagnostic information ............. 2-113, 2-121
Frame ............................................. 1-38 Diagnostics ......................................... 2-121
Services.......................................... 1-38 General........................................... 1-52
Configuration frame............................... 1-25 Registers ........................................ 1-14
Configuration_Entry ............... 2-29, 2-39 Treatment ....................................... 1-24
Deactivating .................................... 2-56 DPM ...................................................... 1-11
Deleting........................................... 2-50 DTA ....................................................... 1-11
Loading ........................................... 1-38 Dual-Port Memory................................. 1-11
Managing ........................................ 1-24
Transmitting .................. 2-24, 2-27, 2-31 E
Controller board Error cause ......................................... 2-102
Indicating error codes ................... 2-186 Error management ................................ 1-51
Initiating the reset ........................... 2-90 Error treatment ...................................... 1-24
Starting the data transfer ................ 2-88
Stopping the data transfer .............. 2-92
5150B A-9
Index
Event description P
Configuring ............. 2-150, 2-152, 2-157
Parameter record ................................ 2-123
Deleting......................................... 2-162
Configuring ........................ 2-135, 2-141
Reading out .................................. 2-159
Deleting ........................................ 2-148
Reading out .................................. 2-143
F Transmitting.................................. 2-164
Functions Parameterization memory
Defining......................................... 2-123 Closing the file ................... 2-171, 2-173
Defragmenting .............................. 2-181
G Deleting ........................................ 2-168
General functions .................................. 1-24 Formatting .................................... 2-168
Group numbers Opening the file ............................ 2-168
Logical ................................... 1-26, 1-32 Positioning the file pointer ............ 2-176
Reading out the file....................... 2-181
I Writing ............................... 2-164, 2-176
Initial state ............................................. 1-21 Parameterization phase ........................ 1-21
PDD ...................................................... 1-46
L PDDL .................................................... 1-21
List-oriented transmission ..................... 1-31 PDRL .................................................... 1-21
Logical group numbers.......................... 1-32 Process data
Assignment..................................... 1-34
M Description...................................... 1-46
Mailbox area.......................................... 1-11 Management.......................... 1-24, 1-34
MPM ...................................................... 1-11 Reference list.................................. 1-34
Multi-Port Memory................................. 1-11 User-defined ................................... 1-35
MXA ...................................................... 1-11 Process data description
Defining ........................ 2-58, 2-60, 2-64
N Reading out .................................... 2-66
Nodes.................................................... 1-11 Process data description list ................. 1-21
Loading........................................... 1-39
A-10 5150B
Index
R
Request................................................. 1-12
Response .............................................. 1-12
S
Service sequence................................ 2-123
Creating .................. 2-123, 2-125, 2-127
Deleting......................................... 2-131
Reading out ....................... 2-127, 2-129
Transmitting .................................. 2-164
SGA....................................................... 1-11
Signal area ............................................ 1-11
Signal object management.................... 1-24
Signal object managment...................... 1-24
Signal_Object
(see parameter record) ..... 2-123, 2-164
State machine ....................................... 1-20
Status information ............................... 2-105
System errors........................................ 1-51
System parameters
List .................................................. 2-17
Reading out .................................... 2-21
5150B A-11
Index
A-12 5150B
We Are Interested in Your Opinion!
We would like to hear your suggestions, wishes and criticisms concern-
ing this manual.
No matter how small your contribution we will deal with any hint or com-
ment 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:
5050df17
FAX Reply
Phoenix Contact GmbH & Co. Date:
Produktmarketing
INTERBUS / ME-DOK Fax.-No: +49 - (0) 52 35 - 3-3 11 99
Sender:
Company: Name:
Department:
Address: Job function:
City,Postal Phone:
code:
Country Fax:
Manual Data:
Designation: Revision: Order No.:
Other Comments:
5050df17