Page 1 of 2

Feature request - Variable TCC lock up speed.

Posted: Sat Jul 05, 2014 2:58 am
by Doddy Fidelis
Hi Lance,

I would like to request a variable lock up speed. 2-Axis table VSS-Load. Is this possible? Thanks in advance.

Doddy

Re: Feature request - Variable TCC lock up speed.

Posted: Sat Jul 05, 2014 10:01 am
by Bernard Fife
Doddy,

You can likely accomplish this using a spare port in TCC mode and a speed x load 16x9 table.

See: http://www.msgpio.com/manuals/mshift/spareport.html

Lance.

Re: Feature request - Variable TCC lock up speed.

Posted: Sun Jul 06, 2014 5:27 pm
by Doddy Fidelis
I see. Thanks Lance.

Re: Feature request - Variable TCC lock up speed.

Posted: Mon Aug 04, 2014 8:47 am
by Doddy Fidelis
Hi Lance,

I just got the time today to change TCC output to SP0. But no respond from SP0. the same also for SP1 and SP2. I also tried running SP1 and SP2 on each mode with no success. But once SP2 is ON it won't goes of even though I power cycle Megashift. Can you help me set up the spare ports? Thanks.

Doddy

Re: Feature request - Variable TCC lock up speed.

Posted: Tue Aug 05, 2014 5:28 am
by Bernard Fife
doddy,

Perhaps you could post a datalog of this behavior (or lack of it!) as well. A datalog would help see what the processor thinks the pin is doing.

Lance.

Re: Feature request - Variable TCC lock up speed.

Posted: Wed Aug 13, 2014 11:14 am
by Doddy Fidelis
Hi Lance,

I got it working now. Both sp0 as TCC and sp2 as user output. But there is some issues.

1. In sp0 table the speed remain in MPH, all other setting are in KPH and metrics. Not a big deal though.
2. Sp2 value only change when its being triggered for first time. after it being triggered no matter the load the value won't change. example:
Condition : speed (kph) = 20, if greater than or equal, hysteresis = 0, others set to no condition. If I reach 20kph at load 50 it will give pwm output of 20.
But when the load change the pwm value won't change unless the speed is dropped below 20.

I hope you can understand me. I have a bad English. Hehehe. Thanks.

Regards,
Doddy

Re: Feature request - Variable TCC lock up speed.

Posted: Thu Aug 14, 2014 6:24 am
by Bernard Fife
Doddy,

Thank you for spotting this, I will have a look.

Lance.

Re: Feature request - Variable TCC lock up speed.

Posted: Sat Aug 16, 2014 9:03 am
by Bernard Fife
Doddy,

I *think* the attached code/INI will help the update issue, but I haven't tested it yet. (I think the mph issue is in the INI, but I haven't looked at it yet.)

If you want to try the code below cautiously, that would be great.
Monitor_4146.abs .s19
(73.43 KiB) Downloaded 560 times
GPIO_MShift_4146.ini
(221.4 KiB) Downloaded 568 times
Lance.

Re: Feature request - Variable TCC lock up speed.

Posted: Fri Aug 29, 2014 3:51 am
by Doddy Fidelis
Hi Lance,

Sorry I just read the forum. I'll test the new code on Sunday and I'll let u know asap. Thanks.

Regards,
Doddy

Re: Feature request - Variable TCC lock up speed.

Posted: Tue Sep 02, 2014 7:50 am
by Doddy Fidelis
Hi Lance,

I just tried 4146 on bench. Sp0 is flickering until around 64-65 kph and then solid on. Sp0 table shows 100 duty.