Herunterladen Inhalt Inhalt Diese Seite drucken

Examples Of Access To Parameters Via Acyclic Data Exchange; Write Command: Write P930 With Value 2 - TR-Electronic MP-Series Benutzerhandbuch

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

5.4.1 Examples of access to parameters via acyclic data exchange

5.4.1.1 Write command: Write P930 with value 2

The control wants to write parameter 930 "Operating mode" with value 2:
Request IO-Controller => encoTRive:
Byte
0
1
2
3
4
5
6
7
8
9
10
11
12
13
Response encoTRive => IO-Controller:
a)
Byte
0
1
2
3
b)
The error number is assumed to be 0x1234
Byte
0
1
2
3
4
5
6
7
Printed in the Federal Republic of Germany
06/06/2019
Value
Meaning
0xAB
Request Reference
0x02
Request ID (write parameter)
0x00
Axis (content not relevant)
0x01
Number of parameter (always 1)
0x10
Attribute (access to value)
0x00
Number of elements (simple parameter)
0x03
PNU (High Byte)
0xA2
PNU (Low Byte)
0x00
Subindex (High Byte)
0x00
Subindex (Low Byte)
0x42
Format (Word)
0x01
Number of values
0x00
Value (High Byte)
0x02
Value (Low Byte)
If executed successfully:
Value
Meaning
0xAB
Request reference (mirrored from request)
0x02
Response ID (parameter written successfully)
0x00
Axis (mirrored from request)
0x01
Number of parameters (mirrored from request)
In the event of failure:
Value
Meaning
0xAB
Request reference (mirrored from request)
0x82
Response ID (error when writing parameter)
0x00
Axis (mirrored from request)
0x01
Number of parameters (mirrored from request)
0x44
Format (error)
0x01
Number of values
0x12
Error number (High Byte)
0x34
Error number (Low Byte)
TR - EMO - BA - DGB - 0019 - 08
 TR-Electronic GmbH 2008, All Rights Reserved
Page 161 of 252

Werbung

Kapitel

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Ma-seriesMd-300

Inhaltsverzeichnis