Check position, command „c“ (43h), Extended command check position „cx, Read parameter current value, command „r“ (52h) – Baumer N 141 User Manual
Page 7: N 141
N 141
www.baumer.com
7
4.2.1. Check Position, command „C“ (43h)
This command provides the alignment status of target versus current value. If the current value is within the
target tolerance window, the response will be „o“ (6Fh) for OK together with the current profile number. If the
current value is outside the tolerances, „x“ (78H) followed by the current profile number will be replied.
Example: (active profile number = 05)
SOH
Adr
Cmd
EOT
CRC
Transmission
01h
20h
43h
04h
0Ah
Response if current value within the tolerance window:
SOH
Adr
Cmd Status Profile no. = 05 EOT
CRC
Response
01h
20h
43h
6Fh
30h
35h
04h
A5h
Response if current value outside the tolerance window:
SOH
Adr
Cmd Status Profile no. = 05 EOT
CRC
Response
01h
20h
43h
78h
30h
35h
04h
1D
Extended command Check Position „CX“
The command extension „Check Position CX “provides besides the alignment status target versus current value
also the contents of the status and error register as well as the current value. The profile number is not
transmitted.
Note: SPA N 141 does not provide any status or error register. For reasons of compatibility to other multicon
equipment here the permanent parameter 80h is transmitted, i.e. the 4 data bytes have no significance.
Example:
SOH Adr Cmd
SCmd
EOT CRC
Transmission
01h 20h 43h 58h 04h A8h
SOH Adr Cmd Stat. Status-Reg Error-Reg
Current value = -12,50
EOT CRC
Response
01h 20h 43h 6Fh 80h 80h 80h 80h 2Dh 30h 31h 32h 35h 30h 04h B7h
4.2.2. Read parameter current value, command „R“ (52h)
This command is for readout the 6-digit current value (bottom line). The amount of data is always 6 bytes. In
case of a negative value, the “-“ sign (2Dh) together with 5 data bytes is replied. Positive values come as 6 data
bytes without sign. Values of less than 6 (5) digits will come with preceding zeroes.
Example: Current value = -32,50
SOH
Adr
Cmd
EOT
CRC
Transmission
01h
20h
52h
04h
40h
SOH
Adr
Cmd
Current value = –32,50
EOT
CRC
Response
01h
20h
52h
2Dh
30h
33h
32h
35h
30h
04h
54h