MNEMONIC | FUNCTION | TYPE |
EE | Encoder Enable Flag | Setup Flag |
DESCRIPTION
The EE flag enables or disables the optional encoder mode of the MDrive Motion Control.
USAGE | DEFAULT |
|
EE= <0/1> | 0 (Disabled) |
|
|
|
|
EXAMPLE: |
|
|
EE=0 | ‘Disable encoder mode |
|
EE=1 | ‘Enable encoder mode |
|
|
| |
RELATED COMMANDS: DB, C2, SF, SM, ST |
| |
|
|
|
MNEMONIC | FUNCTION | TYPE |
EM | Echo Mode Flag | Setup Flag |
DESCRIPTION
The Echo Mode Flag will set the full/half duplex configuration of the
USAGE | DEFAULT |
|
EM= <0/1> | 0 (Full Duplex) |
|
|
|
|
EXAMPLE: |
|
|
EM=0 | ‘full duplex mode |
|
EM=1 | ‘half duplex mode |
|
|
| |
RELATED COMMANDS: BD |
| |
|
|
|
MNEMONIC | FUNCTION | TYPE |
EF |
| Status Flag |
DESCRIPTION
The Error flag will indicate whether or not an error condition only way to manually clear the EF flag is to read the value of
exists. It is automatically cleared when a new program is executed. The the ER variable or set ER=0
There is an instruction, OE, which allows the user to specify the execution of a subroutine in the program memory when an error occurs. The subroutine might contain instructions to read the ER variable which would clear the EF flag.
USAGE | RESPONSE |
PR EF | 0 = No Error Exists |
| 1 = Error Condition Exists |
|
|
EXAMPLE: |
|
PR EF | ‘read the state of the error flag |
RELATED COMMANDS: ER, OE
43