beautypg.com

Read / write offset „u“ (55h), Read / write profile number „v“ (56h) – Baumer N 152 User Manual

Page 13

background image

N 152

www.baumer.com

13

Transmitting targets with simultaneous motor start signal

Specific applications require autonomous re-alignment of shafts to the new target when it is received without
prior enable signal by command „D“. For this intention the following commands are available:

SPF transmits to SPA profile number together with motor start signal for automated positioning operations
SDF transmits to SPA position value together with motor start signal for automated positioning operations

The addressed SPA is enabled by adding sub-command „F“ to the respective basic command. Since it is a pure
individual positioning operation, defined groups are not affected. Collision prevention is up to the operator.

Example: Write specific target utilizing command „SPF“ (profile number = 17; target = -12.50)

SOH Adr Cmd Sub1 Sub2 Profile=17

Target = -12.50

EOT CRC

Transmission

01h 20h 53h 50h 46h 31h

37h 2Dh 30h

31h

32h

35h

30h 04h A0h

SOH Adr Cmd Sub1 Sub2 Profile=17

Target = -12.50

EOT CRC

Response

01h 20h 53h 50h 46h 31h

37h 2Dh 30h

31h

32h

35h

30h 04h A0h

4.2.6. Read / write offset „U“ (55h)

This command is utilized 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.7. Read / write profile number „V“ (56h)

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

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 having cleared 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: 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).