Additional instructions Programming of D-20-9/D-21-9 Pressure transmitter with

Add to my manuals
51 Pages

advertisement

Additional instructions Programming of D-20-9/D-21-9 Pressure transmitter with | Manualzz

Programming of

D-20-9/D-21-9

Pressure transmitter with

CANopen Interface

Additional instructions

D-20-9

D-20-9 with integrated

Y-Piece

D-21-9 with DIP-switch

D-20-9 / D-21-9

GB

This instruction only contains additional information about the programming of D-20-9/D-21-9 CANopen pressure transmitter. For the standard information please refer to operating instructions No. 2059064.

Operating instruction (No. 2059064)

Download version Printed version

WIKA Alexander Wiegand GmbH & Co. KG

Alexander-Wiegand-Straße 30

63911 Klingenberg / Germany

Tel.

(+49) 93 72/132-6108

Fax (+49) 93 72/132-706

E-Mail [email protected]

www.wika.de

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

2

D-20-9 / D-21-9

Content

1. Process Data Object (PDO)

Data Types

Change of PDO-Mapping:

PDO Transmission Types (Object 1800h, subindex 2)

2. Service Data Object (SDO)

Read Object

Write Object

Abort SDO Transfer

Abort Codes

3. Object Dictionary – Communication Profile Area

1000h Device Type

1001h Error Register

1005h COB-ID SYNC message

1008h Manufacturer Device Name

1009h Manufacturer Hardware Version

100Ah Manufacturer Software Version

100Ch Guard Time

100Dh Life Time Factor

1010h Store Parameters

1011h Restore Default Parameters

1014h COB-ID Emergency Object

1017h Producer Heartbeat Time

1018h Identity Object

1800h Transmit PDO Communication Parameter

1A00h Transmit PDO Mapping Parameter

4. Object Dictionary – Manufacturer Specific Area

2010h Minimum allowed Pressure

2011h Maximum allowed Pressure

2020h Min. Value Storage

2021h Max. Value Storage

2080h Uncompensated AD-Value

2090h Process Value as Integer

2100h User Device Name

2201h Last Calibration Date Year

2202h Last Calibration Date Month

2203h Last Calibration Date Day

2207h Date of Production Year

2208h Date of Production Month

2209h Date of Production Day

2320h Configure Node-ID

2321h Configure Bit Timing

2330h Auto-Operational

5. Object Dictionary – Device Profile Area

7100h AI Input FV

7120h AI Input Scaling 1 FV

6121h AI Input Scaling 1 PV

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

GB

3

8

8

9

9

10

10

11

14

14

15

16

17

18

11

12

13

7

7

7

7

8

5

5

6

6

7

18

18

20

20

20

21

21

22

22

23

24

24

26

27

22

23

23

27

27

28

D-20-9 / D-21-9

7122h AI Input Scaling 2 FV

6123h AI Input Scaling 2 PV

6124h AI Input Offset

6125h AI Autozero

6130h AI Input PV

6131h AI Physical Unit PV

6132h AI Decimal Digits

6148h AI Span Start

6149h AI Span End

61A0h AI Filter Type

61A1h AI Filter Constant

6. Calibration

Input Scaling

Input Offset

Input Autozero

7. Filter

8. Emergency Object (EMCY)

9. Network Management Objects

Module Control Services

Error Control Services

Bootup Service

10. Layer Setting Services (LSS)

LSS Address

Switch Mode Services

Configuration Services

LSS Protocol Descriptions

Example

11. References

12. Definitions and abbreviations

13. History

GB

45

45

45

46

50

51

51

51

40

40

42

44

45

35

37

37

38

39

28

29

29

30

30

33

34

34

35

31

32

32

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

4

D-20-9 / D-21-9

1. Process Data Object (PDO)

ID DLC Byte0

LSB

Byte1 Byte2 Byte3

MSB

ID 4 process value

The structure of the synchronous and asynchronous PDO is identical.

The identifier of the PDO can be set via object 1800h.

Factory-set: 180h + NID

Byte 0 to byte 3 contains the currently configured process value.

The default settings are configured to object 2090h subindex 0 (process value as integer).

The coding corresponds to DS301, chapter 9.1.4.5 “Signed Integer”

The user can switch the mapping to object 6130h subindex 1 (process value as float).

Then the coding corresponds to DS301, chapter 9.1.4.6 “Floating Point Numbers”

For further information about the data types see description below.

Data Types

Signed Integer

Integer32

Byte0 Byte1 Byte2 Byte3 b

7

..b

0 b

15

..b

8 b

23

..b

16 b

31

..b

24

The data is represented as bit sequence of length 32.

The bit sequence b = b

0

.. b

31

is assigned the value

INTEGER32(b) = b

30

*2

30

+ … + b

1

*2

1

+ b

0

*2

0

if b

31

=0 and, performing two’s complement arithmetic,

INTEGER32(b) = - INTEGER32(^b)-1 if b

31

=1

Floating Point Numbers

Byte0 Byte1

Real32 b

7

..b

0 b

15

..b

8

Byte2 b

23

..b

16

Byte3 b

31

..b

24

The data type REAL32 is represented as bit sequence of length 32.

The encoding of values follows the IEEE 754-1985 Standard for single precision floating-point.

The bit sequence b = b

0

.. b

31

is assigned the value

REAL32(b ) = (-1)

S

* 2

E-127

* (1+F)

Here

S = b

31

is the sign.

E = b

30

*2

7

+ …+ b

23

*2

0

; 0 < E < 255; is the un-biased exponent.

F = 2

-23

*(b

22

*2

22

+ …+ b

1

*2

1

+ b

0

*2

0

) is the fractional part of the number.

GB

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

5

D-20-9 / D-21-9

Change of PDO-Mapping:

- the device has to be in the PRE-OPERATIONAL mode

- deactivate currently mapped object by writing 0 to object 1A00h subindex 0

- mapping is deactivated, PDO does not supply any data; DLC = 0

- Write desired object to subindex 1 of object 1A00h (INTEGER32: 2090 00 20h / REAL32: 6130 01 20)

- Finally the mapping has to be reactivated by writing 1 to object 1A00h subindex 0

The physical unit of the process value can be configured via object 6131h “Physical Unit Process Value”

The decimal digits can be changed via object 6132h “AI Decimal Digits”

PDO Transmission Types (Object 1800h, subindex 2)

Synchronous Transmission:

A transmission type of n (1 … 240) means that the message is transmitted with every n-th SYNC object.

