EasyManua.ls Logo

TR-Electronic MP Series - Write Command: Write P915 with a Number of Values

TR-Electronic MP Series
252 pages
Go to English
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PROFINET communication with encoTRive
TR-Electronic GmbH 2008, All Rights Reserved Printed in the Federal Republic of Germany
Page 162 of 252 TR - EMO - BA - DGB - 0019 - 08 06/06/2019
5.4.1.2 Write command: Write P915 with a number of values
The control wants to write parameter 915 "PZD configuration, setpoints" with the
following values:
P915[1] = 200 (target position), P915[2] = 201 (speed),
P915[3] = 202 (acceleration), P915[4] = 203 (deceleration)
Request IO controller => encoTRive
Byte
Value
Meaning
0
0xAC
Request reference
1
0x02
Request ID (write parameter)
2
0x00
Axis (content not relevant)
3
0x01
Number of parameters (always 1)
4
0x10
Attribute (access to value)
5
0x04
Number of elements
6
0x03
PNU (High Byte)
7
0x93
PNU (Low Byte )
8
0x00
First subindex (High Byte)
9
0x01
First subindex (Low Byte)
10
0x42
Format (Word)
11
0x04
Number of values
12
0x00
Value 1 (High Byte)
13
0xC8
Value 1 (Low Byte)
14
0x00
Value 2 (High Byte)
15
0xC9
Value 2 (Low Byte)
16
0x00
Value 3 (High Byte)
17
0xCA
Value 3 (Low Byte)
18
0x00
Value 4 (High Byte)
19
0xCB
Value 4 (Low Byte)
Response encoTRive => IO controller:
a) If executed successfully:
Byte
Value
Meaning
0
0xAC
Request reference (mirrored from request)
1
0x02
Response ID (parameter written successfully)
2
0x00
Axis (mirrored from request)
3
0x01
Number of parameters (mirrored from request)
b) In the event of failure:
The error number is assumed to be 0xABCD
Byte
Value
Meaning
0
0xAC
Request reference (mirrored from request)
1
0x82
Response ID (error when writing parameter)
2
0x00
Axis (mirrored from request)
3
0x01
Number of parameters (mirrored from request)
4
0x44
Format (error)
5
0x01
Number of values
6
0xAB
Error number (High Byte)
7
0xCD
Error number (Low Byte)

Table of Contents

Related product manuals