Overview on commands – Baumer N 142 User Manual

Page 29

Advertising
background image

N 142

www.baumer.com

29

4.6. CRC error

Upon recognizing a CRC error in a command transmitted the SPA will respond as follows:

SOH Adr Error EOT CRC

Response

01h 20h 65h 04h 46h Error = „e“ (65h) = CRC error


4.7. Format error

Upon recognizing a format error (incorrect length of protocol or void command (Cmd); the SPA will respond as
follows:

SOH Adr Error EOT CRC

Response

01h 20h 66h 04h 40h Error = „f“ (66h) = Format error



5. Overview on commands

The following chart shows in alphabetical order all available commands (Cmd) as well as options regarding read
and write (parameterization).

Command

code

Data amount

In bytes

read

write

Broad-

cast

Save in

EEPROM

Significance

a (61h)

5

X

X

-

X

Read /write general parameters

b (62h)

8

X

X

-

X

Parameter: Tolerance compensation, window

c (63h)

8

X

X

-

X

Parameter: Scaling factor spindle pitch

g (67h)

12

X

X

-

X

Parameter: Limits MIN, MAX

h (68h)

12

X

X

-

X

Parameter: Switching points motor speed

i (69h)

1

X

X

X

X

Parameter: mm / inch

j (69h)

3

X

X

X

X

Parameter: Timeout interval bus error

k (6Bh)

9

X

X

-

X

Parameter: Motor system cycles

l (6Ch)

5

X

X

-

X

Parameter: Jog

m (6Dh)

5

X

X

-

X

Read/write general parameters

t (74h)

6

-

X

-

-

Transmission tool number

u (75h)

6

-

X

-

-

Transmit optional number sequence

x (78h)

5

X

X

-

X

Read / write specific parameters

A (41h)

2

X

X

X

X

Assign or display device identifier

B (42h)

2

-

-

-

-

SPA response in addressing mode

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

K (4Bh)

-

-

X

X

X

Specific command: Profile reset (delete)

Q (51h)

1

-

X

X

X

Specific command: N 142 reset

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

X (58h)

2 / 4 / 8

X

-

-

-

Specific command: read device data

Z (5Ah)

6

X

X

X

X

Set preset

Advertising