Command explanations, General, Operating commands – Baumer N 143 User Manual
Page 7

N 143
www.baumer.com
7
4. Command
explanations
4.1. General
The following describes the individual interface commands which are broken down into the four groups below:
-
operating commands [ commands required during operation ]
-
parameter commands [ commands for SPA parameterization ]
-
address commands
[ commands to indicate or alter the device identifier (address)]
-
specific commands
[ commands for specific functionalities (device reset, version number readout]
The following abbreviations are applied:
SOH = Start of heading (header token)
EOT
= End of transmission (footer token)
Adr
= Device address, including offset 20h
Cmd
= Command
SCmd = Sub command
Data
= data transmitted or received
CRC = Cyclic redundancy check
4.2. Operating commands
Command
code
Data length
in bytes
read
write
Broad-
cast
Saved in
EEPROM
Significance
C (43h)
3 / 11
X
-
-
-
Check if current value = target
D (44h)
1
X
X
X
-
Start motor
F (46h)
4
X
-
-
-
Readout device status and error
R (52h)
6
X
-
-
-
Read current 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
t (74h)
6
-
X
-
-
Transmit tool number
u (75h)
6
-
X
-
-
Transmit any optional number sequence
Z (5Ah)
6
X
X
X
X
Set preset
4.2.1. Check Position „C“ (43h)
This command provides the alignment status of target versus current value. If the current value is within the tar-
get tolerance window, the response will be „o“ (6Fh) for OK together with the current profile number. If the cur-
rent value is outside the tolerances, „x“ (78H) followed by the current profile number will be replied. In case of
any error occurred at the SPA the response will be “e” together with the current profile number.
Example: (active profile number = 05)
SOH Adr Cmd EOT CRC
Transmission
01h 20h 43h 04h 0Ah
Response if current value within tolerance window: (Status = 6Fh = „o“)
SOH Adr Cmd Stat. Profile no.=05 EOT CRC
Response
01h 20h 43h 6Fh 30h
35h 04h A5h
Response in case of current value outside tolerance window: (Status = 78h = „x“)
SOH Adr Cmd Stat. Profile no.=05 EOT CRC
Response
01h 20h 43h 78h 30h
35h 04h 1D
Following status parameters are available:
Status
Significance
o (6Fh)
Current value = target
x (78h)
Current value ≠ target
e (65h)
SPA error