Nucleo GX Manual The NMEA 2000 specification specifies the following: “Data instances shall be unique in the same PGNs transmitted by a device. Data instances shall not be globally unique on the network. Field programmability shall be implemented through the use of PGN 126208, Write Fields Group Function.”. In other words, Data instances need to be unique only within a single device. There is no requirement for them to be globally unique – the only exception is “Engine Instance” which at least for now, to cope with legacy devices, needs to be globally unique (e.g. Port = 0, Starboard = 1).
For example, some of our BMV battery monitors can measure two voltages, one for the main battery and one for the starter battery, and that's where data instancing is used. Similar for multiple-output battery chargers. Note that there is no need for the installer to change those data instances, as those products are pre-configured to transmit the relevant PGNs with unique Data instances (Battery instance & DC Detailed instance, in this case). Whilst it is possible to change the Data instances, changing them on a Victron device such as the Skylla-i battery charger will render that device impossible to read correctly by other Victron devices.
This is because the GX device expects the charger's output one to be on Battery & DC instance 0, output two on Battery & DC instance 1, and output three on Battery & DC instance 2. Changing the fluid instance, as well as other data instances for PGNs transmitted by a GX device on an NMEA 2000 network using its NMEA2000-out feature, is no problem. A note about the Device instances: it is not necessary to assign a unique Device instance to each device on the CAN-bus. Its no problem for a battery monitor and a solar charger to both be configured with (their default) Device instance 0.
Also when having multiple battery monitors or solar chargers, it is not always necessary to assign each of them a unique Device instance. If at all necessary, they only need to be unique between the devices that use the same Function. And note that changing the Device instance on a Victron device can change its operation, see the warning above. System instances As per NMEA 2000 specification, this instance is a 4-bit field with a valid range from 0 to 15 that indicates the occurrence of devices in additional network segments, redundant or parallel networks, or sub networks. The System Instance Field can be utilised to facilitate multiple NMEA 2000 networks on these larger marine platforms.
NMEA 2000 devices behind a bridge, router, gateway, or as part of some network segment could all indicate this by use and application of the System Instance Field. The ECU instance and Function instance In some documentation and software tools, yet other terminology is used: ECU Instance Function Instance Device Instance Lower Device Instance Upper Here is how they all relate: the ECU Instance and Function Instance terminology originates from the SAE J1939 and ISO 11783-5 specification. And they do not exist in the NMEA 2000 definition. However, they all do define the same fields in the same CAN-bus messages which NMEA 2000 defines as Device instance . In more detail:
The field that J1939 defines as ECU Instance is in the NMEA 2000 specification renamed to Device Instance lower . The Function Instance is renamed to Device Instance Upper . And together they form the Device Instance , an NMEA 2000 definition. While using different terms, those fields are the same fields in both standards. Device Instance Lower being 3 bits in length, and Device Instance Upper 5, together 8 bits. Which is the one byte being the NMEA 2000 Device Instance. The Unique Instance The Unique Instance is one more word used to describe almost the same information. It's used by Maretron and can be made visible in their software by enabling the column.
The Maretron software itself chooses between Device Instance and Data Instance. 15.8.5. NMEA 2000 Changing Instances As the NMEA 2000 protocol prescribes commands to change an instance by sending commands to a device, there are various ways of changing instances. The most commonly used methods are described below. In addition to the methods described here, there are others, for example, some MFDs also allow instances to be modified. Commonly used methods to change instances: 1. Remote Console on a GX device: Device instances only Page 146 Marine MFD integration by NMEA 2000