Escolar Documentos
Profissional Documentos
Cultura Documentos
!!!!
!
!
!
!
Communication Manual
EthernetCAN
l
EMF2180IB
Communication module
2180 communication module (EthernetCAN) 5
l 54 EDSFEW EN 4.0
5 Communication module 2180 EthernetCAN
5.1 Before you start 5.11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1.1 Your opinion is important to us 5.11 . . . . . . . . . . . . . . . . . . . . . . . .
5.1.2 Document history 5.11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.2 General information 5.21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3 Technical data 5.31 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.1 General data and operating conditions 5.31 . . . . . . . . . . . . . . . . .
5.3.2 Protective insulation 5.32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.3 Dimensions 5.33 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.4 Installation 5.41 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.4.1 Elements of the communication module 5.41 . . . . . . . . . . . . . . . .
5.4.2 Mechanical installation 5.42 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.4.3 Electrical installation 5.43 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.5 Commissioning 5.51 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.5.1 Commissioning with the system bus configurator 5.51 . . . . . . . .
5.5.2 Commissioning with the web server 5.56 . . . . . . . . . . . . . . . . . . .
5.5.3 Before switching on 5.514 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.5.4 First switchon 5.515 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.6 Data transfer 5.61 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.6.1 Data transfer via CAN 5.61 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.6.2 Data transfer via Ethernet 5.63 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.7 Lenze codes and CANopen objects 5.71 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.7.1 Description of the codes relevant for CAN 5.74 . . . . . . . . . . . . . . .
5.7.2 Description of the CANopen objects implemented 5.716 . . . . . . . .
5.7.3 Description of the general codes 5.718 . . . . . . . . . . . . . . . . . . . . . . .
5.7.4 Description of the codes important for Ethernet 5.720 . . . . . . . . . .
5.8 Troubleshooting 5.81 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.8.1 Signalling of the CANopen RUN LED and ERROR LED 5.81 . . . . . . .
5.9 Index 5.91 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2180 communication module (EthernetCAN)
Before you start
Your opinion is important to us
5
5.1
5.1.1
l 5.11 EDSFEW EN 4.0
5.1 Before you start
I Tip!
Information and auxiliary devices related to the Lenze products
can be found in the download area at
http://www.Lenze.com
5.1.1 Your opinion is important to us
These instructions were created to the best of our knowledge and belief to
give you the best possible support for handling our product.
If you have suggestions for improvement, please email us to:
feedbackdocu@Lenze.de
Thank you for your support.
Your Lenze documentation team
5.1.2 Document history
Edition date Revised chapters Notes
04 / 2005 First edition
09 / 2012 5.5.2 Commissioning with the web server supplemented
2180 communication module (EthernetCAN)
General information
5
5.2
l 5.21 EDSFEW EN 4.0
5.2 General information
These instructions are valid for
Communication module Type designation from hardware
version
from software
version
EthernetCAN EMF2180IB 1x 1x
These instructions are only valid together with the documentation for the
standard devices permitted for the application.
2180FEW099
Type code W 33.2180IB 1x 1x
Device series
Hardware version
Software version
The communication module can be used with the following Lenze devices:
Servo Drives 9400
Inverter Drives 8400
9300 servo inverter
9300 vector
9300 Servo PLC
ECS servo system
8200 motec motor inverter
8200 vector frequency inverter
82XX frequency inverter
Drive PLC
Terminal extension 9374
Control / display unit (EPMHXXX)
I/O system IP20 (EPMTXXX)
The communication module is used for setting parameters during remote
maintenance or programming and commissioning the usable devices:
Validity information
Identification
Application range
Features
2180 communication module (EthernetCAN)
Technical data
General data and operating conditions
5
5.3
5.3.1
l 5.31 EDSFEW EN 4.0
5.3 Technical data
5.3.1 General data and operating conditions
Range Values
Order designation EMF2180IB
Communication media
(system)
CAN (DIN ISO 11898)
Ethernet (100 Base TX, IEEE802.3u)
Number of nodes at the CAN
bus
Max. 100
Baud rate l when communicating via CAN
20 kbit/s
50 kbit/s
125 kbit/s
250 kbit/s
500 kBit/s
1000 kbps
l when communicating via Ethernet
10 Mbit/s
100 Mbit/s
Voltage supply (external) via
separate power supply
18 30 V DC, max. 100 mA (in accordance with EN 611312)
Operating conditions Values Deviations from the standard
Climatic conditions
Storage 1 K3 to IEC/EN 6072131 10 ... + 60 C
Transport 2 K3 acc. to IEC/EN
6072132
10 ... + 70 C
Operation 3 K3 acc. to IEC/EN
6072133
0 ... + 60 C
Enclosure of attached
module
IP20
Degree of pollution 2 acc. to IEC/EN 6180051
2180 communication module (EthernetCAN)
Technical data
Protective insulation
5
5.3
5.3.2
l 5.32 EDSFEW EN 4.0
5.3.2 Protective insulation
2180FEW001F
Terminal Type of insulation (according to EN 6180051)
4
Ethernet Functional insulation
5
CAN bus Functional insulation
6
Voltage supply No insulation
2180 communication module (EthernetCAN)
Technical data
Dimensions
5
5.3
5.3.3
l 5.33 EDSFEW EN 4.0
5.3.3 Dimensions
2180FEW001B
a 117 mm
b 99 mm
e 22.5 mm
2180 communication module (EthernetCAN)
Installation
Elements of the communication module
5
5.4
5.4.1
l 5.41 EDSFEW EN 4.0
5.4 Installation
5.4.1 Elements of the communication module
2180FEW001D
Fig. 5.41 Communication module EthernetCAN 2180
Pos. Name Description
4 Ethernet connection RJ45 socket
5 CAN connection SubD socket
6 Connection for voltage supply Plug connector with spring connection, 4pole
7 PE connection When fitted, the communication module is
automatically connected to the DIN rail.
The DIN rail must be connected to PE!
Pos. Colour State Description
0
(B)
Yellow Off Baud rate: 10 Mbits/s
On Baud rate: 100 Mbits/s
Blinking The IP address of the module is not assigned
yet; it is currently being detected.
1
(E)
Red See ^ 5.517 ERR LED
2
(R)
Green RUN LED
3
(P)
Green On 2180 EthernetCAN is supplied with power.
8
green on The connection to the Ethernet network is
established (LINK).
:
green On or blinking
Data are being transmitted or received
(ACTIVITY).
) Note!
Refer to the instructions on the signals provided by the ERROR
LED and RUN LED in the Troubleshooting chapter ( 5.81).
Connections
Displays
2180 communication module (EthernetCAN)
Installation
Mechanical installation
5
5.4
5.4.2
l 5.42 EDSFEW EN 4.0
5.4.2 Mechanical installation
2181FEW002B
Fig. 5.42 Snap communication module to DIN rail
2181FEW001E
Fig. 5.43 Unlock communication module and lift off DIN rail .
Mounting
Dismounting
2180 communication module (EthernetCAN)
Installation
Electrical installation
5
5.4
5.4.3
l 5.43 EDSFEW EN 4.0
5.4.3 Electrical installation
2180FEW008
Fig. 5.44 Communication via Ethernet and CAN
Step Activity Terminal
(see graphic)
Additional
information
1. Establish a connection to the CAN bus:
Plug the SubD plug ("EWZ0046", see
accessories) into the communication
module.
5 ^ 5.45
2. Connect the following components via
Ethernet with each other:
^ 5.47
l Communication module 4
l PC ;
l Servo Drives 9400 <
l Other Ethernet nodes
3. Connect voltage supply to the plug
connector
6 ^ 5.44
Installation steps
2180 communication module (EthernetCAN)
Installation
Electrical installation
5
5.4
5.4.3
l 5.44 EDSFEW EN 4.0
5.4.3.1 Voltage supply
2181FEW001G
Terminal data
Electrical connection Plug connector with spring connection
Possible connections rigid: 2.5 mm
2
(AWG 12)
flexible:
without wire end ferrule
2.5 mm
2
(AWG 12)
with wire end ferrule, without plastic sleeve
2.5 mm
2
(AWG 12)
with wire end ferrule, with plastic sleeve
2.5 mm
2
(AWG 12)
Stripping length 10 mm
( Stop!
In order to avoid damages to the pluggable terminal strips and
the contacts:
The terminal strips must be wired before plugging them in!
Pluggable terminals strips that are not assigned must be
plugged on as well.
E82ZAFX013
Terminal data
Handling of pluggable
terminal strips
Use of pluggable terminal
strip with spring connection
2180 communication module (EthernetCAN)
Installation
Electrical installation
5
5.4
5.4.3
l 5.45 EDSFEW EN 4.0
5.4.3.2 CAN bus connection
2180FEW001K
View Pin Assignment
1 6
5
9
1, 4, 5, 6, 8, 9
2 CANLO
3 CANGND
7 CANHI
Between CAN_LOW and CANHIGH the CAN bus has to be terminated by
resistors (120W). The SubD plug with an integrated terminating resistor
(order no. EWZ0046, not included in the scope of supply) complies with the
recommendation DS 1021 of CiA.
L
EW
Z0046
OFF
ON
O
F
F
O
N
ON
OFF
OUT IN IN IN
On Off On 120 120 120
L
EWZ0046
L
EWZ0046
L
EWZ0046
2181FEW004
We recommend the use of CAN cables in accordance with ISO 118982:
CAN cable in accordance with ISO 118982
Cable type Paired with shielding
Impedance 120 W (95 ... 140 W)
Cable resistance/crosssection
Cable length 300 m 70 mW/m / 0.25 0.34 mm
2
(AWG22)
Cable length 301 1000 m 40 mW/m / 0.5 mm
2
(AWG20)
Signal propagation delay 5 ns/m
Assignment of the SubD plug
connector
Specification of the
transmission cable
2180 communication module (EthernetCAN)
Installation
Electrical installation
5
5.4
5.4.3
l 5.46 EDSFEW EN 4.0
It is absolutely necessary to comply with the permissible cable lengths.
1. Check the compliance with the total cable length in Tab. 5.41.
The total cable length is determined by the baud rate.
Baud rate [kbit/s] Max. bus length [m]
20 3600
50 1400
125 550
250 250
500 110
1000 20
Tab. 5.41 Total cable length
2. Check the compliance with the segment cable length in Tab. 5.42.
The segment cable length is determined by the cable crosssection used and
by the number of nodes. Without repeaters the segment cable length
corresponds to the total cable length.
Nodes
Cable crosssection
0.25 mm
2
0.5 mm
2
0.75 mm
2
1.0 mm
2
2 240 m 430 m 650 m 940 m
5 230 m 420 m 640 m 920 m
10 230 m 410 m 620 m 900 m
20 210 m 390 m 580 m 850 m
32 200 m 360 m 550 m 800 m
63 170 m 310 m 470 m 690 m
100 150 m 270 m 410 m 600 m
Tab. 5.42 Segment cable length
3. Compare both values.
If the value given in Tab. 5.42 is smaller than the required total cable length
from Tab. 5.41, repeaters must be used. Repeaters divide the total cable
length into segments.
Bus cable length
2180 communication module (EthernetCAN)
Installation
Electrical installation
5
5.4
5.4.3
l 5.47 EDSFEW EN 4.0
5.4.3.3 Connecting the Ethernet cable
2181FEW004A
) Note!
Only use common prefabricated cables (according to ISO/IEC
11801 or EN 50173) of category CAT5e.
Ethernet cable specifications
Ethernet standard Standard Ethernet (according to IEEE 802.3), 100base TX (fast
Ethernet)
Cable type S/FTP (Screened Foiled Twisted Pair), ISO/IEC 11801 or
EN 50173, CAT 5e
Damping 23.2 dB (at 100 MHz and per 100 m)
Crosstalk damping 24 dB (at 100 MHz and per 100 m)
Return loss 10 dB (per 100 m)
Surge impedance
100 W
100BaseTX CrossOver Cable 100BaseTX Standard Patch Cable
1 Tx+ Tx+ 1
2 Tx- Tx- 2
3 Rx+ Rx+ 3
4 4
5 5
6 Rx- Rx- 6
7 7
8 8
1 Tx+ Tx+ 1
2 Tx- Tx- 2
3 Rx+ Rx+ 3
4 4
5 5
6 Rx- Rx- 6
7 7
8 8
E94YCEI002
The "100BaseTX CrossOver Cable" is used for direct coupling of PC and
communication module.
The "100BaseTX Standard Patch Cable" is used in conjunction with
hubs and switches.
Specification of the
transmission cable
Pin assignment
Use of cables
2180 communication module (EthernetCAN)
Commissioning
Commissioning with the system bus configurator
5
5.5
5.5.1
l 5.51 EDSFEW EN 4.0
5.5 Commissioning
5.5.1 Commissioning with the system bus configurator
5.5.1.1 Installing the software
The following minimum requirements of hardware and software must be
met to work with the communication module:
MicrosoftR WindowsR 2000/XP
IBMRcompatible PC with IntelRPentiumR266 processor or higher
128 MB main memory with Windows2000/XP
The following Lenze programs allow for a communication via the
communication module :
Drive Server
Global Drive Control (GDC version 4.7 or higher)
Global Drive Loader
Global Drive PLC Developer Studio (DDS version 1.4 or higher)
Lforce Engineer
) Note!
One of the programs mentioned offer alternative
communication paths for CAN. In this case, please always select
the communication path "OPC".
System requirements
Available Lenze programs
2180 communication module (EthernetCAN)
Commissioning
Commissioning with the system bus configurator
5
5.5
5.5.1
l 5.52 EDSFEW EN 4.0
) Note!
The driver installation under Windows 2000/XP requires
administrator rights!
For a perfect operation of the communication module, install the "CAN"
communication software with a version 2.0. It is included in the Lenze
programs and is loaded on the PC during the installation.
) Note!
The following program version do not contain the required
minimum version of the CAN communication software:
Drive Server, version 1.1
Global Drive Control, version 4.7
Global Drive Loader, version 2.2
Global Drive PLC Developer Studio, version 2.2
The current communication software can be found in the
download area of the Lenze homepage
http://www.Lenze.com
For this purpose proceed the following steps:
Save the data of the Lenze homepage to your local hard disk.
Install the Lenze programs that will communicate via the
2180 communication module.
Install the communication software by following the
instructions of the installation program.
) Note!
The current version of the CAN communication software is
displayed in the information dialogue of the system bus
configurator and other Lenze programs.
The Lenze system bus configurator for the comfortable configuration of the
communication modules used is installed together with the CAN
communication software.
Installing the required driver
System bus configurator
2180 communication module (EthernetCAN)
Commissioning
Commissioning with the system bus configurator
5
5.5
5.5.1
l 5.53 EDSFEW EN 4.0
5.5.1.2 Configuring the communication module
Before the Lenze tools can communicate via communication module, it
must be configured accordingly.
To open the system bus configurator, select the following in the start menu
ProgramsWLenzeWCommunicationWSystem bus configurator.
The following parameters must be set:
CAN parameters
These are saved in the communication module and contain specific
data for the CAN bus, as for instance, baud rate, parameter data
channel or timeout.
Parameters for access to the communication module
The communication module is an Ethernet node. Each Ethernet node
has two addresses A MAC address and IP address.
The MAC address serves to unambiguously identify a device worldwide.
Observe the corresponding entry of the MAC address in the relevant
nameplate. The MAC address is firmly burnt into the device and cannot
be changed. If an Ethernet connection to the communication module
already exists, the MAC address can be read out online.
The IP address is a logical address which must be adapted to the
corresponding Ethernet network.
2180 communication module (EthernetCAN)
Commissioning
Commissioning with the system bus configurator
5
5.5
5.5.1
l 5.54 EDSFEW EN 4.0
1. Press the button "Add" and select the 2180 communication module.
2. Select the communication module from the list in the system bus
configurator.
3. Select the index card "Settings".
4. Enter the CAN parameters.
This function extension is available from version 1.7 onwards!
In order to be able to give the communication module an alphanumeric
name, use the possible setting
via code C1216 ( 5.710) or
via the web interface:
2180FEW016
5. Enter the MAC address of the nameplate or detect the MAC address
online.
6. Enter the desired IP address and transfer this online to the
communication module. This then carries out a reset which may last a
few seconds (observe LEDs!).
7. When the communication module is ready again for operation, change
to the index card "General".
8. Press the button "Diagnostics". Then, a connection to the
communication module is tried to be established. First, it is compared
whether the configured CAN parameters are identical with those in the
device. If not, an adjustment is carried out.
9. Afterwards the CAN bus can be searched for connected nodes. Confirm
the safety note with "Yes" or select "No" to interrupt the diagnostics.
Steps to be taken for
configuring the
communication module
2180 communication module (EthernetCAN)
Commissioning
Commissioning with the system bus configurator
5
5.5
5.5.1
l 5.55 EDSFEW EN 4.0
When the communication module succeeded in communicating with the
corresponding bus nodes, the system bus node addresses of the bus nodes
found are listed in the field "Device status".
If the communication module is not able to communicate with the bus
nodes, an error message is displayed.
The communication module answers with its CAN address or with "0" if no
address exists (dependent on C00350). The data telegrams for
communicating with the communication module itself, however, are not
visible on the CAN bus.
) Note!
Additional information about the configuration of the
communication module can be found in the online help of the
system bus configurator.
If the configuration of a communication module is successful, the Lenze
tools can use it for communication.
Only the selection of the bus system used is performed in the Lenze tools, all
system busspecific settings and the selection of the communication
module are carried out exclusively via the system bus configurator.
) Note!
While some of the older program versions of the Lenze tools still
offer setting options for interrupt and I/O address, they are
meaningless in the context of the communication module 2180.
After completing the
configuration
2180 communication module (EthernetCAN)
Commissioning
Commissioning with the web server
5
5.5
5.5.2
l 5.56 EDSFEW EN 4.0
5.5.2 Commissioning with the web server
The commissioning via the integrated web server is an alternative to the
commissioning with the system bus configurator.
The integrated web server enables the device to be configured by a simple
web browser.
This function extension is available from version 1.7 onwards!
When the DHCP function is activated, the DHCP server automatically assigns
an IP address to the device.
If an invalid combination of IP address and subnet mask is detected, an
error message is output via the website:
2180FEW019
In this case, both values (IP address / subnet mask) will not be saved in
the EEPROM of the communication module.
The gateway IP will only be accepted as valid if it is inside the own
network (exception: Gateway IP: 0.0.0.0).
2180 communication module (EthernetCAN)
Commissioning
Commissioning with the web server
5
5.5
5.5.2
l 5.57 EDSFEW EN 4.0
This function is valid for versions < 1.7!
Prerequisite for commissioning via web server:
First, the IP address of the device must be assigned by the system bus
configurator.
The IP address must be located in the range that can be addressed by
the connected PC.
If one of the two prerequisites is not met, the IP address must be
reconfigured using the system bus configurator:
2180FEW017
2180 communication module (EthernetCAN)
Commissioning
Commissioning with the web server
5
5.5
5.5.2
l 5.58 EDSFEW EN 4.0
) Note!
The Lenze setting of the IP address is "0.0.0.0". With this (invalid)
IP address the communication module automatically searches
during the start an own IP address in the range 169.254.xxx.xxx
according to APIPA.
Start your web browser and then enter as URL the IP address of the 2180
communication module:
2180FEW010
Fig. 5.51 Entering the IP address (instead of "xxx.xxx.xxx.xxx")
The homepage of the communication module appears. You can perform all
additional configurations from this location.
2180FEW011
Assigning a fixed IP address
2180 communication module (EthernetCAN)
Commissioning
Commissioning with the web server
5
5.5
5.5.2
l 5.59 EDSFEW EN 4.0
The 2180 communication module can also dynamically obtain its IP address
from the DHCP server with the help of the web server using the
corresponding configuration.
2180FEW013
) Note!
Since the procedure for the dynamically assigned IP address
can seldom be found in industrial environments, its use is not
recommended.
Additional information for the configuration of an Ethernet
network can be found in the Lenze Ethernet Communication
Manual.
Assigning a dynamic IP
address
2180 communication module (EthernetCAN)
Commissioning
Commissioning with the web server
5
5.5
5.5.2
l 5.510 EDSFEW EN 4.0
This function extension is available from version 1.7 onwards!
DHCP can be activated via code C1228 ( 5.713):
2180FEW018
Up to now, this was only possible via a check box on the TCP/IP Settings
web page. A static IP configuration already configured continues to exist and
after DHCP is deactivated plus mains switching or reset it can still be used.
2180 communication module (EthernetCAN)
Commissioning
Commissioning with the web server
5
5.5
5.5.2
l 5.511 EDSFEW EN 4.0
All settings that can be performed under the category "Configuration" are
protected by a combination of user name and password. The default setting
at delivery is as follows:
User name: Lenze
Password: Lenze
The user name and the password can be changed any number of times and
are casesensitive.
Submit serves to store the changed data in the EEPROM of the 2180
communication module (EthernetCAN). They will be active after the next
restart.
2180FEW012
) Note!
This page is only used for Lenzeinternal purposes and cannot be
accessed freely.
Entering user name and
password
Firmware update
("FW update")
2180 communication module (EthernetCAN)
Commissioning
Commissioning with the web server
5
5.5
5.5.2
l 5.512 EDSFEW EN 4.0
The following statistics are displayed:
Current transfer rate (10/100 Mbit/s)
Transmission mode (half/full duplex)
MACID of the 2180 communication module
Static parameter of the Ethernet connection
2180FEW014
Displaying Ethernet statistics
2180 communication module (EthernetCAN)
Commissioning
Commissioning with the web server
5
5.5
5.5.2
l 5.513 EDSFEW EN 4.0
After starting the 2180 communication module, alarms and events are
registered.
The user can display the contents of the list.
Events are classified by severity into
Error
Warning
Info
2180FEW015
The list also contains the time when the alarm or the event occurred.
) Note!
The list is deleted with every restart of the communication
module.
Date and time are only correct if a time server is configured.
Without configuration of the time server, the time count
always starts with the restart of the communication module
on 01.01.1970 at 0.00h.
Displaying alarms and events
2180 communication module (EthernetCAN)
Commissioning
Before switching on
5
5.5
5.5.3
l 5.514 EDSFEW EN 4.0
5.5.3 Before switching on
( Stop!
Prior to switching on the mains voltage, check the wiring for
completeness, shortcircuit and earth fault.
The device is equipped with the following functions:
Automatic address assignment
Automatic detection of the baud rate
Both functions are used to prevent malfunctions in operation due to
incorrectly set user addresses and baud rate.
) Note!
In default setting these functions are not activated.
Please refer to the related instructions on the codes
C0350: "General address assignment" ( 5.74)
C0351: "Set baud rate" ( 5.75)
Automatic address
assignment and automatic
detection of the baud rate
2180 communication module (EthernetCAN)
Commissioning
First switchon
5
5.5
5.5.4
l 5.515 EDSFEW EN 4.0
5.5.4 First switchon
2180FEW001H
Fig. 5.52 Signalling on the front of the communication module
Pos. Colour State Description
0
(B)
Yellow Off Baud rate: 10 Mbits/s
On Baud rate: 100 Mbits/s
Blinking The IP address of the module is not assigned
yet; it is currently being detected.
1
(E)
Red See ^ 5.517 ERR LED
2
(R)
Green RUN LED
3
(P)
Green On 2180 EthernetCAN is supplied with power.
8
green on The connection to the Ethernet network is
established (LINK).
:
green On or blinking
Data are being transmitted or received
(ACTIVITY).
Signalling
2180 communication module (EthernetCAN)
Commissioning
First switchon
5
5.5
5.5.4
l 5.516 EDSFEW EN 4.0
1. The initialisation phase of the periphery starts:
LED 3 (voltage supply, green) is lit.
2. After the initialisation of the CAN controller:
LED 2 (RUNLED, green) is blinking.
3. Ethernet connection is established:
LED 8 is lit.
LED 0 displays whether the baud rate of the Ethernet connection
amounts to 10Mbits/s or 100 Mbits/s.
If the LED 0 is blinking, the communication module is detecting its IP
address. The communication via Ethernet is only then possible if this
process is completed.
The device is now ready for operation.
Signalling sequence after
switch on
2180 communication module (EthernetCAN)
Commissioning
First switchon
5
5.5
5.5.4
l 5.517 EDSFEW EN 4.0
Status display (LED) Explanation
Connection status to the bus with the following signalling:
off No connection to the master
green
CANopen status ("S")
red
CANopen fault ("F")
Constant red
F: bus off
Flickering Automatic detection of the baud rate is active
Green blinking every 0.2 s
S: preoperational, F: none
Green blinking every 0.2 s
Red blinking 1 x, 1 s OFF
S: preoperational, F: warning limit reached
Green blinking every 0.2 s
Red blinking 2 x, 1 s OFF
S: preoperational, F: node guard event
Constant green
Z: operational, F: no errors
Constant green
Red blinking 1 x, 1 s OFF
Z: operational, error: warning limit reached
Constant green
Red blinking 2 x, 1 s OFF
Z: operational, F: node guarding event
Constant green
Red blinking 3 x, 1 s OFF
Z: operational, F: sync message error
Green blinking every 1 s
Z: stopped, F: no errors
Green blinking every 1 s
Red blinking 1 x, 1 s OFF
S: stopped, F: warning limit reached
Green blinking every 1 s
Red blinking 2 x, 1 s OFF
S: stopped, F: node guard event
Tab. 5.51 Signalling according to DR3033
Signalling acc. to DR3033
2180 communication module (EthernetCAN)
Data transfer
Data transfer via CAN
5
5.6
5.6.1
l 5.61 EDSFEW EN 4.0
5.6 Data transfer
5.6.1 Data transfer via CAN
2180FEW008
Master and drive controller communicate with each other by exchanging
data messages via the CAN bus. The data area in the data message contains
either network management data, parameter data or process data.
In the drive controller, different communication channels are allocated to
the parameter data and process data.
The communication module is suitable (apart from the transfer of IEC61131
programs and application data, e.g. curve data) only for the transfer of
parameter data.
Parameter data (SDO, Service Data Objects) Parameter data channel
These are e. g.
l Operating parameters
l Diagnostics information
l Motor data
As a rule the transfer of parameters is not as
timecritical as the transfer of process data.
l Provide access to all Lenze codes and all
CANopen indices.
l Changes to parameters are normally stored
automatically in the drive controller (note
C0003).
The structure of the CAN messages is described in the CAN communication
manual.
2180 communication module (EthernetCAN)
Data transfer
Data transfer via CAN
5
5.6
5.6.1
l 5.62 EDSFEW EN 4.0
) Note!
For the value range of the Lenze code, please refer to the
operating instructions for the drive controller (see Code list).
When communication modules are used, the properties and the behaviour
of a drive controller integrated into the network can be changed by a higher
level master (e. g. a PLC).
The parameters to be changed are contained in the codes of Lenze drive
controllers.
The drive controller codes are addressed using the index on access via the
communication module .
The index for the Lenze code number is in the range between 16576 (40C0
hex
)
and 24575 (5FFF
hex
).
Conversion formula:
Index [dec] = 24575 Lenze code number
dec hex
Index = 24575 Lenze code Index
hex
= 5FFF
hex
(Lenze code)
hex
Index = 24575 1 = 24574 Index
hex
= 5FFF
hex
1 = 5FFE
hex
The communication module has two parameter data channels which are
both activated in the Lenze setting.
) Note!
In order to establish the compatibility with CANopen, the second
parameter data channel must be switched off via code C1200,
see ( 5.78).
Access to the drive controller
codes
Indexing of codes using the
example
C0001 (operating mode)
CANopen parameter channels
2180 communication module (EthernetCAN)
Data transfer
Data transfer via Ethernet
5
5.6
5.6.2
l 5.63 EDSFEW EN 4.0
5.6.2 Data transfer via Ethernet
The communication between PC and the communication module 2180 is
carried out using a proprietary protocol that is based on TCP/IP. The port
number 22080 is used for the communication module.
The port number may have to be cleared if a firewall or something similar is
used.
Port 3677 is used to search for communication modules.
Port 80 is used to operate the web server.
I Tip!
The search via Ethernet is only possible within one network. The
telegrams are not transmitted via routers.
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
5
5.7
l 5.71 EDSFEW EN 4.0
5.7 Lenze codes and CANopen objects
The behaviour of the communication module is defined by setting
parameters for (Lenze) codes. These codes are exchanged as part of a
message via the CAN bus.
In the following table you will find an overview of codes relevant for the
communication module and the CAN objects implemented. Please note the
references to additional information.
) Note!
Convention for differentiating between the implemented
CANopen indices and Lenze codes:
CANopen index: I + (index)
Lenze code: C + (code number)
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
5
5.7
l 5.72 EDSFEW EN 4.0
Sample of a code table
Code Name Index:
Subcode Lenze Values Access Data type
RSP PS transfer CANopen:
Meaning
Headers Meaning
Code Number of the parameter Cxxxxx. Name: (Lenze) "code"
Name Name of the parameter (display text in the Engineer and in the keypad)
Index Information on addressing the code in hexadecimal and decimal notation
(decimal value in brackets)
Leading
columns
Meaning
Subcode Number of the subcode
Lenze Lenze setting ("default setting) of the code
g Display code
The configuration of the code is not possible.
Values minimum value [smallest increment/unit] maximum value
For a display code, the displayed values are given.
Access ro: The parameter can only be read (display code)
rw: The parameter can be written.
Data type l FIX32 32 bit value with sign; decimal with 4 decimal positions
l S8 8 bit value with sign
l S16 16 bit value with sign
l S32 32 bit value with sign
l U8 8 bit value without sign
l U16 16 bit value without sign
l U32 32 bit value without sign
l VS Visible string, string with given length
Footer Meaning
RSP The parameter can only be changed when the controller is inhibited (CINH) () /
not possible ().
PS transfer When the "Download parameter set" command is executed, the parameter is
transferred to the controller () / not transferred ().
CANopen The reference to the corresponding CANopen object (according to CANopen
specification DS301V402) is given () / not given ().
How to read the code table
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
5
5.7
l 5.73 EDSFEW EN 4.0
Code Subcode Index [hex] Name see
C0002 5FFD Parameter set management ^ 5.718
C0093 5FA2 Type ^ 5.718
C0099 5F9C Software version ^ 5.718
C0150 5F69 Drive controller status word ^ 5.718
C0200 5F37 Software manufacturers product
code
^ 5.719
C0202 1
2
3
4
5F35 MPC ^ 5.719
C0350 5EA1 CAN node address ^ 5.74
C0351 5EA0 CAN baud rate ^ 5.75
C0358 5E99 Reset node ^ 5.75
C0359 5E98 CAN status ^ 5.76
C0360 1
2
5E97 Telegram counter ^ 5.77
C0361 1
2
5E96 Bus load ^ 5.77
C1200 5B4F Parameter data channel operating
mode
^ 5.78
C1201 5B4E Communication timeout (CAN) ^ 5.78
C1202 5B4D Time limit for node search ^ 5.78
C1203 5B4C Repeat tests ^ 5.79
C1209 5B46 Detection of the baud rate ^ 5.79
C1210 5B45 IP address ^ 5.720
C1211 5B44 Subnet mask ^ 5.721
C1214 5B41 MACID ^ 5.722
C1215 5B40 Time exceeded during automatic baud
rate detection
^ 5.79
C1216 5B3F Userspecific device name ^ 5.710
C1217 5B3E Cycle time of CAN device monitoring ^ 5.710
C1219 5B3C Activation of CAN device monitoring ^ 5.711
C1220 5B3B CAN device monitoring ^ 5.712
C1224 5B37 Gateway ^ 5.722
C1227 5B34 Delay time for search telegrams ^ 5.713
C1228 5B33 Activation DHCP ^ 5.713
C1229 5B32 Activation of IP settings, device reset ^ 5.714
C1230 5B31 IP address ^ 5.714
C1231 5B30 Subnet mask ^ 5.715
C1232 5B2F Default gateway ^ 5.715
Index [
hex
] Subindex Name See
I1000 0 Device type ^ 5.716
I1001 0 Error register ^ 5.716
I1017 0 Producer heartbeat time ^ 5.716
I1018 0...4 Identity object ^ 5.717
Overview
CANopen objects
implemented
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
5
5.7
5.7.1
l 5.74 EDSFEW EN 4.0
5.7.1 Description of the codes relevant for CAN
Code
C0350
Name
CAN node address
Index: 0x5EA1 (24225)
Subcode Lenze Values Access Data type
0 1 [1] 63 (127) rw I32
RSP PS transfer CANopen:
The node address can be set via the CAN bus using the code C0350.
If zero is used as the address, the communication module does not have a
dedicated node address. It can then not be addressed from the CAN bus (no
parameter setting, node guarding etc.), but only serves as a diallingin
feature for reading parameters via the CAN bus.
If the communication module should have an address, check, after the baud
rate has been detected, whether this address is still free. Then, the
implemented CANopen object 1000 is tried to be read. If another node
already has this address, another free address is selected automatically.
) Note!
Node addresses in the range of 64 ... 127 can only be assigned if
the code C1200 is set to the value"0" (CANopen conformity).
Changes to the setting are applied after
Reconnection to the mains
"Reset node" or "Reset communication" via the bus system
"Reset node" using the code C0358
C0350:
CAN node address
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
5
5.7
5.7.1
l 5.75 EDSFEW EN 4.0
Code
C0351
Name
CAN baud rate
Index: 0x5EA0 (24224)
Subcode Lenze Values Access Data type
0 0 500 kbit/s rw I32
1 250 kbit/s
2 125 kbit/s
3 50 kbit/s
4 1000 kbps
5 20000 kbps
16 Automatic detection
RSP PS transfer CANopen:
The baud rate over the CAN bus can be set using this code.
Changes to the setting are applied after:
Reconnection to the mains
A "reset node" command via the bus system
A reset node using the code C0358
Prior to accessing the CAN bus, the baud rate used is determined by the
communication module and compared with the baud rate configured.
If the two values are different, the baud rate determined is used. The baud
rate detected by the communication module can be read using code C1209.
If there is no data traffic on the CAN bus, the baud rate cannot be
determined. The subsequent behaviour of the communication module
depends on the selection configured in code C0351:
Selection 0 ... 5
After a timeout that can be configured using code C1215, the CAN bus
is accessed with the baud rate configured.
Selection 16 (automatic detection of the baud rate)
The communication module does not access the bus until a baud rate
can be detected.
Code
C0358
Name
Reset node
Index: 0x5E99 (24217)
Subcode Lenze Values Access Data type
0 0: No function rw I32
1: CAN reset
RSP PS transfer CANopen:
After a reset any changes to communication parameters such as baud rate
or node address are applied.
Entries with new baud rates or changes to the node address only become
valid after a node reset.
A node reset can be performed by:
Reconnection to the mains
Reset node via the bus system
Reset node using code C0358
C0351:
Set baud rate
C0358:
Reset node
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
5
5.7
5.7.1
l 5.76 EDSFEW EN 4.0
Code
C0359
Name
Diagnostics of the bus status
Index: 0x5E98 (24216)
Subcode Lenze Values Access Data type
g
0: Operational ro I32
1: PreOperational
2: Warning
3: BusOff
4: Stopped
RSP PS transfer CANopen:
This code displays the current operating status of the CAN controller. Here
a differentiation is made between 4 states:
Selection 0: Operational
In this state the bus system is fully functional.
Selection 1: PreOperational
In this state only parameters (codes) can be transferred via the bus system.
It is not possible to exchange process data. To change to the "Operational"
state a network management message must be output on the bus.
A state change from "Preoperational" to "Operational" can be made with
the following actions:
A drive is defined as the master using code C0352. When connecting
to the mains an automatic state change for the entire drive system is
performed after the defined bootup time C0356/1.
Using code C0358 reset node (prerequisite: C0352 = 1).
Using the binary reset node input signal that can be set, e. g. using
the code C0364 via a terminal given an appropriate configuration
(prerequisite: C0352 = 1).
A network management message from a CAN master.
Selection 2: Warning
Error messages have been received if the state is "Warning". The CAN node
is now only passive; no more data are sent from the drive controller.
The reason for this situation can be:
A missing bus terminator
Inadequate shielding
Potential differences at the ground connection for the control
electronics
An excessively high bus load
CAN node is not connected to the bus
C0359:
Diagnostics of the bus status
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
5
5.7
5.7.1
l 5.77 EDSFEW EN 4.0
Selection 3: Bus Off
The frequency of the erroneous messages has resulted in the CAN node
decoupling itself from the bus. It is possible to switch to the
"PreOperational" state with:
A trip reset
A reset node
Reconnection to the mains
Selection 4: Stopped
Only NMT telegrams can be received.
The state can be changed to "PreOperational" by:
Reconnection to the mains
Reset node via the bus system
Reset node via the code C0358
Code
C0360
Name
Diagnostics of the telegram counter
Index: 0x5E97 (24215)
Subcode Lenze Values Access Data type
1, 2 (see table below)
g
0 [1] 4294967295 ro I32
RSP PS transfer CANopen:
Subcode Meaning
Messages
l Message counter (number of messages)
l Counter value > 4294967295: Start again at 0
1 Message OUT all sent
2 Message IN all received
All CAN telegrams transmitted and received of this node are counted.
The counters have 32 bits, i. e. when a value of 4294967295 is exceeded, the
counting process starts again at 0.
Code
C0361
Name
Diagnostics of the bus load
Index: 0x5E96 (24214)
Subcode Lenze Values Access Data type
g
0 [1 %] 100 ro I32
RSP PS transfer CANopen:
Using this code the percentage total bus load can be determined. Erroneous
messages are not taken into account here.
) Note!
The bus load for all devices involved should not exceed 80 %.
If other devices, e. g. decentralised inputs and outputs are
connected, these messages are also to be taken into account.
C0360:
Diagnostics of the telegram
counter
C0361:
Diagnostics of the bus load
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
5
5.7
5.7.1
l 5.78 EDSFEW EN 4.0
Code
C1200
Name
Operating mode parameter data channel
Index: 0x5B4F (23375)
Subcode Lenze Values Access Data type
2 0 [1] 2 rw I32
RSP PS transfer CANopen:
This code indicates which of the two parameter data channels is used to
communicate with other nodes. The unused parameter data channels can
be switched off, if required.
All Lenze controllers have two parameter data channels with different
addressing. The address of the parameter channel2 is calculated as follows:
Address of parameter data channel 2 =
Address of parameter data channel 1 + offset 64
Selection Accessible address range Active parameter data channels
0 1...127 SDO 1
1 1 ... 63 SDO1 / SDO2
2 65 ... 127 SDO1 / SDO2
) Note!
The selection 0 means that the bus is operating in compliance
with CANopen and there is no limitation on the address space.
In this case, the parameter data channel SDO2 is inactive.
Code
C1201
Name
Communication timeout (CAN)
Index: 0x5B4E (23374)
Subcode Lenze Values Access Data type
1500 0 [1 ms] 10000 rw I32
RSP PS transfer CANopen:
The time set defines the time frame within which a CAN node must respond
to a request.
If there is no response of the node, the requesting module assumes that the
node is not available.
Code
C1202
Name
Time limit for node search
Index: 0x5B4D (23373)
Subcode Lenze Values Access Data type
1000 0 [1 ms] 10000 rw I32
RSP PS transfer CANopen:
For node search, the time set is regularly maintained. It must be selected
high enough to enable the nodes to have enough time to respond.
Otherwise, a too high value delays the search.
) Note!
If required, the settings in C1202 must be adapted if the delay
time for search telegrams increased with code C1227.
C1200:
Parameter data channel
operating mode
C1201:
Communication timeout
(CAN)
C1202:
Time limit for node search
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
5
5.7
5.7.1
l 5.79 EDSFEW EN 4.0
Code
C1203
Name
Repeat tests
Index: 0x5B4C (23372)
Subcode Lenze Values Access Data type
0 0 [1] 10 rw I32
RSP PS transfer CANopen:
The value to be set in code C1203 indicates the number of repetitions of
those CAN telegrams which have not reached the receiver.
The condition for this functionality is the activation of the device
identification with code C1219 ( 5.711).
This function extension is available from version 1.70 onwards!
The Lenze setting of the repeat tests was changed from 1 to 0 in order to
obtain a corresponding return value from the comunication module if a bus
node is not available ("DEVICE_NOT_PRESENT").
Code
C1209
Name
Read out baud rate
Index: 0x5B46 (23366)
Subcode Lenze Values Access Data type
g
0
1
2
3
4
16
500 kbit/s
250 kbit/s
125 kbit/s
50 kbit/s
1000 kbps
nothing
detected
ro I32
RSP PS transfer CANopen:
Code C1209 can be used to determine which transfer rate was detected on
the CAN bus.
When "16" is indicated, there is no data traffic on the CAN bus.
Code
C1215
Name
Timeout
Index: 0x5B40 (23360)
Subcode Lenze Values Access Data type
1000 0 [1] 60000 rw I32
RSP PS transfer CANopen:
By defining a timeout in code C1215, the baud rate (display with code
C1209) on the CAN bus can be detected.
The baud rate is not checked if the value configured in code C1215 is set to
zero.
When the timeout configured in code C1215 elapses, the CAN bus is
accessed (for further information and limitations: see description of code
C0351).
C1203:
Repeat tests
C1209:
Read out baud rate
C1215:
Timeout (automatic baud
rate detection)
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
5
5.7
5.7.1
l 5.710 EDSFEW EN 4.0
Code
C1216
Name
Userspecific device name
Index: 0x5B3F (23359)
Subcode Lenze Values Access Data type
<leer> see description rw VS
RSP PS transfer CANopen:
The device name can be defined with maximally 25 characters by the user.
When the name is created or changed, the following characters are possible
(deviating characters will be replaced by a dot):
Letters: A ... Z or a ... z
Numbers: 0 ... 9
Special characters: Dot and hyphen
The Gertename is stored safe against mains failure in the communication
module.
) Note!
The automatic transfer of the device name to a DNS server does
not take place.
When the Lenze setting is loaded (C0002), the device name is not
reset or changed.
I Tip!
This code can also be configured via the gateway configuration
website of this communication module.
Code
C1217
Name
Cycle time of CAN device monitoring
Index: 0x5B3E (23358)
Subcode Lenze Values Access Data type
5000 1000 [ms] 30000 rw U32
RSP PS transfer CANopen:
This code serves to the set the cycle time for the CAN device monitoring
(C1220).
I Tip!
This code can also be configured via the gateway configuration
website of the 2180 communication module (EthernetCAN).
C1216:
Userspecific device name
C1217:
Cycle time of CAN device
monitoring
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
5
5.7
5.7.1
l 5.711 EDSFEW EN 4.0
Code
C1219
Name
Activation of CAN device monitoring
Index: 0x5B3C (23356)
Subcode Lenze Values Access Data type
1 0: not activated
1: activated
rw U32
RSP PS transfer CANopen:
This code serves to activate the device monitoring.
The activated device monitoring enables the detection of bus nodes with
disturbed bus communication.
I Tip!
This code can also be configured via the gateway configuration
website of the 2180 communication module (EthernetCAN).
C1219: Activation of CAN
device monitoring
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
5
5.7
5.7.1
l 5.712 EDSFEW EN 4.0
Code
C1220
Name
CAN device monitoring
Index: 0x5B3B (23355)
Subcode Lenze Values Access Data type
0 0 0 [1] 60000 rw U8
1 ... 4 (see table ) 0 0 [1] 60000 rw U8
RSP PS transfer CANopen:
This code serves to
activate the CAN device monitoring.
detect the CAN communication disturbed for each bus node and record
it in a bit mask when the CAN device monitoring is activated.
Activation of the CAN device monitoring
Subcode Meaning
0 Activation of the CAN device monitoring
l 0: not activated
l 1: activated
Recording disturbed bus nodes
For this purpose, the code contains a bit mask in its subcodes 1 ... 4 in which
every bus node (maximum number: 127) with disturbed bus
communication or when being missing is recorded by the value "1".
#The status bit immediately changes to the "0" status when the
communication of the bus node has been reestablished.#
Subcode Node mask
MSB LSB
1 31 ... ... 0
2 63 ... ... 32
3 95 ... ... 64
4 127 ... ... 96
I Tip!
For test purposes, the bit mask can be described by the user.
The values written in C1220 are accepted at the end of the
cycle time of the CAN device monitoring (C1217).
In the Engineer, we recommend to switch over to
hexadecimal view.
C1220: CAN device
monitoring
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
5
5.7
5.7.1
l 5.713 EDSFEW EN 4.0
Code
C1227
Name
Delay time for search telegrams
Index: 0x5B34 (23348)
Subcode Lenze Values Access Data type
0 0 [1 ms] 100 rw I32
RSP PS transfer CANopen:
Selection Meaning
0 Quickest possible search
1 ... 10 Delay time 1 ms
11 ... 19 Delay time 10 ms
20 ... 29 Delay time 20 ms
... ...
... ...
90...100 Delay time 90 ms
Searching the CAN bus during the start of a PC program can lead to faults if
a bus is heavily loaded. In order to prevent this, a delay time between the
transmission telegrams can be set. This, however, leads to an increase of the
total search time. If required, C1202 must be adapted accordingly.
Code
C1228
Name
Activation DHCP
Index: 0x5B33 (23347)
Subcode Lenze Values Access Data type
0 0: not activated
1: activated
rw U32
RSP PS transfer CANopen:
This code enables the access to the CAN bus system via DHCP.
The settings of this codes will be valid
after switching the mains of the communication module or
after resetting the communication module,
see C1229 ( 5.714), value "2" or "3".
The parameter setting of this code is stored immediately safe against mains
failure in the communication module.
C1227:
Delay time for search
telegrams
C1228: Activation of DHCP
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
5
5.7
5.7.1
l 5.714 EDSFEW EN 4.0
Code
C1229
Name
Activation of IP settings, device reset
Index: 0x5B32 (23346)
Subcode Lenze Values Access Data type
0 0 [1] 4 rw U32
RSP PS transfer CANopen:
The code
stores the IP adress, the network mask and the gateway address safe
against mains failure.
executes a device reset.
enables the combination of the two actions mentioned first.
Values Meaning INFO
0 No function
1 Save IP settings The IP address, the network mask and the gateway
address are stored safe against mains failure in the
communication module.
2 Device reset Reset of the communication module
3 Saving IP settings and device
reset
First the IP adress, the network mask and the
gateway address are stored.
The a device reset is executed.
I Tip!
The separate storage safe against mains failure of the IP settings
can be achieved by writing subcode 4 of the following codes:
IP address: C1210 ( 5.720)
Network mask: C1211 ( 5.721)
Gateway address: C1224 ( 5.722)
Code
C1230
Name
IP address
Index: 0x5B31 (23345)
Subcode Lenze Values Access Data type
g
0 [1] 60000 ro U32
RSP PS transfer CANopen:
This code shows the currently active IP address.
I Tip!
An IP address changed with code C1210 ( 5.720) will only be
active after mains switching. Up to then, the active IP address
differs from the configured IP address.
C1229: Activation of IP
settings, device reset
C1230: IP address
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
5
5.7
5.7.1
l 5.715 EDSFEW EN 4.0
Code
C1231
Name
Subnet mask
Index: 0x5B30 (23344)
Subcode Lenze Values Access Data type
g
0 [1] 60000 ro U32
RSP PS transfer CANopen:
This code shows the currently active network mask.
I Tip!
A network mask changed with code C1211 ( 5.721) will only
be active after mains switching. Up to then, the active network
mask differs from the configured network mask.
Code
C1232
Name
Default gateway
Index: 0x5B2F (23343)
Subcode Lenze Values Access Data type
g
0 [1] 60000 ro U32
RSP PS transfer CANopen:
This code shows the currently active gateway address.
I Tip!
A gateway address changed with code C1224 ( 5.722) will
only be active after mains switching. Up to then, the active
gateway address differs from the configured gateway address.
C1231:
Subnet mask
C1232:
Default gateway
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the CANopen objects implemented
5
5.7
5.7.2
l 5.716 EDSFEW EN 4.0
5.7.2 Description of the CANopen objects implemented
I1000: Device type
Index
1000hex
Name
Device type
Subindex Default
setting
Values Access Data type
0 0 ... 2
32
1 ro U32
The CANopen object I1000 indicates the device profile for this device. It is
also possible to include additional information here that is defined in the
device profile itself. If a specific device profile is not used, the content is
"0x0000".
Data telegram assignment
Byte 8 Byte 7 Byte 6 Byte 5
U32
Device profile number Additional information
Reading the error register
Index [
hex
] Subindex Name Data type Value range Rights
I1001 0 Error register U8 0...255 ro
Error status for the following bit assignment in the data byte (U8):
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Error status
0 0 0 0 0 0 0 0 No error
0 0 0 0 0 0 0 1 Error in the
communication module
0 0 0 1 0 0 0 1 Communication error
Index [
hex
] Subindex Name Data type Value range Rights
I1017 Producer heartbeat
time
U32 U 16 rw
The heartbeat message is sent cyclically by the heartbeat generator
(producer) to one or more recipients (consumers).
After configuring the heartbeat producer time, the heartbeat protocol starts
at the transition from the NMT state INITIALISATION to the NMT state
PREOPERATIONAL (if predefined value > 0).
) Note!
Unlike "node / life guarding" monitoring, the heartbeat protocol
does not contain a Remote Transmit Request" (RTR).
It is therefore not necessary for the recipient to answer after a
heartbeat.
I1001
hex
:
Error register
I1017
hex
:
Producer heartbeat time
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the CANopen objects implemented
5
5.7
5.7.2
l 5.717 EDSFEW EN 4.0
I1018: Module device description
Entry of vendor ID
Index [
hex
] Subindex Name Data type Value range Authorisati
on
I1018 0 ... 4 Module device
description
Identity Modulespecific ro
Subindices
Subindex Meaning
0 Highest subindex
1 Vendor ID = ID assigned to Lenze by the organisation "CIA"
2 Product code
3 Revision number
4 Serial number
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the general codes
5
5.7
5.7.3
l 5.718 EDSFEW EN 4.0
5.7.3 Description of the general codes
Code
C00002
Name
Device commands
Index: 0x5FFD (24573)
Subcode Lenze Values Access Data type
0 0, 1 rw I32
RSP PS transfer PLCSTOP CANopen:
C0002 shows the status of the device command executed last. C00150 can
be used to enquire the current status of the device control.
Values
(extract)
Designation Info
0 Load Def. Load Lenze setting
l Only possible with controller inhibit and
stopped user program.
1 Load PS Load parameter set
The parameter set stored in the memory
module is loaded
l Only possible with controller inhibit and
stopped user program.
Code
C0093
Name
Type
Index: 0x5FA2 (24482)
Subcode Lenze Values Access Data type
g
ro FIX32
RSP PS transfer CANopen:
The display for communication module 2180 is "21800000".
Code
C0099
Name
Software version
Index: 0x5F9C (24476)
Subcode Lenze Values Access Data type
g
x.y
(x: major version, y: index)
ro FIX32
RSP PS transfer CANopen:
Code
C0150
Name
CAN node address
Index: 0x5F69 (24425)
Subcode Lenze Values Access Data type
g
ro B16
RSP PS transfer CANopen:
The binary interpretation of the displayed decimal value reflects the bit
statuses of the status word:
Bit 0: Ready for operation
Bit 1: Dialup connection is available
Bit 2: Internal error
C0002 (extract):
Device commands
C0093:
Device type
C0099:
Software version
C0150:
Status word
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the general codes
5
5.7
5.7.3
l 5.719 EDSFEW EN 4.0
Code
C0200
Name
Software manufacturers product code
Index: 0x5F37 (24375)
Subcode Lenze Values Access Data type
g
ro VS
RSP PS transfer CANopen:
During initialisation of the module it is determined which device is
connected as a user based on the manufacturers product code.
Value displayed for the communication module 2180:
"33S2180F_10000".
Code
C0202
Name
EKZn
Index: 0x5F35 (24373)
Subcode Lenze Values Access Data type
1 ... 4
g
ro FIX32
RSP PS transfer CANopen:
The corresponding octet of the manufacturers product code (MPC) is
displayed dependent upon the subcode digit (n=1...4).
C0200:
Software ID
C0202:
EKZn
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the codes important for Ethernet
5
5.7
5.7.4
l 5.720 EDSFEW EN 4.0
5.7.4 Description of the codes important for Ethernet
Code
C1210
Name
IP address
Index: 0x5B45 (23365)
Subcode Lenze Values Access Data type
0 0 [1] 255 rw FIX32
RSP PS transfer CANopen:
The IP address is the identification number of a node (or a device) in the
network. Every network node receives a unique address in the network.
Compared to the MACID, the IP address is a logic address that can be
changed via software.
) Note!
The IP adress 0.0.0.0 is set as standard.
When the device is started, a free device address is searched in
the 169.254.xxx.xxx subnet according to the APIPA system.
The IP addresses always consist of 4 octets (4 x 2
8
). To make the octets more
readable, they are divided by periods (e.g. 128.133.10.123).
The first octet determines the network class. The network class specifies the
number of available hosts in a network.
Each octet is mapped on a subcode.
Class IP address classes Maximum number of hosts
a 01.x.x.x 126.x.x.x 16.777.214
B 128.x.x.x 191.x.x.x 65.534
C 192.x.x.x 223.x.x.x 254
"x": complete octet
This function extension is available from version 1.70 onwards!
After the codes C1210 and/or C1211 have been changed, the combination
of IP address and subnet mask is checked for validity.
Wenn eine Ungltigkeit vorliegen sollte, wird das Gateway auf die
IPAdresse 0.0.0.0 gesetzt und DHCP auf das dynamische Zuweisen der
IPAdresse gestellt.
C1210:
IP address
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the codes important for Ethernet
5
5.7
5.7.4
l 5.721 EDSFEW EN 4.0
Code
C1211
Name
Subnet mask
Index: 0x5B4D (23373)
Subcode Lenze Values Access Data type
1 ... 4 0 0 [1] 255 rw FIX32
RSP PS transfer CANopen:
The IP address, see C1210 ( 5.720), is superimposed by the subnet mask.
The subnet mask serves to identify which part of the IP address is marked by
the network and which part represents the device in the network.
All bits of the network part of the subnetwork mask are set to the value "1
" and all bits of the device part are set to the value "0".
A logic AND operation of both binary codes provides information on
the network ID
In areas with the value "0", devices (values from "1" to "254") can be
entered. The values "0" and "255" must not be used.
the corresponding network
the computer ID
The TCP/IP protocol is used to determine the path of the message:
Same network: communication via broadcast
Other network: communication via router
The standard subnet masks are divided into 3 classes:
Class Subnet mask
a 255.0.0.0
B 255.255.0.0
C 255.255.255.0
) Note!
The data are only accepted after the subcode 4 has been written.
This function extension is available from version 1.70 onwards!
After the codes C1210 and/or C1211 have been changed, the combination
of IP address and network mask is checked for validity.
Wenn eine Ungltigkeit vorliegen sollte, wird das Gateway auf die
IPAdresse 0.0.0.0 gesetzt und DHCP auf das dynamische Zuweisen der
IPAdresse gestellt.
C1211:
Subnet mask
2180 communication module (EthernetCAN)
Lenze codes and CANopen objects
Description of the codes important for Ethernet
5
5.7
5.7.4
l 5.722 EDSFEW EN 4.0
Code
C1214
Name
MACID
Index: 0x5B41 (23361)
Subcode Lenze Values Access Data type
g
ro VS
RSP PS transfer CANopen:
Each module has a 48bit identification, the socalled MACID (Media Access
Control). The MACID is stored nonvolatilely in the memory of the module.
On principle, the identification of the module is assigned by the IEEE
(Institute of Electrical and Electronic Engineers). The IEEE assigns each
manufacturer a socalled OUI (Organisationally Unique Identifier). The OUI
represents the first 24 bits of the card address. The remaining bits of the
address are assigned by the manufacturer for each card. The numbering of
each card must be unique.
Code
C1202
Name
Gateway
Index: 0x5B37 (23351)
Subcode Lenze Values Access Data type
1 ... 4 0 0 [1] 255 rw FIX32
RSP PS transfer CANopen:
If the communication module is in another subnetwork than the PC, the IP
address of the corresponding router must be entered into this code.
) Note!
The data are only accepted after the subcode 4 has been written.
C1214:
MACID
C1224:
Gateway
2180 communication module (EthernetCAN)
Troubleshooting
Signalling of the CANopen RUN LED and ERROR LED
5
5.8
5.8.1
l 5.81 EDSFEW EN 4.0
5.8 Troubleshooting
Possible cause of error Diagnostics Remedy
The device is not switched on Power LED is not lit Check external voltage supply
CAN bus error ERR LED is lit or blinking Check CAN wiring
Ethernet wiring error LINK LED is not lit Check Ethernet wiring
5.8.1 Signalling of the CANopen RUN LED and ERROR LED
The CANopen ERROR LED displays the status of the physical CAN level and
shows errors on the basis of missing CAN messages (SYNC, GUARD or
HEARTBEAT). It is lit red.
No. ERROR LED STATUS Description
1 OFF No error The device is ready for operation.
2 Single
lighting up
Warning limit is
reached
At least one of the error counters of the CAN
controller has reached or exceeded the warning
level (too many error frames).
3 Flicker AutoBaud/LSS The automatic baud rate detection or LSS services
are running. (ERROR LED and RUN LED flicker
alternately).
4 Double
lighting up
Error control
event
A guard event (NMT slave or NMT master) or
heartbeat event (heartbeat consumer) has
occurred.
5 Triple lighting
up
Sync error The sync message has not been received within
the time configured for the time monitoring of
the communication cycle..
6 On Bus Off The CAN controller is in the busoff state.
The CANopen RUN LED displays the CANopenNMT status. It is lit up green.
No. CAN RUN LED STATUS Description
1 Flicker AutoBaud/LSS The automatic baud rate detection or LSS services
are running. (ERROR LED and RUN LED flicker
alternately). Optional
2 Single
lighting up
STOPPED The device in the STOPPED state.
3 Blinking PREOPERATION
AL
The device is in the PREOPERATIONAL state.
4 On OPERATIONAL The device is in the OPERATIONAL state.
CANopen ERROR LED
CANopen RUN LED
2180 communication module (EthernetCAN)
Troubleshooting
Signalling of the CANopen RUN LED and ERROR LED
5
5.8
5.8.1
l 5.82 EDSFEW EN 4.0
The following message states are distinguished:
Signalling Meaning
LED is lit On
LED is not lit OFF
LED flickers Isophase on and off with approx. 10 Hz: on for approx. 50 ms and off
for approx. 50 ms.
LED is blinking Isophase on and off with approx. 2.5 Hz: on for approx. 200 ms,
followed by off for approx. 200 ms.
Single lighting up of the
LED
A short lighting up (approx. 200 ms) followed by a long off phase
(approx. 1000 ms).
Double lighting up of
the LED
LED shortly lights up twice in one sequence (approx. 200 ms),
interrupted by an off phase (approx. 200 ms). The sequence is
completed by a long off phase (approx. 1000 ms).
Triple lighting up of the
LED
LED shortly lights up thrice in one sequence (approx. 200 ms),
interrupted by an off phase (approx. 200 ms). The sequence is
completed by a long off phase (approx. 1000 ms).
5.8.1.1 Operating mode diagnostic interface
) Note!
In this operating mode, the CANopen ERR LED is lit if no device is
connected.
Message states and lighting
rates
2180 communication module (EthernetCAN)
Index
5
5.9
l 5.93 EDSFEW EN 4.0
5.9 Index
A
Application range, 5.21
B
Bus cable length, 5.46
C
C0002: Device commands, 5.718
C0093: Device type, 5.718
C0099: Software version, 5.718
C0150: Status word, 5.718
C0200: Software ID, 5.719
C0202: EKZn, 5.719
C0350: CAN node address, 5.74
C0351: CAN baud rate, 5.75
C0351: Set baud rate, 5.75
C0358: Reset node, 5.75
C0359: Diagnostics of the bus status, 5.76
C0360: Diagnostics of the telegram counter, 5.77
C0361: Diagnostics bus load, 5.77
C1200: Parameter data channel operating mode, 5.78
C1201: Communication timeout (CAN), 5.78
C1202: Time limit for node search, 5.78
C1203: Repeat tests, 5.79
C1209:Read out baud rate, 5.79
C1210: IP address, 5.720
C1211: Subnet mask, 5.721
C1214: MACID, 5.722
C1215: Automatic baud rate detection, 5.79
C1216: Userspecific device name, 5.710
C1217: Cycle time of CAN device monitoring, 5.710
C1219: Activation of CAN device monitoring, 5.711
C1220: CAN device monitoring, 5.712
C1224: Gateway, 5.722
C1227: Delay time for search telegrams, 5.713
C1228: Activation of DHCP, 5.713
C1229: Activation of IP settings, device reset, 5.714
C1230: IP address, 5.714
C1231: Subnet mask, 5.715
C1232: Default gateway, 5.715
Cable crosssection, 5.46
Cable length, 5.46
Cable specification, 5.45, 5.47
CANopen objects, 5.71
CANopen objects implemented, 5.73
CANopen parameter channels, 5.62
Code numbers, Access via the communication module,
5.62
Code numbers / index, Conversion, 5.62
Commissioning, 5.51
before you start, 5.11
Commissioning with the system bus configurator, 5.51
Commissioning with the web server, 5.56
Connections, 5.41
D
Data transfer, 5.61
Data transfer via Ethernet, 5.63
Description of the CANopen objects implemented, 5.716
Description of the codes important for the Ethernet
interface, 5.720
Description of the codes relevant for CAN, 5.74
Description of the general codes, 5.718
Device type (I1000), 5.716
Dimensions, 5.33
E
Electrical installation, 5.43
Elements of the communication module, 5.41
Error register, 5.716
Examples, Indexing of Lenze codes, 5.62
F
First switchon, 5.515
G
General data, 5.31
H
Hardware version, type code, 5.21
2180 communication module (EthernetCAN)
Index
5
5.9
l 5.94 EDSFEW EN 4.0
I
I1000: Device type, 5.716
I1001, Error register, 5.716
I1017, Producer heartbeat time, 5.716
I1018: Module device description, 5.717
Identification, 5.21
Index, Conversion, 5.62
Indexing of Lenze codes, 5.62
Installation, 5.41
electrical, 5.43
mechanical, 5.42
Installation of required drivers, 5.52
L
Lenze Codes, C1227, 5.713
Lenze codes, 5.71
C00002, 5.718
C0093, 5.718
C0099, 5.718
C0150, 5.718
C0200, 5.719
C0350, 5.74
C0351, 5.75
C0358, 5.75
C0359, 5.76
C0360, 5.77
C0361, 5.77
C1200, 5.78
C1201, 5.78
C1202, 5.78
C1203, 5.79
C1209, 5.79
C1210, 5.720
C1211, 5.721
C1214, 5.722
C1215, 5.79
C1216, 5.710
C1217, 5.710
C1219, 5.711
C1220, 5.712
C1224, 5.722
C1228, 5.713
C1229, 5.714
C1230, 5.714
C1231, 5.715
C1232, 5.715
LenzeCodestellen, C0202, 5.719
M
Mechanical installation, 5.42
Module device description (I1018), 5.717
O
Operating conditions, 5.31
P
Pluggable terminal strip, Use, spring connection, 5.44
Pluggable terminal strips, handling, 5.44
Producer heartbeat time, 5.716
Protective insulation, 5.32
S
Segment cable length, 5.46
Signalling, 5.515
Signalling acc. to DR3033, 5.517
Software version, type code, 5.21
Specification of the transmission cable, 5.45, 5.47
System bus configurator, 5.52
System requirements, 5.51
T
Technical data, 5.31
Terminal data, 5.44
Total cable length, 5.46
Transmission cable, specification, 5.45, 5.47
Troubleshooting, 5.81
Type code, 5.21
V
Validity of the documentation, 5.21
Voltage supply, 5.44
EDSFEW
.%g%
.
%
g
%
Communication Manual
Remote maintenance
!
!
!
!
Communication Manual
ModemCAN
EMF2181IB
Communication module
2181 communication module (ModemCAN)
Contents
6
6-1 EDSFEW EN 04/2005
6 Communication module 2181 ModemCAN
Contents
6.1 Before you start 6.1-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.1.1 Your opinion is important to us 6.1-1 . . . . . . . . . . . . . . . . . . . . . . . . .
6.1.2 What is new / what has changed in these Instructions? 6.1-1 . . . .
6.2 General information 6.2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.3 Technical data 6.3-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.3.1 General data and operating conditions 6.3-1 . . . . . . . . . . . . . . . . . .
6.3.2 Climatic conditions 6.3-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.3.3 Rated data 6.3-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.3.4 Dimensions 6.3-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.4 Installation 6.4-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.4.1 Elements of the communication module 6.4-1 . . . . . . . . . . . . . . . . .
6.4.2 Mechanical installation 6.4-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.4.3 Electrical installation 6.4-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.5 Commissioning 6.5-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.5.1 Before switching on 6.5-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.5.2 Commissioning with the system bus configurator 6.5-2 . . . . . . . . .
6.5.3 First switch-on 6.5-6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.6 Data transfer 6.6-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.6.1 Data transfer via CAN 6.6-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.6.2 Data transfer via the diagnostics interface 6.6-3 . . . . . . . . . . . . . . . .
6.6.3 Data transfer via modem 6.6-4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.7 Lenze codes and CANopen objects 6.7-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.7.1 Description of the codes relevant for CAN 6.7-3 . . . . . . . . . . . . . . . .
6.7.2 Description of the CANopen objects implemented 6.7-11 . . . . . . . . .
6.7.3 Description of the general codes 6.7-13 . . . . . . . . . . . . . . . . . . . . . . . .
6.7.4 Description of the codes relevant for the modem 6.7-14 . . . . . . . . . .
6.8 Troubleshooting 6.8-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.8.1 Signalling of the CANopen RUN LED and ERROR LED 6.8-1 . . . . . . . .
6.9 Appendix 6.9-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.9.1 Modem standards 6.9-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.9.2 Country list 6.9-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.9.3 AT commands 6.9-4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.10 Index 6.10-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2181 communication module (ModemCAN)
Before you start
Your opinion is important to us
6
6.1
6.1.1
6.1-1 EDSFEW EN 04/2005
6.1 Before you start
Tip!
Current documentation and software updates for Lenze products
can be found on the Internet in the Downloads area under
http://www.Lenze.com
6.1.1 Your opinion is important to us
These Instructions were created to the best of our knowledge and belief to
give you the best possible support for handling our product.
If you have suggestions for improvement, please e-mail us to:
feedback-docu@Lenze.de
Thank you for your support.
Your Lenze documentation team
6.1.2 What is new/ what has changed in these Instructions?
Edition date Revised chapters Notes
04 / 2005 - First edition
2181 communication module (ModemCAN)
General information
6
6.2
6.2-1 EDSFEW EN 04/2005
6.2 General information
These Instructions are valid for
2181 communication modules (ModemCAN) as of version 1x. 1x.
These Instructions are only valid together with the Operating Instructions
for the basic devices permitted for the application.
92181FEW099
Type code 33.2181IB Vx 1x
Series
Hardware version
Software version
The communication module can be used with the following Lenze devices:
L-force I 9400
9300 servo inverter
9300 Servo PLC
ECS servo system
8200 motec motor inverter
8200 vector frequency inverter
Drive PLC
82XX frequency inverter
starttec motor starter
Terminal extension 9374
Control / display unit (EPM-HXXX)
Digital input/output module (EPM-TXXX)
The internal modem supports a series of international specifications and
standards.
If the internal modem cannot be used, it is possible to connect an external
modem using the RS232 interface.
The communication module is used for setting parameters during remote
maintenance or programming and commissioning the usable Lenze
devices.
Validity
Identification
Application range
Features
2181 communication module (ModemCAN)
Technical data
General data and operating conditions
6
6.3
6.3.1
6.3-1 EDSFEW EN 04/2005
6.3 Technical data
6.3.1 General data and operating conditions
Range Values
Order designation EMF2181IB
Communication media
(system)
CAN(DINISO11898)
Lenze diagnostic interface
Communication media
(external)
Telephone, analogue, 33.6 kbits/s, (V34)
Number of nodes at the CAN
bus
Max. 100
Baud rate For communication via the CANbus
20 kbits/s
50 kbits/s
125 kbits/s
250 kbits/s
500 kbits/s
1000 kbits/s
For communication via diagnostic interface
230.4 kbit/s
Voltage supply (external) via
separate power supply
18 - 30 V DC, max. 100 mA (in accordance with EN61131-2)
6.3.2 Climatic conditions
Reference Values
Type of protection IP20
Ambient temperature during operation: 0C ... +60 C p
during transport: - 10C ... +70 C
during storage - 10C ... +60 C
Climatic conditions Class 3K3 to EN50178 (without condensation, average relative
humidity 85 %)
Pollution degree EN50178, pollution degree 2
2181 communication module (ModemCAN)
Technical data
Rated data
6
6.3
6.3.3
6.3-2 EDSFEW EN 04/2005
6.3.3 Rated data
2181FEW001F
Connection Type of insulation (to EN 61800-5-1)
1 Telephone Functional insulation
Diagnostic interface Functional insulation
CANbus Functional insulation
Voltage supply No insulation
1 External modem No insulation
2181 communication module (ModemCAN)
Technical data
Dimensions
6
6.3
6.3.4
6.3-3 EDSFEW EN 04/2005
6.3.4 Dimensions
2181FEW001B
a 117 mm
b 103 mm
b1 99 mm
e 22.5 mm
2181 communication module (ModemCAN)
Installation
Elements of the communication module
6
6.4
6.4.1
6.4-1 EDSFEW EN 04/2005
6.4 Installation
6.4.1 Elements of the communication module
2181FEW001D
Fig. 6.4-1 Communication module ModemCAN2181
Pos. Name Description
1 Telephone connection Socket (RJ11)
Connection at diagnostic interface
of the 9400 drive controller
(in preparation)
Socket (RJ69)
CANconnection Socket (RS232, male)
Connection for voltage supply Terminal strip with spring connection, 4-pole
1 External modemconnection Socket (RS232, male)
PE connection The plugged communication module is
automatically connected to the DINrail.
The DINrail must be connected with PE!
Pos. Colour State Description
A
( )
YELLOW On The ModemCANis ready
(M)
Blinking Active communication over the telephone,
the ModemCANhas answered.
(E)
RED See L 6.5-7 ERR LED
(R)
GREEN RUNLED or diagnostic interface active
(P)
GREEN On The ModemCANis supplied with voltage.
@ Note!
Refer to the instructions on the signals provided by the ERROR
LED and RUN LED in the Troubleshooting chapter (L 6.8-1).
Connections
Displays
2181 communication module (ModemCAN)
Installation
Mechanical installation
6
6.4
6.4.2
6.4-2 EDSFEW EN 04/2005
6.4.2 Mechanical installation
2181FEW002B
Fig. 6.4-2 Snap communication module to DINrail
2181FEW001E
Fig. 6.4-3 Unlock communication module and lift off DINrail .
Mounting
Dismounting
2181 communication module (ModemCAN)
Installation
Electrical installation
6
6.4
6.4.3
6.4-3 EDSFEW EN 04/2005
6.4.3 Electrical installation
6.4.3.1 Communication via CAN
2181FEW008
Fig. 6.4-4 Communication via the CANbus
Step Activity Connection
(see graphic)
Additional
information
1. Connect voltage supply to the plug connector L 6.4-5
2. Insert SUB-D plug (EWZ0046, see Accessories) in
ModemCAN
L 6.4-6
3. If it is not possible to use the internal modem:
Connect external modem
1 L 6.4-8
4. Connect drive controller to CANbus 1 -
5. Connect ModemCAN2181 to telephone network 1 L 6.4-9
Installation steps
2181 communication module (ModemCAN)
Installation
Electrical installation
6
6.4
6.4.3
6.4-4 EDSFEW EN 04/2005
6.4.3.2 Communication via the diagnostics interface (9400)
2181FEW007
Fig. 6.4-5 Communication via the diagnostic interface (only 9400)
Step Activity Connection
(see graphic)
Additional
information
1. Connect voltage supply to the plug connector L 6.4-5
2. Connect diagnostic interface to drive controller 9400
(use prefabricated cable)
L 6.4-10
3. If it is not possible to use the internal modem:
Connect external modem
1 L 6.4-8
4. Connect drive controller to CANbus 1 -
5. Connect ModemCAN2181 to telephone network 1 L 6.4-9
Communicating via the diagnostic interface is especially recommended if
the 2181 communication module is only connected temporarily.
In case of a fixed installation the communication via CAN should be
preferred, see (L 6.4-3).
Installation steps
2181 communication module (ModemCAN)
Installation
Electrical installation
6
6.4
6.4.3
6.4-5 EDSFEW EN 04/2005
6.4.3.3 Voltage supply
2181FEW001G
Terminal data
Electrical connection Plug connector with spring connection
Possible connections rigid: 2.5 mm
2
(AWG 12)
flexible:
without wire end ferrule
2.5 mm
2
(AWG 12)
with wire end ferrule, without plastic sleeve
2.5 mm
2
(AWG 12)
with wire end ferrule, with plastic sleeve
2.5 mm
2
(AWG 12)
Bare end 10 mm
_ Stop!
In order to avoid damages to the pluggable terminal strips and
the contacts:
The terminal strips must be wired before plugging them in!
Pluggable terminals strips that are not assigned must be
plugged on as well.
E82ZAFX013
Terminal data
Handling of pluggable
terminal strips
Use of pluggable terminal
strip with spring connection
2181 communication module (ModemCAN)
Installation
Electrical installation
6
6.4
6.4.3
6.4-6 EDSFEW EN 04/2005
6.4.3.4 CAN bus connection
2181FEW001K
1 6
5
9
Pin Plug assignment
1 6
5
9
1, 4, 5, 6, 8, 9 Not assigned
1 6
5
9
2 CAN-LO
1 6
5
9
3 CAN-GND
1 6
5
9
7 CAN-HI
TheCANbusmustbeterminatedbyresistors(120 )betweenCAN-LOWand
CAN-HIGH). The Sub-Dplug with integrated terminating resistor (order no.
EWZ0046, not included in the scope of supply) corresponds to the
recommendation DS 102-1 of CiA.
L
EW
Z0046
OFF
ON
O
F
F
O
N
ON
OFF
OUT IN IN IN
On Off On 120 120 120
L
EWZ0046
L
EWZ0046
L
EWZ0046
2181FEW004
Please observe our recommendations for signal cables:
Specification for the transmission cable
Total length 300 m 1000 m
Cable type LIYCY 2 x 2 x 0.5 mm
2
(twisted in pairs with shield)
CYPIMF 2 x 2 x 0.5 mm
2
(twisted in pairs with shield)
Cable resistance 80 /km 80 /km
Capacitance per unit
length
130 nF/km 60 nF/km
Assignment of the Sub-D plug
Specification of the
transmission cable
2181 communication module (ModemCAN)
Installation
Electrical installation
6
6.4
6.4.3
6.4-7 EDSFEW EN 04/2005
It is imperative that you comply with the permissible cable lengths.
1. Check for compliance with the overall cable length in Tab. 6.4-1.
The total cable length is specified by the baud rate.
Baud rate [kbit/s] Max. bus length [m]
20 3600
50 1400
125 550
250 250
500 110
1000 20
Tab. 6.4-1 Total cable length
2. Check for compliance with the segment cable length in Tab. 6.4-2.
The segment cable length is defined by the applied cable cross-section and
the number of participants. Without any repeaters, the segment cable
length corresponds to the total cable length.
Cable cross-section
Participant 0.25 mm
2
0.5 mm
2
0.75 mm
2
1.0 mm
2
2 240 m 430 m 650 m 940 m
5 230 m 420 m 640 m 920 m
10 230 m 410 m 620 m 900 m
20 210 m 390 m 580 m 850 m
32 200 m 360 m 550 m 800 m
63 170 m 310 m 470 m 690 m
100 150 m 270 m 410 m 600 m
Tab. 6.4-2 Segment cable length
3. Please compare both detected values.
If the value given in Tab. 6.4-2 is smaller than the total cable length givenin
Tab. 6.4-1, repeatersmust beapplied. Repeatersdividethetotal cablelength
into segments.
@ Note!
You will find more information on the structure of a CAN
network in the CAN communication manual.
Bus cable length
2181 communication module (ModemCAN)
Installation
Electrical installation
6
6.4
6.4.3
6.4-8 EDSFEW EN 04/2005
6.4.3.5 External modem connection
1 6
5
9
Name
1 6
5
9
Pin V.24 RS232 Signal Signal name Direction
1 6
5
9
1 109 CF DCD Data Carrier Detector Output
1 6
5
9
2 104 BB RD Received Data Output
1 6
5
9
3 103 BA TD Transmitted Data Input
1 6
5
9
4 108/2 CD DTR Data Terminal Ready Input
1 6
5
9
5 102 AB SG Signal Ground -
1 6
5
9
6 107 CC DSR Data Set Ready Output
1 6
5
9
7 105 CA RTS Request To Send Input
1 6
5
9
8 106 CB CTS Clear To Send Output
1 6
5
9
9 125 CE - Ring Indicator Output
Assignment for the RS232
interface
2181 communication module (ModemCAN)
Installation
Electrical installation
6
6.4
6.4.3
6.4-9 EDSFEW EN 04/2005
6.4.3.6 Telephone connection
2181FEW003C
Pin Name
2 Not assigned
3 TIP
4 RING
5 Not assigned
Assignment of telephone
2181 communication module (ModemCAN)
Installation
Electrical installation
6
6.4
6.4.3
6.4-10 EDSFEW EN 04/2005
6.4.3.7 Diagnostics interface
@ Note!
Please use only prefabricated cable.
Pin Name Signal
1 +UB18_DIAG Supply (keypad, PC coupler)
2 RTS+
Handshake basic device diagnostic device
3 RTS-
Handshake, basic device - diagnostic device
4 Tx+
Data basic device diagnostic device
5 Tx-
Data, basic device - diagnostic device
6 Rx+
Data diagnostic device basic device
7 Rx-
Data, diagnostic device - basic device
8 CTS+
Handshake diagnostic device basic device
9 CTS-
Handshake, diagnostic device - basic device
10 GND Supply (keypad, PC coupler)
Housing Shielding Shielding (connected to metal housing)
Assignment of the diagnostic
connector
2181 communication module (ModemCAN)
Commissioning
Before switching on
6
6.5
6.5.1
6.5-1 EDSFEW EN 04/2005
6.5 Commissioning
6.5.1 Before switching on
_ Stop!
Prior to switching on the mains voltage, check the wiring for
completeness, short-circuit and earth fault.
The device is equipped with the following functions:
Automatic address assignment
Automatic detection of the baud rate
Both functions are used to prevent malfunctions in operation due to
incorrectly set user addresses and baud rate.
@ Note!
In default setting these functions are not activated.
Please refer to the related instructions on the codes
C0350: General address assignment (L 6.7-3)
C0351: Set baud rate (L 6.7-4)
Before the 2181 communication module is connected with the telephone
network, the country-specific code must be configured, if required.
@ Note!
The description of code C1208 must be observed (L 6.7-16).
Automatic address
assignment and automatic
detection of the baud rate
Configuration of
country-specific code
2181 communication module (ModemCAN)
Commissioning
Commissioning with the system bus configurator
6
6.5
6.5.2
6.5-2 EDSFEW EN 04/2005
6.5.2 Commissioning with the system bus configurator
@ Note!
A window-compatible modem must be installed in the windows
system control.
The communication is executed via the TAPI interface.
6.5.2.1 Installing the software
The following minimum requirements of hardware and software must be
met to work with the communication module:
MicrosoftRWindowsR2000/XP
IBMR-compatible PC with IntelRPentiumR-266 processor or higher
128 MB main memory with Windows 2000/XP
The following Lenze programs allow for a communication via the
communication module :
Drive Server
Global Drive Control (GDC version 4.7 or higher)
Global Drive Loader
Global Drive PLC Developer Studio (DDS version 1.4 or higher)
@ Note!
One of the programs mentioned offer alternative
communication paths for CAN. In this case, please always select
the communication path OPC.
Systemrequirements
Available Lenze programs
2181 communication module (ModemCAN)
Commissioning
Commissioning with the system bus configurator
6
6.5
6.5.2
6.5-3 EDSFEW EN 04/2005
@ Note!
The driver installation under Windows 2000/XP requires
administrator rights!
In order to introduce the 2180 communication module to the operating
system, it is necessary to install a driver.
The driver is bothincluded ineach of the Lenze programs mentionedbefore
and in the system bus configurator as of version 1.2. It is automatically
loaded during the installation or can be selected manually during the
installation.
@ Note!
The driver must always be installed separately if you use the
following program version:
Drive Server, version 1.1
Global Drive Control, version 4.7
Global Drive Loader, version 2.2
Global Drive PLC Developer Studio, version 2.2
The current driver can be found under the name Update
system bus configurator Vxx (xx: version number) in the
download area of the Lenze homepage
http://www.Lenze.com
For this purpose proceed the following steps:
Save the driver of the Lenze homepage to your local hard
disk.
Install the Lenze programs that will communicate via the
2180 communication module.
Install the driver by following the instructions of the
installation program.
The Lenze system bus configurator for the convenient configuration of the
utilised system bus adapters is installed together with the driver for the
2180 communication module so that no additional installation is required.
Installing the required driver
Installation of the systembus
configurator
2181 communication module (ModemCAN)
Commissioning
Commissioning with the system bus configurator
6
6.5
6.5.2
6.5-4 EDSFEW EN 04/2005
6.5.2.2 Configuring the communication module
Before the Lenze tools can communicate via communication module, it
must be configured accordingly.
To open the systembus configurator, select the following in the start menu
ProgramsLenzeCommunicationSystem bus configurator.
In contrast to the other communication modules the individual parameters
are not included in the index card Settings. Instead, an entry can be made
in the telephone book for each system to be remote-maintained. The
standard parameters as baud rate, parameter channel, andtime-out canbe
found there as well.
1. Select the communication module from the list in the system bus
configurator.
2. Double-click the corresponding line.
3. If you start the telephone book for the first time, some configurations
and the entries for all modems configured on the PC are executed.
4. Create an entry in the telephone book now appearing.
5. Here, enter the CAN parameters
6. Enter user name and password:
Standard user: Lenze
Standard password: Lenze
7. Enter the telephone number to be called.
Tip!
Some private branch exchanges and countries require a pause
during dial-up. The corresponding settings are included in the
documentations of the private branch exchange and PC modem.
8. Select the modem to be used.
9. Close the setting dialogue.
Steps to be taken for
configuring the
communication module
2181 communication module (ModemCAN)
Commissioning
Commissioning with the system bus configurator
6
6.5
6.5.2
6.5-5 EDSFEW EN 04/2005
Now, the first dial-up of the communication module can be made fromthe
telephone book.
1. For this purpose, press the button Connect. Check the indicated
values and again select Connect.
2. Now, a dial-up and user authentication are executed.
3. After a successful dial-up it is checked whether the CAN parameters
configured on the PC are identical with those in the device. If not, an
adjustment will be executed.
4. After this, a small status window appears which displays the
connection status and the connection time. Via this window the
connection can also be separated again.
5. Return to the system bus configurator, select the index card General
and press the button Diagnostics. Now, the CAN bus can be searched
for nodes connected.
6. Confirm the safety instruction with Yes or select No to abort the
diagnostics.
When the communication module succeeded in communicating with the
corresponding bus nodes, the system bus node addresses of the bus nodes
found are listed in the field Device status.
If the communication module is not able to communicate with the bus
nodes, an error message is displayed.
The communication module answers with its CANaddress or with 0 if no
address exists (dependent on C00350). The data telegrams for
communicating with the communication module itself, however, are not
visible on the CAN bus.
@ Note!
Additional information about the configuration of the
communication module can be found in the online help of the
system bus configurator.
If the configuration of a communication module is successful, the Lenze
tools can use it for communication.
Only the selectionof the bus systemusedis performedinthe Lenze tools, all
system bus-specific settings and the selection of the communication
module are carried out exclusively via system bus configurator.
@ Note!
While some of the older program versions of the Lenze tools still
offer setting options for interrupt and I/O address, they are
meaningless in the context of the communication module.
After completing the
configuration
2181 communication module (ModemCAN)
Commissioning
First switch-on
6
6.5
6.5.3
6.5-6 EDSFEW EN 04/2005
6.5.3 First switch-on
2181FEW001H
Fig. 6.5-1 Signalling on the front of the communication module
Pos. Colour State Description
A
( )
YELLOW On The ModemCANis ready
(M)
Blinking Active communication over the telephone,
the ModemCANhas answered.
(E)
RED See L 6.5-7 ERR LED
(R)
GREEN RUNLED or diagnostic interface active
(P)
GREEN On The ModemCANis supplied with voltage.
Signalling
2181 communication module (ModemCAN)
Commissioning
First switch-on
6
6.5
6.5.3
6.5-7 EDSFEW EN 04/2005
Status display (LED) Explanation
Connection status to the bus, two-coloured LED (green/red)
OFF Connection to the master not established
Green
CANopen status (Z)
Red
CANopen error (F)
Constant RED lighting
Z: Bus off
Quick BLINKING (flicker) Automatic baud rate detection is active Q ( )
GREEN BLINKING every 0.2 seconds
Z: Pre-Operational, F: None
GREEN BLINKING every 0.2 seconds
1 x RED BLINKING 1 s OFF
Z: Pre-Operational, F: Warning Limit reached
1 x RED BLINKING, 1 s OFF
GREEN BLINKING every 0.2 seconds
2 x RED BLINKING 1 s OFF
Z: Pre-Operational, F: Node Guard Event
2 x RED BLINKING, 1 s OFF
Constant GREEN lighting
Z: Operational, F: None
Constant GREEN lighting
1 x RED BLINKING 1 s OFF
Z: Operational, fault: Warning Limit reached
1 x RED BLINKING, 1 s OFF
Constant GREEN lighting
2 x RED BLINKING 1 s OFF
Z: Operational, F: Node Guard Event
2 x RED BLINKING, 1 s OFF
Constant GREEN lighting
3 x RED BLINKING 1 s OFF
Z: Operational, F: Sync Message Error
3 x RED BLINKING, 1 s OFF
GREEN BLINKING every second
Z: Stopped, F: None
GREEN BLINKING every second
1 x RED BLINKING 1 s OFF
Z: Stopped, F: Warning Limit reached
1 x RED BLINKING, 1 s OFF
GREEN BLINKING every second
2 x RED BLINKING 1 s OFF
Z: Stopped, F: Node Guard Event
2 x RED BLINKING, 1 s OFF
Tab. 6.5-1 Signalling acc. to DR303-3
Signalling acc. to DR303-3
2181 communication module (ModemCAN)
Commissioning
First switch-on
6
6.5
6.5.3
6.5-8 EDSFEW EN 04/2005
1. The LED is lit. The communication module performs some internal
initialisations.
2. The initialisation phase of the periphery starts:
LED (RUN-LED) is lit.
3. After the initialisation of the CAN controller:
LED (RUN-LED) is blinking.
4. After the initialisation of the internal or external modem:
LED Ais lit.
The device is now ready and can receive calls.
Signalling sequence after
switch on
2181 communication module (ModemCAN)
Data transfer
Data transfer via CAN
6
6.6
6.6.1
6.6-1 EDSFEW EN 04/2005
6.6 Data transfer
6.6.1 Data transfer via CAN
2181FEW008
Master and drive controller communicate with each other by exchanging
data messages via the CANbus. The data area in the data message contains
either network management data, parameter data or process data.
In the drive controller, different communication channels are allocated to
the parameter data and process data.
The communication module ModemCAN 2181 is suitable (apart from the
transfer of IEC61131programs andapplicationdata, e.g. curvedata) onlyfor
the transfer of parameter data.
Parameter data
These are e. g.
Operating parameters
Diagnostics information
Motor data
As a rule the transfer of parameters is not as time-critical as the transfer of process data.
Parameter data channel (SDO, Service Data Objects)
Provide access to all Lenze codes and all CANopen indices.
Changes to parameters are normally saved automatically in the drive controller (note
C0003).
The structure of the CANmessages is described in the CANcommunication
manual.
2181 communication module (ModemCAN)
Data transfer
Data transfer via CAN
6
6.6
6.6.1
6.6-2 EDSFEW EN 04/2005
@ Note!
For the value range of the Lenze code, please refer to the
operating instructions for the drive controller (see Code list).
When communication modules are used, the properties and the behaviour
of a drive controller integratedinto the network canbe changedby a higher
level master (e. g. a PLC).
The parameters to be changed are contained in the codes of Lenze drive
controllers.
The drive controller codes are addressed using the index on access via the
communication module .
Theindexfor theLenzecodenumber is intherangebetween16576(40C0
hex
)
and 24575 (5FFF
hex
).
Conversion formula:
Index [dec] = 24575 - Lenze code number
dec hex
Index = 24575 - Lenze code Index
hex
= 5FFF
hex
- (Lenze code)
hex
Index = 24575 - 1 = 24574 Index
hex
= 5FFF
hex
- 1 = 5FFE
hex
The communication module has two parameter data channels which are
both activated in the Lenze setting.
@ Note!
In order to establish the compatibility with CANopen, the second
parameter data channel must be switched off via code C1200,
see (L 6.7-8).
Access to the drive controller
codes
Indexing of codes using the
example
C0001 (operating mode)
CANopen parameter channels
2181 communication module (ModemCAN)
Data transfer
Data transfer via the diagnostics interface
6
6.6
6.6.2
6.6-3 EDSFEW EN 04/2005
6.6.2 Data transfer via the diagnostics interface
@ Note!
This function is temporarily not available.
2181FEW007
The 9400 drive controller series has a diagnostic interface. This is a
hot-pluggable point-to-point connection. It enables parameter data,
IEC61131 programs and other application data to be exchanged.
The 9400 drive controller series has a routing function so that it is also
possibletoaccess, viathediagnosticinterface, lower level devicesconnected
together on a different bus.
2181 communication module (ModemCAN)
Data transfer
Data transfer via modem
6
6.6
6.6.3
6.6-4 EDSFEW EN 04/2005
6.6.3 Data transfer via modem
2181FEW005
Data transfer by modemis performed using the PPP protocol that provides
secure data transmission.
The system bus configurator serves to automatically establish the
automatic dial-up connection on the PC side (see arrow).
Thebaudrateonthetelephonelineis adjustedbybothmodems. Depending
on the quality of the connection, it is reduced automatically, if required,
based on 33.6 kbits/s.
2181 communication module (ModemCAN)
Lenze codes and CANopen objects
6
6.7
6.7-1 EDSFEW EN 04/2005
6.7 Lenze codes and CANopen objects
The behaviour of the communication module is defined by setting
parameters for (Lenze) codes. These codes are exchanged as part of a
message via the CAN bus.
In the following table you will find an overview of codes relevant for the
communicationmodule andthe CANobjects implemented. Please note the
references to additional information.
@ Note!
Convention for differentiating between the implemented
CANopen indices and Lenze codes:
CANopen index: I- + (index)
Lenze code: C + (code number)
Column Content Meaning
Code C0353 Code C0353
Subcode 1
2
Subcode 1 for the code
Subcode 2 for the code
Index 5E9E Necessary for addressing the code in bus messages.
Information as hexadecimal number.
Conversion:
24575 - Lenze code (C0353) = 24222
dec
= 5E9E
hex
Lenze Factory setting for the code (termed Lenze setting in the
following)
Selection 1 {1 %} 99
1, 2, 3, 5
T
For a range:
Minimum value {smallest increment/unit} maximum value
For fixed value
Display code (no configuration possible)
Important - Additional, important information on the code (bold
print: code designation in GDC)
Howto read the tables for
Lenze codes
2181 communication module (ModemCAN)
Lenze codes and CANopen objects
6
6.7
6.7-2 EDSFEW EN 04/2005
Code Subcode Index
[hex]
Name
See
C0002 - 5FFD Load parameter set L 6.7-13
C0099 - 5F9C Display of the software version L 6.7-13
C0150 - 5F69 Status word L 6.7-13
C0200 - 5F37 Software manufacturers product code L 6.7-3
C0350 5EA1 CANnode address L 6.7-3
C0351 - 5EA0 CANbaud rate L 6.7-4
C0358 - 5E99 Reset node L 6.7-4
C0359 5E98 CANstatus L 6.7-5
C0360 1
2
5E97 CANtelegramcounter L 6.7-7
C0361 1
2
5E96 CANbus load L 6.7-7
C1200 5B4F Parameter data channel operating
mode
L 6.7-8
C1201 5B4E Communication time-out (CAN) L 6.7-8
C1202 5B4D Time limit for node search L 6.7-8
C1203 5B4C Repeat tests L 6.7-9
C1204 5B4B Password protection L 6.7-14
C1205 5B4A Call-back telephone number L 6.7-14
C1206 5B49 Modeminitialisation command L 6.7-15
C1207 5B48 Switch over internal/external modem L 6.7-15
C1208 5B47 Country code L 6.7-16
C1209 5B46 Detection of the baud rate L 6.7-9
C1213 5B42 Connection via CANor diagnostic
interface
L 6.7-13
C1215 5B40 Time exceeded during automatic baud
rate detection
L 6.7-9
C1223 5B38 User name L 6.7-16
C1225 5B36 Baud rate of the external modem L 6.7-16
C1226 5B35 Modemreset L 6.7-17
C1227 5B34 Delay time for search telegrams L 6.7-10
Index [
hex
] Subindex Name See
I-1000 0 Device type L 6.7-11
I-1001 0 Error register L 6.7-11
I-1017 - Producer heartbeat time L 6.7-11
I-1018 0...4 Identity object L 6.7-12
Lenze codes
CANopen objects
implemented
2181 communication module (ModemCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
6
6.7
6.7.1
6.7-3 EDSFEW EN 04/2005
6.7.1 Description of the codes relevant for CAN
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C0200 - 5F37 - - Software manufacturers product
code
Data format: VS
Access: R
During initialisation of the module it is determined which device is
connected as a user based on the manufacturers product code.
Value displayed for the ModemCAN: 33S2181F_10000.
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C0350 5EA1 63 0 {1} 63
(127)
CAN node address
Data format: I32
Access: R/W
Max. address for communication
via
Lenze systembus : 63
CANopen: 127.
The node address can be set via the CAN bus using the code C0350.
If zero is used as the address, the communication module does not have a
dedicated node address. It can then not be addressed fromthe CANbus (no
parameter setting, node guarding etc.), but only serves as a dialling-in
feature for reading parameters via the CAN bus.
If the communicationmodule shouldhave anaddress, check, after the baud
rate has been detected, whether this address is still free. Then, the
implemented CANopen object 1000 is tried to be read. If another node
already has this address, another free address is selected automatically.
@ Note!
Node addresses in the range of 64 ... 127 can only be assigned if
the code C1200 is set to the value 0 (CANopen conformity).
Changes to the setting are applied after
Reconnection to the mains
Reset node or Reset communication via the bus system
Reset node using the code C0358
C0200:
Software manufacturers
product code
C0350:
General address assignment
2181 communication module (ModemCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
6
6.7
6.7.1
6.7-4 EDSFEW EN 04/2005
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C0351 - 5EA0 0 0
1
2
3
4
5
16
500 kbits/s
250 kbits/s
125 kbits/s
50 kbits/s
1000 kbits/s
20 kbits/s
autom.
detection
CAN baud rate
Data format: I32
Access: R/W
The baud rate over the CAN bus can be set using this code.
Changes to the setting are applied after:
Reconnection to the mains
A reset node command via the bus system
A reset node using the code C0358
Prior to accessing the CAN bus, the baud rate used is determined by the
communication module and compared with the baud rate configured.
If the two values are different, the baud rate determined is used. The baud
rate detected by the communicationmodule canbe readusing code C1209.
If there is no data traffic on the CAN bus, the baud rate cannot be
determined. The subsequent behaviour of the communication module
depends on the selection configured in code C0351:
Selection 0 ... 5
After a time-out that can be configured using code C1215, the CAN bus
is accessed with the baud rate configured.
Selection 16 (automatic detection of the baud rate)
The communication module does not access the bus until a baud rate
can be detected.
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C0358 - 5E99 0 0
1
No function
CANreset
Reset node
CANbus reset - set up nodal point
Data format: I32
Access: R/W
After a reset any changes to communication parameters such as baud rate
or node address are applied.
Entries with new baud rates or changes to the node address only become
valid after a node reset.
A node reset can be performed by:
Reconnection to the mains
Reset node via the bus system
Reset node using code C0358
C0351:
Set transfer rate
C0358:
Reset node
2181 communication module (ModemCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
6
6.7
6.7.1
6.7-5 EDSFEW EN 04/2005
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C0359 5E98 T 0
1
2
3
4
Operational
Pre-Operatio
nal
Warning
Bus Off
Stopped
CAN status
Status display
Data format: I32
Access: R
This code displays the current operating status of the CAN controller. Here
a differentiation is made between 4 states:
Selection 0: Operational
In this state the bus system is fully functional.
Selection 1: Pre-Operational
In this state only parameters (codes) can be transferred via the bus system.
It is not possible to exchange process data. To change to the Operational
state a network management message must be output on the bus.
A state change from Pre-operational to Operational can be made with
the following actions:
A drive is defined as the master using code C0352. When connecting
to the mains an automatic state change for the entire drive system is
performed after the defined boot-up time C0356/1.
Using code C0358 reset node (prerequisite: C0352 = 1).
Using the binary reset node input signal that can be set, e. g. using
the code C0364 via a terminal given an appropriate configuration
(prerequisite: C0352 = 1).
A network management message from a CAN master.
Selection 2: Warning
Error messages have been received if the state is Warning. The CANnode
is now only passive; no more data are sent from the drive controller.
The reason for this situation can be:
A missing bus terminator
Inadequate shielding
Potential differences at the ground connection for the control
electronics
An excessively high bus load
CAN node is not connected to the bus
C0359:
CAN status
2181 communication module (ModemCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
6
6.7
6.7.1
6.7-6 EDSFEW EN 04/2005
Selection 3: Bus Off
The frequency of the erroneous messages has resulted in the CAN node
decoupling itself from the bus. It is possible to switch to the
Pre-Operational state with:
A trip reset
A reset node
Reconnection to the mains
Selection 4: Stopped
Only NMT telegrams can be received.
The state can be changed to Pre-Operational by:
Reconnection to the mains
Reset node via the bus system
Reset node via the code C0358
2181 communication module (ModemCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
6
6.7
6.7.1
6.7-7 EDSFEW EN 04/2005
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C0360 1
2
5E97 T 0 .... 4294967295 CAN
Telegramcounter (number of all
telegrams that are determined for
this node)
Counter value > 4294967295:
Start again at 0
/1: all messages sent
/2: all messages received
Data format: I32
Access: R
All CAN telegrams transmitted and received of this node are counted.
The counters have 32bits, i. e. whenavalue of 4294967295is exceeded, the
counting process starts again at 0.
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C0361 5E96 T 0 .... 100% CAN
Bus load
Data format: I32
Access: R
Using this code the percentage total bus loadcanbe determined. Erroneous
messages are not taken into account here.
@ Note!
The bus load for all devices involved should not exceed 80 %.
If other devices, e. g. decentralised inputs and outputs are
connected, these messages are also to be taken into account.
C0360:
Telegramcounter
C0361:
Bus load diagnostics
2181 communication module (ModemCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
6
6.7
6.7.1
6.7-8 EDSFEW EN 04/2005
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C1200 5B4F 2 0, 1 or 2 Operating mode - parameter data
channel
Data format: I32
Access: R/W
This code indicates which of the two parameter data channels is used to
communicate with other nodes. The unused parameter data channels can
be switched off, if required.
All Lenze controllers have two parameter data channels with different
addressing. Theaddress of the parameter channel 2is calculatedas follows:
Address of parameter data channel 2 =
Address of parameter data channel 1 + offset 64
Selection Accessible address range Active parameter data channels
0 1...127 SDO1
1 1...63 SDO1 / SDO2
2 65...127 SDO1 / SDO2
@ Note!
The selection 0 means that the bus is operating in compliance
with CANopen and there is no limitation on the address space.
In this case, the parameter data channel SDO2 is inactive.
zl
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C1201 5B4E 1500 0 {1ms} 10000 Data format: I32
The time set defines the time frame withinwhicha CANnode must respond
to a request.
If there is no response of the node, the requesting module assumes that the
node is not available.
zl
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C1202 5B4D 1000 0 {1ms} 10000 Data format: I32
For node search, the time set is regularly maintained. It must be selected
high enough to enable the nodes to have enough time to respond.
Otherwise, a too high value delays the search.
@ Note!
If required, the settings in C1202 must be adapted if the delay
time for search telegrams increased with code C1227.
C1200:
Parameter data channel
operating mode
C1201:
Communication time-out
(CAN)
C1202:
Time limit for node search
2181 communication module (ModemCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
6
6.7
6.7.1
6.7-9 EDSFEW EN 04/2005
zl
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C1203 5B4C 1 0 {1} 10 Data format: I32
The value to be set in code C1203 indicates the number of repetitions of
those CAN telegrams which have not reached the receiver.
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C1209 5B46 T 0
1
2
3
500 kbits/s
250 kbits/s
125 kbits/s
50 kbits/s
Detection of the baud rate
Data format: I32
Access: R
3
4
16
50 kbits/s
1000 kbits/s
nothing
detected
Code C1209 can be used to determine which transfer rate was detected on
the CAN bus.
When 16 is indicated, there is no data traffic on the CAN bus.
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C1215 5B40 1000 0 {1ms} 60000 Time exceeded during automatic
baud rate detection
Data format: I32
Access: R/W
By defining a time-out in code C1215, the baud rate (display with code
C1209) on the CAN bus can be detected.
The baud rate is not checked if the value configured in code C1215 is set to
zero.
When the time-out configured in code C1215 elapses, the CAN bus is
accessed (for further information and limitations: see description of code
C0351).
C1203:
Repeat tests
C1209:
Read bus baud rate
C1215:
Time-out (automatic baud
rate detection)
2181 communication module (ModemCAN)
Lenze codes and CANopen objects
Description of the codes relevant for CAN
6
6.7
6.7.1
6.7-10 EDSFEW EN 04/2005
zl
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C1227 - 5B34 0 0 {1ms} 100 Data
format:
I32
Selection Meaning
0 Quickest possible search
1...10 Delay time 1 ms
11...19 Delay time 10 ms
20...29 Delay time 20 ms
... ...
... ...
90...100 Delay time 90 ms
Searching the CANbus during the start of a PC programcan lead to faults if
a bus is heavily loaded. In order to prevent this, a delay time between the
transmissiontelegrams canbeset. This, however, leads toanincrease of the
total search time. If required, C1202 must be adapted accordingly.
C1227:
Delay time for search
telegrams
2181 communication module (ModemCAN)
Lenze codes and CANopen objects
Description of the CANopen objects implemented
6
6.7
6.7.2
6.7-11 EDSFEW EN 04/2005
6.7.2 Description of the CANopen objects implemented
TheCANopenindexI-1000
hex
gives thedeviceprofilefor this device. It is also
possible to include additional information here that is defined in the device
profile itself. If no specific device profile is used, the content is 0000
hex
.
Index [
hex
] Subindex Name Data type Value range Rights
I-1000 0 Device type U32 0 ... (2
32
- 1) ro
Bit assignment in the telegram data
5th byte 6th byte 7th byte 8th byte
LSB
Device profile number
MSB
Additional information
Reading the error register
Index [
hex
] Subindex Name Data type Value range Rights
I-1001 0 Error register U8 0...255 ro
Error status for the following bit assignment in the data byte (U8):
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Error status
0 0 0 0 0 0 0 0 No error
0 0 0 0 0 0 0 1 Error in the
communication module
0 0 0 1 0 0 0 1 Communication error
Index [
hex
] Subindex Name Data type Value range Rights
I-1017 - Producer heartbeat
time
U32 U 16 rw
The heartbeat message is sent cyclically by the heartbeat generator
(producer) to one or more recipients (consumers).
After configuringtheheartbeat producer time, theheartbeat protocol starts
at the transition from the NMT state INITIALISATION to the NMT state
PREOPERATIONAL (if predefined value > 0).
@ Note!
Unlike node / life guarding monitoring, the heartbeat protocol
does not contain a Remote Transmit Request (RTR).
It is therefore not necessary for the recipient to answer after a
heartbeat.
I-1000
hex
:
Device type
I-1001
hex
:
Error register
I-1017
hex
:
Producer heartbeat time
2181 communication module (ModemCAN)
Lenze codes and CANopen objects
Description of the CANopen objects implemented
6
6.7
6.7.2
6.7-12 EDSFEW EN 04/2005
Entry of vendor ID
Index [
hex
] Subindex Name Data type Value range Authorisation
I-1018 0 ... 4 Identity object Identity Module-specific ro
The identification number for this object has been determined by
Organisation CAN in Automation e. V. and can be read out using this
object:
Subindex Meaning
0 Highest subindex
1 Vendor ID
2 Product code
3 Revision number
4 Serial number
I-1018
hex
:
Identity object
2181 communication module (ModemCAN)
Lenze codes and CANopen objects
Description of the general codes
6
6.7
6.7.3
6.7-13 EDSFEW EN 04/2005
6.7.3 Description of the general codes
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C0002 5FFD 0 0: Implemented
1: Load factory
calibration
Parameter set management
Data format: I32
Access: R
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C0099 5F9C T Display: x.y Software version
Data format: FIX32
Access: R
The display designates
x: main version
y: index
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C0150 5F69 T Status word
Data format: B16
Access: R
The binary interpretation of the displayed decimal value reflects the bit
statuses of the status word:
Bit 0: Ready for operation
Bit 1: Dial-up connection is available
Bit 2: Internal error
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C1213 5B42 0 0
1
CAN
Diagnostics
interface
Connection via CAN or diagnostics
interface
Data format: FIX32
Access: R/W
The fieldbus connection is to be entered in code C1213:
C 1213 = 0
Connection of ModemCAN 2181 and drive controller via the CAN bus.
C1213 = 1
Connectionof theModemCAN2181tothediagnostics interfaceonthedrive
controller 9400.
@ Note!
It is not possible to operate both connections on the
communication module in parallel.
C0002:
Parameter set management
C0099:
Software version
C0150:
Status word
C1213:
Fieldbus connection
2181 communication module (ModemCAN)
Lenze codes and CANopen objects
Description of the codes relevant for the modem
6
6.7
6.7.4
6.7-14 EDSFEW EN 04/2005
6.7.4 Description of the codes relevant for the modem
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C1204 5B4B - Blank: no password
protection
Password protection
Data format: VS
Access: W
CodeC1204serves toprotect thecommunicationmoduleModemCAN2181
against unauthorised access by assigning a password.
Duringdial-up, thepasswordsavedinthePCis comparedwiththepassword
saved in the communication module:
Dialling in is continued if both passwords are identical.
The dial-up will be interrupted immediately or after a short waiting
time when the passwords or user names are not identical (see code
C1223).
@ Note!
In code C1204 it is possible to enter a new password via the
CAN bus at any time or to enter no password by leaving the
selection field blank.
The password is not reset when loading the Lenze setting.
@ Note!
This function is temporarily not available.
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C1205 5B4A - Data format: VS
Access: R/W
Code C1205 serves to enter a telephone link (call-back telephone number)
which will be immediately called back after dial-up.
If there is notelephone number enteredinC1205, nocall-back is performed,
the connection remains and is directly used for remote maintenance.
@ Note!
The use of the call-back function requires administrator rights.
Changes of this code will only be effective by renewed mains
switching or modem reset (code C1226).
C1204:
Password
C1205:
Call-back telephone number
2181 communication module (ModemCAN)
Lenze codes and CANopen objects
Description of the codes relevant for the modem
6
6.7
6.7.4
6.7-15 EDSFEW EN 04/2005
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze
C1206 5B49 AT&FE1Q&K3&D2&C1 Data format: VS
Access: R/W
@ Note!
The Lenze setting is sufficient to initialise the modem.
If, however, no connection could be established, it is possible to
adapt the initialisation command via suitable AT commands.
Only change the value of this code if it is really required!
A wrong initialisation command may make the dial-up
impossible. In this case, the Lenze setting of the modem must be
loaded and the AT commands entered before must be corrected.
Code C1206 provides the internal or external modemwith an initialisation
command consisting of several AT commands.
@ Note!
Changes of this code will only be effective by renewed mains
switching or modem reset (code C1226).
Tip!
The annex of this manual provides a part of the entire
commands for the communication module ModemCAN 2181.
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C1207 5B48 0 0 Internal
Modem
Switch over internal/external
modem
f
1 External
modem
Data format: FIX32
Access: R/W
It is possible to switch betweenan internal and external modemusing code
C1207.
This code can only be written via CAN.
@ Note!
Changes of this code will only be effective by renewed mains
switching or modem reset (code C1226).
C1206:
Modeminitialisation
C1207:
Switch over internal /
external modem
2181 communication module (ModemCAN)
Lenze codes and CANopen objects
Description of the codes relevant for the modem
6
6.7
6.7.4
6.7-16 EDSFEW EN 04/2005
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C1208 5B47 253 See
L 6.9-2
Data format: FIX32
Access: R/W
Using the code C1208, the code for the country in which the modemis used
can be entered.
The internal modemis approved for use inmany countries. However, as the
required features vary slightly, the modem must configure itself to the
relatedconditions. For thispurposeit isnecessarytoenter thecorresponding
country code. Within Europe the country code is the same.
@ Note!
Changes of this code will only be effective by renewed mains
switching or modem reset (code C1226).
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C1223 5B38 Lenze User name
Data format: VS
Access: R/W
Code C1223 serves to enter a user name. The code is pre-assigned with the
user name Lenze by the Lenze setting.
@ Note!
The user name is not reset when loading the Lenze setting.
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
C1225 5B36 3 0 9600 bit/s Data format: FIX32
/
1 19200 bit/s
Access: R/W
2 38400 bit/s
3 57600 bit/s
Code C1225 defines the baud rate via which the communication module
communicates with external modems. Most modems are provided with an
automatic baudrate recognitionso that this parameter does not need tobe
changed. Here, only in exceptional cases must the baud rate be set, which
theexternal modemhas asstandard. If theinitialisationwiththeconfigured
baud rate fails, a new one is automatically tried to be used.
@ Note!
Changes of this code will only be effective by renewed mains
switching or modem reset (code C1226).
C1208:
Country code
C1223:
User name
C1225:
Baud rate of the external
modem
2181 communication module (ModemCAN)
Lenze codes and CANopen objects
Description of the codes relevant for the modem
6
6.7
6.7.4
6.7-17 EDSFEW EN 04/2005
Code Subcode Index
[ ]
Possible settings Important
[hex]
Lenze Selection
p
C1226 5B35 0 0: No function
1: Modemreset
Data format: I32
Access: R/W
Achange of the modemparameters will onlybe effectiveby renewedmains
switching or using the code C1226.
C1226:
Modemreset
2181 communication module (ModemCAN)
Troubleshooting
Signalling of the CANopen RUN LED and ERROR LED
6
6.8
6.8.1
6.8-1 EDSFEW EN 04/2005
6.8 Troubleshooting
Possible cause of error Diagnostics Remedy
The device is not switched on Power LED does not illuminate Check external voltage supply
CANbus error ERR LED is lit or blinking Check CANwiring
6.8.1 Signalling of the CANopen RUN LED and ERROR LED
The CANopen ERROR LED displays the status of the physical CAN level and
shows errors on the basis of missing CAN messages (SYNC, GUARD or
HEARTBEAT). It is lit red.
No. ERROR LED STATUS Description
1 OFF No error The device is ready for operation.
2 Individual
lighting up
Warning limit is
reached
At least one of the error counters of the CAN
controller has reached or exceeded the warning
level (too many error frames).
3 Flicker AutoBaud/LSS The automatic baud rate detection or LSS services
are running. (ERROR LED and RUNLED flicker
alternately).
4 Double
lighting up
Error control
event
A guard event (NMT slave or NMT master) or
heartbeat event (heartbeat consumer) has
occurred.
5 Triple lighting
up
Sync error The sync message has not been received within
the time configured for the time monitoring of
the communication cycle..
6 On Bus Off The CANcontroller is in the bus-off state.
The CANopen RUNLEDdisplays the CANopen-NMT status. It is lit up green.
No. CAN RUN LED STATUS Description
1 Flicker AutoBaud/LSS The automatic baud rate detection or LSS services
are running. (ERROR LED and RUNLED flicker
alternately). Optional
2 Single
lighting up
STOPPED The device in the STOPPED state.
3 Blinking PRE-OPERATION
AL
The device is in the PREOPERATIONAL state.
4 On OPERATIONAL The device is in the OPERATIONAL state.
CANopen ERROR LED
CANopen RUN LED
2181 communication module (ModemCAN)
Troubleshooting
Signalling of the CANopen RUN LED and ERROR LED
6
6.8
6.8.1
6.8-2 EDSFEW EN 04/2005
The following message states are distinguished:
Signalling Meaning
LED is lit On
LED is not lit OFF
LED flickers Isophase on and off with approx. 10 Hz: on for approx. 50 ms and off
for approx. 50 ms.
LED is blinking Isophase on and off with approx. 2.5 Hz: on for approx. 200 ms,
followed by off for approx. 200 ms.
Single lighting up of the
LED
A short lighting up (approx. 200 ms) followed by a long off phase
(approx. 1000 ms).
Double lighting up of
the LED
LED shortly lights up twice in one sequence (approx. 200 ms),
interrupted by an off phase (approx. 200 ms). The sequence is
completed by a long off phase (approx. 1000 ms).
Triple lighting up of the
LED
LED shortly lights up thrice in one sequence (approx. 200 ms),
interrupted by an off phase (approx. 200 ms). The sequence is
completed by a long off phase (approx. 1000 ms).
Message states and lighting
rates
2181 communication module (ModemCAN)
Appendix
Modem standards
6
6.9
6.9.1
6.9-1 EDSFEW EN 04/2005
6.9 Appendix
6.9.1 Modem standards
Application range Name
Data transfer V.34
V.32bis
V.22bis
V.22
V.23
V.21
Bell212A
Bell103
Error correction V.42 (LAP-Mor MNP 2-4)
Data compression V.42bis p
MNP5
2181 communication module (ModemCAN)
Appendix
Country list
6
6.9
6.9.2
6.9-2 EDSFEW EN 04/2005
6.9.2 Country list
The national telephone standards differ somewhat. For this reason the
communication assembly needs to be configured for use in certain
countries.
The modem used supports the following standards:
CTR21 (Common Technical Regulation):
This approval applies for all EU countries including Norway and
Switzerland. It is based on the TBR21 standard prepared by the ETSI
(European Telecommunications Standard Institute).
FCC Part 68 (Federal Communications Commission):
This approval applies for the USA.
Some countries require special adaptations which must be entered into the
decimal code with code C1208 for this device (see table below).
Thefollowinglistsprovides informationonthecountries inwhichthedevice
can be used in relation to telecommunication standards.
@ Note!
If the respective country is not in the list, only an external
modem that complies with the related national regulations is
allowed to be used.
Code
Country hex dec Approval
Argentina 07 7 available
Australia 09 9 available
Austria FD 253 CTR21
Belgium FD 253 CTR21
Brazil 16 22 available
Canada B5 181 available
Chile 99 153 available
China B5 181 available
Cyprus FD 253 CTR21
Czech Republic FD 253 CTR21
Denmark FD 253 CTR21
Estonia FD 253 CTR21
Finland FD 253 CTR21
France FD 253 CTR21
Germany FD 253 CTR21
Great Britain FD 253 available
Greece FD 253 CTR21
Greenland FD 253 CTR21
Hong Kong 99 153 available
Hungary FD 253 CTR21
India 99 153 available
Indonesia 99 153 available
2181 communication module (ModemCAN)
Appendix
Country list
6
6.9
6.9.2
6.9-3 EDSFEW EN 04/2005
Approval
Code
Country Approval dec hex Country
Ireland FD 253 CTR21
Israel B5 181 CTR21
Italy FD 253 CTR21
Japan 00 0 available
Korea B5 181 available
Liechtenstein FD 253 CTR21
Luxembourg FD 253 CTR21
Malaysia 6C 108
Mexico B5 181 available
Netherlands FD 253 CTR21
NewZealand 7E 126 available
Norway FD 253 CTR21
Philippines B5 181 available
Poland 99 153 available
Portugal FD 253 CTR21
Russia B5 181 available
Singapore 96 156 available
Slovakia FD 253 CTR21, in preparation
Slovenia FD 253 available
South Africa 9F 159
Spain FD 253 CTR21
Sweden FD 253 CTR21
Switzerland FD 253 CTR21
Taiwan FE 254 available
Turkey FD 253 available
USA B5 181 available
2181 communication module (ModemCAN)
Appendix
AT commands
6
6.9
6.9.3
6.9-4 EDSFEW EN 04/2005
6.9.3 AT commands
6.9.3.1 General modem control commands
Controls the preferred error-correction mode to be negotiated in a
subsequent data connection. This command is affected by the OEM
firmware configuration.
Command Default Defined values Result codes
\N 5 \N0 Selects normal speed buffered mode
(disables error-correction mode). (Forces
&Q6).
OK
Otherwise
ERROR
\N1 Serial interface selected: Selects direct mode
and is equivalent to &M0, Q0 mode of
operation. (Forces &Q0). Parallel interface
selected: Same as \N0.
\N2 Selects reliable (error correction) mode. The
modemwill first attempt an LAPMand then
an MNP connection. Failure to make a
reliable connection results in the modem
hanging up.
(Forces &Q5, S36=4 and S48=7).
\N3 Selects auto-reliable mode. This operates the
same as \N2 except failure to make a reliable
connection results in the modemfalling back
to the normal speed buffered mode. (Forces
&Q5, S36=7 and S48=7).
\N4 Selects the LAPMerror-correction mode.
Failure to make an LAPMerror-correction
connection results in the modemhanging up.
(Forces &Q5 and S48=0). Note: The K1
command can override the \N4 command.
\N5 Selects MNP error-correction mode. Failure to
make an MNP error-correction connection
results in the modemhanging up. (Forces
&Q5, S36=4 and S48=128).
The modem loads the factory default configuration (profile). The factory
defaults areidentifiedfor eachcommandandintheS-parameter parameter
descriptions. A configuration (profile) consists of a subset of S-parameters.
Command Default Defined values Result codes
- - &F0 Restore factory configuration 0. OK
ERROR if the
&F Restore factory configuration 1.
ERROR if the
modemis
connected.
Selects which user profile which will be used after a hard reset.
Command Default Defined values Result codes
&Y - &Y0 The modemwill use profile 0. OK
ERROR if
<value> > 1 or
NVRAMis not
&Y1 The modemwill use profile 1.
NVRAMis not
installed or is
not
operational.
Command: \N
Operating mode - error
correction
Command: &F
Restore factory configuration
(profile)
Command: &Y
Designate a default reset
profile
2181 communication module (ModemCAN)
Appendix
AT commands
6
6.9
6.9.3
6.9-5 EDSFEW EN 04/2005
Saves the current (active) configuration (profile) including S-parameters in
one of the two user profiles in NVRAM, as denoted by the parameter value.
This commandwill yieldanerror message if the NVRAMis not installed or is
not operational as detectedby the NVRAMtest. The current configurationis
comprised of a list of storable parameters illustrated in the &V commands.
These settings are restored to the active configuration upon receiving a
Z-command or at power up. (See &Y command).
Command Default Defined values Result codes
&W 0 &W0 Store the current configuration as profile 0. OK
Otherwise
&W1 Store the current configuration as profile 1.
Otherwise
ERROR
Command: &W
Store current configuration
2181 communication module (ModemCAN)
Appendix
AT commands
6
6.9
6.9.3
6.9-6 EDSFEW EN 04/2005
6.9.3.2 Interface commands for the DEE modem
Selects thesubset of theresult codemessages usedbythemodemtoinform
the DEE of the results of commands. Blind dialing is enabled or disabled by
country parameters. If the user wants to enforce dial tone identification, a
W can be placed in the dial string (see D-command which is not described
in this Manual). The information below is based upon the default
implementation of the X results table. If the modem is in Faksimile mode
(+FCLASS=1, 1.0 or 2), the only message sent to indicate a connection is
CONNECT without a speed indication.
Command Default Defined values Result codes
X 4 X0 Disables reporting of busy tones unless
forced otherwise by country requirements;
send only OK, CONNECT, RING, NOCARRIER,
ERROR and NOANSWER result codes. Blind
dialing is enabled/disabled by country
parameters. If busy tone detection is
enforced and busy tone is detected, NO
CARRIER is reported. If dial tone detection is
enforced or selected and dial tone is not
detected, NOCARRIER will be reported
instead of NODIAL TONE. The value 000b is
written to S22 bits 6, 5 and 4, respectively.
OK
Otherwise
ERROR
X1 Disables reporting of busy tones unless
forced otherwise by country requirements:
send only OK, CONNECT, RING, NOCARRIER,
ERROR and NOANSWER and CONNECT XXXX
(XXXX = rate). Blind dialing enabled/disabled
by country parameters. If busy tone detection
is enforced and busy tone is detected, NO
CARRIER is will be reported instead of BUSY. If
dial tone detection is enforced or selected
and dial tone is not detected, NOCARRIER
will be reported instead of NODIAL TONE.
The value 100b is written to S22 bits 6, 5 and
4, respectively.
X3 Enables reporting of busy tones; send only
OK, CONNECT, RING, NOCARRIER, ERROR, NO
ANSWER and CONNECT XXXX. Blind dialing is
enabled/disabled by country parameters. If
dial tone detection is enforced and dial tone
is not detected, NOCARRIER will be reported.
The value 110b is written to S22 bits 6, 5 and
4, respectively.
X4 Enables reporting of busy tones; send all
messages. The value 111b is written to S22
bits 6, 5 and 4, respectively.
Command: X
Extended result codes
2181 communication module (ModemCAN)
Appendix
AT commands
6
6.9
6.9.3
6.9-7 EDSFEW EN 04/2005
6.9.3.3 Call control commands
Forces DTMF dialing until the next P dial modifier or P command is received.
ThemodemsetsanS-parameter bit toindicatethat eachsubsequent dialing
should be conducted in tone mode. The DP command (not described in this
manual) overrides this command. Clears S14 bit 5. This command may not
be permitted in some countries. (See P command).
Command Default Defined values Result codes
T OK
Forces pulse dialing until the next T dial modifier or T command is received.
Sets S14 bit 5. As soon as a dial command is executed, which explicitly
specifies a dialing mode for that particular call (e. g. ATDT...), this command
is overridden so that all future dialing will be tone dialled. (See T
command).This command may not be permitted in some countries.
Command Default Defined values Result codes
P OK
This command causes the modem to generate the guard tone selected by
this command(DPSKmodulationmodes only). Theparameter value, if valid,
is written to S23 bits 6 and 7. This command may not be permitted in some
countries.
Command Default Defined values Result codes
&G 0 &G0 Disables guard tone (default). <value> = 0 to 2
&G1 Disables guard tone.
Otherwise
ERROR
&G2 Selects 1800 Hz guard tone.
ERROR
Determines the make/break ratio used during pulse dialing. The default is
country-dependent. Theparameter value, if valid, is writtentoS28bits 3and
4.
Command Default Defined values Result codes
&P 0 &P0 Selects 39%-61%make/break ratio at 10
pulses per second.
OK
Otherwise
&P1 Selects 33%-67%make/break ratio at 10
pulses per second.
ERROR
&P2 Selects 39%-61%make/break ratio at 20
pulses per second.
&P3 Selects 33%-67%make/break ratio at 20
pulses per second.
Command: T
Set tone dial default
Command: P
Set pulse dial default
Command: &G
Select guard tone
Command: &P
Select pulse dial make/break
ratio
2181 communication module (ModemCAN)
Appendix
AT commands
6
6.9
6.9.3
6.9-8 EDSFEW EN 04/2005
6.9.3.4 Modulation control commands
This extended-format compound parameter controls the manner of
operation of the modulation capabilities in the modem. It accepts six
subparameters. Syntax:
+MS=[<carrier>[,<automode>[,<min_tx_rate>[,<max_tx_rate>
[,<min_rx_rate> [,<max_rx_rate>]]]]]] Where possible <carrier>,
<min_tx_rate>, <max_tx_rate>, <min_rx_rate> and <max_rx_rate> are
listed in the following table:
Modulation <carrier> Possible (<min_rx_rate>, <min_rx_rate>, (<min_tx_rate>)
and <max_tx_rate>) rates (bps)
Bell 103 B103 300
Bell 212 B212 1200 Rx/75 Tx or 75 Rx/1200 Tx
V.21 V21 300
V.22 V22 1200
V.22bis V22B 2400 or 1200
V.23 V23C 1200
V.32 V32 9600 or 4800
V.32bis V32B 14400, 12000, 9600, 7200, or 4800
V.34 V34 33600, 31200, 28800, 26400, 24000, 21600, 19200, 16800,
14400, 12000, 9600, 7200, 4800, or 2400
56K K56 56000, 54000, 52000, 50000, 48000, 46000, 44000, 42000,
40000, 38000, 36000, 34000, 32000
V.90 V90 56000, 54667, 53333, 52000, 50667, 49333, 48000, 46667,
45333, 44000, 42667, 41333, 40000, 38667, 37333, 36000,
34667, 33333, 32000, 30667, 29333, 28000
V.92
downstream
V92 56000, 54667, 53333, 52000, 50667, 49333, 48000, 46667,
45333, 44000, 42667, 41333, 40000, 38667, 37333, 36000,
34667, 33333, 32000, 30667, 29333, 28000
V.92
upstream
V92 48000, 46667, 45333, 44000, 42667, 41333, 40000, 38667,
37333, 36000, 34667, 33333, 32000, 30667, 29333, 28000,
26667, 25333, 24000
Note: Some <carrier> values may not be supported by certain modemmodels. For example,
modemmodels supporting V92 do not support K56.
Tab. 6.9-1 +MS command supported rates
Command: +MS
Modulation selection
2181 communication module (ModemCAN)
Appendix
AT commands
6
6.9
6.9.3
6.9-9 EDSFEW EN 04/2005
Command Default Defined values Result codes
+MS <carrier>
A string that specifies the preferred modemcarrier
to use in originating or answering a connection.
<carrier> values are strings of up to eight
characters, consisting only of numeric digits and
upper case letters. <carrier> values for ITU standard
modulations take the form: <letter><1-4
digits><other letters as needed>. Defined values are
listed in Tab. 6.9-1.
OK - Valid
subparameter
string
Otherwise
ERROR
<automode>
A numeric value which enables or disables
automatic modulation negotiation (ITU-T V.32bis
Annex A or V.8). 0 = Automode disabled. 1 =
Automode enabled (default).
<min_rx_rate> and <max_rx_rate>
Numeric values which specify the lowest
(<min_rx_rate>) and highest (<max_rx_rate>) rate
at which the modemmay establish a receive
connection. May be used to condition distinct limits
for the receive direction as distinct fromthe
transmit direction. Values for this subparameter are
decimal encoded, in units of bit/s. The possible
values for each modulation are listed in Tab. 6.9-1.
Actual values will be limited to possible values
corresponding to the entered <carrier> and fallback
<carrier> values as determined during operation.
(Default = lowest (<min_rx_rate>) and highest
(<max_rx_rate>) rate supported by the selected
carrier).
<min_tx_rate> and <max_tx_rate>
Numeric values which specify the lowest
(<min_rx_rate>) and highest (<max_rx_rate>) rate
at which the modemmay establish a transmit
connection. Non-zero values for this subparameter
are decimal encoded, in units of bit/s. The possible
values for each modulation are listed in Tab. 6.9-1.
Actual values are limited to possible values
corresponding to the entered <carrier> and fallback
<carrier> values as determined during operation.
(Default = lowest (<min_tx_rate>) and highest
(<max_tx_rate>) rate supported by the selected
carrier).
Report commands
+MS? Reports current rates
Response:
+MS:<carrier>,<automode>,<min_tx_rate>, <max_tx_rate>,
<min_rx_rate>,<max_rx_rate> Note:The current active settings are reported
under control of the +MR parameters.
Example:
+MS: K56, 1,300,33600,300,56000 for default values.
This example allows maximumsystemflexibility to determine optimal receive
and transmit rates during operation.
+MS=? Reports supported range of parameter values
Response:
+MS: (< carrier> range),(<automode> range),(<min_tx_rate>
range),(<max_tx_rate> range),(<min_rx_rate> range),(<max_rx_rate> range)
Example 1:
+MS:(B103,B212,V21,V22,V22B,V23C,V32,V32B,V34,
K56,V90),(0,1),(300-33600),(300-33600),(300-56000),(300- 56000)
Example 2:
+MS:(B103,B212,V21,V22,V22B,V23C,V32,V32B,V34,
V90,V92),(0,1),(300-33600),(300-33600),(300-56000),(300- 56000)
2181 communication module (ModemCAN)
Appendix
AT commands
6
6.9
6.9.3
6.9-10 EDSFEW EN 04/2005
Whenthemodemisconfiguredtoalloweither option, themodemwill select
Bell or CCITTmodulationsfor alinespeedconnectionof 300or 1200bps. Any
other linespeedwill useaCCITTmodulationstandard. Theparameter value,
if valid, is written to S27 bit 6.
Command Default Defined values Result codes
B 0 B0 Selects CCITT operation at 300 or 1200 bps
during call establishment and a subsequent
connection (default).
OK
Otherwise
ERROR
B1 Selects BELL operation at 300 or 1200 bps
during call establishment and a subsequent
connection.
Command: B
CCITT or Bell
2181 communication module (ModemCAN)
Appendix
AT commands
6
6.9
6.9.3
6.9-11 EDSFEW EN 04/2005
6.9.3.5 Data compression commands
Enables or disables data compression negotiation. The modem can only
performdata compression on an error-corrected link. The parameter value,
if valid, is written to S41 bits 0 and 1.
Command Default Defined values Result codes
%C %C0 Disables data compression. Resets S46 bit 1. OK
%C1 Enables MNP 5 data compression
negotiation. Resets S46 bit 1.
ERROR
%C2 Enables V. 42bis data compression. Sets S46
bit 1.
%C3 Enables both V.42bis and MNP 5 data
compression. Sets S46 bit 1 (default).
Command: %C
Enable/disable data
compression
2181 communication module (ModemCAN)
Appendix
AT commands
6
6.9
6.9.3
6.9-12 EDSFEW EN 04/2005
6.9.3.6 S-registers
Certainmodemvalues, or parameters, arestoredinmemorylocationscalled
S-registers. Use the S-command (not described in this manual) to read or to
alter the contents of S-registers (see previous section). *Register value may
be stored on one of the two user profiles with the command &W.
Register Unit Range Default Description
S0 1 ring 0 - 255 0 Number of rings to auto-answer:
Sets the number of rings until the modemanswers.
ATS0=0 disables the auto-answer completely. *
S3 decimal 0 - 127 13 (^M) Carriage return character:
Sets the command line and result code terminator
character. Pertains to asynchronous operation only.
S4 decimal 0 - 127 10 (^J) Line feed character:
Sets the character recognised as a line feed. Pertains to
asynchronous operation only. The line feed control
character is output after the carriage return control
character if verbose result codes are used.
S6 seconds 2 - 255 2 Wait time before dialing or for dial tone:
1. Sets the length of time, in seconds, that the modem
will wait before starting to dial after going off-hook
when blind dialing. This operation, however, may be
affected by some ATX options according to country
restrictions. The Wait for dial tone call progress
feature (W dial modifier in the dial string) will
override the value in register S6 (when configured for
US).
2. Sets the length of time, in seconds, that the modem
will wait for dial tone when encountering a W dial
modifier before returning NODIAL TONE result code.
(W class). Default is country-dependent. The modem
always pauses for a minimumof 2 seconds, even if
the value of S6 is less than 2 seconds.
S7 seconds 1 - 255* 50 Wait time for carrier, silence, or dial tone:
1. Sets the length of time, in seconds, that the modem
will wait for carrier before hanging up. The timer is
started when the modemfinishes dialing (originate),
or 2 seconds after going off-hook (answer). In
originate mode, the timer is reset upon detection of
answer tone if allowed by country restrictions.
2. Sets the length of time, in seconds, that modemwill
wait for silence when encountering the @dial
modifier before continuing with the next dial string
parameter.
3. Sets the length of time, in seconds, that the modem
will wait for dial tone when encountering a W dial
modifier before continuing with the next dial string
parameter (US model). The default is
country-dependent. *
S8 seconds 2 - 255 2 Pause time for dial delay:
Sets the time, in seconds, that the modemmust pause
when the , dial modifier is encountered in the dial
string. *
2181 communication module (ModemCAN)
Appendix
AT commands
6
6.9
6.9.3
6.9-13 EDSFEW EN 04/2005
Description Default Range Unit Register
S10 0.1 s 1 - 255 14 Lost carrier to hang up delay:
Sets the length of time, in tenths of a second, that the
modemwaits before hanging up after a loss of carrier.
This allows for a temporary carrier loss without causing
the modemto disconnect. When register S10 is set to
255, the modemfunctions as if a carrier is always
present. *
The actual interval the modemwaits before
disconnecting is the value in register S10 minus the
value in register S9. Therefore, the S10 value must be
greater than the S9 value or else the modemdisconnects
before it recognises the carrier..
Note: For call waiting detection, if the modemis set to
US country code and S10 >=16, then the modemwill
detect the call waiting tone and hang-up the line. If S10
<16, the modemwill not detect call waiting tone.
* Register value may be stored on one of two user profiles with the command &W.
2181 communication module (ModemCAN)
Index
6
6.10
6.10-1 EDSFEW EN 04/2005
6.10 Index
A
Ambient temperature, 6.3-1
Appendix, 6.9-1
Application range, 6.2-1
Automatic baud rate detection, 6.7-9
B
Baud rate of the external modem, 6.7-16
Bus cable length, 6.4-7
Bus load diagnostics, 6.7-7
C
C0002, Parameter set management, 6.7-13
C0099, Software version, 6.7-13
C0150, status word, 6.7-13
C0200, Software manufacturers product code, 6.7-3
C0350, General address assignment, 6.7-3
C0351
- Baud rate setting, 6.7-4
- Set transfer rate, 6.7-4
C0358, Reset node, 6.7-4
C0359, CANstatus, 6.7-5
C0360, telegramcounter, 6.7-7
C0361, Bus load diagnostics, 6.7-7
C1200, parameter data channel operating mode, 6.7-8
C1201, communication time-out (CAN), 6.7-8
C1202, time limit for node search, 6.7-8
C1203, repeat tests, 6.7-9
C1204, Password, 6.7-14
C1205, CALL-back telephone number, 6.7-14
C1206, Modeminitialisation, 6.7-15
C1207, Switch over internal / external modem, 6.7-15
C1208, Country code, 6.7-16
C1209, Read bus baud rate, 6.7-9
C1213, Fieldbus connection, 6.7-13
C1215
- automatic baud rate detection, 6.7-9
- Time-out, 6.7-9
C1223, country code, 6.7-16
C1225, baud rate of the external modem, 6.7-16
C1226, modemreset, 6.7-17
C1227, delay time for search telegrams, 6.7-10
Cable lengths, 6.4-7
Cable resistance, 6.4-6
Cable specification, 6.4-6
Cable type, 6.4-6
Cable-cross section, 6.4-7
CALL-back telephone number, 6.7-14
CANstatus, 6.7-5
CANopen objects, 6.7-1
CANopen objects implemented, 6.7-2
CANopen parameter channels, 6.6-2
Capacitance per unit length, 6.4-6
Climatic conditions, 6.3-1
Code numbers, Access via the communication module,
6.6-2
Code numbers / index, Conversion, 6.6-2
Commissioning, 6.5-1
- Before you start, 6.1-1
Commissioning with the systembus configurator, 6.5-2
Communication time-out (CAN), 6.7-8
Communication via CAN, 6.4-3
Communication via the diagnostics interface (9400), 6.4-4
Connections, 6.4-1
Country code, 6.7-16
D
Data transfer, 6.6-1
Data transfer via modem, 6.6-4
Data transfer via the diagnostics interface, 6.6-3
Delay time for search telegrams, 6.7-10
Description of the CANopen objects implemented, 6.7-11
Description of the codes relevant for CAN, 6.7-3
Description of the codes relevant for the modem, 6.7-14
Description of the general codes, 6.7-13
Device type, 6.7-11
Dimensions, 6.3-3
E
Electrical installation, 6.4-3
Elements of the communication module, 6.4-1
Error register, 6.7-11
2181 communication module (ModemCAN)
Index
6
6.10
6.10-2 EDSFEW EN 04/2005
Examples, Indexing of Lenze codes, 6.6-2
F
Features, 6.2-1
Fieldbus connection, 6.7-13
First switch-on, 6.5-6
G
General data, 6.3-1
H
Hardware version, Type code, 6.2-1
I
I-1000, Device type, 6.7-11
I-1001, Error register, 6.7-11
I-1017, Producer heartbeat time, 6.7-11
I-1018, Identity object, 6.7-12
Identification, 6.2-1
Identity object, 6.7-12
Index, Conversion, 6.6-2
Indexing of Lenze codes, 6.6-2
Installation, 6.4-1
- Electrical, 6.4-3
- Mechanical, 6.4-2
Installation of required drivers, 6.5-3
Installation of the systembus configurator, 6.5-3
L
Lenze codes, 6.7-1, 6.7-2
M
Mechanical installation , 6.4-2
Modeminitialisation, 6.7-15
Modemreset, 6.7-17
N
Node address, 6.7-3
O
Operating conditions, 6.3-1
Overall cable length, 6.4-7
P
Parameter data channel operating mode, 6.7-8
Parameter set management, 6.7-13
Password, 6.7-14
Pluggable terminal strip, Use, spring connection, 6.4-5
Pluggable terminal strips, handling, 6.4-5
Pollution degree, 6.3-1
Producer heartbeat time, 6.7-11
R
Rated data, 6.3-2
Read bus baud rate, 6.7-9
Repeat tests, 6.7-9
Reset node, 6.7-4
S
Segment cable length, 6.4-7
Signalling, 6.5-6
Signalling acc. to DR303-3, 6.5-7
Software manufacturers product code, 6.7-3
Software version, 6.7-13
- Type code, 6.2-1
Specification of the transmission cable, 6.4-6
Status word, 6.7-13
Switch over internal / external modem, 6.7-15
Systemrequirements, 6.5-2
T
Technical data, 6.3-1
Telegramcounter, 6.7-7
Terminal data, 6.4-5
Terminals, data, 6.4-5
Time limit for node search, 6.7-8
Time-out, 6.7-9
Transmission cable, specification, 6.4-6
Troubleshooting, 6.8-1
Type code, 6.2-1
Type of protection, 6.3-1
U
User name, 6.7-16
2181 communication module (ModemCAN)
Index
6
6.10
6.10-3 EDSFEW EN 04/2005
V
Validity of the Instructions, 6.2-1
Voltage supply, 6.4-5
Appendix
Content
7
7-1 EDSFEW EN 04/2005
7 Appendix
This part of the Communication Manual includes additional
information on Lenze products which can be used for remote
maintenance.
Content
Software Manual DriveServer
Software Manual Busserver S7
Appendix 7
7-2 EDSFEW EN 04/2005
A
Ambient conditions, 5.3-1
Ambient temperature, 5.3-1, 6.3-1
Appendix, 6.9-1
Application, as directed, 1.3-4
application as directed, 1.3-4
Application range, 5.2-1, 6.2-1
Automatic baud rate detection, 5.7-11, 6.7-9
B
Baud rate of the external modem, 6.7-16
Bus cable length, 5.4-6, 6.4-7
Bus load diagnostics, 5.7-9, 6.7-7
C
C0002, Parameter set management, 5.7-3, 6.7-13
C0093, Type, 5.7-3
C0099, Software version, 5.7-3, 6.7-13
C0150, status word, 5.7-3, 6.7-13
C0200, Software manufacturers product code, 5.7-3, 6.7-3
C0202, MPCs, 5.7-4
C0350, General address assignment, 5.7-5, 6.7-3
C0351
- Baud rate setting, 5.7-6, 6.7-4
- Set transfer rate, 5.7-6, 6.7-4
C0358, Reset node, 5.7-6, 6.7-4
C0359, CAN status, 5.7-7, 6.7-5
C0360, telegramcounter, 5.7-9, 6.7-7
C0361, Bus load diagnostics, 5.7-9, 6.7-7
C1200, parameter data channel operating mode, 5.7-10,
6.7-8
C1201, communication time-out (CAN), 5.7-10, 6.7-8
C1202, time limit for node search, 5.7-10, 6.7-8
C1203, repeat tests, 5.7-11, 6.7-9
C1204, Password, 6.7-14
C1205, CALL-back telephone number, 6.7-14
C1206, Modeminitialisation, 6.7-15
C1207, Switch over internal / external modem, 6.7-15
C1208, Country code, 6.7-16
C1209, Read bus baud rate, 5.7-11, 6.7-9
C1210, IP address, 5.7-15
C1211, subnet mask, 5.7-16
C1213, Fieldbus connection, 6.7-13
C1214, MAC-ID, 5.7-16
C1215
- automatic baud rate detection, 5.7-11, 6.7-9
- Time-out, 5.7-11, 6.7-9
C1223, country code, 6.7-16
C1224, gateway, 5.7-17
C1225, baud rate of the external modem, 6.7-16
C1226, modemreset, 6.7-17
C1227, delay time for search telegrams, 5.7-12, 6.7-10
Cable lengths, 5.4-6, 6.4-7
Cable resistance, 5.4-5, 6.4-6
Cable specification, 5.4-5, 5.4-7, 6.4-6
Cable type, 5.4-5, 6.4-6
Cable-cross section, 5.4-6, 6.4-7
CALL-back telephone number, 6.7-14
CAN status, 5.7-7, 6.7-5
CANopen objects, 5.7-1, 6.7-1
CANopen objects implemented, 5.7-2, 6.7-2
CANopen parameter channels, 5.6-2, 6.6-2
Capacitance per unit length, 5.4-5, 6.4-6
CE conformity, 1.3-4
Climatic conditions, 5.3-1, 6.3-1
Code numbers, Access via the communication module,
5.6-2, 6.6-2
Code numbers / index, Conversion, 5.6-2, 6.6-2
Commissioning, 5.5-1, 6.5-1
- Before you start, 5.1-1, 6.1-1
Commissioning with the systembus configurator, 5.5-1,
6.5-2
Commissioning with the web server, 5.5-5
Communication time-out (CAN), 5.7-10, 6.7-8
Communication via CAN, 6.4-3
Communication via the diagnostics interface (9400), 6.4-4
Conformity, 1.3-4
Connections, 5.4-1, 6.4-1
Controller
- application as directed, 1.3-4
- labelling, 1.3-4
Country code, 6.7-16
D
Data transfer, 5.6-1, 6.6-1
Appendix 7
7-3 EDSFEW EN 04/2005
Data transfer via Ethernet, 5.6-3
Data transfer via modem, 6.6-4
Data transfer via the diagnostics interface, 6.6-3
Definition of notes used, 3.3-1
Delay time for search telegrams, 5.7-12, 6.7-10
Description of the CANopen objects implemented, 5.7-13,
6.7-11
Description of the codes important for the Ethernet
interface, 5.7-15
Description of the codes relevant for CAN, 5.7-5, 6.7-3
Description of the codes relevant for the modem, 6.7-14
Description of the general codes, 5.7-3, 6.7-13
Device type, 5.7-13, 6.7-11
Dimensions, 5.3-3, 6.3-3
E
Electrical installation, 5.4-3, 6.4-3
Elements of the communication module, 5.4-1, 6.4-1
Error register, 5.7-13, 6.7-11
Examples, Indexing of Lenze codes, 5.6-2, 6.6-2
F
Features, 5.2-1, 6.2-1
Fieldbus connection, 6.7-13
First switch-on, 5.5-11, 6.5-6
G
Gateway, 5.7-17
General data, 5.3-1, 6.3-1
Guide, 2.1-1
H
Hardware version, Type code, 5.2-1, 6.2-1
I
I-1000, Device type, 5.7-13, 6.7-11
I-1001, Error register, 5.7-13, 6.7-11
I-1017, Producer heartbeat time, 5.7-13, 6.7-11
I-1018, Identity object, 5.7-14, 6.7-12
Identification, 5.2-1, 6.2-1
Identity object, 5.7-14, 6.7-12
Index, Conversion, 5.6-2, 6.6-2
Indexing of Lenze codes, 5.6-2, 6.6-2
Installation, 5.4-1, 6.4-1
- Electrical, 5.4-3, 6.4-3
- Mechanical, 5.4-2, 6.4-2
Installation of required drivers, 5.5-2, 6.5-3
Installation of the systembus configurator, 5.5-2, 6.5-3
IP address, 5.7-15
L
Labelling, controller, 1.3-4
Legal regulations, 1.3-4
Lenze codes, 5.7-1, 5.7-2, 6.7-1, 6.7-2
Liability, 1.3-5
M
MAC-ID, 5.7-16
Manufacturer, 1.3-4
Mechanical installation , 5.4-2, 6.4-2
Modeminitialisation, 6.7-15
Modemreset, 6.7-17
MPCs, 5.7-4
N
Node address, 5.7-5, 6.7-3
Notes, definition, 3.3-1
O
Operating conditions, 5.3-1, 6.3-1
Operator, 3.1-1
Overall cable length, 5.4-6, 6.4-7
P
Parameter data channel operating mode, 5.7-10, 6.7-8
Parameter set management, 5.7-3, 6.7-13
Password, 6.7-14
Personnel, qualified, 3.1-1
Pluggable terminal strip, Use, spring connection, 5.4-4,
6.4-5
Pluggable terminal strips, handling, 5.4-4, 6.4-5
Pollution degree, 5.3-1, 6.3-1
Producer heartbeat time, 5.7-13, 6.7-11
Protective insulation, 5.3-2
Appendix 7
7-4 EDSFEW EN 04/2005
R
Rated data, 6.3-2
Read bus baud rate, 5.7-11, 6.7-9
Repeat tests, 5.7-11, 6.7-9
Reset node, 5.7-6, 6.7-4
S
Safety instructions, 3-1
- definition, 3.3-1
- design, 3.3-1
- general, 3.2-1
Segment cable length, 5.4-6, 6.4-7
Signalling, 5.5-11, 6.5-6
Signalling acc. to DR303-3, 5.5-12, 6.5-7
Software manufacturers product code, 5.7-3, 6.7-3
Software version, 5.7-3, 6.7-13
- Type code, 5.2-1, 6.2-1
Specification of the transmission cable, 5.4-5, 5.4-7, 6.4-6
Status word, 5.7-3, 6.7-13
Subnet mask, 5.7-16
Switch over internal / external modem, 6.7-15
Systemrequirements, 5.5-1, 6.5-2
T
Technical data, 5.3-1, 6.3-1
Telegramcounter, 5.7-9, 6.7-7
Terminal data, 5.4-4, 6.4-5
Terminals, data, 5.4-4, 6.4-5
Time limit for node search, 5.7-10, 6.7-8
Time-out, 5.7-11, 6.7-9
Transmission cable, specification, 5.4-5, 5.4-7, 6.4-6
Troubleshooting, 5.8-1, 6.8-1
Type, 5.7-3
Type code, 5.2-1, 6.2-1
Type of protection, 5.3-1, 6.3-1
U
User name, 6.7-16
V
Validity of the Instructions, 5.2-1, 6.2-1
Voltage supply, 5.4-4, 6.4-5
Preface, 1.1-1
W
Warranty, 1.3-5
Waste disposal, 1.3-5
L
Software Manual
DriveServer
2 DMS-Version 2.0 - 06/2006 - TD05/TD14 L
This Manual is valid for the DriveServer as of version 1.1
Copyright
2006 Lenze Drive Systems GmbH. All rights reserved.
Imprint
Lenze Drive Systems GmbH
Postfach 10 13 52, 31763 Hameln, Deutschland
Phone.: ++49 (0)5154 / 82-0
Fax: ++49 (0)5154 / 82-2111
E-mail: Lenze@Lenze.de
Copyright information
All texts, photos and graphics contained in this documentation are subject to
copyright protection. No part of this documentation may be copied or made
available to third parties without the explicit written approval of Lenze Drive
Systems GmbH.
Liability
All information given in this documentation has been carefully selected and
tested for compliance with the hardware and software described.
Nevertheless, discrepancies cannot be ruled out. We do not accept any
responsibility or liability for any damage that may occur. Required correction
will be included in updates of this documentation.
Trademarks
Microsoft, Windows and Windows NT are either registered trademarks or
trademarks of Microsoft Corporation in the U.S.A. and/or other countries.
Adobe and Reader are either registered trademarks or trademarks of Adobe
Systems Incorporated in the U.S.A. and/or other countries.
All other product names contained in this documentation are trademarks of
the corresponding owners.
L 2.0 EN 3
DriveServer
Contents
Contents
1 About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1 Conventions used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 Definition of notes used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 System requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1 Connection to the target system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1.1 Direct fieldbus connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1.2 Fieldbus connection via PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3 Software installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.1 Component selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.1 Structure of the DriveServer system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.2 More functions of the DriveServer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.3 OLE for Process Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.1 DCOM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.1.1 General settings for OPC server and OPC clients(s) . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.1.2 More settings for the OPC server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.2 LECOM bus server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5.2.1 User interface of the LECOM configurator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5.2.2 Selection and configuration of the COM interface . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.2.3 Detection of the LECOM drives connected. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5.3 Bus server for the system bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.4 DriveServer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.4.1 User interface of the DriveServer configurator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.4.2 DriveServer selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
5.4.3 Assignment between bus server and DriveServer . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6 Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
6.1 Starting the DriveServer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
6.2 Access via OPC clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
6.2.1 DriveServer configurator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
6.2.2 Application programs with OPC interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
DriveServer
Contents
4 2.0 EN L
7 DriveServer architectures (examples). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.1 Access via a LAN (Local Area Network) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.2 Transparent access using a PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
7.3 Access to different fieldbus systems via a LAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
8 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8.1 Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8.1.1 Lenze bus server S7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8.1.2 RS232/RS485 interface converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8.2 Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
9 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Your opinion is important to us. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
L 2.0 EN 5
DriveServer
About this Manual
Conventions used
1 About this Manual
The Manual contains information on the Lenze DriveServer V1.1.
The DriveServer is a software which provides easy integration of drives into open
automation structures based on OPC (OLE for Process Control).
The DriveServer also provides the following:
> Easy exchange of subordinated fieldbus systems because of fieldbus variants.
> Access to drive parameters using unambiguous names instead of code numbers.
> Exchange of parameter data
> Use of multi-axis systems with subnetworks (in preparation)
> Simplified explanation of complex sequences
> Integration and combination of drive tools made by different manufacturers
1.1 Conventions used
This Manual uses the following conventions to distinguish between different types of
information:
Type of information Writing Examples/notes
Variable identifier italics Set bEnable to TRUE...
Window range The message window... / The Options dialog box...
Control element bold The OK button... / The Copy command... / The Properties tab... / The
Name input field...
Sequence of
menu commands
If several commands must be used in sequence to carry out a function,
then the individual commands are separated by an arrow: Select
FileOpen to...
Keyboard command <bold> Press <F1> to open the Online Help.
If a command requires a combination of keys, a "+" is placed between
the key symbols:
With <Shift>+<ESC> you can...
Program code Cour i er
IF var 1 < var 2 THEN
a = a + 1
END IF
Keyword Courier
bold
Hyperlink underline Hyperlinks are highlighted references which are activated by means of a
mouse click.
Step-by-step
instructions
Step-by-step instructions are indicated by a pictograph.
DriveServer
About this Manual
Definition of notes used
6 2.0 EN L
1.2 Definition of notes used
This documentation uses the following signal words and symbols to indicate danger and
important information:
Safety information
Layout of the safety information:
Application notes
@Pictograph and signal word!
(characterise the type and severity of danger)
Note
(describes the danger and suggests how to avoid the danger)
Pictograph Signal word Meaning
@
Danger! Danger of personal injury through dangerous electrical voltage
Indicates an impending danger that may lead to death or severe personal injury if
the corresponding measures are not taken.
@
Danger! Danger of personal injury through a general source of danger
Indicates an impending danger that may lead to death or severe personal injury if
the corresponding measures are not taken.
_
Stop! Danger of material damage
Indicates a potential danger that may lead to material damage if the corresponding
measures are not taken.
Pictograph Signal word Meaning
@
Note! Important note for trouble-free operation
L
Software Manual
Bus server S7
2 DMS-Version 2.0 - 06/2006 - TD05/TD14 L
This Manual is valid for the bus server S7 from version x.x
Copyright
2006 Lenze Drive Systems GmbH. All rights reserved.
Imprint
Lenze Drive Systems GmbH
Postfach 10 13 52, 31763 Hameln, Germany
Phone.: ++49 (0)5154 / 82-0
Fax: ++49 (0)5154 / 82-2111
E-mail: Lenze@Lenze.de
Copyright information
All texts, photos and graphics contained in this documentation are subject to
copyright protection. No part of this documentation may be copied or made
available to third parties without the explicit written approval of Lenze Drive
Systems GmbH.
Liability
All information given in this documentation has been carefully selected and
tested for compliance with the hardware and software described.
Nevertheless, discrepancies cannot be ruled out. We do not accept any
responsibility or liability for any damage that may occur. Required correction
will be included in updates of this documentation.
Trademarks
Microsoft, Windows and Windows NT are either registered trademarks or
trademarks of Microsoft Corporation in the U.S.A. and/or other countries.
Adobe and Reader are either registered trademarks or trademarks of Adobe
Systems Incorporated in the U.S.A. and/or other countries.
All other product names contained in this documentation are trademarks of
the corresponding owners.
L 2.0 EN 3
Bus server S7
Contents
Contents
1 About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.1 Conventions used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2 Definition of notes used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2 System requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1 Connection to the target system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2 Supported protocols. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2.1 IBHLink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2.2 COMxMPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2.3 MPI Simatic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2.4 PROFIBUS-DP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2.5 SOFTNET TCP/H1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.2.6 TCP direct . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.3 Supported PLC hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3 Software installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.1 Component selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.1 Configuration of the interface module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.2 Bus server configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.2.1 User interface of the S7 configurator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.2.2 Automatic PLC detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.2.3 Manual addition of PLCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.2.4 PLC parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.2.5 Automatic drive detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.2.6 Manual addition of drives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.2.7 Drive parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.2.8 Configuration of subsystems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.2.9 Manual removal of configuration entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.2.10 Saving the current configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.2.11 Exit the S7 configurator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5 Creating a STEP7 project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
5.1 Overview of the STEP7 blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
5.2 Typical program flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.3 Files provided . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.3.1 STEP7 library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.3.2 STEP7 example programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
5.3.3 Device description files of the Lenze drives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Bus server S7
Contents
4 2.0 EN L
5.4 Creation of new projects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
5.5 Hardware configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
5.5.1 Configuring the MPI interface of the CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.5.2 Configuring the PROFIBUS interface of the CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.5.3 Configuring further hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5.6 Creating a STEP7 program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.6.1 Accessing a drive via OPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.6.2 Accessing several drives via OPC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.6.3 Accessing the drives connected to PROFIBUS-CPs . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.6.4 Access to process and parameter data from the PLC . . . . . . . . . . . . . . . . . . . . . . . 37
5.7 Testing the STEP7 program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.7.1 Structure of the DriveServer name area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.8 Optimisation of the cycle time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
5.9 Accessing PLC data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.1 Time load of the PLC cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.2 Transmission times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
6.3 Communication function parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.3.1 FB90 (FB DRIVE). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.3.2 FB91 (FB DRIVE CP). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.3.3 FC90 (FC parameter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
6.3.4 FC91 (FC process data three words) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.3.5 FC92 (FC process data, two words) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.3.6 FC93 (FC process data, three words, CP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
6.3.7 FC94 (FC process data, two words, CP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
6.4 Remote maintenance via modem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
6.5 S7-400 example project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.5.1 Hardware configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.5.2 Program blocks used. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.5.3 Symbolic variable names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
6.5.4 OB1/FC4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
6.5.5 Process data transmission. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
6.5.6 Control of the parameter data access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.5.7 Reading a parameter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
6.5.8 Writing a parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
L 2.0 EN 5
Bus server S7
Contents
6.6 Example project S7-300 with PROFIBUS-CP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
6.6.1 Hardware configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
6.6.2 Program blocks used. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
6.6.3 Symbolic variable names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
6.6.4 OB1/FC3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
6.6.5 Process data transmission. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
6.6.6 Control of the parameter data access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
6.6.7 Reading/writing a parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
6.7 S7 configurator - settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
6.7.1 'Common settings' tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
6.7.2 'S7 PLC' tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
6.7.3 'Device' tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
6.7.4 'Block' tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
6.7.5 'Item' tab (for device) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
6.7.6 'Item' tab (for block) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
6.8 FAQ - Frequently asked questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
7 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Your opinion is important to us. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Bus server S7
About this Manual
Conventions used
6 2.0 EN L
1 About this Manual
This Manual contains information on the Lenze bus server S7.
The bus server S7 is a fieldbus-specific OPC server according to DRIVECOM specification
which enables the Lenze DriveServer to access drives which are connected via PROFIBUS-
DP and controlled via Siemens SIMATIC S7 PLC.
The following figure shows the architecture of such a system:
> The PC with the DriveServer is connected to the PLC via a bus system (MPI, Ethernet or
PROFIBUS). The DriveServer uses the bus server S7 as OPC bus server.
> The S7 program uses special Lenze function blocks via which the DriveServer can access
the drives through the PLC as if the PLC was not connected.
> The drives are connected to the PROFIBUS master of the PLC via PROFIBUS-DP.
1.1 Conventions used
This Manual uses the following conventions to distinguish between different types of
information:
Type of information Writing Examples/notes
Variable identifier italics Set bEnable to TRUE...
Window range The message window... / The Options dialog box...
Control element bold The OK button... / The Copy command... / The Properties tab... / The
Name input field...
Sequence of
menu commands
If several commands must be used in sequence to carry out a function,
then the individual commands are separated by an arrow: Select
FileOpen to...
Shortcut <bold> Press <F1> to open the Online Help.
If a command requires a combination of keys, a "+" is placed between
the key symbols:
With <Shift>+<ESC> you can...
Program code Cour i er
IF var 1 < var 2 THEN
a = a + 1
END IF
Keyword Courier
bold
Hyperlink underline Hyperlinks are highlighted references which are activated by means of a
mouse click.
Step-by-step
instructions
Step-by-step instructions are indicated by a pictograph.
L 2.0 EN 7
Bus server S7
About this Manual
Definition of notes used
1.2 Definition of notes used
This documentation uses the following signal words and symbols to indicate danger and
important information:
Safety information
Layout of the safety information:
Application notes
@Pictograph and signal word!
(characterise the type and severity of danger)
Note
(describes the danger and suggests how to avoid the danger)
Pictograph Signal word Meaning
@
Danger! Danger of personal injury through dangerous electrical voltage
Indicates an impending danger that may lead to death or severe personal injury if
the corresponding measures are not taken.
@
Danger! Danger of personal injury through a general source of danger
Indicates an impending danger that may lead to death or severe personal injury if
the corresponding measures are not taken.
_
Stop! Danger of material damage
Indicates a potential danger that may lead to material damage if the corresponding
measures are not taken.
Pictograph Signal word Meaning
@
Note! Important note for trouble-free operation