Welcome, Guest
Username Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Automated Braking if loss of power

Automated Braking if loss of power 4 years, 4 months ago #606

  • bmick08
  • OFFLINE
  • Posts: 19
  • Karma: 0
I am having trouble using the BRKSRV command. I need the servo to engage the break when it loses power, so that the stroke of my linear actuator cannot be changed. How should this command be used? I do not know where to put the command since I do not know where in the code the power would fail. Basically it would be nice to see some example code using this command.

Re: Automated Braking if loss of power 4 years, 4 months ago #607

  • csearcy
  • OFFLINE
  • Posts: 480
  • Karma: 23
BRKSRV is the default mode, but if you want to make sure it is always set(in case someone changed it in the Terminal window), add that as the first line in your program.

You can test it by issuing "OFF" in the Terminal window, which will turn drive power off and engage the brake. You should hear an audible "click" and the brake LED will change states.
Last Edit: 4 years, 4 months ago by csearcy.

Re: Automated Braking if loss of power 4 years, 4 months ago #608

  • bmick08
  • OFFLINE
  • Posts: 19
  • Karma: 0
My program is in an infinite loop using an analog signal. Whenever I type OFF, there is no response. It continues reading and making its adjustments. Should I not be able to test it by simply unplugging the SmartMotor and then seeing if the actuator can be moved?

Re: Automated Braking if loss of power 4 years, 4 months ago #609

  • csearcy
  • OFFLINE
  • Posts: 480
  • Karma: 23
Yes. You can check it by cutting the power off. The brake will also engage when power is on, but the drive is faulted or turned off. Your endless loop is probably continuously issuing G commands which is overriding the OFF command.

Re: Automated Braking if loss of power 4 years, 4 months ago #610

  • bmick08
  • OFFLINE
  • Posts: 19
  • Karma: 0
So I placed "BRKSRV" at the beginning of my code and when the power is cut, the brakes did not engage. Any ideas as to what is going wrong? I can still move the actuator will a light force of my hand.

Re: Automated Braking if loss of power 4 years, 4 months ago #611

  • csearcy
  • OFFLINE
  • Posts: 480
  • Karma: 23
Call me on 888-356-0357
  • Page:
  • 1
  • 2
Moderators: hsummer, csearcy
Time to create page: 0.46 seconds