beautypg.com

Specific commands, Spa profile reset, command „k“ (4bh) – Baumer N 140 User Manual

Page 15

background image

N 140

www.baumer.com

15

4.5. Specific commands

Command

code

Data amount

in bytes

read

write

Broad-

cast

Save in

EEPROM

Significance

K (4Bh)

-

-

X

X

X

Specific command: Profile reset (delete)

Q (51h)

1

-

X

X

X

Specific command: N 140 reset

X (58h)

2 / 4 / 8

X

-

-

-

Specific command: Read device data

4.5.1. SPA profile reset, command „K“ (4Bh)

This command is clearing all previously programmed profiles.

Example 1: Profile reset of a specific N 140

SOH

Adr

Cmd

Data

EOT

CRC

Transmisison

01h

20h

4Bh

7Fh

04h

C6h

SOH

Adr

Data

EOT

CRC

Response

01h

20h

6Fh

04h

52h N 140 replies by standard response ‚o’ (6Fh) = OK


Example 2: General profile reset at all N 140 by broadcast command (identifier = 99)

SOH

Adr

Cmd

Data

EOT

CRC

Transmission

01h

83h

4Bh

7Fh

04h

DBh

Response

Not confirmed

Important: After profile reset all profile data are set to auf FFFFFFhex , the current profile number to FFhex.
The display now shows 6 dashes instead of the target.

4.5.2. N 140 restore default, command „Q“ (51h)

This command restores default either of individual or collective parameters.

Data = q (71h) = Restore default

Data = r (72h) = Controller reset

Data = t (74h) = Device identifier = 0.

Data = x (78h) = Multiturn counter is set to 4096 corresponding to 0.

Data = ∆ (7Fh) = All above functions except „r“ (72h) are enabled.

Parameter function „r“ is only enabled individually.

Note: No profile reset. Profile reset by command „R“.

Example 1: Restore default of specific N 140

SOH

Adr

Cmd

Data

EOT

CRC

Transmisison

01h

20h

51h

7Fh

04h

AEh

SOH

Adr

Data

EOT

CRC

Response

01h

20h

6Fh

04h

52h N 140 replies by standard response ‚o’ (6Fh) = OK


Example 2: Restore default at all N 140 by broadcast command (identifier=99)

SOH

Adr

Cmd

Data

EOT

CRC

Transmision

01h

83h

51h

7Fh

04h

B3

Response

Not confirmed