Internal Dm1

Discuss issues and ideas you have to configuring displays with PowerVision
Ocelot
Posts: 77
Joined: Thu Oct 06, 2011 10:43 am

Internal Dm1

Post by Ocelot » Fri Sep 06, 2013 7:38 pm

Hello all,

I am using a PV750 with PowerVision 2.3.11175.

I have a series of bits mapped in the J1939 database, and I am flagging internal Dm1's based on whether they are a 0 or a 1.

My problem is I cannot seem to figure out how to clear the Internal Dm1 once it has been set without interfering with the standard Dm1 routine.

logic example,

bit 1 = 0

alarm condition is active

bit 1 = 1

set internal dm1 variables and call the DM1SetInternalFault((Empty)) function

I get the popup on the screen with the correct information,

alarm condition no longer active

bit 1 = 0

How do I clear the internal Dm1 message? I have tried acknowledging all, but if I have multiple alarms active at the same time it causes a problem. I have looked at the PV450 example available on the forum that has a internal dm1 flag for overspeed. My script logic is much the same.

Please advise.
Kyle Bruneau
Applications Engineer - MurCal Inc
ksaenz
Enovation Controls Development
Enovation Controls Development
Posts: 263
Joined: Thu Aug 19, 2010 7:53 am

Re: Internal Dm1

Post by ksaenz » Fri Oct 18, 2013 3:12 pm

Hello Ocelot,

Are you still having this problem?

DM1s automatially expire if they are not received again but they are not removed from the DM1 list until they are acknowledged.

If you give your internal DM1s a different source address (Dm1.InternalSourceAddress) you could have state machine that cycles through the DM1s and only acknowledge the ones from a specific source address.

Regards,
ksaenz
Ocelot
Posts: 77
Joined: Thu Oct 06, 2011 10:43 am

Re: Internal Dm1

Post by Ocelot » Fri Oct 18, 2013 3:16 pm

Hello ksaenz,

I am no longer having this problem, after much trial and error I figured out the behavior you described above, and implemented it in a way that worked for my application.

Thank you for your reply.
Kyle Bruneau
Applications Engineer - MurCal Inc