106
Rockwell Automation Publication 2080-UM002K-EN-E - March 2019
Chapter 7
Motion Control
For the above exceptions, it is still possible for the user application to issue a
successful movement function block to the axis after the axis state changes.
MC_Engine_Diag Data Type
The MC_Engine_Diag data type contains diagnostic information on the
embedded motion engine. It can be monitored in debug mode through the
Connected Components Workbench software when the motion engine is active,
or through the user application as part of user logic. It can also be monitored
remotely through various communication channels.
One MC_Engine_Diag instance is created automatically in the Connected
Components Workbench software when the user adds the first motion axis in the
motion configuration. This instance is shared by all user-configured motion axes.
Function Block and Axis
Status Error Codes
All motion control function blocks share the same ErrorID definition.
Axis error and function block error share the same Error ID, but error
descriptions are different, as described in the table below.
Data Elements for MC_Engine_Diag
Element name
Data Type
MCEngState
UINT16
CurrScantime
(1)
(1)
The time unit for this element is microsecond. This diagnostic information can be
used to optimize motion configuration and user application logic adjustment.
UINT16
MaxScantime
(1)
UINT16
CurrEngineInterval
(1)
UINT16
MaxEngineInterval
(1)
UINT16
ExtraData
UINT16
MCEngstate States
State name
State
Description
MCEng_Idle
0x01
MC engine exists (at least one axis defined), but the engine is idle
as there is no axis is moving. The Engine diagnostic data is not
being updated.
MCEng_Running
0x02
MC engine exists (at least one axis defined) and the engine is
running. The diagnostic data is being updated.
MCEng_Faulted
0x03
MC engine exists, but the engine is faulted.
TIP
Error code 128 is warning information to indicate the motion profile has
been changed and velocity has been adjusted to a lower value but the
function block can execute successfully.
Содержание Micro830
Страница 6: ...vi Rockwell Automation Publication 2080 UM002K EN E March 2019 Preface Notes ...
Страница 24: ...10 Rockwell Automation Publication 2080 UM002K EN E March 2019 Chapter 1 Hardware Overview Notes ...
Страница 70: ...56 Rockwell Automation Publication 2080 UM002K EN E March 2019 Chapter 4 Wire Your Controller Notes ...
Страница 88: ...74 Rockwell Automation Publication 2080 UM002K EN E March 2019 Chapter 5 Communication Connections Notes ...
Страница 190: ...176 Rockwell Automation Publication 2080 UM002K EN E March 2019 Chapter 9 Controller Security Notes ...
Страница 254: ...240 Rockwell Automation Publication 2080 UM002K EN E March 2019 Appendix A Specifications Notes ...
Страница 273: ...Rockwell Automation Publication 2080 UM002K EN E March 2019 259 Quickstarts Appendix C ...
Страница 300: ...286 Rockwell Automation Publication 2080 UM002K EN E March 2019 Appendix C Quickstarts Notes ...
Страница 330: ...316 Rockwell Automation Publication 2080 UM002K EN E March 2019 Appendix E Troubleshooting Notes ...
Страница 344: ...330 Rockwell Automation Publication 2080 UM002K EN E March 2019 Appendix F PID Function Blocks Notes ...
Страница 352: ...Rockwell Automation Publication 2080 UM002K EN E March 2019 338 Index Notes ...
Страница 353: ...Rockwell Automation Publication 2080 UM002K EN E March 2019 339 ...