Chapter 4: USB Setup Interface
28
Configuration
The MF1 can appear on a PC as a mass storage device as well as a serial interface. The mode of
operation can be changed either via a command in the respective other mode or by pressing the
zero button for 7 seconds (7 x blink-acknowledgement by SI-LED). The chosen mode will be taken
with the next startup.
• Switching from CDC to MSD is done directly and the message "connection closed" is sent
to the terminal.
• Switching from MSD to CDC is done after the drive is removed from the Windows PC.
• For the CDC mode “usbser.sys” has to be installed on the Windows PC. It is included on
the Windows installation CD. For the installation of the MF1 the file 'mkscdc.inf' is
required, which is included on the CD delivered with the MFC.
MSD-Mode
Using the MF1 as a MSD can be done the following way:
• when starting the device the data from a SETUP.INI-file will be taken into the MF1-objects.
Do not forget to open the link to Windows prior to re-start the MF1.
• a FACTORY.INI will be executed firstly. The FACTORY.INI can even overwrite protected
parameter. To do so, however, it must hand over the password. After overwriting the
FACTORY.INI will be erased.
Protocoll
General Description
INI-files format:
• $ ObjectName Instance [ParameterName Value] # Comment
• ! ParameterName Value # Comment
Once the INI-files have been processed a REPORT.HTM file will be generated, which represents
clearly status and all objects with their parameters.
The serial interface operation is performed as follows:
• for accessing the parameter of an object, select first the Object and the Instance:
$ ObjectName Instance [ParameterName [Value]] <CR>
• for setting additional parameter of the same object you could add (value has to fit to the
type)
1
:
! ParameterName Value <CR>
• for reading the parameter the query start with an ?:
? ParameterName <CR>
1
Parameter is referring to the last send ObjectName; It is recommended to send also the
ObjectName, when ParameterName is send.