beautypg.com

Set actual value as preset „z“ (5ah), N 153, Actual value – Baumer N 153 User Manual

Page 12: Current value

background image

N 153

www.baumer.com

12

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: New profile by broadcast command to all SPAs (identifier = 99 (83h); new profile number = 17)

SOH

Adr

Cmd Profile no. = 17 EOT

CRC

Transmission

01h

83h

56h

31h

37h

04h

04

Response

Not confirmed

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

4.2.8. Set actual value as preset „Z“ (5Ah)

Command “Z” is utilized to set the actual value at any optional value. The required position value is transmitted
to the SPA. The SPA will calculate a so-called “preset offset” value relating to the true absolute encoder posi-
tion. When calculating the preset offset, any programmed offset transmitted by command “U” will be considered,
so that after having accomplished command “Z” the current value always equals the preset.

Note
: If the resolution is altered (see command “a”) from 1/100 to 1/10 or vice-versa, the previously pro-
grammed preset has to be set anew. The auto-calculated offset is provided in the previously selected resolu-
tion.

The actual value displayed is composed as follows:

actual

value

displz

= actual value

abs

+ preset offset + Offset

Immediately after having accomplished command „Z“ applies preset value = current valuet-

displ

Current value

displ

actual value indicated in the display and read out by interface

Current value

abs

internal absolute actual value (not corresponding to the transmitted preset value).

Preset offset

offset generated by command „Z“.

Offset

Additional offset enabled by command „U“. This function must be enabled first in command
bit parameter ‚a’ (61h), otherwise the offset is 0.


Example 1: Read out presently active preset value

SOH Adr Cmd EOT CRC

Transmission

01h 20h 5Ah 04h 38h

SOH Adr Cmd

Preset value = 2.50

EOT CRC

Response

01h 20h 5Ah 30h 30h 30h 32h 35h 30h

04h

27h


Example 2: Set actual value as preset value (preset value = 17.25)

SOH Adr Cmd

Preset value = 17.25

EOT CRC

Transmission

01h 20h 5Ah 30h 30h 31h 37h 32h 35h

04h

09h

SOH Adr Cmd

Preset value = 17.25

EOT CRC

Response

01h 20h 5Ah 30h 30h 31h 37h 32h 35h

04h

09h


Example 3: Set actual value as preset at all SPAs by broadcast command

SOH Adr Cmd

Preset value = 17.25

EOT CRC

Transmission

01h 83h 5Ah 30h 30h 31h 37h 32h 35h

04h AAh

Response

Not confirmed