Bugs item #2985881, was opened at 2010-04-12 06:19
Message generated for change (Comment added) made by seb_kuzminsky
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=2985881&group_id=6744
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: HAL
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 7
Private: No
Submitted By: Alex Joni (alex_joni)
Assigned to: Sebastian Kuzminsky (seb_kuzminsky)
Summary: stepgen bug in hostmot2
Initial Comment:
Issue:
with the stepgen going at high vel, push estop.
Problem:
after enabling, the stepgen tries to go on with the previous velocity
prescription, tripping an emc2 ferror
tech. issue:
while the HM2 stepgen is disabled, it doesn't track the current pos cmd.
velocity doesn't get reset to 0 during disable
fix:
void hm2_stepgen_prepare_tram_write(hostmot2_t *hm2, long l_period_ns) {
int i;
for (i = 0; i < hm2->stepgen.num_instances; i ++) {
if (*(hm2->stepgen.instance[i].hal.pin.enable) == 0) {
hm2->stepgen.step_rate_reg[i] = 0;
-> hm2->stepgen.instance[i].old_position_cmd =
*(hm2->stepgen.instance[i].hal.pin.position_cmd);
-> *(hm2->stepgen.instance[i].hal.pin.velocity_fb) = 0;
} else {
hm2_stepgen_instance_prepare_tram_write(hm2, l_period_ns, i);
}
}
}
----------------------------------------------------------------------
>Comment By: Sebastian Kuzminsky (seb_kuzminsky)
Date: 2011-09-26 19:16
Message:
Fixed in commit 41c8ee3e19ffb13cc357375d87940cac4769e029 (released in
2.4.1)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=2985881&group_id=6744
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers