TwiceAsNice
2019-02-18
|
This file includes the command IDs of MPIA in-house electronic that are supported by all MPIA electronic devices. More...
Namespaces | |
Basda | |
These are contants that are used by the services internally. | |
Basda::MessageMode | |
MPIA electronic response code. | |
Basda::Error | |
Basda::Cmd | |
Basda::ValueSwitch | |
Basic value parameter. | |
Basda::ValueSerialRate | |
This are the parameter definitions of the command MPIA_SET_SERIEL_RATE. | |
Basda::ValueCanRate | |
This are the parameter definitions of the command MPIA_SET_CAN_RATE. | |
Basda::SelectMessageMode | |
This are the parameter definitions of the command MPIA_SET_MESSAGE_FLAG. | |
This file includes the command IDs of MPIA in-house electronic that are supported by all MPIA electronic devices.
The MPIA electronic provides a serial communication via the serial interface (RS232) and via the Ethernet. The communication protocol is according to ASCII. The commands consist of a sequence of numbers. The command syntax is as followed:
< cardNo > < commandID > < moduleNo > [ < select > ] [ < values > ]
where < cardNo > and < moduleNo > are the IDs of the card and the module. Usually the card ID is 1, but the MPIA electronic support also to cascade several cards. The communication to these serials connected cards is done over the first card, which will be the master cards. All other cards are numbered consecutively. The master card addresses the incoming command to the corresponding card based on the <cardNo>.The module number specify which module should be used on the card. Depending on the MPIA electronic card one or more modules are driven by the card. To address a command to the card itself, the module number has to be zero (0).
The < commandID > is the command number. This file defines for each MPIA core command an alias name. (Core commands are commands that are supported by all MPIA electronic devices. The specific card and module commands needs to be defined in the CommandIDs.h file of the specific implementation of the card and module.)
Some commands provide a < select > options to specify which option is defined via the < values >. The < values > can be on or more parameter separated by a space.