Brian@HCI
Member
Red Lion guru's,
I am back with an interesting problem==>
I am controlling 2 separate actuators (CAN actuators) in parallel as a SINGLE axis. Since these two actuators are tied together on the same structure I have a need to control them as one "axis" so they don't fight each other naturally.
My problem is I have written some basic code regarding a "differential" routine that makes sure these two actuators do no get out of synchronization by more than a tolerance amount.
I am calculating this "difference" as an internal tag variable (this tag is equal to the absolute value of the difference of the two actuator's positions). So I try setting up triggers that watch this tag - and if the tag gets large enough I want it to run code to correct the actuators by speeding one up that is lagging. I am not sure if this is actually working since I am not seeing the differential close.
Should this be working correctly if I am using a trigger to cause the corrective action to happen?
Brian
I am back with an interesting problem==>
I am controlling 2 separate actuators (CAN actuators) in parallel as a SINGLE axis. Since these two actuators are tied together on the same structure I have a need to control them as one "axis" so they don't fight each other naturally.
My problem is I have written some basic code regarding a "differential" routine that makes sure these two actuators do no get out of synchronization by more than a tolerance amount.
I am calculating this "difference" as an internal tag variable (this tag is equal to the absolute value of the difference of the two actuator's positions). So I try setting up triggers that watch this tag - and if the tag gets large enough I want it to run code to correct the actuators by speeding one up that is lagging. I am not sure if this is actually working since I am not seeing the differential close.
Should this be working correctly if I am using a trigger to cause the corrective action to happen?
Brian