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

CANopen • 181

Network Communication

5.3.5 PDO Transmission

Data transmission with PDOs is only possible in the Operational status.

When changing to the Operational status, all TxPDOs are transmitted once with the transmission type 254 and 255.

Note

Special transmission type 254 and 255 (Index 0x1800 ... 0x181F, sub-index 2):

The analog changes are not transmitted because of the default value (=FALSE) according to the device profile DS401-Object 0x6423 (analog Input Global Interrupt Enable). In this manner, a CAN bus overflow with CAN messages is prevented. To prevent an overflow when setting the object 0x6423 = TRUE, a correspondingly long Inhibit Time can be selected. Moreover, there is the possibility to reduce the amount of messages by configuring the objects for the threshold value monitoring (objects 0x6421, 0x6424, 0x6425) and for the delta functions (objects 0x6426, 0x6427, 0x6428).

5.3.5.1 Mapping

By PDO mapping you can define the data to be transmitted by means of

PDOs.

If no stored customer specific configuration is used and if no other settings are performed, the object directory is assigned with a default configuration according to the device profile DS 401 (refer to chapter 5.3.4.1 “Initialization”).

If the coupler/controller is in the PRE-OPERATIONAL status, its mapping can be modified via SDOs instead, in an application specific manner.

More information

For an example of how to create an application specific mapping configuration, refer to chapter 3.1.7 "Starting up CANopen fieldbus nodes".

WAGO-I/O-SYSTEM 750

CANopen

182 • CANopen

Network Communication

5.3.5.2 Transmit PDO1

The following diagram shows an overview of the relevant objects and their connection for the PDO transmission of digital inputs.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Default

 

 

 

 

Default

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Mapping

 

 

 

Communication

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Parameter

 

 

 

 

Parameter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x1A00

 

 

 

 

0x1800

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SINGLE

 

 

 

 

 

 

 

ENTRY

 

 

 

MAP

 

 

 

 

TRANS

 

 

 

 

 

 

 

 

 

 

 

 

DIGITAL

 

 

 

 

 

 

 

 

 

 

into

 

 

 

into

 

 

 

 

MIT

 

 

 

 

 

 

 

 

CAN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

INPUT

 

 

 

 

 

 

 

0x6000

 

 

 

TPDO1

 

 

 

 

TPDO1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Transmission

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x6006

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ANY CHANGE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

= 1

 

 

 

 

 

 

 

 

 

 

 

 

 

CLOSE

 

 

 

 

 

 

0x6007

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OR

 

 

 

 

 

 

 

 

 

 

 

IF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LOW -to- HIGH

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TRUE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Interrupt

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x6008

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Enable

 

0x6005

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

HIGH -to- LOW

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Fig. 5-1: PDO transmission of digital input data

 

 

 

 

 

 

 

 

g012456x

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Index

Object name

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

See on

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

page:

 

0x1800

Transmit PDO Communication

 

Communication parameters for the Receive PDOs

 

157

 

 

 

 

Parameter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x1A00

Transmit PDO Mapping Parameter

 

Mapping parameters for the Transmit PDOs

 

158

 

0x6000

Read Input 8 Bit

 

 

 

 

 

 

 

 

Data of the digital Inputs

 

 

 

 

 

 

 

 

171

 

0x6005

Global Interrupt Enable Digital 8-

 

Global release of the transmission of 8-bit digital

 

171

 

 

 

 

Bit

 

 

 

 

 

 

 

 

input data

 

 

 

 

 

 

 

 

 

 

0x6006

Interrupt Mask Any Change 8-Bit

 

Release of the transmission of 8-bit digital input data

 

171

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

with each change

 

 

 

 

 

 

 

 

 

 

0x6007

Interrupt Mask Low-to-High 8-Bit

 

Release of the transmission of 8-bit digital input data

 

171

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

with arise to a Low-to-High edge

 

 

 

0x6008

Interrupt Mask High-to-Low 8-Bit

 

Release of the transmission of 8-bit digital input data

 

172

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

with arise to a High-to-LOW edge

 

 

WAGO-I/O-SYSTEM 750

CANopen

CANopen • 183

Network Communication

5.3.5.3 Receive PDO1

The following diagram shows an overview of the relevant objects and their connection for the PDO transmission of digital outputs.

 

Default

Default

 

 

Communication

Mapping

 

 

Parameter

Parameter

 

 

0x1400

0x1600

 

{RPDO1}

RECEIVE

ENTRY

SINGLE

 

