Материал: m083700e

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

CANopen • 161

Network Communication

5.3.4.3.8 Object 0x2700, 3 Byte Special Modules, Outputs

 

Idx

 

 

S-Idx

 

 

Name

 

 

Type

 

 

Attribute

 

 

Default Value

 

 

Meaning

 

 

0x2700

 

0

 

special 3 byte output

 

 

Unsigned8

 

 

RO

 

-

 

 

Number of the 3 byte special channels

 

 

 

 

1

 

1. special output

 

 

Unsigned24

 

 

RW

 

0

 

 

1. Output channel

 

 

 

 

....

 

....

 

....

 

....

 

 

....

 

....

 

 

 

 

170

 

170. special output

 

 

Unsigned24

 

 

RW

 

 

0

 

 

170. Output channel

 

5.3.4.3.9 Object 0x2800, 4 Byte Special Modules, Inputs

 

 

 

 

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x2800

0

special 4 byte input

Unsigned8

RO

-

Number of the 4 byte special channels

 

1

1.special input

Unsigned32

RO

-

1. Input channel

 

....

....

....

....

....

....

 

128

128. special input

Unsigned32

RO

-

128. Input channel

5.3.4.3.10 Object 0x2900, 4 Byte Special Modules, Outputs

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x2900

0

special 4 byte output

Unsigned8

RO

-

Number of the 4 byte special channels

 

1

1. special output

Unsigned32

RW

0

1. Output channel

 

....

....

....

....

....

....

 

128

128. special output

Unsigned32

RW

0

128. Output channel

5.3.4.3.11 Object 0x3000, 5 Byte Special Modules, Inputs

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x3000

0

special 5 byte input

Unsigned8

RO

-

Number of the 5 byte special channels

 

1

1. special input

Unsigned40

RO

-

1. Input channel

 

....

....

....

....

....

....

 

102

102. special input

Unsigned40

RO

-

102. Input channel

5.3.4.3.12 Object 0x3100, 5 Byte Special Modules, Outputs

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x3100

0

special 5 byte output

Unsigned8

RO

-

Number of the 5 byte special channels

 

1

1. special output

Unsigned40

RW

0

1. Output channel

 

....

....

....

....

....

....

 

102

102. special output

Unsigned40

RW

0

102. Output channel

5.3.4.3.13 Object 0x3200, 6 Byte Special Modules, Inputs

 

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x3200

0

special 6 byte input

Unsigned8

RO

-

Number of the 6 byte special channels

 

1

1. special input

Unsigned48

RO

-

1. Input channel

 

....

....

....

....

....

....

 

85

85. special input

Unsigned48

RO

-

85. Input channel

5.3.4.3.14 Object 0x3300, 6 Byte Special Modules, Outputs

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x3300

0

Special 6 byte output

Unsigned8

RO

-

Number of the 6 byte special channels

 

1

1. special output

Unsigned48

RW

0

1. Output channel

 

....

....

....

....

....

....

 

85

85. special output

Unsigned48

RW

0

85. Output channel

WAGO-I/O-SYSTEM 750

CANopen

162 • CANopen

Network Communication

5.3.4.3.15 Object 0x3400, 7 Byte Special Modules, Inputs

 

Idx

 

 

S-Idx

 

 

Name

 

 

Type

 

 

Attribute

 

 

Default Value

 

 

Meaning

 

 

0x3400

 

0

 

Special 7 byte input

 

 

Unsigned8

 

 

RO

 

-

 

 

Number of the 7 byte special channels

 

 

 

 

1

 

1. special input

 

 

Unsigned56

 

 

RO

 

-

 

 

1. Input channel

 

 

 

 

....

 

....

 

....

 

....

 

....

 

....

 

 

 

 

73

 

73. special input

 

 

Unsigned56

 

 

RO

 

-

 

 

73. Input channel

 

5.3.4.3.16 Object 0x3500, 7 Byte Special Modules, Outputs

 

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x3500

0

Special 7 byte output

Unsigned8

RO

-

Number of the 7 byte special channels

 

1

1. special output

Unsigned56

RW

0

1. Output channel

 

....

....

....

....

....

....

 

73

73. special output

Unsigned56

RW

0

73. Output channel

5.3.4.3.17 Object 0x3600, 8 Byte Special Modules, Inputs

 

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x3600

0

special 8 byte input

Unsigned8

RO

-

Number of the 8 byte special channels

 

1

1. special input

Unsigned64

RO

-

1. Input channel

 

....

....

....

....

....

....

 

64

64. special input

Unsigned64

RO

-

64. Input channel

5.3.4.3.18 Object 0x3700, 8 Byte Special Modules, Outputs

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x3700

0

Special 8 byte output

Unsigned8

RO

-

Number of the 8 byte special channels

 

1

1. special output

Unsigned64

RW

0

1. Output channel

 

....

....

....

....