Asynchronous Transmission:

A transmission type of 254 means that the message will be send after the event timer elapses. The event

timer can be configured via object 1800h subindex 5.

GB

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

6

D-20-9 / D-21-9

GB

2. Service Data Object (SDO)

With Service Data Objects the access to entries of a device’s object dictionary is provided.

Read Object

Master sends

ID

600h

+

Node-ID

DLC

8

Byte0

CS =

40h

Transmitter answers

ID

580h

+

Node-ID

DLC

8

Byte0

CS =

42h

Byte1

LSB

Index

Byte2

MSB

Byte1

LSB

Index

Byte2

MSB

Byte3

Sub-

Index

Byte3

Sub-

Index

Byte4

00h

Byte5

00h

Byte6

00h

Byte7

00h

Byte4

LSB

Byte5

Data

Byte6 Byte7

MSB

Write Object

Master sends

ID DLC

600h

+

Node-ID

8

Transmitter answers

ID

580h

+

Node-ID

DLC

8

Byte0

CS =

22h

Byte0

CS =

60h

Byte1

LSB

Index

Byte2

MSB

Byte3

Sub-

Index

Byte4

LSB

Byte5

Data

Byte6 Byte7

MSB

Byte1

LSB

Index

Byte2

MSB

Byte3

Sub-

Index

Byte4

00h

Byte5

00h

Byte6

00h

Byte7

00h

Abort SDO Transfer

If an error occurred while reading or writing an object, the transmitter answers:

ID

600h

+

Node-ID

DLC

8

Byte0

CS =

80h

Byte1

LSB

Index

Byte2

MSB

Byte3

Sub-

Index

Byte4

LSB

Byte5 Byte6

Abort Code

Byte7

MSB

Abort Codes

0504 0001h

0601 0001h

0601 0002h

0602 0000h

0606 0000h

0609 0011h

0609 0030h

0800 0020h

Client/server command specifier not valid or unknown

Attempt to read a write only object

Attempt to write a read only object

Object does not exist in the object dictionary

Access failed due to an hardware error

Sub-index does not exist

Value range of parameter exceeded

Data cannot be transferred or stored to the application

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

7

D-20-9 / D-21-9

GB

3. Object Dictionary – Communication Profile Area

(according CiA DS301 V4.02)

1000h Device Type

Object description

This object describes the type of device and its functionality. It is composed of a 16-bit field which describes the device profile that is used and a second 16-bit field which gives additional information about optional functionality of the device. The additional information parameter specifies the implemented function blocks.

Entry description

Access

PDO Mapping

Data Type

Default Value ro

No

UNSIGNED 32

0002 0194h

Data

MSB LSB

Additional Information Device Profile Number

0002h 0194h

Device Profile 404

Analogue Input Block

1001h Error Register

Object description

This object is an error register for the device. The device maps internal errors in this byte. It is a part of an emergency object.

Entry description

Access

PDO Mapping

Data Type

Default Value ro

No

UNSIGNED 8

00h

MSB

00h 00h

Data

00h

LSB

Error

Register

00h: no error

01h: generic error not used (always 0)

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

8

D-20-9 / D-21-9

1005h COB-ID SYNC message

Object description

This Index defines the COB-ID of the Synchronisation Object (SYNC).

Entry description

Access

PDO Mapping

Data Type

Default Value ro

No

UNSIGNED 32

00 00 00 80h

Data

MSB LSB

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 always 0 11-bit identifier (80h)

0 : 11-bit identifier

0 : Device doesn’t generate

SYNC

0 : don’t care (always 0)

1008h Manufacturer Device Name

Object description

Contains the manufacturer device name.

Entry description

Access

PDO Mapping

Data Type

Default Value ro

No

Visible String

"D2X9"

MSB

39h

"9"

58h

"X"

Data

32h

"2"

LSB

44h

"D"

"D2X9"

GB

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

9

D-20-9 / D-21-9

1009h Manufacturer Hardware Version

Object description

Contains the manufacturer hardware version description.

Entry description

Access

PDO Mapping

Data Type

Default Value ro

No

Visible String

No

Data

MSB z y x

LSB w

Byte 4-7 contain the hardware version: wx.yz

100Ah Manufacturer Software Version

Object description

Contains the manufacturer software version description.

Entry description

Access

PDO Mapping

Data Type

Default Value ro

No

Visible String

No

Data

MSB z y x

LSB w

Byte 4-7 contain the software version: wx.yz

GB

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

10

D-20-9 / D-21-9

GB

100Ch Guard Time

Object description

The objects at index 100Ch and 100Dh include the guard time in milliseconds and the life time factor. The life time factor multiplied with the guard time gives the life time for the Life Guarding Protocol. It is 0 if not used.

Entry description

Access

PDO Mapping

Data Type

Default Value rw*

No

UNSIGNED 16

0

* Write access to this object is only allowed, if object 1017h producer heartbeat time is 0.

Changed parameters are not automatically stored, but they have to be stored via object 1010h Store

Parameters.

Furthermore the device can be reset to the factory settings via object 1011h Restore Default Parameters.

MSB

00h 00h

Data

LSB

Guard Time in ms

100Dh Life Time Factor

Object description

The life time factor multiplied with the guard time gives the life time for the node guarding protocol. It is 0 if not used.

Entry description

Access

PDO Mapping

Data Type

Default Value rw*

No

UNSIGNED 8

0

* Write access to this object is only allowed, if object 1017h producer heartbeat time is 0.

Changed parameters are not automatically stored, but they have to be stored via object 1010h Store

Parameters.

Furthermore the device can be reset to the factory settings via object 1011h Restore Default Parameters.

MSB

00h 00h

Data

00h

LSB

Life Time

Factor

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

11

D-20-9 / D-21-9

GB

1010h Store Parameters

Object description

This object supports the saving of parameters in non volatile memory. By read access the device provides information about its saving capabilities.

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

01h

01h save all parameters rw

No

UNSIGNED 32

01h

In order to avoid storage of parameters by mistake, storage is only executed when the signature "save" is written to Subindex 1.

Data

MSB

65h

"e"

76h

"v"

61h

"a"

LSB

73h

"s"

"save"

On reception of the correct signature in sub-index 1 the device stores the parameter and then confirms the

SDO transmission (initiate download response). If the storing failed, the device responds with an Abort SDO

