Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
63
Добавлен:
11.10.2020
Размер:
2.21 Mб
Скачать

156 • CANopen

Network Communication

5.3.4.2.20Object 0x1400– 0x141F, Receive PDO Communication Parameter

 

Idx

 

 

S-Idx

 

 

Name

 

 

Type

 

Attribute

 

Default Value

 

0x1400 to

 

0

 

Max. supported

 

 

Unsigned8

 

RO

2

 

0x141F

 

 

 

 

 

Entries

 

 

 

 

 

 

 

 

 

 

1

 

COB-ID

 

 

Unsigned32

 

RW

 

Idx 0x1400 0x200+Module-ID

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Idx 0x1401 0x300+Module-ID

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Idx 0x1402 0x400+Module-ID

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Idx 0x1403 0x500+Module-ID

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Idx 0x1404-141F 0x80000000

 

 

 

2

 

Transmission type

 

 

Unsigned8

 

RW

255

This object is used to set the communication parameters of the RxPDOs. 32 RxPDOs are supported. The default COB IDs of the first four PDOs are preassigned according to the DS301 standard. All further PDOs are deactivated. If not all default PDOs are used (i.e. a smaller number of modules is connected), also the default PDOs not used are deactivated.

Design COB-ID:

Bit31

Bit 30

Bit29

Bit11

Bit10

Bit0

 

 

 

 

 

 

0/1

0/1

reserved (always 0)

 

COB-ID

 

valid/invalid

RTR allowed / not

 

 

 

 

 

allowed

 

 

 

 

If a new COB ID is to be entered, bit 31 must be set to 1 first, because the DS301 standard does not permit to change a valid COB ID (Bit31=0).

A mode can be defined for each PDO for the purpose of data transmission (transmission type in the Index Communication Parameter). As standard, digital and analog inputs are transmitted as ´Change of Value´(COV). The type of transmission depending of the set transmission type is explained in the following table.

Transmis-

PDO transmission

 

 

 

 

 

sion type

 

 

 

 

 

 

 

 

 

cyclic

acyclic

 

synchro-

asyn-

RTR

TxPDO

RxPDO

 

 

 

 

nous

chro-

only

(Inputs)

(outputs)

 

 

 

 

 

nous

 

 

 

0

 

X

 

X

 

 

if COV is transmitted

Set outputs after each

 

 

 

 

 

 

 

with each SYNC

SYNC as requested by the

 

 

 

 

 

 

 

 

last PDO received

1 – 240

X

 

 

X

 

 

Transmission with

Set outputs after each

 

 

 

 

 

 

 

each x SYNC

SYNC as requested by the

 

 

 

 

 

 

 

(x = 1 to 240)

last PDO received

241 – 251

- reserved

-

 

 

 

 

 

 

252

 

 

 

X

 

X

Data is read-in again

Not supported

 

 

 

 

 

 

 

with a SYNC, but not

 

 

 

 

 

 

 

 

sent,

 

 

 

 

 

 

 

 

request via RTR

 

253

 

 

 

 

X

X

Request via RTR

COV

254

 

 

 

 

X

 

COV 1

COV

255

 

 

 

 

X

 

COV 1

COV

1 the data is transmitted at the interval of the set inhibit time

WAGO-I/O-SYSTEM 750

CANopen

CANopen • 157

Network Communication

5.3.4.2.21Object 0x1600– 0x161F, Receive PDO Mapping Parameter

 

Idx

 

 

S-Idx

 

 

Name

 

Type

 

 

 

 

 

Default Value

 

 

0x1600 to

 

0

 

Number of mapped

 

Unsigned8

 

RW

 

-

 

 

0x161F

 

 

 

 

 

Objects

 

 

 

 

RW

 

 

 

 

 

 

 

 

1 to 8

 

1. Object to 8. Object

 

Unsigned32

 

 

-

 

This object is used to define the data, which is to be transmitted by means of the PDO.

Sub-index 0 contains the number of objects valid for the PDO.

Design 1. to 8. Object:

Bit31

Bit16 Bit 15

Bit8 Bit7

Bit0

 

 

 

 

 

 

Index

 

