beautypg.com

Extended command check position „cx, 5 read / write offset „u“ (55h) – Baumer N 155 User Manual

Page 8

background image

N 155

www.baumer.com

8

The following state-related values are available:

State

Significance

o (6Fh)

current value=target

x (78h)

current value≠ arget


Extended command Check Position „CX“

Besides the state value of the target/current value comparison, the extended command „Check Position“ reads
out the current value. The profile number is not transmitted. Regarding available state-related values please see
above.

Example:

SOH Adr Cmd

SCmd

EOT CRC

transmission

01h 20h 43h

58h 04h A8h

SOH Adr Cmd

state

reserved

reserved

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.5 Read / write offset „U“ (55h)

This command is for reading or writing the offset to be added to the actual current value. This function however
has to be activated first in the command bit parameter ‚a’ (61h).

Example 1: Read offset

SOH

Adr

Cmd

EOT

CRC

Send

01h

20h

55h

04h

26h

Example 2: Write offset

SOH

Adr

Cmd

data (offset = –20.00)

EOT

CRC

Send

01h

20h

55h

2Dh

30h

32h

30h

30h

30h

04h

C3h

Response in both examples:

SOH

Adr

Cmd

data (offset = –20.00)

EOT

CRC

Response

01h

20h

55h

2Dh

30h

32h

30h

30h

30h

04h

C3h


4.2.6. Write a number sequence in upper line of the display „t“ (74h)

The command is for writing a 5-digit number sequence in the upper display line. The sequence is depicted with-
out dot respectively comma. Preceding zeroes as well as both arrows for direction are hidden. The bottom line is
still showing the current value.
The number sequence will remain until any command except „t“, „u“ or „R“ is received by interface.

Example: (number sequence = 054321)

SOH

Adr

Cmd

Number sequence = 054321

EOT

CRC

Send

01h

20h

74h

30h

35h

34h

33h

32h

31h

04h

C6h

SOH

Adr

Cmd

Number sequence = 054321

EOT

CRC

Response

01h

20h

74h

30h

35h

34h

33h

32h

31h

04h

C6h