Read / write measuring unit „i“ (69h) – Baumer N 152 User Manual
Page 21
N 152
www.baumer.com
21
SOH Adr Cmd
MIN limit position = 0015.00
MAX limit position = 0850.25
EOT CRC
Response
01h 20h 67h
30h 30h 31h 35h
30h 30h 30h 38h 35h 30h
32h 35h 04h 1Fh
Example 2: Write limit positions (MIN = -33.22; MAX = 1234.56)
SOH Adr Cmd
MIN limit position = -033.22
MAX limit position = 1234.56
EOT CRC
Transmission
01h 20h 67h 2Dh 30h 33h 33h 32h 32h 31h 32h 33h 34h 35h 36h 04h 92h
Response
SOH Adr Cmd
MIN limit position = -033.22
MAX limit position = 1234.56
EOT CRC
01h 20h 67h 2Dh 30h 33h 33h 32h 32h 31h 32h 33h 34h 35h 36h 04h 92h
4.3.6. Read / write motor speed switching points „h“ (68h)
This command is utilized to read or write the motor speed switching points. Prior to reaching the target the motor
speed can be slowed down by two optional speeds (slow and precision) for absolutely precise positioning to the
target. The motor’s switchoff point might also be set to a certain value prior to reaching the target. The following
3 parameters are available:
Slow speed:
point where SPA changes from high speed to slow speed.
Precision speed: point where SPA changes from slow speed to precision speed.
Switchoff point: Position where motor is stopped by SPA .
The individual switching points are indicated in relation to the target.
Example 1: Read parameter (slow speed = 2.00; precision speed = 0.70; switchoff point= 0.02)
SOH Adr Cmd EOT CRC
Transmisison
01h 20h 68h
04h 5Ch
SOH Adr Cmd
Slow speed =2.00
Precision speed =0.70
Switchoff point =0.00 EOT CRC
Response
01h 20h 68h
30h 32h 30h 30h
30h 30h 37h 30h 30h 30h
30h 30h 04h 72h
Example 2: Wirte parameter (slow speed = 1.25; precision speed = 0.50; switchoff point = 0.01)
SOH Adr Cmd
Slow speed =1.25
Precision speed =0.50
Switchoff point =0.01 EOT CRC
Transmission
01h 20h 68h
30h 31h 32h 35h
30h 30h 35h 30h 30h 30h
30h 31h 04h EAh
SOH Adr Cmd
Slow speed =2.00
Precision speed =0.50
Switchoff point =0.01 EOT CRC
Response
01h 20h 68h
30h 31h 32h 35h
30h 30h 35h 30h 30h 30h
30h 31h 04h EAh
4.3.7. Read / write measuring unit „i“ (69h)
The command is for utilized to read or write the measuring unit in mm or inches.
Data = 0 (30h) = mm
Data = 1 (31h) = inch
Example 1: Read parameter (setting = mm)
SOH
Adr
Cmd
EOT
CRC
Transmission
01h
20h
69h
04h
5E
SOH
Adr
Cmd
Data
EOT
CRC
Response
01h
20h
69h
30h
04h
D0h
Example 2: Change measuring unit into inches
SOH
Adr
Cmd
Data
EOT
CRC
Transmisison
01h
20h
69h
31h
04h
D2
SOH
Adr
Cmd
Data
EOT
CRC
Response
01h
20h
69h
31h
04h
D2
Example 3: Write measuring unit mm in all SPAs by broadcast command (identifier=99)
SOH
Adr
Cmd
Data
EOT
CRC
Transmission
01h
83h
69h
30h
04h
CDh
Response
not confirmed
Important: Parameters are programmed in mm and auto-converted by SPA into inches upon displaying the
position values.