216
XtrapulsPac – User Guide
Chapter 3 - Reference
Sub Index
5
Description Mask
2
Data Type
Unsigned16
Access rw
Save Yes
PDO Mapping
No
Default Value
0
Sub Index
6
Description Shift
2
Data Type
integer16
Access rw
Save Yes
PDO Mapping
No
Default Value
0
Example:
Using I/O Module with 8 inputs: 5 inputs will be used to select sequence number and 3 inputs will be used for
sequence condition.
The assignment will be:
The target object is sequence number input: 0x3601,1
The first group of 5 bits are digital inputs (0, 1, 2, 3, 4), so the bit mask is 0x001F
There is no shift between the digital inputs and the target object bits, so the shift value is 0:
0x3821,1 = 0x36010100
0x3821,2 = 0x001F
0x3821,3 = 0
The target object is sequence condition input: 0x3601,3.
The second group of 3 bits are digital input bits (5, 6, 7), so the bit mask is 0x00E0.
The digital input bits start from bit 5 and the target bits start from bit 2, so the shift value is -3
0x3821,4 = 0x36010300
0x3821,5 = 0x00E0
0x3821,6 = -3
Remark: One input can be connected to 2 different target objects.
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
Digital Inputs 0x3829,1
Sequence Condition 0x3601,3
Sequence Number 0x3601,1
CANopen I/O module
Digital Inputs
CANbus
shift = 0
shift = -3