Chapter 12 Troubleshooting
11
Case 1
:
When
Enable
changes from FALSE to TRUE,
Valid
and
Busy
change to TRUE simultaneously
and
ErrorStop, Disabled, Stopping, Homing, Standstill, DiscreteMotion, ContinuousMotion
and
SyncMotion
will change to TRUE or FALSE according to the axis status.
Case 2
:
When
Enable
changes from TRUE to FALSE,
Valid
and
Busy
change to FALSE simultaneously
and the outputs of
ErrorStop, Disabled, Stopping, Homing, Standstill, DiscreteMotion,
ContinuousMotion
and
SyncMotion
will keep the same state as
Enable
is TRUE.
Case 3
:
When the value of the input parameter Axis is out of the valid range and
Enable
changes from
FALSE to TRUE,
Busy
changes from FALSE to TRUE, one cycle later,
Error
changes from
FALSE to TRUE and
ErrorID
shows corresponding error codes and
Busy
changes from TRUE
to FALSE. When
Enable
changes from TRUE to FALSE,
Error
changes from TRUE to FALSE
and meanwhile
ErrorID
changes to 0.
Function
MC_ReadStatus is used to read the servo axis state in the controller. For the details on axis states,
please refer to section 10.4.
Programming Example
This example of the execution of MC_ReadStatus is shown as below.
1. The variable table and program
Variable name
Data type
Initial value
Pwr
MC_Power
Axis1
USINT
1
Pwr_En
BOOL
FALSE
Pwr_BM
MC_Buffer_Mode
0
Pwr_Sta
BOOL
Pwr_Bsy
BOOL
Pwr_Act
BOOL
Pwr_Err
BOOL
Pwr_ErrID
WORD
Rel
MC_MoveRelative
Rel_Ex
BOOL
FALSE
Rel_BM
MC_Buffer_Mode
0
Rel_Done
BOOL
Rel_Bsy
BOOL
Rel_Act
BOOL
Rel_Abt
BOOL
Rel_Err
BOOL
Rel_ErrID
WORD
ReadSt
MC_ReadStatus
ReadSt_En
BOOL
FALSE
ReadSt_Vald
BOOL
ReadSt_Bsy
BOOL
ReadSt_Err
BOOL
ReadSt_ErrID
WORD
ReadSt_ErrStp
BOOL
ReadSt_Disbl
BOOL
ReadSt_Stpin
BOOL
ReadSt_Homi
BOOL
11-103
Summary of Contents for DVP15MC11T
Page 9: ...Memo viii...
Page 15: ...DVP15MC11T Operation Manual _2 MEMO 2 4...
Page 71: ...DVP15MC11T Operation Manual _7 Memo 7 10...
Page 81: ...DVP15MC11T Operation Manual _8 Timing Chart F_TRG_CLK F_TRG_Q 8 10...
Page 158: ...Chapter 8 Logic Instructions 8_ The program 1 ASIN EN ENO In Out ASIN_EN ASIN_In Out1 8 87...
Page 249: ...DVP15MC11T Operation Manual _8 8 178...
Page 285: ...DVP15MC11T Operation Manual _8 Memo 8 214...
Page 323: ...DVP15MC11T Operation Manual 10 MEMO 10 34...
Page 549: ...DVP15MC11T Operation Manual A MEMO A 16...