YASKAWA S-7 Series Command Manual page 44

Mechatrolink-iii ac servo drive communications standard servo profile
Hide thumbs Also See for S-7 Series:
Table of Contents

Advertisement

CMD_ID: Command ID
 Definition
The master station uses the command ID to have a slave station acknowledge that the com-
mand is a new command when the master station sends the same command repeatedly to the
slave station.
Applicable commands: EX_FEED, EX_POSING, ZRET
A value in the range 0 to 3 is used.
 Description
Since the slave station returns the CMD_ID of the command being executed, the master sta-
tion can decisively judge the command to which the slave station sent the response.
While CMD_RDY = 0 (while the execution process of the command is incomplete), the slave
station disregards commands that have a different CMD_ID and continues the execution of the
command being executed.
2.2.4
Command Status (CMD_STAT)
The following describes the status of responses.
Byte 2 and byte 3 of the response format are specified as the CMD_STAT field.
The CMD_STAT field is specified as shown below by the communication specification.
bit 7
RCMD_ID
bit 15
D_ALM
 Definition
This bit indicates the device alarm state of the slave station.
1: A device-specific alarm has occurred.
0: Other state (normal state, or the alarm specified by COMM_ALM or CMD_ALM has
occurred.)
 Description
• When a device-specific alarm other than the alarm state specified by COMM_ALM and
CMD_ALM has occurred, the D_ALM status bit is set to "1."
D_ALM is independent of COMM_ALM and CMD_ALM.
• When a device-specific alarm has occurred and D_ALM is set to "1" in the servo ON state,
the servo OFF state is established.
• When the slave station shifts from the alarm state to the normal state as a result of the execu-
tion of the ALM_CLR command or CMD_CTRL.ALM_CLR, this bit is set to "0."
Device alarm: Position Deviation Overflow (A.D00) → D_ALM = 1
Example
bit 6
bit 5
Reserved
Reserved
bit 14
bit 13
bit 12
COMM_ALM
2.2 Command Header Section of Main Command Area
bit 4
bit 3
bit 2
ALM_CL-
CMDRDY
R_CMP
bit 11
bit 10
2.2.4 Command Status (CMD_STAT)
bit 1
bit 0
D_WAR
D_ALM
bit 9
bit 8
CMD_ALM
2
2-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

S-7w sgd7w-****20 seriesS-7s sgd7s-****20 series

Table of Contents