The following figure shows a programming example.
LD
GetMCError
EN
Related System-defined Variables
Name
_MC_ErrSta
Sample Programming
Refer to the sample programming that is provided for the ResetMCError instruction (page 2-630).
NJ-series Instructions Reference Manual (W502)
ST
abc:=GetMCError(def, ghi);
abc
def
Level
Code
ghi
Meaning
Error Status of Motion
WORD
Control Function Mod-
ule
2 Instruction Descriptions
Data type
Contains the error status of the Motion Con-
trol Function Module.
Refer to the NJ-series CPU Unit Software
User's Manual (Cat. No. W501) for details.
Description
2-635
2