Read / write parameter offset, command „u“ (55h), N 141, Example 2: write offset – Baumer N 141 User Manual

Page 9: Response in both examples, Response after reset upon deletion of all profiles

Advertising
background image

N 141

www.baumer.com

9

4.2.5. Read / write parameter offset, command „U“ (55h)

This command is to read or write the offset that is added to the true current value. First however the function
must be enabled in command bit parameter ‚a’ (61h).

Example 1: Read offset

SOH Adr Cmd EOT CRC

Transmission

01h 20h 55h 04h 26h


Example 2: Write offset

SOH Adr Cmd

data (offset = –20,00)

EOT CRC

Transmission

01h 20h 55h 2Dh 30h 32h 30h 30h 30h

04h C3h


Response in both examples:

SOH Adr Cmd

data (offset = –20,00)

EOT CRC

Response

01h 20h 55h 2Dh 30h 32h 30h 30h 30h

04h C3h


4.2.6. Read / write parameter profile number, command „V“ (56h)

This command is to readout the number of the presently active profile respectively for altering the profile.

Example 1: Read active profile (active profile number = 38)

SOH

Adr

Cmd

EOT

CRC

Transmission

01h

20h

56h

04h

20h

SOH

Adr

Cmd Profile no. = 38 EOT

CRC

Response

01h

20h

56h

33h

38h

04h

28h

Response after reset upon deletion of all profiles:

SOH

Adr

Cmd Profile no. = FF EOT

CRC

Response

01h

20h

56h

3Fh

3Fh

04h

16h


Example 2: Transmit new profile (new profile number = 17)

SOH

Adr

Cmd Profile no. = 17 EOT

CRC

Transmission

01h

20h

56h

31h

37h

04h

3E

SOH

Adr

Cmd Profile no. = 17 EOT

CRC

Response

01h

20h

56h

31h

37h

04h

3E


Example 3: Transmit new profile by broadcast command to all N 141 (Identifier = 99 (83h); new profile no. =
17)

SOH

Adr

Cmd Profile no. = 17 EOT

CRC

Transmission

01h

83h

56h

31h

37h

04h

04

Response

Not confirmed

To verify whether the new profile has been accepted by all N141 utilize check command „C“ (43h).

Advertising