GetECError
The GetECError instruction detects errors in the EtherCAT Master Function Module.
Instruction
GetECError
Get EtherCAT Error
Status
Variables
Name
Meaning
Out
Error flag
Level
Highest
level status
Code
Highest
level event
code
*1 The errors that are detected depend on the unit version of the CPU Unit and the version of the Sysmac Studio. Refer to
Function for details.
Bit strings
Out
OK
Level
Code
NY-series Instructions Reference Manual (W560)
Name
FB/FUN
FUN
I/O
Description
TRUE: Error exists.
FALSE: No error
Status of the current error
with the highest level
0: No error
Output
2: Partial fault level
3: Minor fault level
Event code of the current
error with the highest level
OK
OK
Graphic expression
(@)GetECError
EN
Level
Code
Valid range
Depends on data type.
*1
0, 2, or 3
*1
16#00000000
*1
16#00070000 to
16#FFFFFFFF
Integers
2 Instruction Descriptions
ST expression
Out:=GetECError(Level,
Code);
Out
Unit
Default
---
---
Times, durations, dates,
and text strings
2
2-831