Command explanations, General information, Operating commands – Baumer N 153 User Manual
Page 7
N 153
www.baumer.com
7
4. Command explanations
4.1. General information
The following is describing the individual interface commands broken down into the four groups below:
-
operating commands [ commands required during operation ]
-
parameter commands [ commands for SPA parameterization ]
-
identifier commands
[ commands to indicate or alter the device identifier (address)]
-
specific commands
[ commands for specific functions as device reset or version number readout]
The following abbreviations are applied:
SOH = start of heading (header token)
EOT = end of transmission (footer token)
Adr = device identifier, including offset 20h
Cmd = command
Sub = sub-Command
Data = data transmitted or received
CRC = checksum (cyclic redundancy check)
4.2. Operating commands
Command
code
Data amount
in bytes
read
write
Broad-
cast
Saved in
EEPROM
Significance
C (43h)
3 / 11
X
-
-
-
Check if actual value = target
D (44h)
1
X
X
X
-
Start motor
F (46h)
4
X
-
-
-
Read device status and error
R (52h)
6
X
-
-
-
Read actual value
S (53h)
8
X
X
-
X
Read / write target
U (55h)
6
X
X
-
-
Offset
V (56h)
2
X
X
X
X
Read / write profile number
Z (5Ah)
6
X
X
X
X
Set preset
t (74h)
6
-
X
-
-
Transmit tool number
u (75h)
6
-
X
-
-
Transmit optional column of figures
4.2.1. Check Position „C“ (43h)
This command provides the alignment status of target versus actual value. If the actual value is within the target
tolerance window, the response will be „o“ (6Fh) for OK together with the current profile number. If the actual
value is outside the tolerances, „x“ (78H) followed by the current profile number will be replied. In case of any
SPA error occurred, the response will be “e” together with the active profile number.
Example: (active profile number = 05)
SOH
Adr
Cmd
EOT
CRC
Transmission
01h
20h
43h
04h
0Ah
Response if actual value within the tolerances:
SOH
Adr
Cmd Status Profile no. = 05 EOT
CRC
Response
01h
20h
43h
6Fh
30h
35h
04h
A5h
Response if actual value is outside the tolerances:
SOH
Adr
Cmd Status Profile no. = 05 EOT
CRC
Response
01h
20h
43h
78h
30h
35h
04h
1D
Following values relating to status are possible:
Status
Significance
o (6Fh)
Actual value = target
x (78h)
Actual value ≠ target
e (65h)
SPA error