Direct positioning „sd, Read / write offset „u“ (55h), Read / write profile number „v“ (56h) – Baumer N 153 User Manual
Page 11: N 153, Example 1: read offset, Example 2: write offset, Response in both examples
N 153
www.baumer.com
11
Direct positioning „SD“
This command may be utilized for direct positioning operations. Only the target less any profile number is trans-
mitted to SPA. The profile number after the command “S” is replaced by sub command “D” ( = dimension). Mo-
tor start enable requires transmitting in addtion motor start command “D”.
Example 4: Write position value for direct positioning operation (less profile)
SOH Adr Cmd Sub
Position value = 278.25
EOT CRC
Transmission
01h 20h 53h 44h 30h 32h 37h 38h 32h 35h
04h 6Bh
SOH Adr Cmd Sub
Position value = 278.25
EOT CRC
Response
01h 20h 53h 44h 30h 32h 37h 38h 32h 35h
04h
6Bh
Note: The position value is saved in the non-volatile memory and will be retained in case of power failure. In this
case the previously selected profile is utilized again.
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 actual value. First however the func-
tion 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 utilized to read 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