Transfer (abort code: 0606 0000h). If a wrong signature is written, the device refuses to store and responds with Abort SDO Transfer (abort code: 0800 002xh).

On read access to Sub-Index 1 the device provides information about its storage functionality with the following format:

Data

MSB

00h 00h 00h

LSB

01h

Device does not save parameters autonomously

Device saves parameters on command

The Storage affects the following objects:

100Ch Guard Time

100Dh Life Time Factor

6114h

6121h

AI ADC Sample Rate

AI Input Scaling 1 PV

1017h Producer Heartbeat Time 6123h AI Input Scaling 2 PV

1800h Transmit PDO Communication Parameters 6124h Input Offset

1A00h Transmit PDO Mapping Parameter 6131h AI Physical Unit PV

2010h Minimum Allowed Pressure

2011h Maximum Allowed Pressure

2330h Auto-Operational

6132h Decimal Digits

61A1h AI Filter Constant

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

12

D-20-9 / D-21-9

GB

1011h Restore Default Parameters

Object description

With this object the default values of parameters according to the communication and device profile are restored. By read access the device provides information about its capabilities to restore these values.

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

01h

01h restore all default parameters rw

No

UNSIGNED 32

01h

In order to avoid the restoring of default parameters by mistake, restoring is only executed when the signature

"load" is written to sub-index 1.

Data

MSB

64h

"d"

61h

"a"

6Fh

"o"

LSB

6Ch

"l"

"load"

On reception of the correct signature in sub-index 1 the device restores the default parameters and then confirms the SDO transmission (initiate download response). If the restoring failed, the device responds with an Abort SDO Transfer (abort code: 0606 0000h). If a wrong signature is written, the device refuses to restore the defaults and responds with an Abort SDO Transfer (abort code: 0800 002xh).

The default values are set valid after the device is reset (reset node or power cycled)

On read access to sub-index 1 the device provides information about its default parameter restoring capability with the following format:

Data

MSB

00h 00h 00h

LSB

01h

Device restores parameters

The Storage affects the following objects:

100Ch Guard Time

100Dh Life Time Factor

1017h Producer Heartbeat Time

6114h AI ADC Sample Rate

6121h AI Input Scaling 1 PV

6123h AI Input Scaling 2 PV

1800h Transmit PDO Communication Parameters 6124h Input Offset

1A00h Transmit PDO Mapping Parameter 6131h AI Physical Unit PV

2010h Minimum Allowed Pressure

2011h Maximum Allowed Pressure

2330h Auto-Operational

6132h Decimal Digits

61A1h AI Filter Constant

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

13

D-20-9 / D-21-9

1014h COB-ID Emergency Object

Object description

This Index defines the COB-ID of the Emergency Object (EMCY).

Entry description

Access

PDO Mapping

Data Type

Default Value ro

No

UNSIGNED 32

80h + Node-ID

Data

MSB LSB

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 always 0 11-bit identifier (80h)

0 : 11-bit identifier

0 : reserved (always 0)

0 : EMCY exists / is valid

GB

1017h Producer Heartbeat Time

Object description

The producer heartbeat time defines the cycle time of the heartbeat in milliseconds. The producer heartbeat time is 0 if it is not used.

Entry description

Access

PDO Mapping

Data Type

Default Value rw*

No

UNSIGNED 16

0

* Write access to this object is only allowed, if object 100Ch Guard Time and 100Dh Life Time Factor are 0.

Changed parameters are not automatically stored, but they have to be stored via object 1010h Store

Parameters.

Furthermore the device can be reset to the factory settings via object 1011h Restore Default Parameters.

MSB

00h 00h

Data

LSB

Producer Heartbeat

Time in ms

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

14

D-20-9 / D-21-9

GB

1018h Identity Object

Object description

