Материал: m083700e

Внимание! Если размещение файла нарушает Ваши авторские права, то обязательно сообщите нам

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

CANopen • 159

Network Communication

5.3.4.3 Manufacturer Specific Profile Area

The non-standard device profile-specific I/O functionality of special modules and other modules as well as special functions (i.e. spacer module configuration,...) are imaged in the ‘Manufacturer Specific Area’ profile. The objects defined there provide data word widths of a modularity from 1 to 8 bytes. The indexes 0x2000 (digital inputs), 0x2100 (digital outputs), 0x2400 (2 byte special module inputs) and 0x2500 (2 byte special module outputs) are mirror imaged by the corresponding indexes of the device profile DS 401 (0x6000, 0x6200, 0x6401, 0x6411). This means for instance: object 0x2000 and object 0x6000 refer to the same memory places in the process image.

The following table shows all objects of the manufacturer profile supported by the bus coupler.

Idx

Name

Type

Meaning

See on

 

 

 

 

page

0x2000

Digital inputs

Array

Data of digital input modules

160

 

 

Unsigned8

 

 

0x2100

Digital outputs

Array

Data of digital output modules

160

 

 

Unsigned8

 

 

0x2200

1 byte special modules, inputs

Array

Data of 1 byte special input modules

160

 

 

Unsigned8

 

 

0x2300

1 byte special modules, outputs

Array

Data of 1 byte special output modules

160

 

 

Unsigned8

 

 

0x2400

2 byte special modules, inputs

Array

Data of 2 byte special input modules

160

 

 

Un-

 

 

 

 

signed16

 

 

0x2500

2 byte special modules, outputs

Array

Data of 2 byte special output modules

160

 

 

Un-

 

 

 

 

signed16

 

 

0x2600

3 byte special modules, inputs

Record

Data of 3 byte special input modules

160

0x2700

3 byte special modules, outputs

Record

Data of 3 byte special output modules

161

0x2800

4 byte special modules, inputs

Record

Data of 4 byte special input modules

161

0x2900

4 byte special modules, outputs

Record

Data of 4 byte special output modules

161

0x3000

5 byte special modules, inputs

Record

Data of 5 byte special input modules

161

0x3100

5 byte special modules, outputs

Record

Data of 5 byte special output modules

161

0x3200

6 byte special modules, inputs

Record

Data of 6 byte special input modules

161

0x3300

6 byte special modules, outputs

Record

Data of 6 byte special output modules

161

0x3400

7 byte special modules, inputs

Record

Data of 7 byte special input modules

162

0x3500

7 byte special modules, outputs

Record

Data of 7 byte special output modules

162

0x3600

8 byte special modules, inputs

Record

Data of 8 byte special input modules

162

0x3700

8 byte special modules, outputs

Record

Data of 8 byte special output modules

163

0x4200-

Gateway-Module-Input

Record

Input data of Gateway modules

160

0x4202

 

 

 

 

0x4300-

Gateway-Module-Output

Record

Output data of Gateway modules

163

0x4302

 

 

 

 

0x4500

Spacer module configuration

Record

Configuration of virtual modules

163

0x5000

Input PA

Record

Reading of the input process image

168

0x5001

Output PA

Record

Writing the output process image

168

0x5200

Controller Configuration Object

Record

Deactivate PDO processing, blink code

168

 

 

 

display and I/O module diagnostics

 

0x5201

Diagnostic Configuration Object

Array of

Diagnostic behavior of the I/O modules

169

 

 

Byte

 

 

WAGO-I/O-SYSTEM 750

CANopen

160 • CANopen

Network Communication

5.3.4.3.1 Object 0x2000, Digital Inputs

 

Idx

 

 

S-Idx

 

 

Name

 

 

Type

 

 

Attribute

 

 

Default Value

 

 

Meaning

 

 

0x2000

 

0

 

8-Bit digital input block

 

Unsigned8

 

RO

 

-

 

 

Number of digital 8 bit input blocks

 

 

 

 

1

 

1. input block

 

 

Unsigned8

 

RO

 

-

 

 

1. digital input block

 

 

 

 

....

 

....

 

....

 

....

 

....

 

....

 

 

 

 

32

 

32. input block

 

 

Unsigned8

 

RO

 

-

 

 

32. digital input block

 

5.3.4.3.2 Object 0x2100, Digital Outputs

 

 

 

 

 

 

 

 

 

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x2100

0

8-Bit digital output block

Unsigned8

RO

-

Number of digital 8 bit output blocks

 

1

1. output block

Unsigned8

RW

0

1. digital output block

 

....

....

....

....

....

....

 

32

32. output block

Unsigned8

RW

0

32. digital output block

5.3.4.3.3 Object 0x2200, 1 Byte Special Modules, Inputs

 

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x2200

0

Special 1 byte input

Unsigned8

RO

-

Number of the 1 byte special channels

 

1

1. special input

Unsigned8

RO

-

1. Input channel

 

....

....

....

....

....

....

 

254

254. special input

Unsigned8

RO

-

254. Input channel

5.3.4.3.4 Object 0x2300, 1 Byte Special Modules, Outputs

 

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x2300

0

special 1 byte output

Unsigned8

RO

-

Number of the 1 byte special channels

 

1

1. special output

Unsigned8

RW

0

1. Output channel

 

....

....

....

....

....

....

 

254

254. special output

Unsigned8

RW

0

254. Output channel

5.3.4.3.5 Object 0x2400, 2 Byte Special Modules, Inputs

 

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x2400

0

special 2 byte input

Unsigned8

RO

-

Number of the 2 byte special channels

 

1

1. special input

Unsigned16

RO

-

1. Input channel

 

....

....

....

....

....

....

 

254

254. special input

Unsigned16

RO

-

254. Input channel

5.3.4.3.6 Object 0x2500, 2 Byte Special Modules, Outputs

 

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x2500

0

special 2 byte output

Unsigned8

RO

-

Number of the 2 byte special channels

 

1

1. special output

Unsigned16

RW

0

1. Output channel

 

....

....

....

....

....

....

 

254

254. special output

Unsigned16

RW

0

254. Output channel

5.3.4.3.7 Object 0x2600, 3 Byte Special Modules, Inputs

 

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x2600

0

special 3 byte input

Unsigned8

RO

-

Number of the 3 byte special channels

 

1

1. special input

Unsigned24

RO

-

1. Input channel

 

....

....

....

....

....

....

 

170

170. special input

Unsigned24

RO

-

170. Input channel

WAGO-I/O-SYSTEM 750

CANopen

Источник: https://studfile.net/preview/16369781/