Mixing analog commands with closed lop position mode

8 years 3 months ago #29531406 by rfrancis
I have a system, working well, which uses closed loop position mode with the help of an optical encoder. It's job is to roll off the roof of an astronomical observatory. It weighs about 1 tonne.

The motor, as well as the RoboteQ unit and associated electronics (conditioning of end stops and things like that) are all battery powered. But the computer hosting the control software is not.

I have become concerned about the possibility of a power outage, particularly since this might well coincide with a rainstorm, in which case I would most definitely want the roof closed.

I thought the obvious solution to this would be to use a spare analog input to enable a joystick (actually a single axis potentiometer) to control the position.

However, I can't seem to be able to make this work. The controller is, of course, still in Closed Loop Count Position Mode ( I can't change that if the power fails) but. although the analog input should be able to provide feedback in closed loop modes, I can't get it to do anything. I haven't been able to find help in the User Manual.

Am I doing something wrong? or should I look for an alternative solution?


Please Log in or Create an account to join the conversation.

8 years 3 months ago #29531407 by roboteq
You can write a script that reads the analog input and then computes a destination to go to. The script can read a digital input that will tell it that you are in manual mode.

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.056 seconds