This object contains general information about the device. The Vendor ID (sub-index 1h) contains a unique value allocated to each manufacturer (WIKA: 47h). The manufacturer-specific Product code (sub-index 2h) identifies a specific device version (Product label: P#). The manufacturer-specific Revision number (sub-index

3h) consists of a major revision number and a minor revision number. The major revision number identifies a specific CANopen behaviour. If the CANopen functionality is expanded, the major revision has to be incremented. The minor revision number identifies different versions with the same CANopen behaviour. The manufacturer-specific Serial number (sub-index 4h) identifies a specific device (Product label: S#).

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

04h

01h

Vendor ID ro

No

UNSIGNED 32

00 00 00 47h

02h

Product Code ro

No

UNSIGNED 32

No

03h

Revision Number ro

No

UNSIGNED 32

No

04h

Serial Number ro

No

UNSIGNED 32

No

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

15

D-20-9 / D-21-9

1800h Transmit PDO Communication Parameter

Object description

This object contains the communication parameters for the PDO the device is able to transmit.

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

04h

01h

COB-ID used by PDO rw

No

UNSIGNED 32

180h + Node-ID

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

02h

Transmission Type rw

No

UNSIGNED 8

01h

05h

Event Timer rw

No

UNSIGNED 16

0

Changed parameters are not automatically stored, but they have to be stored via object 1010h Store

Parameters.

Furthermore the device can be reset to the factory settings via object 1011h Restore Default Parameters.

(see also: 1. Process Data Object)

GB

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

16

D-20-9 / D-21-9

GB

1A00h Transmit PDO Mapping Parameter

Object description

This object contains the mapping for the PDO the device is able to transmit.

The subindex 0h contains the number of valid entries within the mapping record. This number of entries is also the number of the application variables which shall be transmitted with the corresponding PDO.

The subindex 1h contains the information about the mapped application variable. This entry describes the

PDO contents by their index, sub-index and length. All three values are hexadecimal coded. The length entry contains the length of the object in bit (20h).

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

04h

01h

1 st

. Mapped Application Object rw

No

UNSIGNED 32

2090 00 20 h

Changed parameters are not automatically stored, but they have to be stored via object 1010h Store

Parameters.

Furthermore the device can be reset to the factory settings via object 1011h Restore Default Parameters.

(See also: 1. Process Data Object)

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

17

D-20-9 / D-21-9

GB

4. Object Dictionary – Manufacturer Specific Area

2010h Minimum allowed Pressure

Object description

This object defines the minimum allowed pressure. If pressure (field value) exceeds this limit an emergency message is sent.

Entry description

Access

PDO Mapping

Data Type

Default Value rw

No

UNSIGNED 16

0000h

Changed parameters are not automatically stored, but they have to be stored via object 1010h Store

Parameters.

Furthermore the device can be reset to the factory setting via object 1011h Restore Default Parameters.

If the minimum allowed pressure is set to 0, no emergency message will be send if pressure exceeds the limit.

MSB

00h 00h

Data

LSB

Min. allowed pressure

2011h Maximum allowed Pressure

Object description

This object defines the maximum allowed pressure. If pressure (field value) exceeds this limit an emergency message is sent.

Entry description

Access

PDO Mapping

Data Type

Default Value rw

No

UNSIGNED 16

FFFFh

Changed parameters are not automatically stored, but they have to be stored via object 1010h Store

Parameters.

Furthermore the device can be reset to the factory settings via object 1011h Restore Default Parameters.

If the maximum allowed pressure is set to 0xFFFF, no emergency message will be send if pressure exceeds the limit.

MSB

00h 00h

Data

LSB

Max. allowed pressure

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

18

D-20-9 / D-21-9

GB

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

19

D-20-9 / D-21-9

2020h Min. Value Storage

Object description

This object stores minimum process value. The storage is volatile.

Entry description

Access

PDO Mapping

Data Type

Default Value rw

No float

No

A write access clears the actual value.

2021h Max. Value Storage

Object description

This object stores maximum process value. The storage is volatile.

Entry description

Access

PDO Mapping

Data Type

Default Value rw

No float

No

A write access clears the actual value.

2080h Uncompensated AD-Value

Object description

This object contains the uncompensated pressure value of the A/D-converter.

Entry description

Access

PDO Mapping

Data Type

Default Value ro

No

UNSIGNED 16

No

MSB

00h 00h

Data

AD-value

LSB

GB

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

20

D-20-9 / D-21-9

2090h Process Value as Integer

Object description

This object contains the process value as integer.

Entry description

Access

PDO Mapping

Data Type

Default Value ro

Yes

SIGNED 32

No

MSB

Data

Process Value* see also:

6132h Decimal Digits

LSB

2100h User Device Name

Object description

This object allows the user to program a user specific entry.

Entry description

Access

PDO Mapping

Data Type

Default Value rw

No

UNSIGNED 32

00 00 00 00h

GB

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

21

D-20-9 / D-21-9

2201h Last Calibration Date Year

Object description

This object contains the year of the last calibration date (YY)

Entry description

Access

PDO Mapping

Data Type

Default Value

Data Range rw

No

UNSIGNED 8

No

0 ... 99

2202h Last Calibration Date Month

Object description

This object contains the Month of the last calibration date (MM)

Entry description

Access

PDO Mapping

Data Type

Default Value

Data Range rw

No

UNSIGNED 8

No

1 - 12

2203h Last Calibration Date Day

Object description

This object contains the day of the last calibration date (DD)

Entry description

Access

PDO Mapping

Data Type

Default Value

Data Range rw

No

UNSIGNED 8

No

1 ... 31

GB

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

22

D-20-9 / D-21-9

2207h Date of Production Year

Object description

This object contains the year of the production date (YY)

Entry description

Access

PDO Mapping

Data Type

Default Value

Data Range ro

No

UNSIGNED 8

No

0 ... 99

2208h Date of Production Month

Object description

This object contains the Month of the production date (MM)

Entry description

Access

PDO Mapping

Data Type

Default Value

Data Range ro

No

UNSIGNED 8

No

1 - 12

2209h Date of Production Day

Object description

This object contains the day of the production date (DD)

Entry description

Access

PDO Mapping

Data Type

Default Value

Data Range ro

No

UNSIGNED 8

No

1 ... 31

GB

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

23

D-20-9 / D-21-9

2320h Configure Node-ID

Object description

This object defines the Node-ID of the device. The user can configure the Node-ID via this object or LSS

(layer setting services)

Entry description

Access

PDO Mapping

Data Type

Default Value

Data Range rw

No

UNSIGNED 8

01h

01h ... 7Fh

Changed parameters are not automatically stored, but they have to be stored via object 1010h Store

Parameters.

Furthermore the device can be reset to the factory settings via object 1011h Restore Default Parameters.

MSB

00h 00h

Data

00h

LSB

Node-ID

GB

2321h Configure Bit Timing

Object description

This object defines the bitrate of the device. The user can configure the bitrate via this object or LSS (layer setting services)

Entry description

Access

PDO Mapping

Data Type

Default Value

Data Range rw

No

UNSIGNED 8

03h

00h ... 07h

Changed parameters are not automatically stored, but they have to be stored via object 1010h Store

Parameters.

Furthermore the device can be reset to the factory settings via object 1011h Restore Default Parameters.

Data

MSB

00h 00h 00h

LSB

Table index

CiA bit timing table:

Baudrate

1000 kbit/s

800 kbit/s

500 kbit/s

250 kbit/s

Table Index

0

1

2

3

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

24

D-20-9 / D-21-9

125 kbit/s

100 kbit/s

50 kbit/s

20 kbit/s

4

5

6

7

GB

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

25

D-20-9 / D-21-9

GB

2330h Auto-Operational

Object description

Through this object the user can set the device to enter the OPERATIONAL-Mode automatically after boot up.

Entry description

Access

PDO Mapping

Data Type

Default Value

Data Range rw

No

UNSIGNED 8

00h

00h ... 01h

Changed parameters are not automatically stored, but they have to be stored via object 1010h Store

Parameters.

Furthermore the device can be reset to the factory settings via object 1011h Restore Default Parameters.

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

26

D-20-9 / D-21-9

5. Object Dictionary – Device Profile Area

(according CiA DS404 V1.2)

7100h AI Input FV

Object description

This object represents the compensated pressure value, which is not yet scaled to the physical unit of the quantity being measured.

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

01h

01h

AI Input FV 1 ro

No

UNSIGNED 16

10000 – 60000

GB

7120h AI Input Scaling 1 FV

Object description

This object defines the field value of the first calibration point for the analogue input channel. It is scaled in physical unit of field value.

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

01h

01h

AI Input Scaling 1 FV 1 ro

No

UNSIGNED 16

10000

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

27

D-20-9 / D-21-9

GB

6121h AI Input Scaling 1 PV

Object description

This object defines the process value of the first calibration point for the analogue input channel. It is scaled in physical unit of process value.

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

01h

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

01h

AI Input Scaling 1 PV 1 rw

No float

No

Changed parameters are not automatically stored, but they have to be stored via object 1010h Store

Parameters.

Furthermore the device can be reset to the factory settings via object 1011h Restore Default Parameters.

7122h AI Input Scaling 2 FV

Object description

This object defines the field value of the second calibration point for the analogue input channel. It is scaled in physical unit of field value.

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

01h

01h

AI Input Scaling 2 FV 1 rw

No

UNSIGNED 16

60000

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

28

D-20-9 / D-21-9

6123h AI Input Scaling 2 PV

Object description

This object defines the process value of the second calibration point for the analogue input channel. It is scaled in physical unit of process value.

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

01h

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

01h

AI Input Scaling 2 PV 1 rw

No float

No

Changed parameters are not automatically stored, but they have to be stored via object 1010h Store

Parameters.

Furthermore the device can be reset to the factory settings via object 1011h Restore Default Parameters.

GB

6124h AI Input Offset

Object description

This object defines the additional offset value for the analogue input channel. It is scaled in physical unit of process value.

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

01h

01h

AI Input Offset 1 rw

No float

No

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

29

D-20-9 / D-21-9

GB

6125h AI Autozero

Object description

Writing a signature value of „zero“ to this object causes a modification of the AI Input Offset in such a way that the actual AI Input PV becomes zero. This cycle is performed for one time.

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

01h

01h

AI Autozero 1 wo

No

UNSIGNED 32

No

MSB

6Fh

"o"

72h

"r"

Data

65h

"e"

LSB

7Ah

"z"

"zero"

6130h AI Input PV

Object description

This object represents the result of the input scaling block and gives the measured quantity scaled in the physical unit of process values (e.g. bar, Pa,...).

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

01h

01h

AI Input PV 1 ro

Yes float

No

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

30

D-20-9 / D-21-9

6131h AI Physical Unit PV

Object description

This object defines the physical unit of the process value.

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

01h

01h

AI Physical Unit PV 1 ro

No

UNSIGNED 32

00 4E 00 00h

MSB

Prefix

(always 0)

Data

SI Numerator

SI-Denumerator

(always 0)

LSB reserved

(always 0)

The following units are supported:

22h: Pascal

4Eh: bar

A1h: at

A2h: mmH

2

O

A3h: mHG

A4h: atm

ABh: PSI

The settings take effect after a reset.

Changed parameters are not automatically stored, but they have to be stored via object 1010h Store

Parameters.

Furthermore the device can be reset to the factory settings via object 1011h Restore Default Parameters.

GB

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

31

D-20-9 / D-21-9

6132h AI Decimal Digits

Object description

This object describes the number of decimal digits following the decimal point.

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

01h

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Data Range

01h

AI Decimal Digits 1 rw

No

UNSIGNED 8

00h

0 - 9

The settings take effect after a reset.

Changed parameters are not automatically stored, but they have to be stored via object 1010h Store

Parameters.

Furthermore the device can be reset to the factory settings via object 1011h Restore Default Parameters.

GB

6148h AI Span Start

Object description

This value specifies the lower limit where process values are expected.

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

01h

01h

AI Span Start 1 ro

Yes float

No

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

32

D-20-9 / D-21-9

6149h AI Span End

Object description

This value specifies the upper limit where process values are expected.

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

01h

01h

AI Span End 1 ro

Yes float

No

GB

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

33

D-20-9 / D-21-9

61A0h AI Filter Type

Object description

The object defines the type of filter to be used for calculation.

The implemented filter is manufacturer specific.

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

01h

01h

AI Filter Type ro

No

UNSIGNED 8

64h

61A1h AI Filter Constant

Object description

Defines the number of steps used for the filter calculation.

Allowed values for the filter constant are 1 to 128.

Entry description

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

Sub-Index

Name

Access

PDO Mapping

Data Type

Default Value

00h number of entries ro

No

UNSIGNED 8

01h

01h

AI Filter Constant rw

No

UNSIGNED 8

8h

GB

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

34

D-20-9 / D-21-9

GB

6. Calibration

Input Scaling

- 6121h AI Input Scaling 1 PV

- 6123h AI Input Scaling 2 PV

- 7120h AI Input Scaling 1 FV

- 7122h AI Input Scaling 2 FV

The calibration is carried out via objects 6121h and 6123h. The objects 7120h and 7122h are read only.

The device is recalibrated by addressing 2 measuring points and sending the respective set value to the device. The device offsets the set value specified against the actual pressure value. The 2 measuring points ideally correspond to lower limit of range and upper limit of range which however might not be possible in each case (e.g. -1 .. x bar).

Changed parameters are not automatically stored, but they have to be stored via object 1010h Store

Parameters.

Furthermore the device can be reset to the factory settings via object 1011h Restore Default Parameters.

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

35

D-20-9 / D-21-9

GB

Example 1:

Pressure Range: -1 … 2.5 bar (=> -100,000 … 250,000 Pa output value)

Calibration Point 1:

Pressure applied (reference value): -0.9 bar

The user writes the value that the device is supposed to indicate under the pressure currently applied to object

6121h subindex 1 (AI_Input_Scaling_1_PV), i.e. in this example -90,000 Pa (=> FF FE A0 70 h)

ID

600h

+

Node-ID

DLC

8

Byte0

CS =

22h

Byte1 Byte2

21h 61h

Index 6121h

Byte3

01h

Subindex

Byte4

70h

Byte5 Byte6 Byte7

A0h FEh desired value (as integer32)

FFh

The pressure transmitter confirms the successful service by:

ID

580h

+

Node-ID

DLC

8

Byte0

CS =

60h

Byte1 Byte2

21h 61h

Index 6121h

Byte3

01h

Subindex

Byte4

00h

Byte5

00h

Byte6

00h

Byte7

00h

Calibration Point 2:

Pressure applied (reference value): 2.5 bar

The user writes the value that the device is supposed to indicate under the pressure currently applied to object

6123h subindex 1 (AI_Input_Scaling_2_PV), i.e. in this example 250,000 Pa (=> 00 03 D0 90 h)

ID

600h

+

Node-ID

DLC

8

Byte0

CS =

22h

Byte1 Byte2

23h 61h

Index 6121h

Byte3

01h

Subindex

Byte4

90h

Byte5 Byte6 Byte7

D0h 03h desired value (as integer32)

00h

The pressure transmitter confirms the successful service by:

ID

580h

+

Node-ID

DLC

8

Byte0

CS =

60h

Byte1 Byte2

23h 61h

Index 6121h

Byte3

01h

Subindex

Byte4

00h

Byte5

00h

Byte6

00h

Byte7

00h

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

36

D-20-9 / D-21-9

GB

Input Offset

6124h AI_Input_Offset

For manual offset correction the detected offset is sent to the device, e.g. the device (pressure range 10 bar /

1,000,000 Pa) indicates 0.01 bar / 10,000 Pa at ambient pressure.

The user writes the determined offset to object 6124h subindex 1 (AI_Input_Offset_1), i.e. in this example 10,000 Pa (=> 00 00 27 10 h)

ID

600h

+

Node-ID

DLC

8

Byte0

CS =

22h

Byte1 Byte2

24h 61h

Index 6124h

Byte3

01h

Subindex

Byte4

10h

Byte5 Byte6 Byte7

27h 00h desired value (as integer32)

00h

The pressure transmitter confirms the successful service by:

ID

580h

+

Node-ID

DLC

8

Byte0

CS =

60h

Byte1 Byte2

24h 61h

Index 6124h

Byte3

01h

Subindex

Byte4

00h

Byte5

00h

Byte6

00h

Byte7

00h

Changed parameters are not automatically stored, but they have to be stored via object 1010h Store

Parameters.

Furthermore the device can be reset to the factory settings via object 1011h Restore Default Parameters.

Input Autozero

6125h AI_Input_Autozero

The zero (pressure = 0) is changed to the actual pressure.

ID

600h

+

Node-ID

DLC

8

Byte0

CS =

22h

Byte1 Byte2

25h 61h

Index 6125h

Byte3

01h

Subindex

Byte4

7Ah

Byte5 Byte6

65h 72h

“zero” (ASCII)

Byte7

6F

The pressure transmitter confirms the successful service by:

ID

580h

+

Node-ID

DLC

8

Byte0

CS =

60h

Byte1 Byte2

25h 61h

Index 6125h

Byte3

01h

Subindex

Byte4

00h

Byte5

00h

Byte6

00h

Byte7

00h

Changed parameters are not automatically stored, but they have to be stored via object 1010h Store

Parameters.

Furthermore the device can be reset to the factory settings via object 1011h Restore Default Parameters.

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

37

D-20-9 / D-21-9

7. Filter

The D-2X-9’s filter function offers many possibilities to customize the device’s internal signal for the application.

Example:

Despite a superimposed sine (10 Hz-sine with 1 bar amplitude) the static pressure should be measured as precisely as possible.

GB

With a sample rate of 5 ms and filter value of 20, there is an averaging of the measured values of the last 100 ms.

Therefore the user receives the correct static pressure of 150 bar from the D-2X-9 output signal.

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

38

D-20-9 / D-21-9

GB

8. Emergency Object (EMCY)

Object description

Transmitter sends

ID DLC

80h

+

NodeId

8

Byte0 Byte1

LSB MSB

Emergency Error Code

Byte2

Error

Register

(1001h)

The following Emergency Error Codes are supported:

- 0000h Error Reset or No Error

- 1000h Generic Error

Byte3 Byte4 Byte5 Byte6

Manufacturer specific Error Field

Byte7

Error Register:

Contains the current contents of object 1001h Error Register

Manufacturer specific Error Field:

Byte3 Byte4 Byte5

00h

Byte6

00h

Byte7

00h not used (always 0) internal error xxxx xxx1 : Error while EEPROM write xxxx xx1x : not used xxxx x1xx : Max. allowed pressure exceeds xxxx 1xxx : Min. allowed pressure exceeds

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

39

D-20-9 / D-21-9

GB

9. Network Management Objects

Module Control Services

Through Module Control Services, the NMT master controls the state of the NMT slaves. The state attribute is one of the values {STOPPED, PRE-OPERATIONAL, OPERATIONAL and INITIALISING}. The Module Control

Services can be performed with a certain node or with all nodes simultaneously. The NMT master controls its own NMT state machine via local services, which are implementation dependent.

Module Control Protocol

NMT Master request

ID DLC Byte0

00h 2 CS

Byte1

Node-ID

(0 = all slaves)

CS: NMT command specifier

NMT services are unconfirmed.

Start Remote Node

Through this service the NMT Master sets the state of the selected NMT Slaves to "OPERATIONAL".

CS = 01h

Stop Remote Node

Through this service the NMT Master sets the state of the selected NMT Slaves to "STOPPED". This service is unconfirmed.

CS = 02h

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

40

D-20-9 / D-21-9

Enter Pre-Operational

Through this service the NMT Master sets the state of the selected NMT Slaves to "PREOPERATIONAL".

This service is unconfirmed.

CS = 80h

GB

Reset Node

Through this service the NMT Master initiates a "RESET APPLICATION" of the selected NMT Slaves from any state. This service is unconfirmed.

CS = 81h

Reset Communication

Through this service the parameters of the communication profile area are set to their power-on values. After this the state "INITIALISATION" is finished and the device executes the write boot-up object service and enters the state PRE-OPERATIONAL.

CS = 82h

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

41

D-20-9 / D-21-9

GB

Error Control Services

Through Error control services the NMT detects failures in a CAN-based Network. Local errors in a node lead to a change of state (PREOPERATIONAL). Error Control services are achieved principally through periodically transmitting of messages by a device. There exist two possibilities to perform Error Control.

The guarding is achieved through transmitting guarding requests (Node guarding protocol) by the NMT

Master. If a NMT Slave has not responded within a defined span of time (node life time) or if the NMT Slave’s communication status has changed, the NMT Master informs its NMT Master Application about that event. If

Life guarding (NMT slave guarded NMT master) is supported, the slave uses the guard time and lifetime factor from its Object Dictionary to determine the node life time. If the NMT Slave is not guarded within its life time, the NMT Slave informs its local Application about that event. If guard time and life time factor are 0 (default values), the NMT Slave does not guard the NMT Master. Guarding starts for the slave when the first remotetransmit-request for its guarding identifier is received. This may be during the boot-up phase or later.

The heartbeat mechanism for a device is established through cyclically transmitting a message by a heartbeat producer. One or more devices in the network are aware of this heartbeat message. If the heartbeat cycle fails for the heartbeat producer the local application on the heartbeat consumer will be informed about that event.

Heartbeat Protocol

The Heartbeat Protocol defines an Error Control Service without need for remote frames. A Heartbeat

Producer transmits a Heartbeat message cyclically. One or more Heartbeat Consumer receive the indication.

The relationship between producer and consumer is configurable via the object dictionary. The Heartbeat

Consumer guards the reception of the Heartbeat within the Heartbeat Consumer Time. If the Heartbeat is not received within the Heartbeat Consumer Time a Heartbeat Event will be generated.

r: reserved (always 0) s: the state of the Heartbeat producer

0: BOOTUP

4: STOPPED

5: OPERATIONAL

127: PRE-OPERATIONAL

If the Heartbeat Producer Time is configured on a device the Heartbeat Protocol begins immediately. If a device starts with a value for the Heartbeat Producer Time unequal to 0 the Heartbeat Protocol starts on the state transition from INITIALISING to PRE-OPERATIONAL. In this case the Bootup Message is regarded as first heartbeat message. It is not allowed for one device to use both error control mechanisms Guarding

Protocol and Heartbeat Protocol at the same time. If the heartbeat producer time is unequal 0 the heartbeat protocol is used.

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

42

D-20-9 / D-21-9

GB

Node Guarding Protocol

This protocol is used to detect remote errors in the network. Each NMT Slave uses one remote COB for the

Node Guarding Protocol. This protocol implements the provider initiated Error Control services.

s: the state of the NMT Slave

4: STOPPED

5: OPERATIONAL

127: PRE-OPERATIONAL

t: toggle bit. The value of this bit must alternate between two consecutive responses from the NMT Slave. The value of the toggle-bit of the first response after the Guarding Protocol becomes active, is 0. The Toggle Bit in the guarding protocol is only reset to 0 when reset_communication is passed (no other change of state resets the toggle bit). If a response is received with the same value of the toggle-bit as in the preceding response then the new response is handled as if it was not received.

The NMT Master polls each NMT Slave at regular time intervals. This time-interval is called the guard time and may be different for each NMT Slave. The response of the NMT Slave contains the state of that NMT

Slave. The node life time is given by the guard time multiplied by the life time factor. The node life time can be different for each NMT Slave. If the NMT Slave has not been polled during its life time, a remote node error is indicated through the 'Life Guarding Event' service.

A remote node error is indicated through the 'Node guarding event' service if:

The remote transmit request is not confirmed within the node life time

The reported NMT slave state does not match the expected state

If it has been indicated that a remote error has occurred and the errors in the guarding protocol have disappeared, it will be indicated that the remote error has been resolved through the 'Node Guarding Event' and 'Life Guarding Event' services.

For the guard time and the life time factor there are default values specified at the appropriate Object

Dictionary entries.

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

43

D-20-9 / D-21-9

Bootup Service

Bootup Event

Through this service, the NMT slave indicates that a local state transition occurred from the state

INITIALISING to the state PRE-OPERATIONAL. The protocol uses the same identifier as the error control protocols.

GB

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

44

D-20-9 / D-21-9

GB

10. Layer Setting Services (LSS)

LSS offers the possibility to change the settings of

Node-ID

Bit timing parameters of the physical layer (baud rate) of a CANopen Slave.

LSS Address

An LSS Slave is identified by an LSS Address. This LSS Address consists of

vendor-id,

product-code,

revision-number and

serial-number.

These parameters are identical to the Identity-Object 1018h of the object dictionary.

Switch Mode Services

The slave accepts the LSS services only in STOPPED mode (see 9. Network Management Objects).

To configure a slave via LSS the device has to be the LSS-mode CONFIGURATION.

There are two ways to do this:

Switch Mode Global switches all LSS Slaves between configuration and operation mode

(used for configuration of the bit timing).

Switch Mode Selective switches exactly one LSS Slave between configuration and operation mode

(used for configuration of the node-id)

Configuration Services

Configure Node-ID

By means of this service the LSS Master configures the NMT-address parameter of a LSS Slave.

This service allows only one LSS Slave in configuration mode. The remote result parameter confirms the success or failure of the service.

Configure Bit Timing Parameters

By means of the Configure Bit Timing Parameters service the LSS Master sets the new bit timing on a

LSS Slave.

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

45

D-20-9 / D-21-9

GB

By means of the table_selector the bit timing parameter table to be used is specified. In the bit timing parameter table the bit timing parameters for different baud rates are specified. With table_selector value ´0´ the standard CiA bit timing parameter table is referenced. The table_index selects the entry

(baud rate) in the selected table (value ‘0’ refers to the highest baud rate).

Baud Rate (kBit)

Table Index

1000 0

800

500

1

2

250

125

100 (reserved)

50

20

10

3

4

5

6

7

8

This service has to be followed by an Activate Bit Timing Parameters service to activate the configured parameters. After execution of the Configure Bit Timing Parameters service the node may not execute any remote LSS services except the services Configure Bit Timing Parameters, Activate Bit Timing

Parameters and Switch Mode.

The remote result parameter confirms the success or failure of the service.

Activate Bit Timing Parameters

By means of the Activate Bit Timing Parameters service the LSS Master activates the bit timing as defined by the Configure Bit Timing Parameters service.

The switch_delay parameter specifies the length of two delay periods of equal length, which are necessary to avoid operating the bus with differing bit timing parameters. Each node performs the actual switch of the bit timing parameters ´switch_delay´ milliseconds after the reception of the command. After performing the switch, a node does not transmit any messages before the second time ´switch_delay´ has passed.

LSS Protocol Descriptions

A protocol description specifies the sequence of COB's and their format that are exchanged between the LSS Master and LSS Slave(s) for a particular LSS service. Requesting Messages (from LSS

Master) using COB-ID 2021. Response Messages (from LSS Slave) using COB-ID 2020.

