beautypg.com

Check position, command „c“ (43h), Read parameter current value, command „r“ (52h), Command extension check position „cx – Baumer N 140 User Manual

Page 7: N 140, Following status parameters are available

background image

N 140

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 is within tolerance window:

SOH Adr Cmd Stat. Profile no.=05 EOT CRC

Response

01h 20h 43h 6Fh 30h

35h 04h A5h

Response in case of current value is outside the tolerance window:

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


Command extension 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: N140 spindle positioning display does not provide any status or error register. For reasons of
compatibility to other multicon equipment here permanent parameter 80h is transmitted, i.e. the 4 data bytes are
not significant.

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 of the 6-digit current value (bottom line of display). 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 are
represented by 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