....

....

 

64

64. special output

Unsigned64

RW

0

64. Output channel

5.3.4.3.19 Object 0x4200-0x4202, Gateway Module Input

 

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x4200-

0

Largest sub-index

Unsigned8

RO

-

Max. supported Sub-Index

0x4202

 

supported

 

 

 

 

 

1

Mailbox length

Unsigned8

RO

-

Size of Mailbox

 

2

Mailbox

Octet String

RO

-

Mailbox

 

3-30

Gateway Process data

Unsigned8

RW

-

Process data of the Gateway Module

One Status Byte is mapped for each module. It is in the first place of the mailbox, afterwards an empty byte and then the actual mailbox box data follow.

Example:

1 byte Status, 6 bytes mailbox, 4 bytes data

Data in the input process image

S

 

-

MB1

MB2

MB3

MB4

MB5

MB6

D1

 

D2

D3

 

D4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Entries in the Object directory

 

 

 

 

 

 

 

 

 

 

 

Sub0

 

6

 

 

 

 

 

 

 

 

 

 

 

 

Sub1

 

 

 

8

 

 

 

 

 

 

 

 

 

 

 

 

Sub2

 

 

 

S

-

MB1

MB2

MB3

MB4

 

MB5

 

MB6

Sub3

 

 

 

D1

 

 

 

 

 

 

 

 

 

 

 

 

Sub4

 

 

 

D2

 

 

 

 

 

 

 

 

 

 

 

Sub5

 

 

 

D3

 

 

 

 

 

 

 

 

 

 

 

Sub6

 

 

 

D4

 

 

 

 

 

 

 

 

 

 

 

WAGO-I/O-SYSTEM 750

CANopen

CANopen • 163

Network Communication

5.3.4.3.20Object 0x4300-0x4302, Gateway Module Output

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x4300-

0

Largest sub-index

Unsigned8

RO

-

Max. supported Sub-Index

0x4302

 

supported

 

 

 

 

 

1

Mailbox length

Unsigned8

RO

-

Size of Mailbox

 

2

Mailbox

Octet String

RW

-

Mailbox

 

3-30

Gateway Process data

Unsigned8

RW

-

Process data of the Gateway Module

One Control Byte is mapped for each module. It is in the first place of the mailbox, afterwards an empty byte and then the actual mailbox box data follow.

Example:

1 byte Control, 6 bytes mailbox, 4 bytes data

Data in the output process image

C

 

-

MB1

MB2

MB3

MB4

MB5

MB6

D1

 

D2

D3

 

D4

 

 

 

 

 

 

 

 

 

 

 

 

 

Entries in the Object directory

 

 

 

 

 

 

 

 

 

 

 

Sub0

 

6

 

 

 

 

 

 

 

 

 

 

 

 

Sub1

 

 

 

8

 

 

 

 

 

 

 

 

 

 

 

 

Sub2

 

 

 

C

-

MB1

MB2

MB3

MB4

 

MB5

 

MB6

Sub3

 

 

 

D1

 

 

 

 

 

 

 

 

 

 

 

 

Sub4

 

 

 

D2

 

 

 

 

 

 

 

 

 

 

 

Sub5

 

 

 

D3

 

 

 

 

 

 

 

 

 

 

 

Sub6

 

 

 

D4

 

 

 

 

 

 

 

 

 

 

 

5.3.4.3.21Object 0x4500, Spacer Module Configuration

Idx

S-Idx

Name

Type

Attribute

Default Value

Meaning

0x4500

0

Number of plugged and

Unsigned8

RW

0

0: not active

 

 

virtual I/O nodules

 

 

 

1 .. 64: Maximum number of plugged

 

 

 

 

 

 

I/O modules (physically + virtual)

 

1

1. I/O module descrip-

Unsigned16

RW

0

1. I/O module

 

 

tion

 

 

 

 

 

....

....

....

....

....

....

 

64

64. I/O module descrip-

Unsigned16

RW

0

64. I/O module

 

 

tion

 

 

 

 

With the help of this object it is possible to insert virtual modules into the node. In this manner, for instance, a max. node extension can be projected and a new node subsequently designed which represents a sub-quantity in relation to the maximum configuration. The behavior of this new node with regard to its object entries in relation to connected modules is identical to that of the maximum configuration. As such, other applications (CANopen master,...) can be designed once for the maximum configuration and have access to any subquantity without having to change its setting.

In the same manner it is possible to provide for future extensions from the start of the design process and making later adaptation of the mapping will be unnecessary.

Sub-Index 0

Sub-index 0 = 0: Mapping of virtual modules not active Sub-index 0 0 Mapping in of virtual modules active

WAGO-I/O-SYSTEM 750

CANopen

164 • CANopen

Network Communication

The entry indicates the number of the connected modules in the maximum configuration.