LSS uses command specifiers to identify the commands.

SWITCH MODE PROTOCOLS

Switch Mode Global

LSS-Master sends

ID DLC Byte0

7E5h 8

CS =

04h

Byte1 mode

cs:

mode:

Byte2

LSS command specifier

04 for Switch Mode Global

The LSS mode to switch to:

0: switches to operation mode

1: switches to configuration mode

Byte3 Byte4 Byte5 reserved

Byte6 Byte7

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

46

D-20-9 / D-21-9

GB

Switch Mode Selective

LSS-Master sends

ID DLC Byte0

7E5h 8

CS =

40h

Byte1

LSB

Byte2 Byte3 Byte4

MSB

Byte5 Byte6 reserved

Byte7

Vendor-ID

Byte2 Byte3 ID

7E5h

DLC

8

Byte0

CS =

41h

Byte1

LSB

Byte4

MSB

Byte5 Byte6 reserved

Byte7

Product Code

Byte2 Byte3 ID

7E5h

DLC

8

Byte0

CS =

42h

Byte1

LSB

Byte4

MSB

Byte5 Byte6 reserved

Byte7

Revision Number

ID

7E5h

DLC

8

Byte0

CS =

43h

LSS-Slave answers

ID DLC

7E4h 8

Byte0

CS =

