Download Functional Description Manual

Transcript
1-10 Supplement A: Serial Communications
ECODRIVE03 SGP-01VRS
Communicating with an ASCII Protocol
Actuating a Specific Bus User
To communicate with a bus user then it must be directly addressed with
a CHANGE DRIVE command, specifying the drive address. With each
CD command, the drive specified by the address is addressed. All other
ddrives are switched into passive mode. The addressed drive signals
with a prompt. As of this point, all further communication takes place with
this drive until another CHANGE DRIVE command switches to another
drive.
Step 1
Send request e.g.: "BCD:01" (CR)
(with address 1)
Step 2
Drive received character, drive sends
prompt if address is the same
Communication with drive not
possible
-> check address
-> check setting
-> check connection
no
yes
Timeout ?
Character sequence":>" found in
receive buffer?
Receive buffer contents:
[BCD:01] "A01:>"
The characters in [ ] only appear if
another unit on bus is open.
yes
Step 3
Check receive buffer for
pattern."A##:>"
Pattern found
no
no
Transmission error
yes
Drive is "open"
-> ready for communication
FD5002B1.WMF
Fig. 1-12: Actuating a bus user
DOK-ECODR3-SGP-01VRS**-FKB1-EN-P