beautypg.com

Identifier commands, Indicate identifier in the display „a“ (41h) – Baumer N 150 User Manual

Page 15

background image

N 150

www.baumer.com

15

4.4. Identifier commands

Command

code

Data amount

in bytes

read

write

Broad-

cast

Save in

EEPROM

Significance

A (41h)

2

X

X

X

X

Assign or indicate device identifier

B (42h)

2

-

-

-

-

SPA feedback in addressing mode


4.4.1. Assigning device identifiers in the network „A“ (41h)

This command is creating an automated process where the device identifier is assigned in successive order to
every single N 150 upon commissioning of the system. The first identifier to be assigned is broadcasted to all
networked N 150 as follows:

SOH

Adr

Cmd identifier = 01

EOT

CRC

Transmission

01h

83h

41h

30h

31h

04h

B4h

All N 150 now show the identifier just transmitted and that is to be assigned in the upper line of the display. The
bottom line indicates the device-specific identifier. o enter the new identifier, the shaft of the respective N 150
must be turned by at least a half (direction does not matter).The identifier is now adopted and appears in the
bottom line of the display (as device-specific identifier). Both identifiers are now identical. As soon as the shaft is
in idle position again and after having elapsed 3 seconds, N 150 will transmit to master the following
acknowledging command „B“ (42h):

SOH

Adr

Cmd identifier = 01

EOT

CRC

Transmitted

To master

01h

21h

42h

30h

31h

04h

86h

The Master may now transmits command „A“ with the next identifier to be assigned as previously described.
This way, the respective (successive) identifiers are automatically assigned to all networked N 150, one after the
other.

Important: The confirmatory command „B“ transmitted by N 150 to master will be repeated after 3 seconds
provided the master has not previously transmitted another „A“ command.

Indicate identifier in the display „A“ (41h)

This command less parameters as broadcast command (address/Identifier=99) will make every networked N
150 indicate the device-specific identifier in the bottom line of the display. The upper line is blind.
This command is a designated broadcast command.

SOH

Adr

Cmd

EOT

CRC

Transmission

01h

83h

41h

04h

80h

Response

Not confirmed


SPA remains in this mode until being switched off and on again or until transmission of another command
except „A“, „R“, „t“ or „u“.

If this command is transmitted to a valid device identifier (except 99) without any parameters, the respective SPA
will return to standard operating mode and reply the actual device identifier.

SOH

Adr

Cmd

EOT

CRC

Transmission

01h

21h

41h

04h

0Ah

SOH

Adr

Cmd

Adr=01

EOT

CRC

Response

01h

21h

41h

30h

31h

04h

9Eh