Ragtop PLC project - Phase II begins.
My dream of better/nicer controls is within sight now. I've started to put some time into "rewiring" the top and window controls. I'm at the early early stage where it's still mostly planning but I thought I'd start the thread in case someone has suggestions. I always bitch about these things, so it's time to fix them.
I've chosen the Programmable Logic Controller I'll use. It has a programming application with full simulation so I've started on the code to make things work the way I want.
At the same time I've mapped out most of the wires I need to intercept.
TU = Top up button
TD = Top Down button
WU = Windows all up button
WD = Windows all down button
OV = The window lock button will act as an Override that makes things normal again. (I think the button is useless so I'm stealing it.)
Thus far the desired result is: (times may change and may even be configurable w/o programming.)
TU touched = Top up for 10 sec -> pause 3sec -> All windows up for 10 sec
Breaks: TU touched = Top stops, Windows stop || OV ON = All stop)
TD Touched = Top down for 10 sec
Breaks: TD touched = Top stop.
TU/TD held = Top up/down until Button released.
WU touched = All windows up for 14 sec
Breaks: WU touched = windows stop
WD touched = All windows down for 8 sec
Breaks: WD touched = windows stop
Cruise Control: Remember the state of CC when turned off. If it was on, flip it on when car is turned on next time. If off, do nothing.
Looks like I can use combo inputs (do something when two buttons are pressed) but I'm not sure what else I want it to do. Maybe a top up/no windows option.
on with the coding...
I've chosen the Programmable Logic Controller I'll use. It has a programming application with full simulation so I've started on the code to make things work the way I want.
At the same time I've mapped out most of the wires I need to intercept.
TU = Top up button
TD = Top Down button
WU = Windows all up button
WD = Windows all down button
OV = The window lock button will act as an Override that makes things normal again. (I think the button is useless so I'm stealing it.)
Thus far the desired result is: (times may change and may even be configurable w/o programming.)
TU touched = Top up for 10 sec -> pause 3sec -> All windows up for 10 sec
Breaks: TU touched = Top stops, Windows stop || OV ON = All stop)
TD Touched = Top down for 10 sec
Breaks: TD touched = Top stop.
TU/TD held = Top up/down until Button released.
WU touched = All windows up for 14 sec
Breaks: WU touched = windows stop
WD touched = All windows down for 8 sec
Breaks: WD touched = windows stop
Cruise Control: Remember the state of CC when turned off. If it was on, flip it on when car is turned on next time. If off, do nothing.
Looks like I can use combo inputs (do something when two buttons are pressed) but I'm not sure what else I want it to do. Maybe a top up/no windows option.
on with the coding...
Last edited by Down2TheC on Fri Nov 17, 2006 10:08 am, edited 1 time in total.
http://solara.down2thec.com/gallery/
"We need failures in this world... failures gives us lap dances and chicken nuggets and I like both."
"We need failures in this world... failures gives us lap dances and chicken nuggets and I like both."
-
Down2TheC - SolaraGuy Moderator
- Posts: 3711
- Joined: Sat Dec 25, 2004 12:03 am
- Location: Chicago area