When changing the value from 0 to >0, the configuration is created as described from sub-index 1. During the creation of a new configuration, all previously configuration settings that have not been permanently stored, will be written over and the process image reset. For this reason, always configure index 0x4500 first, followed by all other settings (mapping, sync time,...).

Setting the sub-index 0 is only possible in the Pre-Operational status.

If the creation of a new configuration is free from errors, an Emergency is sent with the parameters PP=LL=SS=0.

If an error occurs during the creation of a new configuration (i.e. the number of connected modules exceeds that of the modules configured), a corresponding Emergency is transmitted. The coupler starts with the default configuration in accordance with the modules connected, and changes to the STOP status.

Emergency Message: Error Code 0x5000 Error Register 0x81

Additional Code 00 03 PP LL SS

PP: indicates the physical module slot, where the error has occurred LL: indicates the logic slot (slot in the maximum configuration) of the module, where the error has occurred

SS: Cause of the error

Emergency structure under a faulty creation of a configuration

Parameter: SS (cause of the error)

 

Bit 4..7

 

Bit 0..3

 

 

Description

 

 

0

 

1

 

analog module expected acc. to the configuration

 

 

0

 

2

 

digital module expected acc. to the configuration

 

 

0

 

3

 

output module expected acc. to the configuration

 

 

0

 

4

 

input module expected acc. to the configuration

 

 

0

 

 

 

 

Digital modules:

 

 

 

 

 

 

- Wrong number of bits of the whole module

 

 

 

 

5

 

 

 

 

 

 

 

 

(bits per Channel * number of channels).

 

 

N

 

 

 

 

Analog modules:

 

 

 

 

 

 

- module with n channels expected acc. to the configuration

 

 

 

 

 

 

 

 

 

0

 

6

 

number of connected modules exceeds those configured

 

 

0

 

7

 

Digital modules:

 

 

 

 

 

 

 

- invalid

 

 

 

 

 

 

 

Analog modules:

 

 

 

 

 

 

 

- Wrong number of bytes per Channel

 

 

0

 

8

 

Gateway module expected acc. to the configuration

 

 

0

 

9

 

Wrong indication of mailbox size

 

 

0

 

10

 

number of connected modules under-runs those configured

 

WAGO-I/O-SYSTEM 750

CANopen

CANopen • 165

Network Communication

Note

Should module diagnostic messages occur by means of an Emergency message, the display of the module position always refers to the logic module position in the node. Consequently these messages are always identical, irrespective of the node configuration.

Sub-Index 1..64

Sub-index 1..64 contains the configuration of the node in its maximum configuration. Each index stands for a connected module (sub-index.1 1st module, sub-index.2 2nd module,...). These indexes describe the corresponding module in detail.

Design of Sub-Index:

MSB

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LSB

15

 

14

 

13

 

12

 

11

10

9

8

7

6

5

 

4

3

2

1

0

M

 

Reserved

 

 

 

Bits/Bytes

 

 

 

 

Channels

 

output

input

A/D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

14

 

13

 

12

 

11

10

9

8

7

6

5

 

4

3

2

1

0

M

 

G

 

Total

size

 

 

 

 

 

MB

size

 

 

 

 

output

input

A/D

 

 

 

 

 

 

 

 

A/D:

 

 

 

 

indicates whether or not the module is of an analog or a digital type

 

 

 

 

 

 

 

 

 

 

0 = analog, 1 = digital

 

 

 

 

 

 

 

 

 

input:

 

 

indicates whether or not the module is an input module

 

 

 

 

 

 

 

 

 

 

 

 

0=no input module, 1= input module *1)

 

 

 

 

 

output:

 

 

indicates whether or not the module is an output module

 

 

 

 

 

 

 

 

 

 

 

0=no output module, 1= output module *1)

 

 

 

 

 

Channels:

 

 

indicates the number of module channels

 

 

 

 

 

 

 

Bits/Bytes:

specifies the number of bytes (analog module) or bits (digital module) per

 

 

 

 

 

 

 

channel which are mapped into the process image

 

 

 

 

 

Reserved:

 

 

reserved

 

 

 

 

 

 

 

 

 

 

 

 

M:

 

 

 

 

indicates whether or not the module is put

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0=module is not put, 1= module is put

 

 

 

 

 

MB size:

 

 

indicates the size of the mailbox

 

 

 

 

 

 

 

 

Total size:

 

indicates the size in bytes of the whole Gateway module in the process image

 

 

 

 

 

 

(Mailbox size + Process data)

 

 

 

 

 

 

 

 

 

G:

 

 

 

 

indicates whether or not the module is a Gateway module

 

 

 

 

 

 

 

 

 

 

 

0=no Gateway module, 1= Gateway module

 

 

 

 

 

*1) The input and the output bit can be set simultaneously (i.e. digital output module with diagnostics, this module has input and output bits)

WAGO-I/O-SYSTEM 750

CANopen

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