44h

Byte1

LSB

Byte1

Byte2 Byte3

Serial Number

Byte2

Byte4

MSB

Byte5 Byte6 reserved

Byte7

Byte3 Byte4 reserved

Byte5 Byte6 Byte7

cs: LSS command specifiers;

40h to 44h for Switch Mode Selective

vendor-id:

product-code:

Vendor name part of the LSS address, with respect to index 1018h, subindex 1

Product name part of the LSS address, with respect to index 1018h, subindex 2

revision-number: Revision part of the LSS address, with respect to index 1018h, subindex 3

serial-number: Serial number part of the LSS address, with respect to index 1018h, subindex 4

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

47

D-20-9 / D-21-9

GB

CONFIGURATION PROTOCOLS

Configure Node-ID Protocol

LSS-Master sends

ID DLC Byte0

7E5h 8

CS =

11h

Byte1

Node-ID

Byte2

LSS-Slave answers

ID DLC

7E4h 8

Byte0

CS =

11h

Byte1 error code

Byte2

cs: LSS command specifier

11h for Configure Node-ID

The new Node-ID to configure NID:

error_code: 0 : protocol successfully completed

1 : Node-ID out of range

Byte3

Byte3

Byte4 Byte5 reserved

Byte6 Byte7

Byte4 Byte5 reserved

