Read / write specific parameter „x“ (78h), Identifier commands – Baumer N 141 User Manual
Page 15
N 141
www.baumer.com
15
4.3.5. Read / write specific parameter „x“ (78h)
The specific parameter „x“ comprises several sub-parameters enabling alteration of originally permanent
parameters to adapt them to new circumstances. At present, the following sub-parameter is available:
D (44h) = minimized delay time of serial interface
Sub parameter: Delay time „D“ (44h)
This parameter defines the minimum delay time (timeout) between the last bit received and the first bit of the
response transmitted. Delay time is in steps of 0,1 ms within the range from 00.0 ... 60,0 ms. Default is 1,0 ms.
Example 1: Read current delay time
SOH Adr Cmd Sub EOT CRC
Transmission
01h 20h 78h 44h 04h 7Ch
SOH Adr Cmd Sub
Delaytime = 4.5
EOT CRC
Response
01h 20h 78h 44h 30h 30h 34h 35h
04h BBh
Example 2: Write new delay time
SOH Adr Cmd Sub
Delaytime = 15.0
EOT CRC
Transmission
01h 20h 78h 44h 30h 31h 35h 30h
04h BDh
SOH Adr Cmd Sub
Delaytime = 15.0
EOT CRC
Response
01h 20h 78h 44h 30h 31h 35h 30h
04h BDh
Please note that the true delay time might be extended. It depends on the required processing time as well as
on internal software cycles. The tolerance window is approx. 8 ms.
4.4. Identifier commands
Command
code
Data amount
In bytes
read
write
Broad-
cast
Save in
EEPROM
Function
A (41h)
2
X
X
X
X
Assign or indicate identifier
B (42h)
2
-
-
-
-
SPA response in adressing 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
lower 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, the following confirmatory 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 may 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 confirmatory command „B“ transmitted by SPA to master will be repeated after 3 seconds
provided the master has not previously transmitted another „A“ command.