smyers
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Downloads
Posts posted by smyers
-
-
Perhaps you should post your program here, as well as any information about your axis definition statements if you are using them.
Sure thing. The program basically rotates the motor, and triggers a shutter with position compare. Variable P1 is where the motor starts (in degrees... 10000cts/degree) P2 is how far it moves, P3 is the time for it to move. Pretty simple program.
&1
Undefine All
#1->10000X
#define PosCompA M108
#define PosCompB M109
#define PosCompArm M111
#define PosCompState M112
Open Prog 1 Clear
P99=1 ;alldone
P1=(M101/10000)
PosCompA=(100000000) ;set distant to avoid stutter
PosCompB=(100000100) ;set distant to avoid stutter
dwell 10
Rapid Inc
X (-0.01) ;backup
dwell 10
Linear Inc
TA 0
TS 0
TM (P3)
PosCompState=(0)
PosCompA=((P1*10000)+0)
PosCompB=((P1*10000)+(P2*10000)+0)
X ((P2+0.02)) ;move
dwell 10
PosCompA=(100000000) ;set distant
PosCompB=(100000100) ;set distant
dwell 10
Rapid Inc
X (-0.01) ;backup
P1=(P1+P2) ;increment
P99=0 ;alldone
Close
-
Hi, newbie question here,
I'm using a GeoBrickLV NSLS2 controller and an ABTech AT-200 servo motor. In my motion program, I see that my motor won't move any slower than 615cts/sec, while I can use the jog ribbon to move it as slow as 10cts/sec (this motor's encoder has 3.6million counts/360 degrees).
I couldn't find anything obvious that would keep my motor from moving slower than 615cts/sec in a program. Any ideas?
Thanks,
-Stu
-
Thank you for the response, and the suggestions.
-
Hello,
I'm using a GeoBrickLV NSLS2 model. I'm using it to run a motor which is combined with a shutter. The shutter needs to open and close at specific encoder counts, and I'm using position compare for that purpose.
My problem is that every time I power-cycle the GeoBrick controller, position compare wants to "zero" at wherever the motor was at powerup, even after a motor home. What I've been doing is setting an offset to my software, but everytime the controller is turned off/on, I need to rejigger my offsets. Is there a way to force this register to zero along with a motor home?
Best,
motor minimum velocity in a program
in Turbo PMAC
Posted
Thanks for the suggestion. I'll schedule some time on the device on Monday to test that. The troubled moves are typically pretty large (180 degrees, or 1,800,000 counts over 3600 seconds).