![TR-Electronic CDH582 Скачать руководство пользователя страница 45](http://html1.mh-extra.com/html/tr-electronic/cdh582/cdh582_user-manual_1146691045.webp)
Printed in the Federal Republic of Germany
TR-Electronic GmbH 2020, All Rights Reserved
10/07/2020
TR-ECE-BA-GB-0163 v03
Page 45 of 91
7.3 Instance 102, Grey Output Channel 1 (adjustment function)
Danger of physical injury and material damage due to an actual value
jump during execution of the adjustment function!
The adjustment function should only be executed when the measuring
system is stationary, or the resulting actual value jump must be
permitted by both the program and the application!
A 32-bit adjustment value can be transferred and set as a new position value in
Instance 1
and
Instance 101
(
Position Value Unsigned
) via Instance 102, Member
TR Grey – Preset
Control
(Control word) and Member
Preset Value
(Adjustment value). The adjustment value
must be within the programmed measuring range –1. An invalid adjustment value transmitted is not
accepted and error code 0x0080 is indicated in the status word
TR Grey – Encoder Status
.
Control word = 0x0000 deletes the error code in the status word
TR Grey – Encoder Status
.
The adjustment value is set with a rising edge 0->1 of bit 2
0
(0x0001) in the control word. Execution of
the adjustment is acknowledged in the status word
TR Grey – Encoder Status
by setting bit 2
0
(0x0001). Cancelling bit 2
0
(0x0000) in the control word automatically resets bit 2
0
(0x0000) in the
status word
TR Grey – Encoder Status
.
Source data structure, originator -> measuring system
WORD / DINT
Byte
0
1
2
3
4
5
Bit
7-0
15-8
23-16
31-24
39-32
47-40
Data
2
7
– 2
0
2
15
– 2
8
2
7
– 2
0
2
15
– 2
8
2
23
– 2
16
2
31
– 2
24
Function
Control word (2
0
)
32-bit adjustment value (binary)
Adjustment value lower limit
0
Adjustment value upper limit
Programmed total measuring range in steps – 1
Link path,
Packed EPATH
with 8-bit class
0x20
0x04
0x24
0x66
0x30
0x03
Logical Type =
Class
Class #4
Logical Type =
Instance
Instance #66 Logical Type =
Attribute ID
Attribute ID #3
7.4 Instance 121, Safety Input
All safety-related data of the measuring system are output via Instance 121, Members 1 to 3.
Input word structure 0 to 4, Measuring system -> Originator
IW 0
IW 1
IW 2
IW 3
IW 4
TR Safety – Status
TR Safety – Position
TR Safety – Velocity
Link path,
Packed EPATH
with 8-bit class
0x20
0x04
0x24
0x79
0x30
0x03
Logical Type =
Class
Class #4
Logical Type =
Instance
Instance #79 Logical Type =
Attribute ID
Attribute ID #3