Vacon NX OPTC6 CanOpen Board User manual

Type
User manual
vacon nx
ac drives
optc6
canopen option board
user manual
Tel.+358 (0)201 2121 Fax +358 (0)201 212 205
INDEX
Document code:
DPD00896A
Date: 17.01.2012
1.
GENERAL ........................................................................................................................... 3
2.
CANOPEN OPTION BOARD TECHNICAL DATA .................................................................... 4
2.1 General ..................................................................................................................................... 4
2.2 CanOpen cable .......................................................................................................................... 4
3.
CANOPEN ........................................................................................................................... 5
4.
CANOPEN OPTION BOARD LAYOUT AND CONNECTIONS .................................................. 6
4.1 CanOpen option board .............................................................................................................. 6
4.2 Bus terminal resistors ............................................................................................................. 6
4.3 LED indications ......................................................................................................................... 7
4.4 Connection of CanOpen bus cable ............................................................................................ 8
5.
INSTALLATION OF VACON NX CANOPEN BOARD ............................................................. 13
5.1 Board information sticker ...................................................................................................... 15
6.
COMMISSIONING .............................................................................................................. 16
7.
CANOPEN-VACON NX INTERFACE ................................................................................... 19
7.1 CanOpen message frame ....................................................................................................... 19
7.2 Network Management (NMT) ................................................................................................. 21
7.3 Process data (PDO) ................................................................................................................. 22
7.4 Transmission types ................................................................................................................ 23
7.5 Controlling the drive via PDO messages with Drive Profile ................................................... 24
7.6 Using manufacturer specific PDOs with ByPass modes ........................................................ 27
7.7 Drive Monitoring ..................................................................................................................... 29
7.8 Anyparameter service ............................................................................................................ 30
8.
Service Data (SDO) ........................................................................................................... 31
9.
Node Guarding Protocol ................................................................................................... 42
10.
Electronic Data Sheet, EDS-file ....................................................................................... 43
11.
APPENDICES .................................................................................................................... 44
appendix a - device profile for drives ..................................................................................................... 44
appendix b sdo messages .................................................................................................................... 45
appendix cprocess data contents ....................................................................................................... 46
appendix d .............................................................................................................................................. 47
general vacon 3
24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com
1
1.
GENERAL
Vacon NX frequency converters can be connected to the CanOpen system using a fieldbus board. The
converter can then be controlled, monitored and programmed from the Host system.
The CanOpen fieldbus board shall be installed in slot E on the control board of the frequency
converter.
DANGER
Internal components and circuit boards are at high potential when the frequency
converter is connected to the power source. This voltage is extremely dangerous
and may cause death or severe injury if you come into contact with it.
NOTE!
When experiencing problems with fieldbus functionalities, please contact
NOTE! You can download the English and French product manuals with applicable safety,
warning and caution information from www.vacon.com/downloads
.
REMARQUE Vous pouvez télécharger les versions anglaise et française des manuels produit
contenant l’ensemble des informations de sécurité, avertissements et mises en garde
applicables sur le site www.vacon.com/downloads
.
4 vacon canopen
Tel.+358-(0)201-21 Tel. +358 (0)201 2121 Fax +358 (0)201 212 205
3
2.
CANOPEN OPTION BOARD TECHNICAL DATA
2.1
General
CanOpen
connections
Interface Open Style Connector (Pluggable connector, 5.08mm)
Data transfer
method
CAN (ISO 11898)
Transfer cable 2 wire twisted shielded cable
Electrical isolation 500 VDC
Communications CanOpen CiA DS-301
CiA DSP-402
Baud rate 10 kBaud
20 kBaud
50 kBaud
100 kBaud
125 kBaud
250 kBaud
500 kBaud
1000 kBaud
Addresses 1 – 127
Environment The specifications of the drive are applicable.
Safety Fulfils EN50178 standard
Table 2-1. CanOpen technical data
2.2
CanOpen cable
According to the ISO 11898 standard, cables to be chosen for CAN bus lines should have a nominal
impedance of 120, and a specific line delay of nominal 5 ns/m. Line termination has to be provided
through termination resistors of 120 located at both ends of the line. The length related resistance
should have 70 m/m. All these mentioned AC and DC parameters are suitable for a 1 Mbit/s
transmission rate.
The table below shows practical bus length for CANopen networks with less than 64 nodes:
Baudrate [Kbit/s]
1000
30
800 50
500 100
250 250
125 500
50 1000
20 2500
CanOpen Option Board Vacon 5
24-hour support +358 (0)40 837 1150 • Email: v[email protected]
3.
CANOPEN
CANopen is a networking system based on the serial bus Controller Area Network (CAN). The
CANopen Communication Profile (CiA DS-301) supports both direct access to device parameters and
time-critical process data communication. CANopen device profiles (CiA DS-40x) define standards for
basic device functionality while providing ample scope for additional vendor-specific device features.
CANopen leashes the full power of CAN by allowing direct peer to peer data exchange between nodes
in an organised and, if necessary, deterministic manner. The network management functions
specified in CANopen simplify project design, implementation and diagnosis by providing standard
mechanisms for network start-up and error management.
CANopen supports both-cyclic and event-driven communication. This makes it possible to reduce the
bus load to a minimum but still maintaining extremely short reaction times. High communication
performance can be achieved at relatively low baud rates, thus reducing EMC problems and
minimising cable costs.
CANopen is the ideal networking system for all types of automated machinery. One of the
distinguishing features of CANopen is its support for data exchange at the supervisory control level as
well as accommodating the integration of very small sensors and actuators on the same physical
network. This avoids the unnecessary expense of gateways linking sensor/actuator bus systems with
higher communication networks and makes CANopen particularly attractive to original equipment
manufacturers.
Device Profile Drives and Motion Control (CiA DSP-402)
document represents the standardised
CANopen Device Profile for digital controlled motion products like servo controllers, frequency
converters or stepper motors. All the above-mentioned devices use communication techniques which
conform to those described in the CANopen Application Layer and Communication Profile. The
starting and stopping of the drive and several mode specific commands are executed by the
statemachine. The operation mode defines the behaviour of the drive. The following modes are
defined in this profile:
Homing Mode
Profile Position Mode
Interpolated Position Mode
Profile Velocity Mode
Profile Torque Mode
Velocity Mode
Vacon CanOpen Option Board supports the
Velocity Mode
6 vacon installation
Tel.+358-(0)201-21 Tel. +358 (0)201 2121 Fax +358 (0)201 212 205
5
4.
CANOPEN OPTION BOARD LAYOUT AND CONNECTIONS
Vacon CanOpen Board is connected to the fieldbus through a 5-pin pluggable bus connector (board
NXOPTC6).
The communication with the control board of the frequency converter takes place through the
standard Vacon Interface Board Connector.
4.1
CanOpen option board
Figure 4-1. Vacon CanOpen option board OPT-C6
Signal
Connector
Description
CAN_GND 1 Ground / 0V / V-
CAN_L
2
CAN_L bus line (dominant low)
(CAN_SHLD) 3 Optional CAN shield
CAN_H 4 CAN_H bus line (dominant high)
(CAN_V+) 5 -
Table 4-1.OPT-C6 bus connector signals
4.2
Bus terminal resistors
If Vacon drive is the last device of the CanOpen line the bus termination must be set. Use jumper X6
(ON position see Figure 4-1), or an external resistor (120) connected to terminals 2 and 4.
ON OFF
X1
A
M
X6
Jumpers
Interface board
connector
Grounding plate
Bus connector
1
2
3
4
5
installation Vacon 7
24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com
5
4.3
LED indications
The CanOpen Option Board includes two LED status indicators next to the connector: Fieldbus status
(M), CanOpen(A). Led N is unused.
Figure 4-2. LED indications on the CANopen board
CanOpen board status LED (A) GREEN
LED is: Meaning:
OFF
Option board not activated
ON Option board in initialisation state waiting for activation
command from the frequency converter
Blinking fast
(1 blink / s)
Option board is activated and in RUN state
Option board is ready for external communication
Blinking slow
(1 blink/ 5s)
Option board is activated and in FAULT state
Internal fault of option board
Fieldbus status LED (M) GREEN
LED is: Meaning:
OFF Fieldbus module is waiting for parameters from the
frequency converter
No external communication
ON Fieldbus module is activated
Parameters received and module activated
Module is waiting for messages from the bus
Blinking fast
(1 blink / s)
Module is activated and receiving messages from the bus
Blinking slow
(1 blink / 5s)
Module is in FAULT state
No messages from Master within the watchdog time
Bus broken, cable loose or Master off line
X1
A
M
X6
N
Green
Green
Not used
1
2
3
4
5
8 vacon installation
Tel.+358-(0)201-21 Tel. +358 (0)201 2121 Fax +358 (0)201 212 205
5
4.4
Connection of CanOpen bus cable
The bus cable shield can be grounded in three different ways:
a) clamping the cable to the frequency converter frame
b) to the frame of the frequency converter through an RC filter
c) directly to the converter frame
Note:
Normally, the option board has already been installed in slot E of the control board. It is not
necessary to detach the whole board for the grounding of the bus cable shield. Just detach the
terminal block.
4.4.1
Grounding by clamping the cable to the converter frame
This manner of grounding is the most effective and especially recommended when the distances
between the devices are relatively short (see 4.4.2.1).
In this manner of grounding, the position of jumper X1 is of no importance
Figure 4-3. Grounding by clamping the cable to the converter frame
1 Strip about 5 cm of the CanOpen cable in the same way as shown in Figure 4-4 but
cut off the
grey cable shield
.
Remember to do this for both bus cables (except for the last device).
2 Leave no more than 1 cm of the data cable outside the terminal block and strip the data cables at
about 0.5 cm to fit in the terminals. See Figures 4-5 and 4-6.
Note:
Do this for both bus cabels
3 Insert the data cables
of both CanOpen cables
into terminals #2 and #4. See Figure 4-7.
4 Strip the CanOpen cable at such a distance from the terminal that you can fix it to the frame with
the grounding clamp. See Figure 4-4.
Error! Reference source not found.
Figure 4-4.
c
a
b
l
e
c
a
b
l
e
c
a
b
l
e
C
a
n
p
e
n
O
C
a
n
p
e
n
O
C
a
n
p
e
n
O
installation Vacon 9
24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com
5
4.4.2
Grounding the bus cable shield directly to the frequency converter frame using
jumper X1
1 Set jumper
X1
in ON position:
Figure 4-5. Jumper X1 positions
2 Strip about 5 cm of the CanOpen cable as shown in the picture.
Note:
Do the same for both bus cables (except for the last device). However, since the
grounding shall be done on one cable only cut off the exposed part of the other grounding
cable.
Figure 4-6.
3 Leave no more than 1 cm of the red and green data cable outside the terminal block and
strip the data cables at about 0.5 cm to fit in the terminals. See pictures below.
Note:
Do this for both bus cabels.
ON
OFF
X1
10 vacon installation
Tel.+358-(0)201-21 Tel. +358 (0)201 2121 Fax +358 (0)201 212 205
5
Figure 4-7.
Figure 4-8.
installation Vacon 11
24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com
5
4 We recommend you to use an Abico connector to fit the grounding cable into the grounding
terminal (#3).
Insert the white and brown data cables
of both CanOpen cables
into terminals #2 (white)
and #4 (brown).
Figure 4-9.
5 Place the CanOpen board into slot E of the control board (see board installation on page 13)
and fix both the CanOpen cables on the frame with the clamp.
Figure 4-10.
12 vacon installation
Tel.+358-(0)201-21 Tel. +358 (0)201 2121 Fax +358 (0)201 212 205
5
4.4.2.1
Grounding the bus cable shield directly to the frequency converter frame using an RC-filter
We recommend you to do the grounding in this manner when the distance between the devices
exceeds 50 meters (55 yds.). When the distance between the devices is long disturbances (e.g. voltage
spikes) are more likely to appear. In this grounding method, the disturbances are filtered out. Even if
the ground planes of A, B and C are different (which is very typical e.g. in construction) there is no
current between them because the points do not have a ground connection.
Figure 4-11. Grounding with RC filter
1 Set jumper
X1
in OFF position
Figure 4-12. Jumper X1 positions
2 Carry out the grounding in the same way as advised in Chapter 4.4.1.
C
a
n
O
p
e
n
c
a
b
l
e
c
a
b
l
e
c
a
b
l
e
A
B
C
C
a
n
p
e
n
O
C
a
n
p
e
n
O
X1
A
M
ON
OFF
1
2
3
4
5
installation Vacon 13
24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com
5
5.
INSTALLATION OF VACON NX CANOPEN BOARD
!
NOTE
MAKE SURE THAT THE FREQUENCY CONVERTER
IS SWITCHED OFF
BEFORE
AN OPTION OR FIELDBUS BOARD IS CHANGED OR ADDED!
A
Vacon NX frequency converter
B
Remove the cable cover.
C
Open the cover of the control unit.
14 vacon installation
Tel.+358-(0)201-21 Tel. +358 (0)201 2121 Fax +358 (0)201 212 205
5
D
Install CanOpen option board in slot E
on the control board of the frequency
converter. Make sure that the grounding
plate (see below) fits tightly in the
clamp.
X6
X1
1
2
3
4
5
E
Make a sufficiently wide opening for
your cable by cutting the grid as wide as
necessary.
F
Close the cover of the control unit and
the cable cover.
installation Vacon 15
24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com
5
5.1
Board information sticker
The CanOpen option board package delivered by the factory includes a sticker (shown below). Please
mark the board type (1), the slot into which the board is mounted (2) and the mounting date (3) on the
sticker. Finally, attach the sticker on your drive.
Drive modified
:
Option board:
NXOPT................
IP54 upgrade/ Collar
in slot:
Date:...................
A B C D E
EMC level modified: H
Ý
T / T
Ý
H
Date:...................
Date:...................
1
2
3
16 vacon commissioning
Tel.+358-(0)201-21 Tel. +358 (0)201 2121 Fax +358 (0)201 212 205
6
6.
COMMISSIONING
READ FIRST CHAPTER 8 'COMMISSIONING' IN VACON NX USER'S MANUAL (Document nr. ud00701,
please visit http://www.vacon.com/support/documents.html).
Note!
You must select Fieldbus as the active control place, if you wish to control the frequency
converter through fieldbus. See Vacon NX User’s Manual, Chapter 7.3.3.1
The Vacon CanOpen board is commissioned with the control keypad by giving values to appropriate
parameters in menu
M7
(for locating the expander board menu see Vacon NX User's Manual, Chapter
7).
Expander board menu (M7)
The
Expander board menu
makes it possible for the user 1) to see what expander boards are
connected to the control board and 2) to reach and edit the parameters associated with the expander
board.
Enter the following menu level
(G#)
with the
Menu button right
. At this level, you can browse through
slots A to E with the
Browser buttons
to see what expander boards are connected. On the lowermost
line of the display you also see the number of parameter groups associated with the board.
If you still press the
Menu button right
once you will reach the parameter group level where there are
two groups: Editable parameters and Monitored values. A further press on the
Menu button right
takes you to either of these groups.
CanOpen parameters
To commission the CanOpen board, enter the level P7.5.1.# from the
Parameters
group (G7.5.1). Give
desired values to all CanOpen parameters (see xx and xx).
Figure 6-1. Changing the CANopen option board parameters
G1
G5
READY
E:NXOPTC6
READY
G1
G2
READY
READY
enter
P1P3
READY
Expander boards
Parameters
Node ID
63
CHANGE VALUE
CONFIRM CHANGE
63
Node ID
commissioning Vacon 17
24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com
6
#
Name
Default
Range
Description
1 Node ID 1 1 – 127
2 BAUD RATE
6
1 – 10 kBaud
2 – 20 kBaud
3 – 50 kBaud
4 – 100 kBaud
5 – 125 kBaud
6 – 250 kBaud
7 – 500 kBaud
8 – 1000 kBaud
Communication speed
3 Operate mode
1
1 – Drive Profile
2 – ByPass
3 – ByPass 2
Communication set selection
1 = xPDO1, xPDO6
2 = xPDO1, xPDO21, xPDO22
3 = xPDO1, xPDO21, xPDO22
Table 6-1. CANopen parameters
ByPass mode can be used in customer-specific applications and in special applications, such as
System Interface application.
ByPass 2 mode is used with standard applications, e.g. NXL Multicontrol application and All-in-One
applications for NXS and NXP.
ByPass 2 mode is supported in the following System software versions:
NXL
NXL00005V253
NXS
NXS00001V174
NXP
NXP00002V174
The parameters of every device must be set before connecting to the bus. Especially the parameters
“NODE ID” and “BAUD RATE” must be the same as in the master configuration.
CanOpen status
To see the present status of the CanOpen Fieldbus, enter the
CanOpen Status
page from
Monitor
menu (G7.5.2)
. See picture and table below.
Figure 6-2. DeviceNet status
18 vacon commissioning
Tel.+358-(0)201-21 Tel. +358 (0)201 2121 Fax +358 (0)201 212 205
6
CanOpen status
0
INITIALISING
4 STOPPED
5 OPERATIONAL
6 PRE_OPERATIONAL
7 RESET_APPLICATION
8 RESET_COMM
9 UNKNOWN
Table 6-2. CANopen status indications
nx interface vacon 19
24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com
7
7.
CANOPEN-VACON NX INTERFACE
CanOpen communication objects transmitted via the CAN network are described by services and
protocols. They are classified as follows:
- The real-time data transfer is performed by the Process Data Objects (PDOs) protocol
REAL-TIME CONTROL OF THE DRIVE
- Service Data Objects (SDO) protocols provide the read and write access to entries of a device
object dictionary
CONFIGURATION OF THE DRIVE, READ/WRITE DRIVE PARAMETERS
- The Network Management (NMT) protocols provide services for network initialization, error
control and device status control
START/STOP CANOPEN COMMUNICATION
7.1
CanOpen message frame
SOF
COB-ID
RTR
CTRL
Data Segment
CRC
ACK
EOF
1bit
11bit
1bit
5bit
0-8bytes
16bits
2bits
7bits
SOF Start of Frame CRC Cyclic Redundancy Check
RTR Remote Transmission Request ACK Acknowledge
CTRL Control Field (i.e. Data Length) EOF End of Frame
COB-ID
The identification field of the CANopen-message is 11 bits.
ID-Bit
10
9
8
7
6
5
4
3
2
1
0
COB-ID
Function Code
Module-ID
The default identification field consists of a functional part and a module-ID part. The functional part
determines the object priority. This kind of identification field allows communication between a
master and 127 slaves. Broadcasting is indicated by a module-id of zero. Function codes are
determined with object dictionaries in device profiles.
20 vacon nx interface
Tel.+358-(0)201-21 Tel. +358 (0)201 2121 Fax +358 (0)201 212 205
7
Predefined connection sets
CanOpen option board has two different communication parameter sets. These sets can be selected
via Operate Mode parameter from panel. Both communication sets fullfils ‘Drives And Motor
Control’-profile described in CiA DSP-402.
Drive Profile - mode
Object Function Code
(binary)
COB-ID Comm. parameter at Index
NMT message 0000 0x0000 -
Sync Message
0001
0x0080
0x1005
Time-Stamp-Message
0001
0x0100
-
PDO1, Process Data Objects (tx)
0011
0x0180 +Node
0x1800
PDO1, Process Data Objects (rx) 0100 0x0200 +Node 0x1400
PDO6, Process Data Objects (tx)
0101
0x0280 +Node
0x1801
PDO6, Process Data Objects (rx)
0110
0x0300 +Node
0x1401
SDO, Service Data Objects (tx) 1011 0x0580 +Node
SDO, Service Data Objects (rx)
1100
0x0600 +Node
Node Guarding
1110
0x0700 +Node
(0x100E)
Table 7-1. Drive Profile -mode
ByPass - mode
Object Function Code
(binary)
COB-ID Comm. parameter at Index
NMT message 0000 0x0000 -
Sync Message
0001
0x0080
0x1005
Time-Stamp-Message
0010
0x0100
-
PDO1, Process Data Objects (tx)
0011
0x0180 +Node
0x1800
PDO1, Process Data Objects (rx)
0100
0x0200 +Node
0x1400
PDO21, Process Data Objects (tx)
0111
0x0380 +Node
0x1814
PDO21, Process Data Objects (rx)
1000
0x0400 +Node
0x1414
PDO22, Process Data Objects (tx) 1001 0x0480 +Node 0x1815
PDO22, Process Data Objects (rx)
1010
0x0500 +Node
0x1415
SDO, Service Data Objects (tx)
1011
0x0580 +Node
SDO, Service Data Objects (rx) 1100 0x0600 +Node
Node Guarding
1110
0x0700 +Node
(0x100E)
Table 7-2. Bypass -mode
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48

Vacon NX OPTC6 CanOpen Board User manual

Type
User manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI