2.4
Control
2.4.11
COMMAND
23
2.4.11
COMMAND
All COMPAX commands which exist for the RS232 interface can be transferred with this object in plain text (ASCII-String in
upper case letters).
Object Description
Index
0x5fe6
Symbol
COMMAND
Length
20
Access groups
0
Object code
Simple var.
Password
0
Data type
Visible string
Access rights
Read/write all
PD Map
Not possible
Data Description
Coding
ASCII
Value range
0x20 ... 0x7f
Data byte
Assignment
Data byte
Assignment
1
1. character of the command string
20
20. character of the command string
Example
The drive must travel 15.8 mm relative (RS232 command: "POSR15.8").
Service
Write request
Length
20
5. data byte
0x31 ("1")
Command Code
0x8082
1. data byte
0x50 ("P")
6. data byte
0x35 ("5")
Param. counter
13
2. data byte
0x4f ("O")
7. data byte
0x2e (".")
Index
0x5fe6
3. data byte
0x53 ("S")
8. data byte
0x38 ("8")
Sub-index
0
4. data byte
0x52 ("R")
9...20. data byte
0x20 (" ")
2.4.12
P
Write/read COMPAX parameters in ASCII format.
The corresponding parameter is selected using the Sub-index (Sub-index = parameter No.).
Object Description
Index
0x5fe7
Symbol
P
Length
32
Access groups
0
Object code
Array
Elements
250
Password
0
Data type
Visible-String
Access rights
read/write all
PD Map
not possible
Data Description
Data format
ASCII
Value range
0x20 ... 0x7f
Data byte
Assignment
Data byte
Assignment
1
1. character of the ASCII response
32
32. character of the ASCII response
Example
The COMPAX parameter 3 must have the value -1055.88. Command: P003=-1055.88
Service
Write request
2. data byte
0x30 ("0")
9. data byte
0x35 ("5")
Command Code
0x8082
3. data byte
0x30 ("0")
10. data byte
0x35 ("5")
Param. counter
19
4. data byte
0x33 ("3")
11. data byte
0x2e (".")
Index
0x5fe7
5. data byte
0x3D ("=")
12. data byte
0x38 ("8")
Sub-index
3
6. data byte
0x2d ("-")
13. data byte
0x38 ("8")
Length
32
7. data byte
0x31 ("1")
14...32. data byte
0x20 (" ")
1. data byte
0x50 ("P")
8. data byte
0x30 ("0")
Summary of Contents for Hauser COMPAX-M Series
Page 84: ...6 Index Interbus S 84 ...