Byte6 Byte7

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

48

D-20-9 / D-21-9

GB

Configure Bit Timing Parameters Protocol

LSS-Master sends

ID DLC Byte0 Byte1 Byte2

7E5h 8

CS =

13h

Table

Selector

Table

Index

LSS-Slave answers

ID DLC

7E4h 8

Byte0

CS =

13h

Byte1 error code

Byte2

Byte3

Byte3

Byte4 Byte5

Reserved

Byte6

Byte4 Byte5 reserved

Byte6

cs: LSS command specifier

13h for Configure Node-ID

table_selector: selects which bit timing parameters table has to be used

0: standard CiA bit timing table

1..255: reserved

table_index: selects the entry (bit timing parameters) in the standard CiA bit timings table

error_code:

0: protocol successfully completed

1: bit timing not supported

2..255: reserved

Byte7

Byte7

Activate Bit Timing Parameters Protocol

LSS-Master sends

ID DLC Byte0

7E5h 8

CS =

15h

Byte1 Byte2

Switch delay

LSB MSB

LSS-Slave answers

ID DLC Byte2

7E4h 8

Byte0

CS =

13h

Byte1 error code

Byte3

Byte3

Byte4 Byte5

Reserved

Byte6

Byte4 Byte5 reserved

Byte6

Byte7

