Address commands, Device address allocation in the network „a“ (41h), Indicate address in the display „a“ (41h) – Baumer N 143 User Manual

Page 24: Extended address command „ax“ (41h, 58h), N 143

Advertising
background image

N 143

24 www.baumer.com

4.4. Address commands

Command

code

Data length

in bytes

read

write

Broad-

cast

Save in

EEPROM

Significance

A (41h)

2

X

X

X

X

Allocate or indicate device address

B (42h)

2

-

-

-

-

SPA feedback in addressing mode

4.4.1. Device address allocation in the network „A“ (41h)

This command is generating an automated process to allocate the device address in successive order to each
networked SPA upon commissioning of the system. The first address to be allocated is broadcasted to the net-
worked SPAs as follows:

SOH

Adr

Cmd identifier = 01

EOT

CRC

Transmission

01h

83h

41h

30h

31h

04h

B4h

All SPAs show the address transmitted for allocation in their upper display lines. The lower lines indicate the
device-specific address.To have the new address adopted by the SPA, the shaft must experience a turn by half
at least (direction does not matter). The address has now been adopted and appears in the lower line of the dis-
play (as new device-specific address). Both addresses are now identical. As soon as the shaft is in idle position
again and after having elapsed 3 seconds, the SPA will reply command „B“ (42h) for confirmation to the mas-
ter:

SOH

Adr

Cmd identifier = 01

EOT

CRC

Transmission

to master

01h

21h

42h

30h

31h

04h

86h

The master now transmits command „A“ with the next address to be allocated as previously described.
This way, each networked SPA is allocated its individual address in an automated process and in successive
order.
Important: Command „B“ transmitted by N 143 to master for confirmation will be repeated after 3 seconds pro-
vided the master has not previously transmitted command „A“.

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

This command, less any parameters and applied as broadcast command (address=99) will make every net-
worked SPA indicate its device-specific address in the lower 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

The SPA will remain in this mode until being switched off and on again or until another command is received.

Extended address command „AX“ (41h, 58h)

This extended command is for addressing individual multicon devices in the bus network in a similar way as de-
scribed above. All networked devices will receive the address to be allocated by broadcast command by the fol-
lowing procedure:

SOH

Adr

Cmd

Sub

Adresse = 01

EOT

CRC

Transmission

01h

83h

41h

58h

30h

31h

04h

40h

Response

Not confirmed

:
Equal to the standard command, all devices now indicate the address just received which is to be allocated in
the upper display. The address is adopted the same way. However, contrary to the above there is no confirma-
tion by command „B“ in reply. The master must verify whether the new address has been duly adopted, for ex-
ample by command “R” (read current value). Command “ R” with the related address is transmitted to the posi-
tion display. Once the addressed device has confirmed the successful allocation, the master will proceed with
next address. As soon as further commands are received, the respective position display will switch to standard
operation.

Advertising