Sub-Index

 

Size

 

 

 

 

 

 

 

Index:

Index of the object to be transmitted

Sub-Index:

Sub-index of the object to be transmitted

Size:

Object size in bits

 

Due to the fact that max. 8 bytes can be transmitted in a

 

PDO, the sum of the valid object lengths must not exceed

64(8Byte*8Bit)

5.3.4.2.22Object 0x1800– 0x181F, Transmit PDO Communication Parameter

 

Idx

 

S-Idx

 

Name

 

Type

 

 

 

Default Value

 

 

0x1800 to

 

0

 

Max. supported

 

Unsigned8

 

RO

 

5

 

 

0x181F

 

 

 

Entries

 

 

 

RW

 

 

 

 

 

 

1

 

COB-ID

 

Unsigned32

 

 

Idx 0x1800 0x180+Module-ID

 

 

 

 

 

 

 

 

 

 

 

 

Idx 0x1801 0x280+Module-ID

 

 

 

 

 

 

 

 

 

 

 

 

Idx 0x1802 0x380+Module-ID

 

 

 

 

 

 

 

 

 

 

 

 

Idx 0x1803 0x480h+Module-ID

 

 

 

 

 

 

 

 

 

 

RW

 

Idx 0x1804-181F 0x80000000

 

 

 

 

2

 

Transmission type

 

Unsigned8

 

 

255

 

 

 

 

3

 

Inhibit Time

 

Unsigned16

 

RW

 

Idx 0x1800 0

 

 

 

 

 

 

 

 

 

 

RW

 

Idx 0x1801 – 181F 100

 

 

 

 

4

 

Reserved

 

Unsigned8

 

 

0

 

 

 

 

5

 

Event Timer

 

Unsigned16

 

RW

 

0

 

This object is used to set the communication parameters of the TxPDOs. 32 TxPDOs are supported. The default COB IDs of the first four PDOs are preassigned according to the DS301 standard. All other PDOs are de-activated. If not all default PDOs are used (i.e. a smaller number of modules is connected), also the default PDOs not used are de-activated.

Inhibit Time shows the min. time between two consecutive PDOs having the same COB ID. One time unit is 100us. The transmitted value is internally rounded to the next smaller milli-second.

WAGO-I/O-SYSTEM 750

CANopen

158 • CANopen

Network Communication

If a new value is to be entered, the COB ID has to be set invalid (Bit 31 = 1), because the DS301 standard does not permit to enter a new time when the COB ID (Bit31=0) is valid.

Example:

Min. time interval between two PDOs having the same COB

 

ID: 30ms.

 

Sub-index 3 = 300 = 0x12C

The Event Timer defines the time after the elapse of which a PDO is sent, even if no change of the PDO data has occurred. Enter the time in milliseconds. The timer is re-started whenever an event occurs (change to the PDO data).

If the time is shorter than the inhibit time, a new event is generated once the inhibit time has elapsed!

Attention

The event timer can only be used for the transmission types 254/255.

Attention

An object entry can only be mapped in a max. of 3 different PDOs.

5.3.4.2.23Object 0x1A00 – 0x1A1F, Transmit PDO Mapping Parameter

Idx

S-Idx

Name

Type

Attribute

Default Value

0x1A00 to

0

Number of mapped

Unsigned8

RW

-

0x1A1F

 

objects

 

 

 

 

1 to 8

1.Object to 8.Object

Unsigned32

RW

-

This object is used to define the data, which is transmitted using the PDO.

Sub-index 0 contains the number of objects valid for the PDO.

Design 1. to 8. Object:

Bit31

Bit16 Bit 15

Bit8 Bit7

Bit0

 

 

 

 

 

 

Index

 

Sub-Index

 

Size

 

 

 

 

 

 

 

Index:

Index of the object to be transmitted

Sub-Index:

Sub-index of the object to be transmitted

Size:

Size of the object in bits

 

Due to the fact that max. 8 bytes in a PDO can be transmit-

 

ted, the total of valid object lengths must not exceed 64

 

(8Byte*8Bit)

WAGO-I/O-SYSTEM 750

CANopen

Соседние файлы в папке 750-837