EasyManuals Logo

Omron NJ501-1500 User Manual

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #682 background imageLoading...
Page #682 background image
2 Instruction Descriptions
2-634
NJ-series Instructions Reference Manual (W502)
GetMCError
The GetMCError instruction gets the highest level status (partial fault or minor fault) and highest level
event code of the current Controller errors in the Motion Control Function Module.
The GetMCError instruction gets the highest level status and the highest level event code of the current
Controller errors in the Motion Control Function Module and outputs them to Level and Code. If there
are currently no Controller errors, the value of error flag Out is FALSE. If there is more than one Control-
ler error at the highest event level, the value of Code is the event code for the Controller error that
occurred first.
Instruction Name FB/FUN Graphic expression ST expression
GetMCError Get Motion Control
Error Status
FUN Out:=GetMCError(Level,
Code);
Variables
Name Meaning I/O Description Valid range Unit Default
Out Error flag
Output
TRUE: Controller error
exists.
FALSE:No Controller error
Depends on data type.
--- ---
Level Highest
event level
Highest level status of all
current Controller errors in
the Motion Control Function
Module
0: No Controller error
2: Partial fault level
3: Minor fault level
0, 2, or 3
Code Highest
level event
code
Highest level event code of
all current Controller errors
in the Motion Control Func-
tion Module
16#0000_0000: No Control-
ler error
16#0007_0000 to
16#FFFF_FFFF: Event code
16#00000000
16#00070000 to
16#FFFFFFFF
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
Out OK
Level OK
Code OK
Function
(@)GetMCError
EN Out
Level
Code

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ501-1500 and is the answer not in the manual?

Omron NJ501-1500 Specifications

General IconGeneral
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals