Codes – Lenze EMF2178IB User Manual

Page 142

Advertising
background image

Codes

Communication−relevant Lenze codes

14

l

142

EDSMF2178IB EN 3.0

C1876/C2376:
Masks CAN−OUT1

This mask is used to skip one or several bits of the output PDO CAN−OUT1.

Code

Subcode

Index

Possible settings

Data type

Lenze

Selection

C1876

/1: CAN−OUT1.W1
/2: CAN−OUT1.W2
/3: CAN−OUT1.W3
/4: CAN−OUT1.W4

22699 =
0x58AB

65535

0

[1]

65535 FIX32

C2376

22199 =
0x56B7

The event−controlled transmission of the CAN−OUT object can be e.g. dependent on one bit
only. (See also code C1875/C2375,

^ 140.)

Example:

The mask in word 3 of the process data object CAN−OUT1 is set by code C1876/3 with the
value "0x20".

ƒ

1st cycle
Result after 1st cycle: The PDO is sent.

CAN−OUT1.W3

MASK

0

0

0

0

0

0

0

0

0

0

1

0

0

0

0

0

Data

1

1

1

1

1

1

1

1

0

1

1

0

0

0

1

0

Result

0

0

0

0

0

0

0

0

0

0

1

0

0

0

0

0

ƒ

2nd cycle
Result after 2nd cycle:
– New data have been written into CAN−OUT1.
– The PDO is sent due to the bit change.

CAN−OUT1.W3

MASK

0

0

0

0

0

0

0

0

0

0

1

0

0

0

0

0

Data

1

1

1

1

1

1

1

1

0

1

0

0

0

0

1

0

Result

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Advertising