10-86
Handling, Diagnostic and Service Functions
MPH-02, MPB-02, MPD-02
DOK-INDRV*-MP*-02VRS**-FK01-EN-P
Read Access to List Parameters
The read access to list parameters is carried out in the same way as in
the case of other parameters. The drive, however, provides all list
elements as its answer.
Step 1
Send request
e.g.: "P-0-4006,7,r" (CR)
Step 2
Drive received character.
Drive repeats request (echo).
Character sequence ":>"
found in receiver buffer?
Compare ok?
Transmission error
Step 4
Delete request in receiver buffer. All
characters to 1st "CR" (inclusive).
Replace last (CR) by "string end"
(e.g. "0" in C).
List elements seperated by (CR) or
an error number now contained in
receiver buffer.
Step 3
To check transmission compare
request with receiver buffer
(string compare).
yes
no
Next character "#" in
receiver buffer?
Evaluate list element
Contents of receiver buffer:
"P-0-4006,7,r"(CR)
"element 1" (CR)
"element 2" (CR)
:
"element n" (CR) "E01:>"
or
"P-0-4006,7,r"(CR)"#xxxx" (CR) "E01:>"
End of list reached?
Set string pointer to 1st character after
next (CR) -> (new list element)
no
List succesfully read
yes
Timeout ?
Communication with drive not
possible
-> check address
-> check setting
-> check connection
no
no
yes
FD5004B1.WMF
Error occured during
parameter access. Error
code: #xxxx
no
yes
yes
Fig. 10-46: Read access to list parameters
Courtesy
of
CMA/Flodyne/Hydradyne
▪
Motion
Control
▪
Hydraulic
▪
Pneumatic
▪
Electrical
▪
Mechanical
▪
(800)
426-5480
▪
www.cmafh.com