Identifier (address) commands – Baumer N 142 User Manual

Page 25

Advertising
background image

N 142

www.baumer.com

25

Sub-Parameter: Hide LCD-Digit „L“ (4Ch)
This parameter is used to ever hide the 1st digit (at right) of the upper or lower display. Readout of the displayed
values will be 1/10 with measuring unit “mm” respectively 1/100 with “inch”.

Following state parameters are possible:

0 (30h) = indicate all digits

1 (31h) = Hide digit 1 (at right)


Example 1: Read current state

SOH Adr Cmd Sub EOT CRC

Transmission

01h 20h 78h 4Ch 04h 6Ch

SOH Adr Cmd Sub Stat EOT CRC

Response

01h 20h 78h 4Ch 30h 04h B4h


Example 2: Hide first digit each (Stat = 31H)

SOH Adr Cmd Sub Stat EOT CRC

Transmsission

01h 20h 78h 4Ch 31h 04h B6h

SOH Adr Cmd Sub Stat EOT CRC

Response

01h 20h 78h 4Ch 31h 04h B6h


Note: Contrary to other multicon devices like N 150, N 152 etc, for some technical reasons N 142 does not
allow a change in resolution from 1/100 to 1/10 by resolution parameter. The “hide 1st digit” option is intended
to pretend a 1/10 resolution.

4.4. Identifier (address) commands

Command

code

Data amount

In bytes

read

write

Broad-

cast

Save in

EEPROM

Significance

A (41h)

2

X

X

X

X

Assign or display a device identifier

B (42h)

2

-

-

-

-

SPA response in address mode


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

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


SOH Adr Cmd identifier=01 EOT CRC

Transmission

01h 83h 41h 30h 31h 04h B4h


All SPAs 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. To enter the new identifier, the shaft of the respective SPA
has to be turned by half at least (direction does not matter). The identifier is now entered and appears in the
bottom line of the display (as new device-specific identifier). Both identifiers are now identical. As soon as the
shaft is in idle position again and after having elapsed 3 seconds, the following command „B“ (42h) is
transmitted by SPA to master:

SOH Adr Cmd identifier=01 EOT CRC

Transmission

To Master

01h 21h 42h 30h 31h 04h

86h

The Master can now transmit command „A“ with the next identifier to be assigned as previously described. This
way, the different (successive) identifiers are automatically assigned to all networked SPAs, one after the other.

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




Advertising