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 it s product s, 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.
This manual describes the local firmware of the CAN-CBM-DP module. The local firmware controls
the data exchange between PROFIBUS-DP (abbreviated to PROFIBUS below) and CAN.
Layer 2 Implementation
The manual describes the Layer 2 implementation and the implemented CANopen functions.
Furthermore, the Windows configuration tool CICT will be described. By means of CICT parameters
of the module can be displayed via the serial interface. A limited setting by means of CICT is possible,
as well.
Page Mode
Furthermore, the manual describes the Page Mode which was developed to allow more than 48 CAN
identifiers to be controlled by one gateway. For a general understanding fundamental functions of the
Page Mode will be described first, followed by descriptions of the function blocks (FBs) and data
blocks (DBs), which are used to realize the Page Mode.
11-Bit and 29-Bit Identifier
The module is available with two firmware versions. The version with the order-no. C.2844.03 supports
only 11-bit CAN identifier and the version with the order-no. C.2844.05 supports 11-bit and 29-bit
CAN identifier.
1.2 Introduction into Functionality of the Firmware
The gateway simulates a slave device with a defined number of input and output bytes to the
PROFIBUS. After the gateway has been configured CAN devices such as PROFIBUS slaves can be
operated.
The PROFIBUS output bytes are transmitted to the CAN-bus. One to eight output bytes are assigned
to an Tx-identifier. Rx-identifiers are assigned to the input bytes on CAN side. Received CAN data is
treated as input data by the PROFIBUS.
The PROFIBUS station address is set directly at the CAN-CBM-DP module by means of coding
switches.
1.3 Configuration via PROFIBUS-DP
The CAN-CBM-DP module is configured via the PROFIBUS. The Siemens SIMATIC Manager for
S7, for example, can be used as a configuration tool. Here, the gateway is assigned with logical modules
which are assigned with further parameters such as the PLC address, data direction, data length and
CAN identifier.
CAN-CBM-DP Software Manual Rev. 2.05
Overview
1.4 The Diagnose and Configuration Tool
The tool CICT offers an operating surface designed for the CAN-CBM-DP for the display of parameters
and configuration of the module. Since the module is mainly to be configured via the PROFIBUS, the
tool is mainly used for the display of transmitted parameters. Only a limited number of parameters can
be modified.
CICT
1.5 More addressable Identifiers via Page Mode
Page-Mode offers the possibility t o address more CAN-Identifiers than a PROFIBUS-Telegramm can
contain (thus more than 48). The number of t he identifiers possible is only limited by the available
memory capacity of the PLC and the CAN-Gateway.
Note: Page Mode can only be used, if the Siemens SIMATIC Manager for S7 is used as
configuration-tool!
CAN-CBM-DP Software Manual Rev. 2.06
2. Functionality of the Local Firmware
The following figure represents the functionality of the firmware.
CANProfibus
Slave
Address
output
xyz
ProfibusCAN
(coding
switch)
input
Byte-no.DirectionIdentifier
0Tx-Id_a
Tx-Id_a
1
2
Tx-Id_a
3
Tx-Id_a
Tx-Id_a
4
Tx-Id_a
5
n
Tx-Id_k
n+1
Tx-Id_k
0
Rx-Id_b
1
Rx-Id_b
2
Rx-Id_b
3
Rx-Id_b
Functionality of the Local Firmware
m
Rx-Id_l
m+1
Rx-Id_l
Fig. 2.1.1: Overview of functions of the CAN-CBM-DP module
2.1 PROFIBUS-Slave Address
The CAN-CBM-DP module simulates a slave module on the PROFIBUS side. The slave address is set
by means of coding switches at the module. When switching on the module the hexadecimal
PROFIBUS address set is requested. The settings have to be changed before switching on the module,
because changes are ineffective during operation.
The address range which can be set is hexadecimal 03 to 7C or decimal 3 to 124. If an address is set
which is smaller than 3 (decimal) or smaller than 03 (HEX), address 3 is valid. If an address is set
which is larger than 7C (HEX) or larger than 124 (decimal), address 124 is valid.
The upper coding switch (SW211, HIGH) is used to set the MSBs, while the LSBs are set by means of
the lower coding switch (SW210, LOW).
The PROFIBUS-slave address can only be set via coding switches. It cannot be programmed by means
of a class 2 master via the command ‘Set_Slave_Address’.
CAN-CBM-DP Software Manual Rev. 2.07
Functionality of the local Firmware
2.2 User Data
The CAN-CBM-DP-module simulates a total of up to 300 bytes for the input direction and the output
direction in the current software implementation. From these 300 bytes a maximum of 244 bytes can
be selected for one data direction, otherwise the division into input bytes and output bytes is entirely
up to the user. (Examples: 150 input bytes and 150 output bytes, or 244 input bytes and 56 output
bytes).
One to eight bytes (16 bytes when using the communication window, see page 31) each are assigned
to a Tx-or Rx-identifier. The same identifier cannot be used as Tx-and Rx-identifier. The automatic
response to remote requests (RTR) on the CAN bus cannot be used, therefore.
2.3 Watchdog (Reaction Control)
The firmware can be run with activated or deactivated reaction control. It is recommendable, though,
to run it with activated reaction control.
2.4 Diagnose
The status of the LED displays and the DP-slave diagnose can be used for diagnose. The module
supports five module-specific diagnose bytes. The diagnose will be described in more detail on page
12.
2.5 Parameter Telegram (CAN Bit Rate)
In addition to the seven standard bytes of the configuration, the CAN-CBM-DP module supports three
module-specific bytes. Here, the DP master can change the CAN bit rate. Setting the bit rate by means
of the parameter telegram is described on page 23.
The Global-Control services have not yet been implemented.
2.7 PROFIBUS-DP Profiles
The PROFIBUS-DP profiles are not being supported yet.
CAN-CBM-DP Software Manual Rev. 2.08
Functionality of the Local Firmware
2.8 More Addressable CAN Identifiers in Page Mode
The Page Mode offers the chance to address more CAN identifiers than can be stored in one
PROFIBUS telegram (that means more than 48). Because of the additional protocol expenditure the
handling of the Page Mode is slightly more complicated than the standard operation of the gateway. The
data exchange between PROFIBUS and CAN requires two cycles instead of one PLC cycle.
CAN-CBM-DP Software Manual Rev. 2.09
Implementing and Diagnose
3. Implementing and Diagnose
3.1 Prerequisites for Implementation
This chapter describes the implementation of t he CAN-CBM module at a PROFIBUS which is
controlled by a Siemens SIMATIC-S7-300 or S7-400.
In order to be able to implement the module as will be described here, you need the configuratio n
program ‘SIMATIC-Manager’ with the tool ‘HW-configurator’.
Note for CANopen:
Configure the CAN-CBM-DP module absolutely first with the PLC via the SIMATICManager as described in chapter: “5. Configuration with the SIMATIC Manager”. Only
after carried out configuration the CAN-CBM-DP module can be identified as CANopen
slave!
3.2 Implementation
3.2.1 Strategy
Please make the following steps to implement the module:
1
2Set the PROFIBUS address of the module by means of the coding switch.
3
4
5
Install and wire the CAN-CBM-DP module (power supply, CAN bus, see hardware
manual).
Connect the PROFIBUS connector to the PROFIBUS interface of the CAN-CBM-DP
module.
Configure the settings of the CAN-CBM-DP module in the PLC via the SIMATIC
manager
Switch on the power supply for the CAN-CBM-DP.
Now the module has to run.
The CAN-CBM-DP module is now automatically configured via the PLC.
Note: Take into account that in particular the CAN bit rate and the module ID (CANopen) must
be set via the PROFIBUS.
CAN-CBM-DP Software Manual Rev. 2.010
Implementing and Diagnose
3.2.2 Start-Up
After switching on the power supply, the CAN-CBM module starts automatically. It does not have its
own mains switch.
During start-up LEDs 2 (PROFIBUS LED) and 3 (data exchange LED) flash. The PROFIBUS address
set via the coding switches is read in.
The module receives projection data from the DP master and evaluates the specifications in them. If
the projection complies with the structure, the CAN-CBM-DP module starts the data transfer.
3.2.3 Data Transfer
If the module is configured, the data transfer starts automatically after start-up: If the PLC master
changes transmission data of an identifier, the data is transmitted from the CAN-CBM-DP module to
the CAN bus. When the CAN-CBM-DP module receives data, it provides these to the PLC master.
The configuration is described in chapter 5 ‘Configuration via the SIMATIC-Manager’ from page 21.
CAN-CBM-DP Software Manual Rev. 2.011
Implementing and Diagnose
g
y
3.3 Diagnose via LED Displa
LED3
The function of LEDs has been defined by the firmware.
In normal operation the LEDs are never switched off, i.e.
they either flash or shine permanently.
LED 2
LED 1
The flash sequences which are listed in the following
table are repeated about every six seconds.
Fig. 3.3.1: Position of LEDs
LEDFunctionStatusMeaningError handling
offno power supplycheck the 24 V power supply
PROFI
ADR.
HIGH
PROFI
ADR.
LOW
SERIAL
8
Coding Switch
SW211
0
8
Codin
Switch
SW210
0
LED 1
(red)
LED 2
(red)
CAN bus
status
modulePROFIBUS
status
1x short flash
only 29-bit version:
3x long flash
CAN error
(morse signal ‘E’)
CAN off
(morse signal ‘O’)
-
-
only 11-bit version:
5x long flash
CAN off
short-long-longCAN warning (‘W’)-
onCAN bus OK-
offno power supplycheck the 24 V power supply
the connection to the DP master has failed,
1x short flashlooking for bit rate
check the PROFIBUS connection (fault in
wiring in PROFIBUS cable, short circuit,
terminating impedance in wrong position)?
2x short flashesbit rate is monitoredcheck the PROFIBUS address specified
parameter telegram is faulty. Diagnose via
SIMATIC-Manager or system function
SFC13 (DPNRM_DG) (see chap. 3.4)
configuration telegram is faulty. Diagnose
via SIMATIC-Manager or system function
SFC13 (DPNRM_DG) (see chap. 3.4)
3x short flashes
4x short flashes
waiting for parameter
telegram
waiting for
configuration
telegram
onPROFIBUS OK-
LED 3
(red)
PROFIBUSdata
exchange
offno data exchange-
on
data exchange via
PROFIBUS
-
Table 3.3.1: LED status
CAN-CBM-DP Software Manual Rev. 2.012
Implementing and Diagnose
3.4 Slave Diagnose
In addition to the six diagnose bytes predefined in norm DIN EN 19245, part 3, the module supports
three further module-specific diagnose bytes.
The slave diagnose can be requested by the following function components:
Automation device familyNumberName
SIMATIC with IM 308-C
SIMATIC S7/M7
Table 3.4.1: Function component for requesting the slave diagnose
3.4.1 Diagnose Bytes 0...5
The assignment of these diagnose bytes has been predefined in norm DIN EN 19425, part 3. Below, the
status messages will be described in consideration of the CAN-CBM-DP module.
The following designations will be used for this:
Byte numberStatus-byte designation
0
1
2
3
4
5
station status 1
station status 2
station status 3
master-PROFIBUS address
manufacturer-identification high byte
manufacturer-identification low byte
FB 192
SFC 13
FB IM308C
SFC DPNRM_DG
Table 3.4.2: Diagnose bytes 0...5
CAN-CBM-DP Software Manual Rev. 2.013
Implementing and Diagnose
3.4.1.1 Station Status 1
Station status 1 contains error messages of the DP slave. If a bit is ‘0’, no error applies. A bit set to ‘1’
signalizes an error.
BitError message if bit = ‘1’Error handling
- correct PROFIBUS address set at the CANCBM-DP?
DP slave cannot be addressed by the
0
master
- bus connector correctly wired?
- power supply available at CAN-CBM-DP?
- power off/power on executed at CAN-CBM-DP
in order to read in DP address?
DP slave is not yet ready for data
1
exchange
The configuration data transmitted
2
from DP master to DP slave do not
correspond to the DP slave structure.
The slave has got external diagnose
3
data.
The requested function is not being
4
supported by the DP slave.
DP master cannot interpret the
5
response of the DP slave.
6Wrong setting.- evaluate diagnose bytes 9 and 10
DP slave has already been set by
7
another master.
- wait until the CAN-CBM-DP has completed
start up
- check whether the station type and the CANCBM-DP structure have been correctly entered
via the configuration tool
- request and evaluate external diagnose data
- check projecting
- check bus structure
- this bit is always ‘1’, if you, e.g., just access the
CAN-CBM-DP by means of a PG or another
DP master.
The PROFIBUS address of the setting master is
in the diagnose byte ‘Master-PROFIBUS
address’.
Table 3.4.3: Bits of station status 1
CAN-CBM-DP Software Manual Rev. 2.014
Implementing and Diagnose
3.4.1.2 Station Status 2
Station status 2 contains status messages to the DP slave. If a bit is ‘1’, the according message is active.
A bit set to ‘0’ signalizes an inactive message.
BitError message if bit = ‘1’
0DP slave has to be set again.
1
2This bit is always ‘1’.
3The response monitoring for the CAN-CBM-DP is activated.
4DP slave has received freeze command.
5DP slave has received SYNC command.
6This bit is always ‘0’.
7DP slave is deactivated.
A diagnose message applies. The DP slave cannot operate until the error has been
removed (static diagnose message).
Table 3.4.4: Bits of station status 2
CAN-CBM-DP Software Manual Rev. 2.015
Implementing and Diagnose
3.4.1.3 Station Status 3
Station status 3 is reserved and without significance for the CAN-CBM-DP.
3.4.1.4 Diagnose Byte 3: Master-PROFIBUS Address
The PROFIBUS address of the master which was the last to set the DP slave and has got reading and
writing access to the DP slave is stored in this byte.
3.4.1.5 Diagnose Bytes 4 and 5: Manufacturer Identification
The manufacturer identification has been coded into two bytes. For the CAN-CBM-DP module the
designation 04A4 hex is returned.
CAN-CBM-DP Software Manual Rev. 2.016
Implementing and Diagnose
3.4.2 External (Module-Specific) Diagnose Bytes
The CAN-CBM module supports diagnose bytes 6 to 10 for module-specific diagnose messages.
Diagnose
bytes
0...5defined in the PROFIBUS specification (see previous chapter)
6
7
8DP service (SAP) which led to error
9
length specification for module-specific diagnose information
(here always 5)
header byte: bits 0...5 contain the block length including header
(here always 4)
depending on status of byte 8:
byte 8 = 3D hexsetting (SAP61) faulty, byte 9 contains the number of the faulty
setting byte
byte 8 = 3E hexconfiguration (SAP62) faulty, byte 9 contains the number of the
faulty PROFIBUS module (= address of the simulated PLC
module)
depending on status of byte 8:
byte 8 = 3D hexsetting (SAP61) faulty, byte 10 shows the PROFIBUS master
with the correct values
Meaning
10
byte 8 = 3E hexconfiguration (SAP62) faulty
1wrong I/O type: "out- input" or "blank")
correct: "input" or "output"
2wrong unit, such as "words"
correct: unit = "byte"
3wrong length
correct: length = 1-8 or 16
4only one byte has been specified for identifier
5format specification is missing
6wrong identifier
Table 3.4.5: Module-specific status messages
CAN-CBM-DP Software Manual Rev. 2.017
GSD File
4. GSD File
Below, the GSD file (Device Master Data) of the CAN-CBM-DP module has been printed. The
specification printed here are for orientation. Decisive is the data contained in the GSD file
CDPS04A4.GSD, included in the product package.
;======================================================================================================
; (c) esd electronic system design GmbH Hannover
;
; PROFIBUS-DP Geraetestammdatei
; Version: 1.06
;
; Autor: Olaf Kruse
; Erstellungsdatum: V1.0 30.04.1999 ok
; Aenderungen: V1.01 03.08.1999 ok baudrate 6 MBaud, MaxTsdr-times
; ...
; V1.06 10.04.2000 uh menu structure for parameter
;======================================================================================================
; Art des Parameters
; (M) Mandatory (zwingend notwendig)
; (O) Optional (zusõtzlich m÷glich)
; (D) Optional mit Default=0 falls nicht vorhanden
; (G) mindestens einer aus der Gruppe passend zur entsprechenden Baudrate
#PROFIBUS_DP
;--- Kapitel 2.3.2 Allgemeine DP-Schluesselwoerter --GSD_Revision= 1; (M ab GSD_Revision 1) (Unsigned8)
Vendor_Name= "esd"; (M) Herstellername (Visible-String 32)
Model_Name= "CAN-CBM/DP"; (M) Herstellerbezeichnung des DP-Geraetes (Visible-String 32)
Revision= "V1.0"; (M) Ausgabestand des DP-Geraetes (Visible-String 32)
Revision_Number= 1; (M ab GSD_Revision 1) (Unsigned8 (1 bis 63)) (1234)
Ident_Number= 1188; (M) Gerõtetyp des DP-Gerõtes (Unsigned16)
Protocol_Ident= 0; (M) Protokollkennung des DP-Geraetes 0: Profibus-DP (Unsigned8)
Station_Type= 0; (M) DP-Geraetetyp 0: DP-Slave (Unsigned8)
FMS_supp= 0; (D) kein FMS/DP-Mischgeraet (Boolean)
Hardware_Release= "V1.0"; (M) Hardware Ausgabestand des DP-Geraetes (Visible-String 32)
Software_Release= "V1.0"; (M) Software Ausgabestand des DP-Geraetes (Visible-String 32)
9.6_supp= 1; (G) 9,6 kBaud wird unterstuetzt
19.2_supp= 1; (G) 19,2 kBaud wird unterstuetzt
;31.25_supp= 1; fuer Gateway CAN-CBM-DP nicht moeglich (1234)
45.45_supp= 1; (G ab GSD_Revision 2) 45,45 kBaud wird unterstuetzt
93.75_supp= 1; (G) 93,75 kBaud wird unterstuetzt
187.5_supp= 1; (G) 187,5 kBaud wird unterstuetzt
500_supp= 1; (G) 500 kBaud wird unterstuetzt
1.5M_supp= 1; (G) 1,5 MBaud wird unterstuetzt
3M_supp= 1; (G ab GSD_Revision 1) 3 MBaud wird unterstuetzt
6M_supp= 1; (G ab GSD_Revision 1) 6 MBaud wird unterstuetzt
12M_supp= 1; (G ab GSD_Revision 1) 12 MBaud wird unterstuetzt
MaxTsdr_9.6 = 60; (G)
MaxTsdr_19.2 = 60; (G)
;MaxTsdr_31.25 = 15; fuer Gateway CAN-CBM-DP nicht moeglich (1234)
MaxTsdr_45.45 = 60; (G ab GSD_Revision 2)
MaxTsdr_93.75 = 60; (G)
MaxTsdr_187.5 = 60; (G)
MaxTsdr_500 = 100; (G)
MaxTsdr_1.5M = 150; (G)
MaxTsdr_3M = 250; (G ab GSD_Revision 1)
MaxTsdr_6M = 450; (G ab GSD_Revision 1)
MaxTsdr_12M = 800; (G ab GSD_Revision 1)
Redundancy = 0; (D) keine redundante Uebertragungstechnik
Repeater_Ctrl_Sig= 0; (D) RTS-Signalpegel (CNTR-P) Pin 4 des 9pol. SUB-D
24V_Pins= 0; (D) Bedeutung der 24V Pins des 9pol. SUB-D (Pin 7 24V; Pin 2 GND)
; Implementation_Type = "Visible-String" ; (1234)
Bitmap_Device= "CDPS00_N" ; (O ab GSD_Revision 1)
Bitmap_Diag= "CDPS00_D" ; (O ab GSD_Revision 1)
Bitmap_SF= "CDPS00_S" ; (O ab GSD_Revision 1)
;--- Kapitel 2.3.4 DP-Slave-bezogene Schluesselwoerter --Freeze_Mode_supp= 0 ; (D) Der Freeze-Mode wird nicht unterstuetzt
Sync_Mode_supp= 0 ; (D) Der Sync-Mode wird nicht unterstuetzt
Auto_Baud_supp= 1 ; (D) Die Automatische Baudratenerkennung wird unterstuetzt
Set_Slave_Add_supp= 0 ; (D) Die Slave-Adresse kann vom Master nicht gesetzt werden
;User_Prm_Data_Len= 9 ; (D) Hoechstlaenge von User-Parameter-Daten
;User_Prm_Data=0x00,0x06,0x00,0x00,0x00,0x00,0xff,0xff,0xff ; (O) User-Parameter-Daten ( byte 7 - 15 )
Min_Slave_Intervall= 20 ; (M) Minimaler Abstand zwischen 2 DDLM_Data_Exchange-Aufrufen (xx * 100us)
Modular_Station= 1 ; (D) 0: Kompaktstation 1: Modulare Station
Max_Module= 244 ;(M falls modulare Station) Hoechstanzahl der Module einer Modularen
Max_Input_Len= 240 ;M falls modulare Station) Hoechstlaenge der Eingangsdaten einer
; 0: nicht vorhanden 1: RS 485 2: TTL
; 0: nicht angeschlossen 1: Input 2: Output
Station
Modularen Station
CAN-CBM-DP Software Manual Rev. 2.018
GSD File
Max_Output_Len= 240 ;(M falls modulare Station) Hoechstlaenge der Ausgangsdaten einer
Max_Data_Len= 465 ;(O nur falls modulare Station) Groesste Summe der Ein- und
The CAN-CBM-DP module is configured via the PROFIBUS or the serial interface by means of tool
CICT (limited configuration). The configuration via the PROFIBUS is of higher priority, i.e. the
PROFIBUS configuration overwrites the configuration made via the serial interface. It is not possible
to change parameters which have been set via the PROFIBUS by means of the serial interface.
Note: Without correct configuration via the SIMATIC manager the CAN-CBM-DP module and
the CAN participants connected do not operate together and operation of the CAN
participants connected can be disturbed.
In particular the CAN-Bitrate configured in the CAN-CBM-DP-module and the moduleID (at CANopen) must match the settings of the CAN participants connected!
If problems should occur, further information can be obtained with the diagnose as
described in the chapters “4.3 Diagnose via LED Display” and “4.4 Slave Diagnose”.
Please follow the steps below to configure the CAN-CBM-DP module:
1. Select CAN-CBM-DP
Select menu Hardware Catalogue and there Additional Field Devices and Other. There select GSD
CAN-CBM-DP.
2. Set PROFIBUS Address
Set the PROFIBUS address as described in chapter 5.1.1 on page 22.
3. Parameter Telegramm (set CAN bit rate, general configuration and CANopen module ID)
Configure the configuration settings by means of the parameter telegram as described in chapter
5.1.2 on page 23.
4. Assignment of the Slots of the DP-slaves
Assign the slots as described in chapter 5.1.3 on page 27.
5. Configuration of the Slots (SPS-Adresse)
Configure the slots as described in chapter 5.1.4 on page 28.
6. Save settings on hard disk
Save the settings as described in chapter 5.1.5 on page 28.
CAN-CBM-DP Software Manual Rev. 2.021
Configuration via SIMATIC Manager
5.1.1 Set PROFIBUS address
A window opens in which you have to specify the PROFIBUS station address.
Attention!!The hexadecimal address set at the coding switches has to be converted into a
decimal value and entered here!
Fig. 5.1.1: Setting the PROFIBUS address of the CAN-CBM-DP
CAN-CBM-DP Software Manual Rev. 2.022
Configuration via SIMATIC Manager
5.1.2 Parameter Telegram
In the configuration window the module ‘DP slave’ is now automatically added. If you desire
another CAN bit rate than the standard setting of 125 kbit/s, you can change it by means of the
parameter telegram.
The module-specific bytes of the parameter telegram can be changed in the Properties window
which opens, if the header of the DP-slave window is double clicked (here line ‘(23) DP-Slave’).
Fig. 5.1.2: Setting the parameters in the DP-slave properties window
Note: By means of selection point Hex-Parameter the parameters can be specified by means of
entering hexadecimal values, as in older software versions. More comfortable, however,
is of course the specification in the format shown above. Here, the parameters can be
configured ‘directly’. Therefore, in the following descriptions the configuration by means
of hexadecimal values will not be considered.
CAN-CBM-DP Software Manual Rev. 2.023
Configuration via SIMATIC Manager
Description of Parameters:
CAN-Bitrate:For the bit rate the following selections can be made:
Bitrate [kbit/s]
1000
666.6
500
333.3
250
166
125
100
66.6
50
33.3
Communication Window:
(CW)
RTR-Frames:
(NR)
CANopen-Slave:
(CS)
CANopen-Master:
(CM)
20
12.5
10
Table 5.1.1: Setting the bit rate in 14 levels
This parameter activates the Communication Window. It is
described in detail at page 31.
Transmit RTR-frames for the Rx-identifiers configured via
PROFIBUS.
Configure gateway as CANopen slave.
Configure gateway as CANopen master.
Start-Frame:
(AS)
Page-Mode:
(PM)
After wake-up time has expired, a start frame is transmitted, if the
gateway is a master (autostart).
Activate Page-Mode.
CAN-CBM-DP Software Manual Rev. 2.024
Configuration via SIMATIC Manager
p
p
p
Permissible combinations:
CWNRCSCMASPMMeaning
xnoyesnoxno
xyesyesno x no
xnonoyesnono
xyesnoyesnono
xnonoyesyesno
xyesnoyesyesno
Table 5.1.2: Example for permissible settings
Module-ID:The
Module-ID
under which the gateway is addressed is set via this byte, if the
gateway has been configured as CANopen slave.
- after wake-up time the module automatically transmits
+ Module-No.
- after a start frame has been received: put out TxId, transmit
RTR-frames on RxId
- after wake-up time the module automatically transmits
+ Module-No.
- after a start frame has been received: put out TxId
- after wake-up time, put out TxId
- transmit RTR-frames on RxId
- after wake-up time, put out TxId
- after wake-up time start frame, put out TxId, transmit RTRframes on RxId
- after wake-up time start frame, put out TxId
and is in ‘Pre-Operational’ status
and is in ‘Pre-Operational’ status
128 dec
128 dec
Value range: 1 ... 127 (decimal)
Wakeup TimeVia parameter
time a module has to wait after a RESET or power-on, before it starts to transmit
data to the CAN.
The
Wakeu
Time
previously in the CAN-CBM-DP gateway, if another value than ‘255’ was
specified. If ‘255’ is specified, the value stored in the gateway will be used.
If parameter
Wakeu
transmission of data as soon as they are available.
The Wakeup Time is specified as a decimal value, here.
Wakeu
Time
a delay in seconds is specified. It determines the
specified here, overwrites the value of
Time
is set to ‘0’, the module does not wait, but start the
Wakeup Time
stored
CAN-CBM-DP Software Manual Rev. 2.025
Configuration via SIMATIC Manager
Parameter
Wakeup Time
Value range
[dec] in [s]
0Wakeup-Time function off
1...254Wakeup Time in seconds
255Use current value from gateway (default)
Explanations
Table 5.1.3: Function of parameter Wakeup Time
Attention:
Wakeup Time can be set in two different ways:
1. As described above.
2. Via the configuration tool CICT (refer to page 72)
Both entries are equal. That means that the last specification is
valid!
Note:
If the software is updated to a version t 1.03, when using an
existing application program (older than 12/1999), the missing entry
of the configuration data would be interpreted as ‘0’, and the
Wakeup-Time function would be deactivated, therefore.
SYNC Time:
The CAN-CBM-DP module can cyclically transmit the commands
SYNC and START for simple CANopen applications. The SYNC Time
for the transmission can be specified in the properties window as
described above, via the Communication Window or via the tool CICT.
The specified cycle is used for the SYNC command as well as the
START command. It is specified in milliseconds.
SYNC Time
Parameter
SYNC Time
is specified as a decimal value, here.
Value range
[dec] in [ms]
0No SYNC and Start transmissions possible
1...65534
65535Use current value from gateway (default)
SYNC Time and Start Time in milliseconds
(1...65534 ms)
Explanations
Table 5.1.4: Function of parameter SYNC Time
CAN-CBM-DP Software Manual Rev. 2.026
Loading...
+ 74 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.