0% found this document useful (0 votes)
36 views13 pages

CAN CBM DP Hex Parameter

Uploaded by

yurijkoddns
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views13 pages

CAN CBM DP Hex Parameter

Uploaded by

yurijkoddns
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

CAN-CBM-DP

PROFIBUS-DP / CAN-Gateway

Manual Configuration with Hex-Parameters


via PROFIBUS-DP

Software Manual Appendix

CAN-CBM-DP Software Manual Appendix Rev. 1.0


Manual file: M:\texte\Doku\MANUALS\CAN\Cbm\DP\Englisch\DP_Software\Hex-Parameter_01.en9

Date of print: 25.06.2003

Software order-no.: CAN 2.0A: C.2844.02/03 CAN 2.0A/B: C.2844.05


Command-File: cbmdp18 Command-File: cbmdpb01
Described software-version:
DP/CANopen: V. 1.07 DP/CANopen: V. 1.11

Changes in the software and/or the documentation

Changes in this manual versus previous version Changes in Changes in the


the software documentation
First issue. - -
- - -

Technical data are subject to change without notice.

CAN-CBM-DP Software Manual Appendix Rev. 1.0


NOTE

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.

esd electronic system design gmbh


Vahrenwalder Str. 207
30165 Hannover
Germany

Phone: +49-511-372 98-0


Fax: +49-511-372 98-68
E-mail: info@esd-electronics.com
Internet: www.esd-electronics.com

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

CAN-CBM-DP Software Manual Appendix Rev. 1.0


Content Page

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

CAN-CBM-DP Software Manual Appendix Rev. 1.0 1


This page is intentionally left blank.

2 CAN-CBM-DP Software Manual Appendix Rev. 1.0


Overview

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.

CAN-CBM-DP Software Manual Appendix Rev. 1.0 3


Configuration Sequence

2. Configuration Sequence
The following steps has to be executed to configure the CAN-CBM-DP module:

2.1 Load GSD-File


To apply the CAN-CBM-DP module to the PLC, the GSD-file that comes with the CAN-CBM-DP
modules has to be loaded. The actual GSD-file can also be loaded from our homepage:

http://www.esd-electronics.com

2.2 Insert the CAN-CBM-DP as a PROFIBUS-DP Slave Module


The way to insert a PROFIBUS-DP slave module depends on the used software tool for the
PROFIBUS-DP configuration.

2.3 Set PROFIBUS-DP Slave Address


The way to set the address of a PROFIBUS-DP slave module depends on the used software tool for the
PROFIBUS-DP configuration. Normally the setting has to be done while the slave is inserted.

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!

4 CAN-CBM-DP Software Manual Appendix Rev. 1.0


Configuration Sequence

2.4 Parameter Telegram


After inserting the CAN-CBM-DP module, several configuration parameter can be set by the parameter
telegram.

2.4.1 Structure

Byte -> 1 2 3 4 5 6 7 8 9

Content always Wakeup Sync Sync


Bitrate General Module-ID reserved reserved
-> ‘00’ Time Time_L Time_H

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.

Bytes 5 and 6 are reserved for future applications.

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

The value of the bit rate is coded as follows:

Value of Byte Bitrate Bit Rate [kbit/s]


0 1000
1 666.6
2 500
3 333.3
4 250
5 166
6 125
7 100
8 66.6
9 50
A 33.3
B 20
C 12.5
D 10

Table 2.4.1: Setting the bit rate in 14 steps

CAN-CBM-DP Software Manual Appendix Rev. 1.0 5


Configuration Sequence

2.4.3 General Configuration

Byte 3 of the configuration data is evaluated bit by bit:

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

Table 2.4.2: General parameter data in byte 3

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

- after wake-up time, put out TxId


x x x 0 0 1 0 0
- transmit RTR-frames on RxId

x x x 1 0 1 0 0 - after wake-up time, 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

x x x 1 0 1 1 0 - after wake-up time start frame, put out TxId

Table 2.4.3: Example for permissible settings of byte 3

6 CAN-CBM-DP Software Manual Appendix Rev. 1.0


Configuration Sequence

2.4.4 Module-ID of Gateways as CANopen Slave

The Module-ID under which the gateway is addressed is set via this byte, if the gateway has been
configured as CANopen slave.

Value range: 01 ... 7F hex (1...127 decimal)

2.4.5 Parameter Data Byte 5 and 6: Reserved for Future Applications

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

CAN-CBM-DP Software Manual Appendix Rev. 1.0 7


Configuration Sequence

2.4.6 Wakeup Time

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.

The Wakeup Time is specified as a hexadecimal value, here.

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)

Table 2.4.4: Function of parameter Wakeup Time

Attention: Wakeup Time can be set in two different ways:


1. Via byte 7 of the configuration data, as described above.
2. Via the configuration tool CICT (refer to CAN-CBM-DP software manual)

Both entries are equal. That means that the last specification is valid!

8 CAN-CBM-DP Software Manual Appendix Rev. 1.0


Configuration Sequence

2.4.7 SYNC Time

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.

SYNC Time is specified as a hexadecimal value, here.

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)

Table 2.4.5: Function of parameter SYNC Time

Attention: SYNC Time can be set in two different ways:


1. Via bytes 8 and 9 of the configuration data as described above.
2. Via bytes 4 and 5 of the Communication Window (refer to CAN-CBM
software manual)

Both specifications are equal. That means that the last specification is valid!
The cyclical transmission can only be activated via the Communication Window!

CAN-CBM-DP Software Manual Appendix Rev. 1.0 9


Configuration Sequence

This page is intentionally left blank.

10 CAN-CBM-DP Software Manual Appendix Rev. 1.0

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy