CAN CBM DP Hex Parameter
CAN CBM DP Hex Parameter
PROFIBUS-DP / CAN-Gateway
The information in this document has been carefully checked and is believed to be entirely reliable. esd
makes no warranty of any kind with regard to the material in this document, and assumes no
responsibility for any errors that may appear in this document. esd reserves the right to make changes
without notice to this, or any of its products, to improve reliability, performance or design.
esd assumes no responsibility for the use of any circuitry other than circuitry which is part of a product
of esd gmbh.
esd does not convey to the purchaser of the product described herein any license under the patent rights
of esd gmbh nor the rights of others.
USA / Canada
esd
PMB 292
20423 State Road 7 #F6
Boca Raton, Florida 33498-6797
USA
Phone: +1-800-732-8006
Fax: +1-800-732-8093
E-mail: sales@esd-electronics.com
1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2. Configuration Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.1 Load GSD-File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 Insert the CAN-CBM-DP as a PROFIBUS-DP Slave Module . . . . . . . . . . . . . . . . . . . 4
2.3 Set PROFIBUS-DP Slave Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.4 Parameter Telegram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.4.1 Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.4.2 Bitrate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.4.3 General Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.4.4 Module-ID of Gateways as CANopen Slave . . . . . . . . . . . . . . . . . . . . . . . . 7
2.4.5 Parameter Data Byte 5 and 6: Reserved for Future Applications . . . . . . . . . 7
2.4.6 Wakeup Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.4.7 SYNC Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1. Overview
Customers that does not work with the Siemens SIMATIC manager as described in the software manual
have to send the configuration parameters as hexadecimal values in a so called ‘parameter telegram’ to
the CAN-CBM-DP module
This manual appendix describes the meaning of the parameter telegrams hexadecimal values. It replaces
the first part of chapter 5 ‘Configuration with the SIMATIC Manager’ of the CAN-CBM-DP software
manual.
2. Configuration Sequence
The following steps has to be executed to configure the CAN-CBM-DP module:
http://www.esd-electronics.com
Attention!!
Here the hexadecimal address value that has been set at the coding switches has to be entered.
Before the value is entered, it may be necessary to convert the hexadecimal value into a
decimal value!
2.4.1 Structure
Byte -> 1 2 3 4 5 6 7 8 9
The first byte of the setting data has always to be set to ‘00’. In the second byte Bitrate is set. In the
third byte various configuration bits can be set. In the fourth byte the module ID of the gateway is
specified, if it is operated as CANopen slave.
In byte 7 the Wakeup Time of the module can be changed. In bytes 8 and 9 the SYNC Time can be
changed.
2.4.2 Bitrate
Bit Status
Name Description Level assignment
No. after reset
Activate Communication Window in 0 no Communication Window
7 CW 0
Page Mode. 1 Communication Window active
6 0
- Reserved (bit must always be set to 0). -
5 0
Transmit RTR-frames for the Rx- 0 RTR-frames are transmitted
4 NR 0
identifiers configured via PROFIBUS. 1 no RTR-frames are transmitted
0 no CANopen slave
3 CS 0 Configure gateway as CANopen slave.
1 CANopen slave
Configure gateway as CANopen 0 no CANopen master
2 CM 0
master. 1 CANopen master
After wake-up time has expired, a start 0 no start frame after wake-up time
1 AS 0 frame is transmitted, if the gateway is
a master (autostart). 1 start frame after wake-up time
0 no Page Mode
0 PM 0 Activate Page Mode.
1 Page Mode active
Permissible combinations:
Bit
7 6 5 4 3 2 1 0 Meaning
CW - - NR CS CM AS PM
- after wake-up time the module automatically transmits 128 dec + Module-No.
and is in ‘Pre-Operational’ status
x x x 0 1 0 x 0
- after a start frame has been received: put out TxId, transmit RTR-frames on
RxId
- after wake-up time the module automatically transmits 128 dec + Module-No.
x x x 1 1 0 x 0 and is in ‘Pre-Operational’ status
- after a start frame has been received: put out TxId
x x x 0 0 1 1 0 - after wake-up time start frame, put out TxId, transmit RTR-frames on RxId
The Module-ID under which the gateway is addressed is set via this byte, if the gateway has been
configured as CANopen slave.
Bytes 5 and 6 of the configuration data is without any function at the moment. It is reserved for future
applications and should always be set to ‘0’.
Via parameter Wakeup Time a delay in seconds is specified. It determines the time a module has to wait
after a RESET or power-on, before it starts to transmit data to the CAN.
The Wakeup Time specified here, overwrites the value of Wakeup Time stored previously in the CAN-
CBM-DP gateway, if another value than ‘FF’ was specified. If ‘FF’ is specified, the value stored in the
gateway will be used.
If parameter Wakeup Time is set to ‘0’, the module does not wait, but start the transmission of data as
soon as there are available.
Value range
Parameter Explanations
[hex] in [s]
0 Wakeup-Time function off
Wakeup Time 1...FE Wakeup Time in seconds
FF Use current value from gateway (default)
Both entries are equal. That means that the last specification is valid!
The CAN-CBM-DP module can cyclically transmit the commands SYNC and START for simple
CANopen applications. The cycle for the transmission can be specified via bytes 8 and 9 or the
Communication Window. The cyclical transmissions of SYNC and START can only be activated via the
Communication Window (see CAN-CBM-DP software manual)!
The cycle is specified in bytes 8 and 9. The specified cycle is used for the SYNC command as well as
the START command. It is specified in milliseconds.
Value range
Parameter Explanations
[hex] in [ms]
0 No SYNC and Start transmissions possible
SYNC Time 1...FFFE SYNC Time and Start Time in milliseconds (1...65534 ms)
FFFF Use current value from gateway (default)
Both specifications are equal. That means that the last specification is valid!
The cyclical transmission can only be activated via the Communication Window!