Programming Manual Fieldbus Systems V2.9
Programming Manual Fieldbus Systems V2.9
1 Preface
The described hardware and software are developments of the KEB Automation KG. The
enclosed documents correspond to conditions valid at printing. Misprint, mistakes and
technical changes reserved.
RESTRICTION
Is used when certain conditions must meet the validity of statements or the result is lim-
ited to a certain validity range.
1.4 Warranty
The warranty and liability on design, material or workmanship defects for the acquired
device is given in the general conditions of sale.
1.5 Support
Through multiple applications not every imaginable case has been taken into account. If
you require further information or if problems occur which are not treated detailed in the
documentation, you can request the necessary information via the local KEB Automation
KG agency.
The use of our units in the target products is beyond of our control and therefore
exclusively the responsibility of the customer.
The information contained in the technical documentation, as well as any user-specific
advice in spoken and written and through tests, are made to best of our knowledge and
information about the intended use. However, they are considered for information only
without responsibility and changes are expressly reserved, in particular due to technical
changes. This also applies to any violation of industrial property rights of a third-party. Se-
lection of our units in view of their suitability for the intended use must be done generally
by the user.
Tests can only be carried out by the customer within the scope of the intended end
use of the product (application). They must be repeated, even if only parts of hard-
ware, software or the unit adjustment are modified.
1.6 Copyright
The customer may progamming manual for use as well as further documents or parts
from it for internal purposes. Copyrights are with KEB Automation KG and remain valid in
its entirety.
This KEB product or parts thereof may contain foreign software, incl. free and/or open
source software. If applicable, the license terms of this software are contained in the in-
structions for use. The instructions for use are already available, can be downloaded from
the KEB website or can be requested from the respective KEB contact person.
Other wordmarks and/or logos are trademarks (™) or registered trademarks (®) of their
respective owners.
Content
1 Preface .................................................................................................... 3
1.1 Signal words and symbols .......................................................................................................... 3
1.2 More symbols ............................................................................................................................... 3
1.3 Laws and guidelines .................................................................................................................... 4
1.4 Warranty ........................................................................................................................................ 4
1.5 Support ......................................................................................................................................... 4
1.6 Copyright ...................................................................................................................................... 4
To activate the process data objects in the device, it is necessary to set the mapping of the
process data by using the parameters defined in chapter 5.6.1Mapping of the process data . ...............84
8.7 VARAN diagnosis.......................................................................................................................84
Figures
Figure 1: Timing of the LED flashing pattern ............................................................................................35
Figure 2: Fieldbus watchdog .....................................................................................................................48
Figure 3: COMBIVIS 6 Property-Editor .....................................................................................................53
Figure 4: CANopen Bootup-Sequence......................................................................................................57
Figure 5: Sync Manager Parameter Calc and Copy Time ........................................................................74
Figure 6: EtherCAT diagnosis assistant ....................................................................................................76
Figure 7: Client / Server Model ...............................................................................................................107
Figure 8: Address range ..........................................................................................................................108
Figure 9: Exception handling ...................................................................................................................111
Tables
For a trouble-free and safe operation, please pay attention to the following instructions:
• The electrical installation shall be carried out in accordance with the relevant require-
ments.
• Cable cross-sections and fuses must be dimensioned according to the design of the
machine manufacturer. Specified minimum / maximum values may not be fallen below
/exceeded.
• With existing or newly wired circuits the person installing the units or machines must
ensure the EN requirements are met.
• For drive controllers that are not isolated from the supply circuit (in accordance with
EN 61800-5-1) all control lines must be included in other protective measures (e.g.
double insulation or shielded, earthed and insulated).
• When using components without isolated inputs/outputs, it is necessary that equipo-
tential bonding exists between the components to be connected (e.g. by the equipo-
tential line). Disregard can cause destruction of the components by equalizing cur-
rents.
3 Product Description
3.1 Functional overview
• Operation of the fieldbus interface
• Details of the EtherCAT interface
o EtherCAT with Multi-Real-Time Ethernet module
o EtherCAT without Multi-Real-Time Ethernet module
o Ethernet over EtherCAT (EoE)
• Details of the CANopen interface
• Details of the VARAN interface
• Details of the PROFINET interface
• Details of the POWERLINK interface
• Details of the EtherNet/IPTM interface
Term Description
Adapter EtherNet/IP™ slave during process data communication
AS Automation Studio (B&R development environment for POWERLINK)
Assemblies Assemblies of supported communication channels for EtherNet/IP ™
CAN / CANopen Fieldbus system
CiA CAN in Automation association
CiA DS301 CAL based communication profile
CiA DS402 CAN unit profile for drives
CIP Common Industrial Protocol
Client Modbus/TCP name for the (fieldbus) master
CN Controlled Node (POWERINK Slave)
COMBIVERT KEB drive converter
COMBIVIS KEB start-up and parameterization software
Controller PROFINET master
Device PROFINET slave
DIN German Institute for Standardization
Recipient (consumer) EtherNet/IP™ master during SDO communication
EMC Electromagnetic compatibility
EN European standard
EoE Ethernet over EtherCAT
ESI file EtherCAT Slave Information file
EtherCAT Real-time Ethernet bus system; EtherCAT® is a registered trademark
and patented technology, licensed by Beckhoff Automation GmbH, Ger-
many. It is marked by the following logo:
Term Description
Explicit Messaging Exchange of data via request/response-oriented functions
Fieldbus (Real-time capable) communication protocol at field level
FSoE Functional safety via EtherCAT
GSDML PROFINET device description file
HSP5 Fast, serial protocol
IEC International standard
IEEE Institute of Electrical and Electronics Engineers
Implicit Messaging Exchange of data via an I/O connection
(Fieldbus) master Fieldbus node responsible for controlling the processes
MN Managing Node (POWERLINK Master)
Modbus/TCP Modbus protocol in which the data is transmitted via TCP/IP
Modulation Means in drive technology that the power semiconductors are controlled
MRTE Multi-Realtime-Ethernet
MTTF Mean service life to failure
ODVA Open DeviceNet Vendors Association
PD-In Process input data (from perspective of the control)
PD-Out Process output data (from perspective of the control)
PDO Process data object
POWERLINK Real-time Ethernet bus system of the company B&R
PROFINET Industrial Ethernet standard of the PROFIBUS user organization e.V.
Process data mapping Process data mapping (mapping of the configured process data)
Request Request (in connection with SDO communication)
Response Response (in connection with SDO communication)
Scanner EtherNet/IP™ master during process data communication
SDO Service Data Object
Transmitter (producer) EtherNet/IP™ Slave during SDO communication
Server Modbus/TCP name for the (fieldbus) slave
(Fieldbus) slave Fieldbus device that processes the individual subtasks
SYNC / SYNC-Interrupt Signal in the fieldbus communication for synchronization of the partici-
pants
VARAN Real-time Ethernet bus system of the company SIGMATEK
XDD POWERLINK device description file
Table 3-1: Used terms and abbreviations
3.3 Trademarks
CANopen® is registered trademark of CAN in AUTOMATION - International Users and
Manufacturers Group e.V.
EtherCAT® is a registered trademark and patented technology, licensed by Beckhoff Au-
tomation GmbH, Germany.
Safety over EtherCAT® is a registered trademark and patented technology, licensed by
Beckhoff Automation GmbH, Germany.
EtherNET/IP is a trademark of ODVA, Inc.
ETHERNET POWERLINK is a registered trademark of Bernecker + Rainer Industrie El-
ektronik Ges.m.b.H.
PROFINET® is a registered trademark of PROFIBUS user organisation e.V.
VARAN-Bus is a registered trademark of Sigmatek GmbH &Co. KG.
Modbus/TCP is an open de facto standard for industrial communication.
4.2 COMBIVIS 6
License-free operating and analysis program for KEB COMBIVERT.
Definitions
To describe the KEB process data communication, the following chapters use a combina-
tion of terms from the CANopen DS301 nomenclature and the KEB nomenclature.
The KEB pr parameters (communication profile objects) are named according to the
DS301 nomenclature. The process data communication of all fieldbus systems is mapped
via these parameters. The following terms are used:
• Process data object (PDO), single object which can be read or written via the process
data communication.
• Receive PDO (RPDO), PDO received from the inverter
• Transmit PDO (TPDO), PDO transmitted by the inverter
• Mapping, the mapping of the PDOs to the process data communication
• Communication parameters, CANopen specific parameters for setting the process
data communication (=> chapter 6.8 CANopen process data mapping)
In addition, KEB-specific nomenclature is also used in this document for the description of
process data communication. This includes the following terms:
• Process input data (PD-In), PDO received from the control (TPDO)
• Process output data (PD-Out), PDO sent by the control (RPDO)
5.1.2.1 CANopen
CANopen uses four process data mappings. Each mapping supports up to 8 process
data objects. The maximum length of a CANopen process data mapping is 8 bytes.
5.1.2.2 EtherCAT
By default, EtherCAT supports up to 8 EtherCAT and 8 FSoE PDOs in one mapping. A
maximum of 32 bytes are available for EtherCAT. For FSoE, the number of bytes is spec-
ified by the mapping to be selected. The PDOs are divided KEB internally to the first and
second process data mapping. The EtherCAT objects are always mapped to the first pro-
cess data mapping. The FSoE objects are always mapped to the second process data
mapping.
The maximum EtherCAT process data mapping is variable. Both the length and the maxi-
mum number of PDOs can be changed via parameter fb60: process data size selection.
Depending on the set size of the EtherCAT process data mapping the minimum possible
EtherCAT cycle time changes.
The maximum size of the FSoE process data mapping cannot be changed.
NOTICE ➢ The different versions of the real-time Ethernet interface at control type
K are based on different hardware.
The selection of the real-time Ethernet protocol must therefore already
be observed when ordering.
➢ Parallel operation of CAN and real-time Ethernet interface is not possi-
ble.
➢ Parallel access (reading or writing) to the object directory by the diag-
nostic interface and the acyclic fieldbus channel may result in errors in
the acyclic fieldbus channel.
➢ In the device variant "F6 PRO" (device part numbers xxF6Pxx-xxxx),
the CAN interface is not available for all hardware revisions. Notes on
the support of the interface can be found in the associated installation
manual in chapter "Fieldbus interfaces".
Diagnostic interface
➢ The diagnostic interface is not made for permanent operation of the de-
vice.
i ➢
➢
Node address 1 and baud rate 38400 bit/s are set as default.
For more information about the diagnostic interface, please refer to the
Programming manual | Control Application / Compact / Pro.
Several object directories are available on the devices of control type P, which can be
read out via the diagnostic interface.
The object directory of the inverter is addressed via the node address and baud rate set
in parameters fb13 and fb14. (as well as on devices of control type A and K)
Communication to other object directories located on the device can be set via the sub-
parameters under fb15. Additional object directories are application and customer spe-
cific. For further information, please contact your sales partner.
➢ The diagnostic interface is not made for permanent operation of the de-
vice.
➢ Node address 1 and baud rate 38400 bit/s are set as default for communi-
i cation with the inverter.
➢ For more information about the diagnostic interface, please refer to the
Programming manual | Control Application / Compact / Pro.
Cards of control type A can also be operated without the MRTE module if no Ethernet
based fieldbus system is used.
In order to avoid an error message on a device without MRTE module it is necessary to
set parameter fb80 Sub-Index 1 MRTE module support from "MRTE module required“ to
"MRTE module not required“.
➢ EtherCAT is set as default value for a newly delivered device. When using
i EtherCAT, it is not necessary to readjust the fieldbus type.
The selection of the fieldbus interface is controlled via the following object:
Index Id-Text Name Function
0x2B44 fb68 fieldbus selection Selection of the used fieldbus system
If a process data size is selected via fb60 process data size selection, this influences the
configuration of the active fieldbus system, which is visible via fb67. Information on fb67
can be found in the following chapter.
A change of the process data size becomes active only after a restart of the software.
The error code "ERROR fieldbus type changed" indicates in ru01 whether the parameter
fb60 has changed since the last restart.
fb60 can also be changed if an active mapping is already set. However, the size of the
mapping (number of PDOs and length) must be permissible for the newly selected pro-
cess data size. Changes in fb60 only become active after a restart.
By writing on fb60, the minimum SYNC interval set via is22 Basic Tp can be influenced.
The value of is22 is not changed by writing on fb60.
SYNC intervals adjustable on KEB devices correspond to the minimum SYNC interval
adjustable via is22 or a full multiple thereof. A minimum value of the SYNC interval is pre-
set by fb60, which cannot be fallen below independently of is22. However, the cycle time
that can actually be set still depends on is22.
More information about is22 and the minimum SYNC interval can be found in the Pro-
gramming Manual | Control Application / Compact / Pro and in chapter 5.7 Synchroniza-
tion to the fieldbus master in this manual.
PDO / SDO multi- 0 No PDO / SDO multiplexing PDOs, SDOs in the same Mid IRQ
4
plexing 16 PDO / SDO multiplexing One Mid IRQ PDOs, in the next SDOs
0 No PDO multiplexing All PDOs in the same Mid IRQ
5 PDO multiplexing
32 Multiplexing per 16 PDOs 16 PDOs per Mid IRQ
Bit 0 indicates whether a synchronous mode is supported for the selected fieldbus system
settings.
Bits 1 and 3 influence the process data mapping after a restart. If bit 1 is set the KEB de-
fault process data mapping is loaded after each restart. (aa16 to aa23 or aa16 and aa17
for CANopen). If bit 3 is set, the set mapping is deleted after a restart. The effect of bit1
overwrites the effect of bit3 . If both bits are set, the device starts with the KEB default
process data mapping.
5.3.3.1 Further information on the KEB default process data mapping can be found in chapter 5.6 Check-
ing the process data mapping
Bit 2 is not yet supported.
Bit 4 indicates whether process data and acyclic data are processed in the same interrupt
or in several interrupts in succession. The separate processing of process data and acy-
clic data avoids internal runtime problems.
Bit 5 indicates whether all process data are processed in the same interrupt or several
interrupts in succession. If this bit is active, the time required by the KEB device to pro-
cess the process data completely increases significantly. The separate processing of the
process data avoids internal runtime problems.
➢ After delivery, all KEB drive controllers have the CAN node address "1". If
i several KEB drive converters are to be networked via CAN, these drive con-
verters must be given different CAN addresses. (=> Chapter 6 CANopen )
5.3.4.2 Selection of the node address via the rotary coding switches (control type A and P)
For devices of control type A or P, the node address can be set via the rotary coding
switches at the device or via parameter fb101.
Index Id-Text Name Function
0x2B64 fb100 node ID switch value Indicates the read node address value of the rotary
coding switches.
0x2B65 fb101 adjusted node ID value Parameter for the alternative setting of the node ad-
dress.
0x2B66 fb102 effective node ID Active node address value in the device. Corresponds
to fb100 as long as fb101 = 0. Otherwise equivalent to
fb101. Updated when the device is restarted.
The effective node address value (fb102) is updated only when the device is restarted.
Without a restart, changes in fb100, fb101 have no effect.
The effective node address value (fb102) is accepted in fb64 CAN node ID when the de-
vice is restarted, if it corresponds to a value valid for CAN (1 - 127) and CANopen is the
active fieldbus system.
The effective node address value (fb102) affects the base IP configuration used by
PROFINET, POWERLINK, EtherNet/IP, Modbus/TCP and the Ethernet channel. (=>
Chapter 5.5.1.3 )
The effective node address value (fb102) affects the storage of the PROFINET device
name. fb101 is furthermore coupled to the writing of the PROFINET device name. (=>
Chapter 9.4.2 PROFINET device name)
➢ Restarting the software interrupts communication to the device for a short pe-
i riod.
To ensure that after resetting to factory settings the communication to the KEB device
can be restarted, some fieldbus parameters are not affected by the reset.
Parameter Name Control board version
fb13 DIN66019 nodeID x6A, x6K, x6P
fb64 CAN node ID x6A, x6K, x6P
fb66 CAN baud rate x6A, x6K, x6P
fb68 fieldbus selection x6A, x6K, x6P
fb71 fieldbus options x6P
fb80 MRTE module x6P
fb101 adjusted node ID value x6A
fb103 FB MAC Address (Base) x6A
fb104 PNET MAC Address (Port1) x6A
fb105 PNET MAC Address (Port2) x6A
fb106 MAC Address EthChannel x6P
fb108 Ethernet over fieldbus IP configuration x6A (PROFINET and Ether-
Net/IP)
fb109 Basic IP configuration x6A, x6P
fb113 EtherNet/IP Configuration x6A
fb114 Modbus/TCP Configuration x6A
Table 5-16: non-resettable fb parameters
Further information on the effective node address value (fb102) can be found in chapter
5.3.4 Selection of the node address.
If PROFINET is active, parameter fb108 can change its value by writing to fb109. This
depends on the value in fb108.
– If fb108 corresponds to the default value (192.168.0.200; 255.255.255.0; 0), then
fb108 is set to fb109 when writing to fb109, with an offset of 100 on the IP address.
– If fb108 does not correspond to the default value, fb108 is not affected by writing to
fb109.
➢ Example:
i ➢ fb108 corresponds to the default value. (192.168.0.200; 255.255.255.0; 0)
➢ fb109 is written by the PROFINET host to (192.168.100.5; 255.255.252.0; 0).
➢ fb108 will automatically become (192.168.100.105; 255.255.252.0; 0).
➢ With a new write access to fb109, fb108 does not change, because fb108
does not correspond to the default value.
When accessing via the COMBIVIS parameters, fb108 is not updated until the gateway of
fb109 is written.
More information on the parallel Ethernet channel for PROFINET can be found in chapter
9.3.3 Additional diagnostic channel via standard Ethernet communication
➢ The node address values 0, 240 and 255 for a POWERLINK device are inva-
i lid values. The IP configuration is set to 192.168.100.0 in this case. Connec-
tion with the device via POWERLINK is then not possible.
➢ Modbus/TCP only shows the current IP configuration in fb109 if the IP config-
uration "static" is selected.
21
1 1fghfh
Figure 1: Timing of the LED flashing pattern
The following error codes can occur in case of errors in the fieldbus module:
ru01 Error text Description st01
24 ERROR fieldbus memory Incorrect drive software configuration 8: Fault
58 ERROR fieldbus watchdog Timeout of the fieldbus watchdog 8: Fault
124 General Fieldbus Error General Fieldbus Error 8: Fault
125 ERROR fieldbus type changed Fieldbus system changed 8: Fault
"General Fieldbus Error" summarizes all errors that may occur during initialization and
execution of the selected fieldbus system. The actual occurred error is listed in parameter
fb91 described in chapter 5.5.4
0x0000 CAN301_STATE_INITIALISATION
0x0004 CAN301_STATE_STOPPED
CANopen
0x0005 CAN301_STATE_OPERATIONAL
0x007F CAN301_STATE_PREOPERATIONAL
0x0000 VARAN_STATE_INIT
VARAN
0x0001 VARAN_STATE_RUNNING
0x0000 PROFINET_STATE_OFF
0x0001 PROFINET_STATE_INIT_DONE
PROFINET 0x0002 PROFINET_STATE_COMM_READY
0x0004 PROFINET_STATE_COMM_RUN
0x0008 PROFINET_STATE_SYNC_ACTIVE
0x0000 EPSG_DS301_NMT_GS_OFF
0x0019 EPSG_DS301_NMT_GS_INITIALISING
0x001C EPSG_DS301_NMT_CS_NOT_ACTIVE
0x001D EPSG_DS301_NMT_CS_PREOP
0x001E EPSG_DS301_NMT_CS_BASIC_ETH
0x0029 EPSG_DS301_NMT_GS_RESET_APPL
POWERLINK
0x0039 EPSG_DS301_NMT_GS_RESET_COMM
0x004D EPSG_DS301_NMT_CS_STOPPED
0x005D EPSG_DS301_NMT_CS_PREOP2
0x006D EPSG_DS301_NMT_CS_READYTOOP
0x0079 EPSG_DS301_NMT_GS_RESET_CONFIG
0x00FD EPSG_DS301_NMT_CS_OPERATIONAL
0x0100 ENIPSLV_STATE_SETMACADDR
0x0200 ENIPSLV_STATE_SETCONFIG
EtherNet/IP 0x0300 ENIPSLV_STATE_REGAP
0x0400 ENIPSLV_STATE_CHANNELINIT
0x0A00 ENIPSLV_STATE_RUN_IDLE
➢ The errors listed in fb91 have nothing to do with the error codes in ru01. fb91
i describes only errors which are related to bus systems.
➢ If an error occurs during the initialization process (INIT_ERR), the error code:
General fieldbus error is additionally displayed in ru01.
➢ If an error code is displayed in fb91, which is neither listed here nor in the
specification of the respective fieldbus system, please contact your KEB con-
tact person.
➢ Modbus/TCP currently does not support plain texts.
0x0000 ECAT_AL_STATUS_CODE_NO_ERROR
0x0001 ECAT_AL_STATUS_CODE_UNSPECIFIED_ERROR
0x0011 ECAT_AL_STATUS_CODE_INVALID_REQUESTED_STATE_CHANGE
0x0012 ECAT_AL_STATUS_CODE_UNKNOWN_REQUESTED_STATE
0x0013 ECAT_AL_STATUS_CODE_BOOTSTRAP_NOT_SUPPORTED
0x0014 ECAT_AL_STATUS_CODE_NO_VALID_FIRMWARE
0x0015 ECAT_AL_STATUS_CODE_INVALID_MAILBOX_CONFIGURATION_BOOT-
STRAP
0x0016 ECAT_AL_STATUS_CODE_INVALID_MAILBOX_CONFIGURATION_PREOP
EtherCAT
0x0017 ECAT_AL_STATUS_CODE_INVALID_SYNC_MANAGER_CONFIGURATION
0x0018 ECAT_AL_STATUS_CODE_NO_VALID_INPUTS_AVAILABLE
0x0019 ECAT_AL_STATUS_CODE_NO_VALID_OUTPUTS
0x001A ECAT_AL_STATUS_CODE_SYNCHRONIZATION_ERROR
0x001B ECAT_AL_STATUS_CODE_SYNC_MANAGER_WATCHDOG
0x001C ECAT_AL_STATUS_CODE_SYNCTYPES_NOT_COMPATIBLE
0x001D ECAT_AL_STATUS_CODE_INVALID_OUTPUT_CONFIGURATION
0x001E ECAT_AL_STATUS_CODE_INVALID_INPUT_CONFIGURATION
0x001F ECAT_AL_STATUS_CODE_INVALID_WD_CONFIGURATION
0x0000 CAN301_ERROR_NO_ERROR
0x0010 CAN301_ERROR_GENERIC_ERROR
0x0020 CAN301_ERROR_CURRENT
0x0030 CAN301_ERROR_VOLTAGE
0x0040 CAN301_ERROR_TEMPERATURE
0x0050 CAN301_ERROR_DEVICE_HARDWARE
0x0060 CAN301_ERROR_DEVICE_SOFTWARE
CANopen 0x0070 CAN301_ERROR_ADDITIONAL_MODULES
0x0080 CAN301_ERROR_MONITORING
0x0090 CAN301_ERROR_EXTERNAL
0x00F0 CAN301_ERROR_ADDITIONAL_FUNCTIONS
0x00FF CAN301_ERROR_DEVICE_SPECIFIC
0xFFCC CAN_ERROR_HB_TIMEOUT
0xFFCD CAN_ERROR_NG_TIMEOUT
0xFFFE INIT_ERR_CAN_DRV
0x0000 VARAN_NO_ERROR
VARAN
0xFFFE VARAN_FPGA_INIT_ERROR
0x0000 PROFINET_NO_ERROR
0x0001 PROFINET_ERROR_INIT
0xFD12 PROFINET_PD_CFG_FLAGS_ERROR
0xFD44 PROFINET_PD_CFG_ERROR
0xFE0A PROFINET_SLAVE_FLAGS_INIT_ERROR
PROFINET
0xFE0B PROFINET_NO_STACK_INIT_ERROR
0xFE0C PROFINET_MSG_QUEUE_INIT_ERROR
0xFF38 PROFINET_MAC_ADDR_ERROR
0xFFFC PROFINET_MAC_ADDR_INV
0xFFFE PROFINET_CLIENT_INV
0x0000 EPSG_DS301_ERR_NO_ERR
0xFC0E EPL_EPSG_MAP_INIT_ERROR
0xFD44 EPL_PD_SIZE_ERROR
POWERLINK
0xFE0A EPL_SLAVE_FLAGS_INIT_ERROR
0xFE0B EPL_NO_STACK_INIT_ERROR
0xFE0C EPL_MSG_QUEUE_INIT_ERROR
0xFE0A ENIP_SLAVE_FLAGS_INIT_ERROR
0xFE0B ENIP_NO_STACK_INIT_ERROR
EtherNet/IP 0xFE0C ENIP_MSG_INIT_ERROR
0xFF38 ENIP_MAC_ADDR_INIT_ERROR
0xFFFE ENIP_CLIENT_INV
By default, the process data offset of a parameter corresponds to the sum of the length of
all preceding parameters.
A process data offset set for POWERLINK is not visible in the COMBIVIS Wizard.
Further information on the process data offset can be found in chapter 10.2.1 Variable
process data offset.
Fieldbus wizard
The COMBIVIS 6 fieldbus wizard provides a graphical representation of the process data
mapping. It is possible to set the process data mapping via the fieldbus wizard, but the
specifications of the active fieldbus system must be observed.
The following boundary conditions are automatically considered by the fieldbus wizard:
▪ Data type (the complete value of the mapping parameter is calculated depending on
the data type).
▪ Properties (depending on the object properties (RO,RW, mapping allowed), the
mapping is allowed or disabled)
The wizard displays how many PDOs are available, how many parameters can be used
per PDO and how many bytes are available per PDO.
It is expected that from version 6.7.0 it will also be possible to set the required process
data size via the wizard.
The wizard can also be used to load examples of process data mapping.
Depending on the used fieldbus system, the device description files corresponding to the
fieldbus system can also be exported. The following files can be created by the wizard:
• ESI files for EtherCAT
• EDS files for CANopen
• XDD files for POWERLINK
For VARAN, PROFINET, EtherNet/IP and Modbus/TCP no description files can be ex-
ported.
Further information on the fieldbus wizard can be found in the COMBIVIS manual.
KEB devices cannot support any SYNC intervals. The supported SYNC intervals depend
on the minimum SYNC interval that can be set in is22. Only whole multiples of this inter-
val up to a limit of 16ms are supported.
If a wrong SYNC interval is specified or measured, the device internally synchronizes to
the next appropriate SYNC interval value. This value is then also displayed in fb10.
➢ Depending on the used fieldbus system, the minimum cycle time may vary.
i ➢ The minimum permissible cycle time for the respective fieldbus system is
specified in the corresponding chapter of this manual. If there are no specifi-
cations for the minimum cycle time, all values that can be set by is22 are sup-
ported.
Wrong SYNC interval values are acknowledged with an error code by using EtherCAT
and the device does not synchronize. To signal this error, the error code ECAT_AL_STA-
TUS_CODE_INVALID_SYNC_CYCLE_TIME is displayed in parameter fb91.
More information about is22 and the minimum SYNC interval can be found in the Pro-
gramming Manual | Control Application / Compact / Pro.
During the initialization phase of most fieldbus systems, synchronization interrupts are
often already sent, although process data communication has not yet started. After initiali-
zation it is common that the value of fb31 is higher than 0. It is significant for synchronous
communication that fb31 fb31 does not increase during operation
6 CANopen Interface
6.1 Basics of the CAN BUS
Here we like to introduce the system of the CAN (Controller-Area-Network) BUS and also
explain some terms that are frequently used in the following.
➢ On KEB devices the CANopen specification is the basis for all bus functionali-
i ties. The object dictionary as well as the mapping functionality are CANopen
conform. The basis for the implementation of other bus systems is always
CANopen.
The CAN is a multi master system, i.e. each user has access to the BUS and can send
telegrams.
In order to avoid invalid conditions during simultaneous access of two users, the CAN-
BUS knows a so-called arbitration phase, which defines the telegram beginning.
In case of access conflicts all users recognize during this arbitration, who sends the low-
est telegram number (identifier).
Then this user can continue to send his telegram completely, without having to start from
the beginning again.
Now all other (willing-to-send) users pass over into the receiving status and abort their
telegram for the time being.
Thus it is specified that lower telegram numbers automatically have priority over higher
numbers.
CAN telegrams can contain a maximum of 8 byte user data.
The term logical CAN master used in the following, refers to the CAN user, who is re-
sponsible for the control of the entire CAN system.
Even if there are physically only masters at CAN, in most applications there will be one or
several users who exercise control.
In this combination the KEB frequency inverter is considered as recipient of orders (logi-
cal slave).
The SDO channel is continuous operated independent of the process data transfer.
The four process data objects (PDO) can be assigned each with 8 bytes per direction.
That means: up to eight objects with a total of 8 bytes can be transferred per PDO.
The four process data objects (PDOs) can be assigned each with 8 bytes per direction via
the mapping parameters.
The following combinations of objects with a certain data size are possible:
2x Long 1x Long, 2x Word 1x Long, 1x Word, 2x Byte
4x Word 3x Word, 2x Byte 2x Word, 4x Byte
8x Byte
Both the data size of a parameter and the property "Available for process data" can be
checked in the "Property Editor" in COMBIVIS 6.
2
1 1fghfh
The definition
1 of the target for the data in the PDO(rx) telegrams respectively the source
for the data in the PDO(tx) telegrams completely abides by the regulations of the CANo-
pen communication profile.
Here a complex structured object (parameter) defines the PDO-mapping for each data
direction.
Another object per data direction defines the communication definition (Communication
parameter).
21
1 1fghfh
Figure 4: CANopen Bootup-Sequence
Bootup message
The F6 CAN control board releases a bootup message, if the initialization phase is com-
pleted after power on. It is a telegram to identifier = 1792 + Node_Id with the data length
= 1 and the value = 0.
The transitions between the individual states are carried out by the following telegrams.
Node_Id = 0 means: all NMT slaves are addressed.
Node_Id = CANnode ID means: only 1 drive converter is addressed.
Transition 3, 6 Start_Remote_Node()
CAN-Telegram: Identifier = 0
01h CAN Node ID
B0 B1
Transition 5, 8 Stop_Remote_Node()
CAN-Telegram: Identifier = 0
02h CAN Node ID
B0 B1
Transition 4, 7 Enter_Pre-Operational_State ()
CAN-Telegram: Identifier = 0
80h CAN Node ID
B0 B1
Transition 9, 10, 11 Reset_Node()
CAN-Telegram: Identifier = 0
81h CAN Node ID
B0 B1
Transition 12, 13, 14 Reset_Communication ()
CAN-Telegram: Identifier = 0
82h CAN Node ID
B0 B1
The content of the error telegram is only in part firmly set by the profile. The content of the
F6 emergency message is as follows:
Identifier = 128 + Node_Id
B0 B1 B2 B3 B4 B5 B6 B7
Error Error Error field
code register
LB HB => Programming last last but … … oldest
Manual | Control error one error
Application / Com- code error code code
=> Programming Manual | pact / Pro
Control Application / Com-
pact / Pro
All errors are stored in the error field defined by the profile.
This field contains a maximum of five entries in the F6 CAN control.
The first entry always contains the last error that occurred.
The error code in the emergency object is not completely identical with parameters
0x2101 / 0x603F error code. There are some CAN specific exceptions:
6.13 Heartbeat
Index Name Function
0x1017 producer heartbeat time Time between two transmitted heartbeat telegrams in ms
Maximum time between two received heartbeat telegrams in ms
0x1016 consumer heartbeat time
and Node-Id of the producer
0x1029 error behaviour Behaviour at triggering the heartbeat monitoring
The heartbeat protocol provides monitoring of the CAN bus without knowledge of the
heartbeat producer via the connected user.
If the protection function responds, the behaviour can be defined with parameter 0x1029
error behaviour.
error behaviour Array 1029h
Subindex 1 (Byte)
Value Function
0 Change into NMT status "Pre-Operational“ (only at actual status "Operational“)
1 no change into NMT status
2 Change into NMT status "Stopped“
Producers heartbeat
A heartbeat producer sends cyclically a heartbeat message.
The time when the message is sent, is adjustable (parameter 0x1017 producer heartbeat
time).
The heartbeat protocol starts as soon as the producer heartbeat time is set.
If the producer heartbeat time already has a value unequal 0 when the device is switched
on, the transmission of the heartbeat protocol starts during transition from initialization to
Pre-Oerational.
In this case, the bootup message is considered before the heartbeat message.
producer heartbeat time 1017h
Value Function
0 Switches off the producer heartbeat.
Setting the producer heartbeat time:
1…65536
Time between two heartbeat telegrams in ms
Consumers heartbeat
One or more heartbeat consumer receive the message.
The consumers must define a max. time in which a heartbeat message has to be receive.
If no message is received within this time, an adjustable behavior is started.
Heartbeat monitoring starts when the first heartbeat signal is received.
6.14 CAN-TelegramTypes
SDO-Telegrams
The logical CAN master can request (read) or change (write) the value of a parameter via
the SDO telegrams.
In the communication profile a write-service is referred to as domain download and a read
service as domain upload.
The KEB CAN interface connection supports only the short form of these two services.
Only one telegram can be exchanged for the service request and another for the service
acknowledgement between logical CAN master and F6 control.
The addressing of the parameter is done via unsigned 16 bit index and unsigned 8 bit
subindex.
The manufacturer-specific parameters of the inverter are in the index range 2000h to
5EFFh.
SDO(rx)-Telegram
Initiate domain download request (write request of the master)
LB HB LSB MSB
Byte 0 1 2 3 4 5 6 7
LB HB LSB MSB
Byte 0 1 2 3 4 5 6 7
SDO(tx)-Telegram
Initiate Domain Download Response (write confirmation from the inverter)
This response is transmitted when the requested write service could be executed error-
free.
LB HB LSB MSB
Byte 0 1 2 3 4 5 6 7
LB HB LSB MSB
Byte 0 1 2 3 4 5 6 7
LB HB LB HB
Byte 0 1 2 3 4 5 6 7
RPDO1…4 telegram
With this telegram the logical CAN master transfers new process output data to the in-
verter.
Up to 8 bytes of data can be transferred with each PDO in each data direction.
For configuration of the assignment => Chapter 6.7 Out/In-Identifier (PDO).
Process data
Byte 0 1 2 3 4 5 6 7
Example:
Mapping:
Telegram:
TPDO1…4 telegram
With this telegram the inverter control announces process input data to the (logical) CAN
master.
Up to 8 bytes of data can be transferred with each PDO in each data direction.
For configuration of the assignment => Chapter 6.7 Out/In-Identifier (PDO)
Process data
Byte 0 1 2 3 4 5 6 7
Example:
Mapping:
Index Subidx Value Meaning Function Object
Number of the mapped objects
0x1A00 0 3
in Out PDO
Index = 0x2100
First object mapped in the pro- st00
0x1A00 1 2100 00 10h Subindex = 0
cess input data statusword
Length = Word
Index = 0x2C01 ru01
Second object mapped in the
0x1A00 2 2C01 00 08h Subindex = 0 exception
process input data
Length = Byte state
Index = 0x2120 st32
Third object mapped in the pro-
0x1A00 3 2120 00 20h Subindex = 0 velocity ac-
cess input data
Length = Long tual value
0x1A00 4 0
0x1A00 5 0
0x1A00 6 0 not assigned PDO contains no other objects
0x1A00 7 0
0x1A00 8 0
Telegram:
Bit 7…0 15…8 7…0 7 …0 15…8 23…16 31…24 7 …0
statusword exception velocity actual value free
state
LB HB LB HB
Byte 0 1 2 3 4 5 6 7
Bit time
SYNC (1 Tq) TSEG1 (4…16 Tq) TSEG2 (2…8 Tq)
Samplepoint
➢ SYNC: Only the edges from recessive to dominant are used for the syn-
i chronization.
Further information about the general diagnostic parameters can be found in chapter
5.5.4 Check the fieldbus state and possible fieldbus error codes.
7 EtherCAT interface
For the successful start-up of a KEB-x6 EtherCAT slave, the master has two different
possibilities to determine the device description according to the EtherCAT specification.
On the one hand there is a ESI file (EtherCAT slave information file). This is an XML-
based device description file according to the EtherCAT standard. This file can be created
amongst others with the COMBIVIS process data wizard for KEB x6 slaves. (=> Chapter
5.6.4 Fieldbus wizard)
Furthermore, the device description can be read from the contents of the EtherCAT
EEPROM, the so-called SII (Slave Information Interface). This is made possible by a spe-
cial protocol which uses special registers in the EtherCAT slave. It is even possible to
change the EtherCAT EEPROM (SII) from the EtherCAT master by way.
Most EtherCAT masters use the ESI files for the configuration. However, in order to be
able to create an assignment between ESI files and the slaves active on the BUS during
so-called 'scanning' of the EtherCAT bus, for example, EtherCAT masters also read the
values for VendorId and ProductCode from the slave via the SII protocol. Then the Ether-
CAT master can read all further configurations from the assigned ESI file.
KEB devices of different control types can not be operated with the same ESI file, be-
cause e.g. the mailbox sizes of the individual control types differ. (MBoxIn and MBoxOut
are always identical).
ESI mailbox details Control type A Control type K Control type P
MinSize 128 54 96
MaxSize 128 256 1024
DefaultSize 128 256 1024
Table 7-1: Differences between the mailbox sizes of the control types
The following EtherCAT specific objects are available for KEB devices.
Parameters sync manager 2 PDO assign and sync manager 3 PDO assign refer via indi-
ces to the mapping objects to which SyncManager 2 or SyncManager 3 refers.
Index Name SubIdx Value Function
0 1…2 Number of available receive PDOs
sync manager 2
0x1C12 1 0x1600 Index of parameter 1st receive PDO mapping
PDO assign
2 0x1601 Index of parameter 2nd receive PDO mapping
0 1…2 Number of available transmit PDOs
sync manager 3
0x1C13 1 0x1A00 Index of parameter 1st transmit PDO mapping
PDO assign
2 0x1A01 Index of parameter 2nd transmit PDO mapping
The subobject [1]Sync mode is automatically set to Sync 0 synchronous if [2]Cycle Time
is set to a valid value unequal 0. Restarting or writing an invalid cycle time resets [1]Sync
mode to FreeRun.
The subobject [2]Cycle Time is automatically set by the EtherCAT Master. Valid values
for [2]Cycle Time are integer multiples of [5]Minimum Cycle Time. The value of [2]Cycle
Time is used in synchronous mode for the synchronization of the KEB device. (=> Chap-
ter 5.7.1 Checking the synchronization)
The subobject [4]Sync modes supported indicates all supported synchronization modes.
For KEB devices the modes FreeRun, Sync and DC Sync 0 are supported.
Subobject [5]Minimum Cycle Time is updated when parameter is22 Basic Tp is written.
The subobject [6]Calc and Copy Time of the Output Sync Manager parameter displays
the time difference between the SYCN event and the earliest possible time when the pro-
cess output data (master -> slave) become active in the KEB slave.
The subobject [6]Calc and Copy Time of the Input Sync Manager parameters displays the
time reserve between the locking of the process input data (slave -> master) and the min-
imum cycle time.
The subobject [11]SM-Event Missed is an error counter. It is increased if an expected
SYNC event does not receive the KEB slave.
The subobject [12]Cycle Time Too Small is an error counter. It is increased if a cycle time
specified by the master is lower than [5]Minimum Cycle Time.
The subobject [32]Sync Error indicates whether a synchronization error has occurred. A
synchronization error occurs if the SYNC event fails for two cycles.
The subobjects [6]Calc and Copy Time, [11]SM-Event Missed and [32]Sync Error are
only used in synchronous mode.
21
1 1fghfh
Figure 5: Sync Manager Parameter Calc and Copy Time
These objects represent direct images of the error counters integrated in the FPGA.
A more detailed description of the functionality can be found in the instruction manual of
the EtherCAT IP Core.
21
1 1fghfh
Figure 6: EtherCAT diagnosis assistant
A more detailed description of the above mentioned parameters and the flashing pattern
of the fieldbus LED can be found in chapter 5.5 Check the fieldbus status.
The IP configuration is also preset by the master. Parameter fb108 Ethernet over fieldbus
IP configuration can be used to read out the IP configuration set by the master.
The preset parameters by the master are only stored volatile.
➢ With the setting of the IP configuration it must be observed that the transmit-
i ter of the Ethernet telegrams (e.g. PC with COMBIVIS) and the KEB inverter
are not in the same subnet.
➢ Several configuration steps are required to configure a COMBIVIS PC and a
KEB control for a functional EoE network. These are described in a FAQ. The
FAQ can be found under the name "SetupEoEcommunication" on the KEB
website.
Further information about parameter fb68 can be found in chapter 5.3.1 Selection of the
fieldbus system via fb68 and information about the virtual MAC address and the IP config-
uration can be found in chapter 5.5.Check the fieldbus status.
8 VARAN interface
8.1 Electronic nameplate
For unique identification of the bus user, the electronic nameplate is already stored in the
SPI flash.
Parameter de11 contains the VARAN license number.
Index Id-Text Name Function
0x200B de11 VARAN licence number Unique VARAN licence number
Sub in-
Index Name Name Value Function
dex
1 vendor ID 26 Manufacturer identification
0x1018 identity object
2 product code 1157 Device identification
To activate the process data objects in the device, it is necessary to set the mapping of the
process data by using the parameters defined in chapter 5.6.1Mapping of the process data .
In addition the application layer of the F6 must be synchronized to the VARAN cycle.
A more detailed description of the above mentioned parameters and the flashing pattern
of the fieldbus LED can be found in chapter 5.5 Check the fieldbus status.
9 PROFINET interface
9.1 PROFINET certificate
The KEB COMBIVERT S6A device has been successfully certified for PROFINET Con-
formance Class C. => Certificat
Parameter request:
Block definition Byte n Byte n+1 n
Request Header Request Reference Request ID 0
Axis-No. No. of parameters = n 2
1st parameter address Attribute No. of elements 4
Parameter Number (PNU) 6
Subindex 8
: : :
n th parameter address Attribute No. of elements 4 + 6 x (n-1)
Paramater number (PNU)
Subindex
1st parameter value(s) Format No. of values 4+6xn
Values
: : :
n th parameter value(s)
The request reference is a sequential number for distinction of different requests. (Values:
0x01 ... 0xFF)
Request IDs:
Value Meaning
0x01 Request parameter (read)
0x02 Change parameter (write)
Value Meaning
0x10 Value
0x20 Description (not supported here)
0x30 Text (not supported here)
The No. of elements as well as the No. of values always correspond to value 1.
The required object for writing / reading is addressed via Parameter number (PNU) and
Subindex. The addressing corresponds to the addressing in the KEB object directory. The
Parameter number (PNU) corresponds to the KEB parameter address and Subindex to
the KEB subindex.
Format:
Value Meaning
1 Boolean
2 Integer8
3 Integer16
4 Integer32
5 Unsigned8
6 Unsigned16
7 Unsigned32
0x41 Byte
0x42 Word
0x43 DWord
0x44 Error
When reading all KEB parameters on the x6 the format = 4 is returned. Accordingly, the
PROFINET master can also specify the format = 4 when writing all parameters.
Parameter response:
Block definition Byte n Byte n+1 n
Response Header Request Reference mirrored Response ID 0
Axis-No. mirrored No. of parameters = n 2
1st parameter value(s) Format No. of values 4+6xn
Values
: : :
n th parameter value(s)
Response IDs:
Value Meaning
0x01 Request parameter ok (read)
0x02 Change parameter ok (write)
0x81 Request parameter with error (read)
0x82 Change parameter with error (write)
If an error occurred during read access to a parameter, the Response ID = 0x81 is set.
Furthermore, the format = 0x44 (Error) is set for this parameter value and the error
value(Value) is set as a 16-bit value as follows:
Value Description
0x11 Timeout when accessing the parameter or drive converter busy
0x14 Drive converter busy
0x00 Invalid parameter address or password
0x17 Data invalid
0x65 Error in internal communication (BCC error)
0x66 Error in internal communication (invalid service or invalid operation)
0x67 Invalid password
0x68 Error in internal communication (invalid telegram)
0x69 Error in internal communication (parity error)
0x03 Invalid parameter set (subindex)
0x6B Error in internal communication (invalid operation)
The parameter values are only contained in the response if Response ID = 1 or 0x81 or
0x82. Error-free accesses are listed in a negative write response (Response-ID = 0x82)
with Format = 0x40 (Zero) and No of Values = 0.
➢ The same restrictions apply to the standard Ethernet channel for PROFINET
i as to the Ethernet over EtherCAT channel. (=> Chapter 7.4.EtherCAT diag-
nosis (control type A)).
➢ The PROFINET device name is updated in the COMBIVIS view only after a
i restart of the device. Internally, however, the new name is active.
➢ If PROFINET is not the active fieldbus system, the PROFINET device name
is also not initialized. The displayed default value is kebx6-1.
Further information on the node address value can be found in chapter 5.3.4 Selection of
the node address of the fieldbus system.
10 POWERLINK interface
10.1 Basics of the POWERLINK BUS
POWERLINK is an open real-time Ethernet protocol.
The master is referred to as Managing Node (MN) in a POWERLINK network. A slave is
called Controlled Node (CN).
POWERLINK networks operate according to the so-called "polling" approach. The MN
controls access to the network. CNs only send on request of the MN.
A POWERLINK cycle is divided into an isochronous phase and an asynchronous phase.
In the isochronous phase, process data (PDOs) are transmitted cyclically. The asynchro-
nous phase allows the exchange of non-cyclic data (SDOs).
The request of the MN to a CN is referred to in the isochronous phase as Poll Request
(PReq) and in the asynchronous phase as Start of Asynchronous (SoA). The response of
a CN is called Poll Response (PRes) in the isochronous phase and Asynchronous Send
(ASnd) in the asynchronous phase.
The following characteristics apply to KEB CNs:
• A network can contain up to 253 CNs.
• The minimum cycle time is 400µs.
• The maximum process data size is 32 bytes per cycle for process input and process
output data.
• A maximum of 8 bytes of data can be transmitted asynchronously per cycle and cli-
ent.
• The process data image is dynamic and is stored volatile.
• Hot plugging is supported.
• Multiplexing, direct cross-communication and Poll Response chaining are not sup-
ported.
• The KEB CN can not be used as POWERLINK router.
Further information about the POWERLINK bus system can be found on the Ethernet
POWERLINK Standardization Group website. (=> Ethernet Powerlink - EPSG | Ethernet
Powerlink).
➢ Freely selected offsets can lead to gaps and/or overlaps between the
NOTICE individual process data objects.
Mapping version
The mapping version can be used to uniquely identify different process data mappings.
Each mapping is assigned to a mapping version. CNs reject incoming process data with a
wrong mapping version. The mapping version is updated by activating the process data
mapping.
➢ The POWERLINK objects 0x1400 and 0x1800 can not be read out via the di-
i agnostic interface. The pr parameters RPDO/TPDO communication parame-
ter which can be read out via the diagnostic interface are CANopen parame-
ters.
A more detailed description of the above mentioned parameters and the flashing pattern
of the fieldbus LED can be found in chapter 5.5
POWERLINK IP configuration
The POWERLINK specification prescribes a fixed IP configuration. The IP address corre-
sponds to 192.168.100.Node ID. The subnet mask corresponds to 255.255.255.0. The
default value of the gateway address corresponds to 192.168.100.254.
The value of the NodeID, also called node address value in this document, can be read
out via parameter fb102. The values 0, 240 and 255 are invalid for a POWERLINK CN.
The IP configuration is updated at each restart depending on the node address. The node
address is displayed in parameter fb102.
The IP configuration can not be changed by the user, with the exception of the gateway
address. Values that do not correspond to the configuration specified by fb102 are re-
jected. The user can specify any gateway address, which is stored non-volatile.
Further information about the IP configuration and the node address can be found in
chapter 5.5 Check the fieldbus status.
➢ In contrast to other device description files (e.g. EtherCAT ESI file) the XDD
i file generated by COMBIVIS does not contain the preset mapping.
➢ The mapping must be set in the POWERLINK Master configuration tool after
the XDD file has been imported.
Not all parameters of the KEB CN are displayed in the AS interface. Parameters that are
not writable (AccessType = ro) and cannot be used as process data (PDOMapping = no)
are not displayed in the AS interface.
A complete overview of all parameters supported by the CN is provided by the device de-
scription file or the interface of the KEB configuration tool COMBIVIS.
11 EtherNet/IPTM interface
EtherNet/IP™ is a communication protocol which is mainly used in industrial applications.
It enables the exchange of information between devices. EtherNet/IP ™ is based on stand-
ardized Ethernet and TCP/IP technology. It is used to transport communication packets
based on CIP (Common Industrial Protocol). The EtherNet/IP™ protocol and the CIP are
managed by the ODVA (Open DeviceNet Vendors Association).
With each message, the user must define the type of service as well as the class, in-
stance, and the attribute of the object. All KEB objects are compliant with the CiA DS301
object specification. Each parameter is defined by an index and a sub-index.
11.1.1.1 Class
The class determines the type of the object to be accessed. In this case, the value 0x64
or 100 decimal describes the parameter objects.
11.1.1.2 Instance
The instance represents the index and the address of the parameter in the inverter. Fur-
ther information about the parameter index can be found in the application description.
11.1.1.3 Attribute
The attribute corresponds to the sub-index of the parameter with an offset of 0x64 or 100
decimal.
Instance Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Fault Run
0
Reset Fwd
20 1
2 Speed Reference (Low Byte)
3 Speed Reference (High Byte)
0 Running1 Faulted
1
70
2 Speed Actual (Low Byte)
3 Speed Actual (High Byte)
Ac-
Class Instance Attribute Name Type
cess
F6 1,2 9 Admin State USINT RW
SHORT
F6 1,2 10 Interface Label RW
STRING
Interface Capability STRUCT of
Capability Bits WORD RO
Speed/Duplex Options STRUCT of
F6 1,2 11 Array Count USINT RO
ARRAY of
Speed/Duplex Array
STRUCT of
Interface Speed UINT RO
Interface Duplex Mode USINT RO
12 Modbus/TCP interface
The Modbus protocol is a communication protocol based on the client/server architecture.
KEB devices support only the Modbus variant Modbus/TCP, where the Modbus data are
transmitted via TCP/IP. Modbus TCP is part of the IEC 61158 standard.
In the following chapter KEB device with Modbus/TCP support are synonymously called
server. Applications that access the KEB device via Modbus/TCP are called clients.
➢ Only one Special version of the KEB devices of control type A supports
i Modbus/TCP. For further information, please contact your sales partner.
Class 0 implementation is supported. Clients can read parameters from the server and
write them to the server. The functions 3: Read Multiple Registers and 16: Write Multiple
Registers are supported. All requested Modbus/TCP transactions are carried out with 16-
bit registers.
Each Modbus message is divided into user data and a prefixed identifier (Function Code)
that defines the function of the message.
A transaction in the client/server model is shown below.
Client Server
Initial request
2
1 1fghfh
Figure 7: Client / Server Model
1
As long as Modbus/TCP is the active fieldbus system, the current state of the Mod-
bus/TCP connection is displayed via the fieldbus LED of the device. Further information
on the light pattern in chapter 5.5.2 Checking the fieldbus STATUS LED (NET ST).
➢ If the client does not send a request to the server for more than 30 seconds,
i the established connection is rejected.
0x0000
.
Process
.
data range
.
0x1FFF
0x2000
. Inverter pa-
. rameter
. channel
0xFFFF
1 2 1fghfh
Figure 8: Address range
1
The process data mapping is a continuous memory area that starts at address 0. All data
of the process data mapping are addressed in one access.
The number of registers available for mapping is determined by the length of the map-
ping. One register is available for each 16 bit process data mapping.
The parameter channel allows read or write access to individual parameters. The param-
eter channel has a maximum size of 2 registers on KEB devices. Modbus registers are 16
bit long by default.
➢ When accessing different data types, it is important to pay attention to the dif-
i ferent length of these parameters. KEB parameters can be 1, 2 or 4 bytes
long. To avoid data loss, the right size for setting the registers must be con-
sidered. This applies in particular to the access of parameter types "signed"
and "unsigned".
Client Server
Initial request
21
1 1fghfh
Figure 9: Exception handling
Error messages
Each error message consists of an identifier(Exception Function Code) and an error
code. The identifier of the error message corresponds to the identifier of the request with
the most significant bit set to 1.
Function 3 error message
Description Size Data
Exception Function Code 1 byte 0x83
Error code 1 byte 0x01
Error codes
➢ If a parameter is addressed that does not support the subindex set in fb115,
i an error message is returned. When accessing parameters, always pay at-
tention to the set value in fb115.
13 Annex
13.1 Mapping parameters and Sync manager parameters
RO ReadOnly
nPD not available for ProcessDataCommunication
V Variable
CAN CANopen Type ST Structure
Abbreviations
A Array
A S6A / F6A
Control board ver- S6K / F6K
HW K
sion
P S6P / F6P
Index SubIdx CAN Type Name Upper limit Lower limit Mult. Div Unit nPD RO HW
Index SubIdx CAN Type Name Upper limit Lower limit Mult. Div Unit nPD RO HW
0 4 4
1C00h A UINT8 Sync Manager Communication Type 1 1 --- X X A,K,P
1…4 4 0
0 1 1
1C12h A UINT16 sync manager 2 PDO assign 1 1 --- X --- K
1 1600h 1600h
0 2 2
1C12h A UINT16 sync manager 2 PDO assign 1 1 --- X --- A,P
1…2 1601h 1600h
Index SubIdx CAN Type Name Upper limit Lower limit Mult. Div Unit nPD RO HW
1C13h 1 A UINT16 sync manager 3 PDO assign 1A00h 1A00h 1 1 --- X --- K
0 2 2
1C13h A UINT16 sync manager 3 PDO assign 1 1 --- X --- A,P
1…2 1A01h 1A00h
RO ReadOnly
nPD not available for ProcessDataCommunication
V Variable
CAN CANopen Type ST Structure
Abbreviations
A Array
A S6A / F6A
Control board ver- S6K / F6K
HW K
sion
P S6P / F6P
For structures, the name of the structure is entered in the line of subindex 0 (number).
HW indicates the control types of the devices which support the specified parameter.
Index SubIdx CAN Type Name Upper limit Lower limit Mult. Div Unit nPD RO HW
2B1Ah 0 V UINT8 ETC processing unit error count 255 0 1 1 --- X X K,P
2B1Dh 0 V UINT16 ETC no frame per sync cnt 32000 0 1 1 --- X --- K,P
2B1Eh 0 V UINT16 ETC mult. frames per sync cnt 32000 0 1 1 --- X --- K,P
2B1Fh 0 V UINT16 no PDO data per sync cnt 32000 0 1 1 --- X --- A,K,P
2B20h 0 V UINT8 LED 'DEV ST' blink status 1 0 1 1 --- --- --- A,K,P
2B25h 0 V INT16 ETC PD access min. sync delay 3200 0 8 25 µs X --- K;P
2B26h 0 V INT16 ETC PD access max. sync delay 3200 0 8 25 µs X --- K;P
Index SubIdx CAN Type Name Upper limit Lower limit Mult. Div Unit nPD RO HW
Index SubIdx CAN Type Name Upper limit Lower limit Mult. Div Unit nPD RO HW
0 240 240
2B6Bh A UINT8 PROFINET NameOfStation 1 1 --- X X A
1 - 240 32 122
0 2 2
2B6Eh A UINT8 Scan names 1 1 --- X --- P
1-2 32 0
0 8 8
2B6Fh A UINT8 POWERLINK RPDO offset 1 1 --- X --- A
1-8 255 0
0 8 8
2B70h A UINT8 POWERLINK TPDO offset 1 1 --- X --- A
1-8 255 0
Brazil | KEB SOUTH AMERICA - Regional Manager Russian Federation | KEB RUS Ltd.
Rua Dr. Omar Pacheco Souza Riberio, 70 Lesnaya str, house 30 Dzerzhinsky MO
CEP 13569-430 Portal do Sol, São Carlos Brazil Tel: +55 16 140091 Moscow region Russian Federation
31161294 E-Mail: [email protected] Tel: +7 495 6320217 Fax: +7 495 6320217
E-Mail: [email protected] Internet: www.keb.ru
Germany | Headquaters
KEB Automation KG Switzerland | KEB Automation KG
Südstraße 38 32683 Barntrup Germany Witzbergstraße 24 8330 Pfäffikon/ZH Switzerland
Telefon +49 5263 401-0 Telefax +49 5263 401-116 Tel: +41 43 2886060 Fax: +41 43 2886088
Internet: www.keb.de E-Mail: [email protected] E-Mail: [email protected] Internet: www.keb.ch
United Kingdom | KEB (UK) Ltd. United States | KEB America, Inc
5 Morris Close Park Farm Indusrial Estate 5100 Valley Industrial Blvd. South Shakopee, MN 55379 United
Wellingborough, Northants, NN8 6 XF United Kingdom States
Tel: +44 1933 402220 Fax: +44 1933 400724 Tel: +1 952 2241400 Fax: +1 952 2241499
E-Mail: [email protected] Internet: www.keb.co.uk E-Mail: [email protected] Internet: www.kebamerica.com
Italia | KEB Italia S.r.l. Unipersonale Volksrepublik China | KEB Power Transmission Technology Co. Ltd.
Via Newton, 2 20019 Settimo Milanese (Milano) Italia No. 435 QianPu Road Chedun Town Songjiang District
Tel: +39 02 3353531 Fax: +39 02 33500790 201611 Shanghai P.R. China
E-Mail: [email protected] Internet: www.keb.it Tel: +86 21 37746688 Fax: +86 21 37746600
E-Mail: [email protected] Internet: www.keb.cn
Japan | KEB Japan Ltd.
15 - 16, 2 - Chome, Takanawa Minato-ku
Tokyo 108 - 0074 Japan
Tel: +81 33 445-8515 Fax: +81 33 445-8215
E-Mail: [email protected] Internet: www.keb.jp
…www.keb.de/de/contact/contact-worldwide