Programmable output - settings for a "out of sync" LED

General support questions and announcements for MS3. See also MS3 manuals.

Moderators: jsmcortina, muythaibxr

Post Reply
thedrew
Helpful MS/Extra'er
Posts: 89
Joined: Fri Sep 11, 2015 3:02 pm
Location: Camas, WA

Programmable output - settings for a "out of sync" LED

Post by thedrew »

Guys,

What would put in the programmable on/off inputs to have an LED turned on when the ECU is not in sync?

Thanks!
VW Turbo Buggy 2276cc MS3X sequential
dontz125
Super MS/Extra'er
Posts: 4225
Joined: Mon May 11, 2009 7:14 pm
Location: York, ON
Contact:

Re: Programmable output - settings for a "out of sync" LED

Post by dontz125 »

You'll be using Status1; Half-Sync is bit3, Full-Sync is bit7.

To indicate no Half-Sync:
"Power On Value" [OFF], "Active Value" [ON]
[Status1] [AND], "Threshold" [8], "Hysteresis" [0]

To indicate no Full-Sync:
"Power On Value" [OFF], "Active Value" [ON]
[Status1] [AND], "Threshold" [128], "Hysteresis" [0]
Temporarily shut down - back soon!
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
thedrew
Helpful MS/Extra'er
Posts: 89
Joined: Fri Sep 11, 2015 3:02 pm
Location: Camas, WA

Re: Programmable output - settings for a "out of sync" LED

Post by thedrew »

perfect, thanks!

Are all the bits posted somewhere, I don't see them in the manual.

Thanks again!
VW Turbo Buggy 2276cc MS3X sequential
dontz125
Super MS/Extra'er
Posts: 4225
Joined: Mon May 11, 2009 7:14 pm
Location: York, ON
Contact:

Re: Programmable output - settings for a "out of sync" LED

Post by dontz125 »

MegaView logging fields in the TS manual.
Temporarily shut down - back soon!
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: Programmable output - settings for a "out of sync" LED

Post by racingmini_mtl »

Actually, in this case you want the hysteresis to be the same value as the threshold. As the manual says:

result = ((value & THRESHOLD) == HYST)

So to activate the output when one bit is set, you need both values to be the same. When using the bitwise AND mode, the threshold is the mask and the hysteresis is the match value.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
dontz125
Super MS/Extra'er
Posts: 4225
Joined: Mon May 11, 2009 7:14 pm
Location: York, ON
Contact:

Re: Programmable output - settings for a "out of sync" LED

Post by dontz125 »

Yes, but he wants the LED(s) to come on when sync is NOT achieved. Would that not be a '0' value?
Temporarily shut down - back soon!
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: Programmable output - settings for a "out of sync" LED

Post by racingmini_mtl »

dontz125 wrote:Yes, but he wants the LED(s) to come on when sync is NOT achieved. Would that not be a '0' value?
My mistake. You're correct.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
dontz125
Super MS/Extra'er
Posts: 4225
Joined: Mon May 11, 2009 7:14 pm
Location: York, ON
Contact:

Re: Programmable output - settings for a "out of sync" LED

Post by dontz125 »

Heh - only I can be correct and incorrect about the same statement in the same posting. I had it in my head that an 'ON' response to the bit being '1' was "Hysteresis" [1] for bit3 and bit7, vs [8] and [128] ... :roll:
Temporarily shut down - back soon!
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
Post Reply