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.
Summary of Contents for NJ501-1300
Page 12: ...Sections in this Manual 10 NJ series CPU Unit Motion Control User s Manual W507...
Page 18: ...16 NJ series CPU Unit Motion Control User s Manual W507 CONTENTS...
Page 22: ...Read and Understand this Manual 20 NJ series CPU Unit Motion Control User s Manual W507...
Page 34: ...Revision History 32 NJ series CPU Unit Motion Control User s Manual W507...
Page 86: ...3 Configuring Axes and Axes Groups 3 28 NJ series CPU Unit Motion Control User s Manual W507...
Page 122: ...5 Motion Control Parameters 5 24 NJ series CPU Unit Motion Control User s Manual W507...
Page 158: ...6 Motion Control Programming 6 36 NJ series CPU Unit Motion Control User s Manual W507...
Page 166: ...7 Manual Operation 7 8 NJ series CPU Unit Motion Control User s Manual W507...
Page 182: ...8 Homing 8 16 NJ series CPU Unit Motion Control User s Manual W507...
Page 346: ...10 Sample Programming 10 92 NJ series CPU Unit Motion Control User s Manual W507...
Page 422: ...Appendices A 18 NJ series CPU Unit Motion Control User s Manual W507...
Page 423: ...Index 1 NJ series CPU Unit Motion Control User s Manual W507 I Index...
Page 430: ...Index 8 NJ series CPU Unit Motion Control User s Manual W507 Index...