RPDO1

into

DIGITAL

CAN

 

0x6200

 

OUTPUT

Reception

 

 

 

 

 

 

Error Mode

SWITCH

 

 

0x6206

IF 0x0

 

 

 

Switch if

 

 

Error Value

Device

 

 

0x6207

Failure

 

 

 

 

Fig. 5-1: PDO transmission of digital output data

g012457x

Index

Object name

Description

See on

 

 

 

page:

0x1400

Receive PDO Communication

Communication parameters for the Receive PDOs

157

 

Parameter

 

 

0x1600

Transmit PDO Mapping Parameter

Mapping parameters for the Transmit PDOs

157

0x6200

Write Output 8-Bit

Data of the digital Outputs

172

0x6206

Error Mode Output 8-Bit

Release of pre-defined error values of the 8-bits

172

 

 

digital output data

 

0x6207

Error Value Output 8-Bit

Pre-defined error values of the 8-bits digital output

173

 

 

data

 

WAGO-I/O-SYSTEM 750

CANopen

184 • CANopen

Network Communication

5.3.5.4 Transmit PDO2

The following diagram shows an overview of the relevant objects and their connection for the PDO transmission of analog inputs.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Default

 

 

 

Default

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Mapping

 

 

 

Communication

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Parameter

 

 

 

Parameter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x1A01...3

 

 

0x1801...3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SINGLE

 

 

 

 

 

 

 

 

 

 

 

ENTRY

 

 

MAP

 

 

 

TRANS

 

 

 

 

 

 

 

 

 

 

 

ANALOG

 

 

 

 

 

 

 

 

 

 

 

 

 

into

 

 

into

 

 

 

MIT

 

 

 

 

 

 

 

CAN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

INPUT

 

 

 

 

 

 

 

 

 

 

 

0x6401

 

 

TPDO2...4

 

 

TPDO2...4

 

 

 

 

 

 

 

Transmission

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x6424

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Upper Limit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

= 1

 

 

 

&

 

 

 

 

CLOSE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

XOR

 

 

 

AND

 

 

 

IF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TRUE

 

 

 

 

 

 

0x6425

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Lower Limit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Interrupt

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x6423

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Enable

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x6426

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Value Difference

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x6427

 

 

 

0x6428

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Negative

 

 

 

Positive

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Value Difference

Value Difference

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Fig. 5-2: PDO transmission of analog input data

 

 

 

 

 

 

 

g012458x

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Index

 

 

Object name

 

 

 

 

Description

 

 

 

 

 

 

 

See on

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

page:

 

0x1801...3

 

 

Transmit PDO Communication

Communication parameters for the Receive PDOs

 

157

 

 

 

 

 

Parameter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x1A01…3

Transmit PDO Mapping Parameter

Mapping parameters for the Transmit PDOs

 

158

 

0x6401

 

 

Analogue Input Trigger Selection

Specify the Trigger condition for the 16 bits analog

 

174

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

input data

 

 

 

 

 

 

 

 

 

0x6423

 

 

Analogue Input Global Interrupt

Global release of the transmission of 16 bits analog

 

175

 

 

 

 

 

Enable

 

 

 

 

 

 

 

 

 

 

 

input data

 

 

 

 

 

 

 

 

 

0x6424

 

 

Analogue Input Interrupt Upper

Transmission of 16 bits analog input data, if ex-

 

175

 

 

 

 

 

Limit Integer

 

 

 

 

ceeded the upper limit

 

 

 

 

 

 

 

 

 

0x6425

 

 

Analogue Input Interrupt Lower

Transmission of 16 bits analog input data, if fell

 

175

 

 

 

 

 

Limit Integer

 

 

 

 

below the lower limit

 

 

 

 

 

 

 

 

 

0x6426

 

 

Analogue Input Interrupt Delta

Transmission if the 16 bits input data changed at

 

175

 

 

 

 

 

Unsigned

 

 

 

 

 

 

 

 

 

 

 

least around the delta value

 

 

 

0x6427

 

 

Analogue Input Interrupt Negative

Transmission if the 16 bits input data minimized at

 

176

 

 

 

 

 

Delta Unsigned

 

 

 

 

least around the delta value

 

 

 

0x6428

 

 

Analogue Input Interrupt Positive

Transmission if the 16 bits input data increased at

 

175

 

 

 

 

 

Delta Unsigned

 

 

 

 

least around the delta value

 

 

WAGO-I/O-SYSTEM 750

CANopen

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