Name

MMCA_QUERY_VOLTAGE_CURRENT

 

 

 

 

 

 

Description

The command reads the voltages and currents from the MMCA.

 

 

 

 

Parameter

-

 

 

 

 

 

 

Results array

Charger current [mA]

long

 

 

 

 

 

Byte Offset 4

HV primary current [mA]

long

 

 

 

 

 

Byte Offset 8

Battery current [mA]

long

 

 

 

 

 

Byte Offset 12

Battery voltage [mV]

long

 

 

 

 

 

Byte Offset 16

HV reference voltage [V]

long

 

 

 

 

 

Byte Offset 20

HV control voltage [V]

long

 

 

 

 

 

Byte Offset 24

+12V primary current [mA]

long

 

 

 

 

 

Byte Offset 28

+24V primary current [mA]

long

 

 

 

 

 

Byte Offset 32

-24V primary current [mA]

long

 

 

 

 

 

Byte Offset 36

-12V primary current [mA]

long

 

 

 

 

 

Return Code

see MMCA_RESET command

 

 

 

 

 

 

A3.3 MS-Windows DLL for the communication with several MCA166-USB

This Dynamic Link Library allows the communication with several MCA166-USB. It can manage the serial communication ports COM1 to COM20.

Die Dynamic Link Library exists as a 16-bit variant (mca_comx.dll) and as a 32-bit variant (mca32cmx.dll). The DLL must reside in the system directory of Windows or in the same directory as the calling application. In order to include the DLL in your program, you have to use the in Visual Basic the file MCA32CMX.BAS (valid only for Win32 applications) or in C/C++ the files MCA_COMX.H and MCA_COMX.LIB or MCA32CXM.LIB. All functions and structures are declared in these files.

The use of the function is analogous to the functions of the DLLs for the comunication with one MCA166-USB (see chapter A3.1). However, following differences exist: The return value of the function COMM_INIT is an index of the communication port. You have to pass this index to each function as first parameter so that you can distinguish the communication ports.

The return value indicates the result of the data transfer. It can be one of the following values:

ERROR_OK

= 0 successful data transfer

ERROR_INTERFACE

= 1

communication port is not initialized

ERROR_COMMUNICATION

= 3

faulty data transfer

ERROR_INVALID_PARAM

=

4

invalid parameter

ERROR_FORBIDDEN_INDEX

=

5

forbidden index

57

Page 57
Image 57
Braun MCA166-USB user manual Mmcaqueryvoltagecurrent

MCA166-USB specifications

The Braun MCA166-USB is a compact and versatile charging device designed for modern lifestyles. This product expertly combines functionality with portability, making it an essential accessory for people on the go. One of the key features of the Braun MCA166-USB is its dual charging capability. It comes equipped with multiple USB ports, allowing users to charge various devices simultaneously, from smartphones to tablets. This multi-device functionality eliminates the need for multiple chargers cluttering your workspace or travel bag.

The device supports fast charging technology, which is particularly beneficial for users who need quick power boosts. With a maximum output of 2.4A per port, the Braun MCA166-USB ensures that your devices are energized swiftly, reducing downtime and keeping you connected during busy days. Additionally, the device is compatible with a wide range of charging protocols, offering versatility for different brands and models.

The Braun MCA166-USB features an intelligent charging system that recognizes the connected device and delivers the optimal charging current. This not only enhances the efficiency of charging but also protects your devices from any potential damage caused by overcharging.

Constructed with a sleek and sturdy design, the Braun MCA166-USB is not just about functionality; it is also aesthetically pleasing. Its compact size makes it perfect for portability, easily fitting into a pocket or small bag. The durability of the materials used ensures that the charger withstands the rigors of travel while remaining stylish.

Another highlight of the Braun MCA166-USB is its safety features. It incorporates multiple protection mechanisms, including short-circuit prevention and temperature control, ensuring a safe charging environment for your devices.

In summary, the Braun MCA166-USB emerges as an innovative solution for those seeking a reliable charging option. Its robust features, such as dual USB ports, fast charging capabilities, intelligent charging control, and safety measures, make it an ideal choice for anyone looking to stay powered up while balancing a busy lifestyle. With its sleek design and durable construction, the Braun MCA166-USB undoubtedly stands out as a multifaceted charging device for the modern user.