Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIssing PGN Electric Motor drive status 128002 #420

Open
chrisclaydon opened this issue Aug 7, 2024 · 4 comments
Open

MIssing PGN Electric Motor drive status 128002 #420

chrisclaydon opened this issue Aug 7, 2024 · 4 comments

Comments

@chrisclaydon
Copy link

Hi there,
It would be great if you can implement this PGN. I have this list of the fields:

128002 Electric Drive Status (Rapid Update)
1 Inverter/Motor Controller (specifies which system the PGN message relates to.)
2 Active Motor Mode
3 Brake Mode
4 NMEA Reserved
5 Rotational Shaft Speed
6 Motor DC Voltage
7 Motor DC Current

Also found this information on the canboat website:
0x1F402: PGN 128002 - Electric Drive Status, Rapid Update
This PGN is used to provide the Electric Propulsion Drive System Status.

This PGN is not fully reverse engineered. Some aspects that are known to be missing/incorrect:

The length of one or more fields is likely incorrect
The resolution of one or more fields is likely incorrect
One or more of the lookup fields contain missing or incorrect values
The PGN has not been seen in any logfiles yet
The default transmission interval is not known
This single-frame PGN is 8 bytes long and contains 7 fields.

Field # Field Name Description Unit Type
1 Inverter/Motor Controller
0 .. 253
8 bits unsigned [NUMBER]
2 Active Motor Mode
0 .. 2
2 bits unsigned [NUMBER]
0 .. 2
2 bits unsigned [NUMBER]
4 Reserved 4 bits [RESERVED]
5 Rotational Shaft Speed 0.25 [rpm]
0 .. 16383.25
16 bits unsigned [NUMBER]
6 Motor DC Voltage 0.1 [V]
0 .. 6553.3
16 bits unsigned [NUMBER]
7 Motor DC Current 0.1 [A]
-3276.7 .. 3276.5
16 bits signed [NUMBER]

@ttlappalainen
Copy link
Owner

it is not very common, so it does not need to be part of the library. If you have information for it, you can make own module for it under you own code.

@newbezz
Copy link

newbezz commented Aug 8, 2024

Sometimes it's hard to fantom the extent of the lack of respect people lay bare on the internet. Mr. Lappalainen is a remarkable person, who has put thousands of hours into a library that gives us all access to the N2k world without us having to code our nails off or spend a lot of money. And not sooner has the happy message spread around, before people think that they can just order this and that facility added to the library. This is just not how you work together in this world. Had it been me who had been addressed, I don't think I would have had the mental surplus to give such a kind reply.
People, please show some respect where it's due!

@ttlappalainen
Copy link
Owner

Not thousands of hours...

@newbezz
Copy link

newbezz commented Aug 14, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants