MDBGET
ASCII - Command | MDBGET |
|
| |
Syntax Transmit | MDBGET |
| ||
Syntax Receive | MDBGET <Data> | Available in |
| |
Type | Command | MMI | Yes | |
ASCII Format | String | CANBus Object Number | 3589 (hex) | |
DIM | - | PROFIBUS PNU | 1737 (dec) IND = 0000xxxx (bin) | |
Range | 1 .. MDBCNT | DPR | 137 (dec) | |
Default | 0 |
| ||
Opmode | All | Data Type Bus/DPR | - | |
Drive State | - | Weightning |
| |
Start Firmware | 1.20 |
| ||
Configuration | No | Revision | 1.3 | |
Function Group | Motor | EEPROM | - | |
Short Description | Get Actual Motor Data Set |
Description
The MDBGET command generates an information line (directory entry) for the latest motor data set that was selected with the MDBSET command. The information line consists of the following elements: data set number, motor name, motor number, motor family
The individual elements are interpreted as follows:
- Data set number: the number for the data set within the motor database. This number can be used to address a motor data set with the MDBSET command. This number is increased automatically at every MDBGET call.
- Motor name: a symbolic motor designation (max. length 12 characters).
- Motor number: a number that can be used to uniquely identify a particular motor. This number is used to load a data set from the motor database with the MNUMBER command.
- Motor family: an additional designation (for internal use only).
The group of commands MDBCNT,MDBSET,MDBGET can be used by an external control system, to read out the contents of the motor database. The procedure is as follows:
- Read out the number of available data sets, using the MDBCNT command.
- Set the data set pointer to the first data set, using the MDBSET 1 command.
- Read out the first directory entry, using the MDBGET command.
- Repeat step 3 until the number of available data sets (MDBCNT) has been read.
The MDBLIST command offers an alternative. This command can be used to display the complete list.