ASCII - Command PROMPT    
Syntax Transmit PROMPT [Data]    
Syntax Receive PROMPT <Data>   Available in  
Type Variable rw   MMI Yes
ASCII Format Integer16   CANBus Object Number 35D3 (hex)
DIM -   PROFIBUS PNU 1811 (dec) IND = 1 (dec)
Range 0, 1, 2, 3   DPR 211 (dec)
Default 1    
Opmode All   Data Type Bus/DPR Integer16
Drive State -   Weighting  
Start Firmware 1.20    
Configuration No   Last Change of this Object 1.3
Function Group Communication   EEPROM No
Short Description Select RS232 Protocol

Description

The PROMPT parameter can be used to set the protocol for the RS232 transmission.
The following settings are possible:
 
PROMPT=0 No Echo The data that is received through the RS232 interface are not automatically echoed (transmitted).
There is no output of the prompt (-->) symbol.
 
PROMPT=1 "-->" plus Echo The data that is received through the RS232 interface are automatically echoed (transmitted).
The prompt (-->) symbol is given for inputting data.
 
PROMPT=2 Terminal Mode This setting is the same as PROMPT=1 except:
1. If a CR(Enter) command is typed in at the beginning of the line, the last command is repeated.
2. Some commands (like DUMP) output more than one monitor screen. In this cases, the output is automatically stopped after one page.
 
PROMPT=3 "-->" plus Echo plus Checksum This setting is the same as PROMPT=1 except. Additional to that, a Checksum is transmitted and checked in both directions to prevent wrong data.
All character of a command are summed (Modulo 256 without CR).

e.g.
Command string : "ADDR 1<CR>"
generate Checksum:
"A" = 0x41
"D" = 0x44
"D" = 0x44
"R" = 0x52
" " = 0x20
"1" = 0x31
The sum is: 0x16C
Modulo 256: 0x6C = 108 (Dec)
First Character:
108/16 + 0x30 =0x36 = "6"
Sec. Character: 108%16 + 0x30 = 0x3C = "<"

The command string is: "ADDR 16<" <CR>

When the command string is received, that same calculation is done and the last two characters in front of the <CR> are compared with the received data. If the checksum is ok, the ACK (0x06) is send, if no NACK (0x15) is send.


When user software (Drive.exe) established communication PROMPT is automatically set = 3. If changeing from Drive.exe to another interface it may be necessary to set PROMPT to 1 by entering 133 to eliminate a checksum.