10-90
Handling, Diagnostic and Service Functions
reserved
reserved
Fig. 10-50: Command acknowledgment (data status)
Completing a Command
A command is completed as follows:
IDN of the command,7,w,0 (Carriage Return)
Example of Application (Changing the Assign List for the
Signal Status Word)
Assumption: Several drives are connected to a PLC via an RS485
interface. The address of the drive we consider is "01".
Establishing the communication with the respective axis
BCD: 01 (CR) Command for switching to drive A01:>
echo of the connected drive. All other drives are passive.
Note:
The drive does not send an echo after each character, but it is
only after having received the "CR" that the drive returns the
complete sequence that was input.
Writing the assign list for the signal status word to the drive
The assignment of the relevant bits for the signal status word (S-0-0144)
is stored in parameter S-0-0328, Assign list signal status word in the
form of a list. In order to change one or more values in this list, it is
necessary to always write all relevant values of this list. That is to say if
four elements are used, it is necessary to write all 4 bits even if only one
element (bit) is to be changed.
MPH-02, MPB-02, MPD-02
bit 0:
0 : command not set in the
drive
1 : command set in the drive
bit 1:
0 : command execution interrupted
in the drive
1 : command execution enabled
in the drive
bit 2:
0 : command correctly
executed
1 : command not yet executed
bit 3:
0 : no error
→
1 : error
execution of command
impossible
bit 8:
0 : operating data is valid
1 : operating data is invalid
DOK-INDRV*-MP*-02VRS**-FK01-EN-P