11 Troubleshooting
11-4
NJ-series CPU Unit Motion Control User’s Manual (W507)
When an error occurs, you can connect the Sysmac Studio online to the Controller to check current
Controller errors and the log of past Controller errors. You can also check the cause of the error and
corrections.
Refer to the
NJ-series Troubleshooting Manual
(Cat. No. W503) for the procedures to check for errors
with the Sysmac Studio.
If you can connect communications between an NS-series PT and the Controller when an error occurs,
you can check for current Controller errors and the log of past Controller errors. You can also check the
cause of the error and corrections.
Refer to the
NJ-series Troubleshooting Manual
(Cat. No. W503) for the procedures to check for errors
with an NS-series PT.
You can use instructions in the user program to check the error status of each function module. The fol-
lowing table gives the instruction that is used to get error information for the Motion Control Function
Module.
For details on the instructions that get error status, refer to the
NJ-series Instructions Reference Manual
(Cat. No. W502).
You can use the error status variables in the system-defined variables and the system-defined variables
for motion control to check for errors that have occurred in the Motion Control Function Module.
z
Error Status Variables
You can check for errors in each function module of the NJ-series Controller with error status vari-
ables. The following variables show the error status of the Motion Control Function Module.
Checking with the Troubleshooting Function of Sysmac Studio
Checking with the Troubleshooter of an NS-series PT
Checking with Instructions That Read Error Status
Instruction
Name
Outline of function
GetMCError
Get Motion Control Error
Status
The GetMCError instruction gets the highest level status (par-
tial fault or minor fault) and highest level event code of the cur-
rent Controller errors in the Motion Control Function Module.
Checking with System-defined Variables
Variable name
Data type
Meaning
Function
_MC_ErrSta
WORD
MC Error Status
Gives the collective error status of all error sta-
tus for the Motion Control Function Module.
_MC_ComErrSta
WORD
MC Common Error
Status
Gives the collective error status of all errors that
occur for common processing in the Motion Con-
trol Function Module.
_MC_AX_ErrSta
ARRAY[0..63] OF
WORD
Axis Error Status
Gives the collective error status of all error sta-
tus for each axis.
_MC_GRP_ErrSta
ARRAY[0..31] OF
WORD
Axes Group Error
Status
Gives the collective error status of all error sta-
tus for each axes group.
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...