Mint NextMove PCI Manual de usuario Pagina 29

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 70
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 28
Advanced Features 5-9
Dim sID As String
Dim sSymbolTable As String
‘ create handle to controller
MintController.setNextMovePCI1Link 0, 0
‘ get ID of controller object
sID = MintController.getID
‘ link the command prompt to the controller
MintCommandPrompt.setMintControllerID ( sID );
‘ get symbol table for controller
MintController.getSymbolTableForController False, sSymbolTable
‘ link the command prompt to the symbol table
MintCommandPrompt.setSymbolTable ( sSymbolTable );
‘ set the compiler version for the command prompt
MintCommandPrompt.setCompiler MintController.getFirmwareVMBuild
5.4 Communicating with legacy controllers
The ICM interface between used by MintMT is not compatible with older versions of ICM used by other
versions of Mint.
5.4.1 Serial controllers
Normally all MML functions called by the MintMT ActiveX control use the ICM protocol. This is only
supported by MintMT controllers. In order to communicate to with a non-MintMT controller the ASCII
comms protocol must be used.
Note: This protocol can only be used to read and write to the comms array on the controller.
The elements of the comms array are accessed by the functions getComms and setComms. The protocol
used by these functions can be changed using the function setCommsANSI328Mode. This function
accepts a boolean parameter.
Passing true will enable the ASCII comms protocol and all future use of the functions getComms and
setComms will use the ASCII comms protocol.
Passing false will disable the ASCII comms protocol and all future use of the functions getComms and
setComms will use the ICM protocol.
5.4.2 Dual Port RAM controllers
In order to communicate with a Dual Port RAM controller running a older version of Mint the comms array
can be used.
On these controllers the comms array exists within the locations 01D6 (hex) to 029B (hex) of Dual Port
RAM and is an array of floating point values. The functions getFloat and setFloat can be used to
access this area. Comms values are only written to even locations.
Vista de pagina 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 69 70

Comentarios a estos manuales

Sin comentarios