Byte7

cs: LSS command specifier

15h for Activate Bit Timing Parameters

switch_delay:

The duration of the two periods of time to wait until the bit timing parameters switch is done (first period) and before transmitting any CAN message with the new bit timing parameters after performing the switch (second period). The time unit of switch delay is 1 ms.

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

49

D-20-9 / D-21-9

Example

Configure the node-is of a slave:

• Set the device to stopped mode (see 9. Network Management Objects)

• Change from operation mode to configuration mode via Switch Mode Selective

(see LSS Protocol Descriptions)

• Setting the node ID via Configure Node-ID Protocol

(see LSS Protocol Descriptions)

• Change from configuration mode to operation mode via Switch mode Global

(see LSS Protocol Descriptions)

Configure the bit timing parameters:

• Set the device to stopped mode (see 9. Network Management Objects)

• Change from operation mode to configuration mode via Switch Mode Global

(see LSS Protocol Descriptions)

• Set baud rate via Configure Bit Timing Parameters Protocol

(see LSS Protocol Descriptions)

• Activate bit timing via Activate Bit Timing Parameters Protocol

(see LSS Protocol Descriptions)

• Change from configuration mode to operation mode via Switch mode Global

(see LSS Protocol Descriptions)

GB

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

50

D-20-9 / D-21-9

GB

11. References

ISO 11898 Controller area network (CAN)

CiA Draft Standard 301 Version 4.02 - CANopen Application Layer and Communication Profile

CiA Draft Standard 404 Version 1.2 – CANopen Device Profile Measuring Devices and Closed-Loop

Controllers

CiA Draft Recommendation Proposal 303-1 Version 1.1.1 – CANopen Cabling and Connector Pin Assignment

CiA Draft Standard 102 Version 2.0 - CAN Physical Layer for Industrial Applications

CiA Draft Standard Proposal 305 Version 1.1.1 – CANopen Layer Setting Services and Protocol (LSS)

12. Definitions and abbreviations

CAN

CiA

Controller Area Network

CAN in Automation international users and manufacturers group e.V.

COB Communication Object (CAN Message). A unit of transportation in a CAN network. Data must be sent across a CAN network inside a COB. A COB can contain at most 8 bytes of data.

COB-ID COB-Identifier. Identifies a COB uniquely in a network. The identifier determines the priority of that

COB in the MAC sub-layer too

CS Command Specifier

EDS

ISO

DLC

ID

LSB

Electronic Data Sheet

International Standardisation Organisation

Data Length Code of a CAN message

Identifier

Least Significant Bit

LSS Layer Setting Services. One of the service elements of the CAN Application Layer in the CAN

Reference Model.

It serves to configure parameters of each layer in the CAN Reference Model.

MAC Medium Access Control. One of the sub-layers of the Data Link Layer in the CAN Reference Model that controls

MSB who gets access to the medium to send a message.

Most Significant Bit

NMT Network Management. One of the service elements of the CAN Application Layer in the CAN

Reference Model.

It performs initialisation, configuration and error handling in a CAN network.

Node-ID The Node-ID of the NMT Slave has to be assigned uniquely (1 .. 127).

OSI Open Systems Interconnection

PDO

RO

Process Data Object

Read Only

RW

SDO

SYNC

WO

Read/Write

Service Data Object

Synchronisation Object

Write Only

13. History

Version 1: 10.02.2004

Version 2: 29.09.2004

- added description for Layer setting services (LSS)

WIKA Additional Instructions Pressure Transmitter with CANopen Interface D-20-9 / D-21-9

51

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement