Manual VIPA System 200V
Chapter 5 CANopen
HB97E - IM - Rev. 06/29
5-21
For access to the object directory, the
S
ervice-
D
ata-
O
bject (SDO) is used.
The SDO allows you a read or write access to the object directory. In the
CAL-Layer-7-Protocol you find the specification of the Multiplexed-Domain-
Transfer-Protocol that is used by the SDOs. This protocol allows you to
transfer data with any length. At need, the messages are divided into
several CAN messages with identical identifier (segmentation). A SDO is
transferred acknowledged, i.e. every reception of a message is
acknowledged.
Note!
A more detailed description of the SDO telegrams is to find in the CiA norm
DS-301.
In the following only the error messages are described that may occur at a
wrong parameter communication.
Every CPU has the SFC 219 integrated. This allows you to start a SDO
read or write access from your PLC program to the CAN master.
You address your master via the plug-in location and the destination slave
via its CAN address. The process data is defined by index and subindex.
Via SDO every access transfers max. one data word process data. The
SFC 219 contains the following parameters:
Parameter
Declaration Type
Description
REQUEST IN BOOL
SLOT_MASTER IN
BYTE
NODEID IN BYTE
TRANSFERTYP IN
BYTE
INDEX IN
DWORD
SUBINDEX IN
DWORD
CANOPENERROR OUT
DWORD
RETVAL OUT
WORD
BUSY OUT
BOOL
DATABUFFER IN_OUT ANY
Control parameter: 1: Start the order
0: VIPA 21x-2CM01
1...32: VIPA 208-1CA00, depending on plug-in location no.
Address of the CANopen node (1...127)
40h, 60h: Read SDO
61h: Write SDO (undefined length)
23h: Write SDO (1 DWORD)
2Bh: Write SDO (1 WORD)
2Fh: Write SDO ( 1 BYTE)
CANopen Index
CANopen Subindex
SDO
SFC 219 CAN_TLGR
SDO request to CAN
master
REQUEST
SLOT_MASTER
NODELD
TRANSFER TYPE
INDEX
SUBINDEX
Summary of Contents for System 200V IM Series
Page 1: ...Manual VIPA System 200V IM Order No VIPA HB97E_IM Rev 06 29...
Page 2: ...Lerrzeichen...
Page 6: ...About this manual Manual VIPA System 200V Subject to change to cater for technical progress...
Page 10: ...Contents Manual VIPA System 200V iv HB97E IM Rev 06 29...
Page 18: ...Chapter 1 Basics Manual VIPA System 200V 1 6 HB97E IM Rev 06 29...
Page 136: ...Chapter 3 Profibus DP Manual VIPA System 200V 3 104 HB97E IM Rev 06 29...
Page 338: ...Chapter 8 Ethernet coupler Manual VIPA System 200V 8 34 HB97E IM Rev 06 29...
Page 344: ...Chapter 9 Bus expansion modules IM 260 IM 261 Manual VIPA System 200V 9 6 HB97E IM Rev 06 29...