![background image](http://html1.mh-extra.com/html/omron/nj501-1300/nj501-1300_user-manual_742205140.webp)
6 Motion Control Programming
6-18
NJ-series CPU Unit Motion Control User’s Manual (W507)
This section provides tables that describe the system-defined variables for motion control.
The variable name
_MC_COM
is used for the MC Common Variable. The data type is
_sCOMMON_REF, which is a structure variable. This section describes the configuration of the MC
Common Variable and provides details on the members.
6-6-3
Tables of System-defined Variables for Motion Control
MC Common Variable
Variable name
Data type
Meaning
Function
_MC_COM
_sCOMMON_REF
MC Common Variable
Status
_sCOMMON_REF_STA
MC Common Status
RunMode
BOOL
MC Run
TRUE during MC Function Module
operation.
TestMode
BOOL
MC Test Run
TRUE during test mode operation
from the Sysmac Studio.
CamTableBusy
BOOL
Cam Table Busy
TRUE while the Cam Table is being
saved or on standby.
PFaultLvl
_sMC_REF_EVENT
MC Common Partial
Fault
Active
BOOL
MC Common Partial
Fault Occurrence
TRUE while there is an MC common
partial fault.
Code
WORD
MC Common Partial
Fault Code
Contains the code for an MC com-
mon partial fault. The upper four dig-
its of the event code have the same
value.
MFaultLvl
_sMC_REF_EVENT
MC Common Minor
Fault
Active
BOOL
MC Common Minor
Fault Occurrence
TRUE while there is an MC common
minor fault.
Code
WORD
MC Common Minor
Fault Code
Contains the code for an MC com-
mon minor fault. The upper four digits
of the event code have the same
value.
Obsr
_sMC_REF_EVENT
MC Common Obser-
vation
Active
BOOL
MC Common Obser-
vation Occurrence
TRUE while there is an MC common
observation.
Code
WORD
MC Common Obser-
vation Code
Contains the code for an MC com-
mon observation. The upper four dig-
its of the event code have the same
value.
Содержание NJ501-1300
Страница 12: ...Sections in this Manual 10 NJ series CPU Unit Motion Control User s Manual W507...
Страница 18: ...16 NJ series CPU Unit Motion Control User s Manual W507 CONTENTS...
Страница 22: ...Read and Understand this Manual 20 NJ series CPU Unit Motion Control User s Manual W507...
Страница 34: ...Revision History 32 NJ series CPU Unit Motion Control User s Manual W507...
Страница 44: ...1 Introduction to the Motion Control Function Module 1 10 NJ series CPU Unit Motion Control User s Manual W507...
Страница 58: ...2 Motion Control Configuration and Principles 2 14 NJ series CPU Unit Motion Control User s Manual W507...
Страница 86: ...3 Configuring Axes and Axes Groups 3 28 NJ series CPU Unit Motion Control User s Manual W507...
Страница 98: ...4 Checking Wiring from the Sysmac Studio 4 12 NJ series CPU Unit Motion Control User s Manual W507...
Страница 122: ...5 Motion Control Parameters 5 24 NJ series CPU Unit Motion Control User s Manual W507...
Страница 158: ...6 Motion Control Programming 6 36 NJ series CPU Unit Motion Control User s Manual W507...
Страница 166: ...7 Manual Operation 7 8 NJ series CPU Unit Motion Control User s Manual W507...
Страница 182: ...8 Homing 8 16 NJ series CPU Unit Motion Control User s Manual W507...
Страница 346: ...10 Sample Programming 10 92 NJ series CPU Unit Motion Control User s Manual W507...
Страница 422: ...Appendices A 18 NJ series CPU Unit Motion Control User s Manual W507...
Страница 423: ...Index 1 NJ series CPU Unit Motion Control User s Manual W507 I Index...
Страница 430: ...Index 8 NJ series CPU Unit Motion Control User s Manual W507 Index...