Getmcerror - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

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.
Instruction
GetMCError
Get Motion Control
Error Status
Variables
Name
Meaning
Out
Error flag
Level
Highest
level status
Code
Highest
level event
code
Bit strings
Out
OK
Level
Code
NY-series Instructions Reference Manual (W560)
Name
FB/FUN
FUN
I/O
Description
TRUE: Controller error
exists.
FALSE:No Controller error
Highest level status of all
current Controller errors in
the Motion Control Function
Module
0: No Controller error
2: Partial fault level
Output
3: Minor fault level
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
OK
OK
Graphic expression
(@)GetMCError
EN
Level
Code
Valid range
Depends on data type.
0, 2, or 3
16#00000000
16#00070000 to
16#FFFFFFFF
Integers
2 Instruction Descriptions
ST expression
Out:=GetMCError(Level,
Code);
Out
Unit
Default
---
---
Times, durations, dates,
and text strings
2
2-827

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents