25
Common Variables
Sysmac Library User’s Manual for EtherCAT N-Smart Series Library (W549)
• Processing starts when
Execute
changes to TRUE.
• When
Execute
changes to TRUE,
Busy
also changes to TRUE. When processing is completed nor-
mally,
Busy
changes to FALSE and
Done
changes to TRUE.
• When continously executes the function blocks of the same instance, change the next
Execute
to
TRUE for at least one task period after
Done
changes to FALSE in the previous execution.
• If the function block has a
CommandAborted
(Instruction Aborted) output variable and processing is
aborted,
CommandAborted
changes to TRUE and
Busy
changes to FALSE.
• If an error occurs in the function block,
Error
changes to TRUE and
Busy
changes to FALSE.
• For function blocks that output the result of calculation for motion control and temperature control,
you can use the BOOL input variable
Abort
to abort the processing of a function block. When
Abort
changes to TRUE,
CommandAborted
changes to TRUE and the execution of the function block is
aborted.
ENO
Output BOOL
OK
Done
The variable changes to TRUE when the
processing ends normally.
It is FALSE when the processing ends in
an error, the processing is in progress, or
the execution condition is not met.
Done
BOOL
OK
Done
The variable changes to TRUE when the
processing ends normally.
It is FALSE when the processing ends in
an error, the processing is in progress, or
the execution condition is not met.
Busy
BOOL
OK
OK
Executing
The variable is TRUE when the process-
ing is in progress.
It is FALSE when the processing is not in
progress.
CalcRslt
LREAL
OK
Calculation
Result
The calculation result is output.
Enabled
BOOL
OK
Enabled
The variable is TRUE when the output is
enabled. It is used to calculate the con-
trol amount for motion control, tempera-
ture control, etc.
Command
Aborted
BOOL
OK
Command
Aborted
The variable changes to TRUE when the
processing is aborted.
It changes to FALSE when the process-
ing is re-executed the next time.
Error
BOOL
OK
OK
Error
This variable is TRUE while there is an
error.
It is FALSE when the processing ends
normally, the processing is in progress,
or the execution condition is not met.
ErrorID
WORD
OK
OK
Error Code
An error code is output.
ErrorIDEx
DWORD
OK
OK
Expansion
Error Code
An expansion error code is output.
Execute-type Function Blocks
Variable
I/O
Data
type
Function/function
block type to use
Meaning
Definition
Function block
Function
Execute-
type
Enable-
type
Summary of Contents for SYSMAC-XR005
Page 1: ...Sysmac Library User s Manual for EtherCAT N Smart Series Library W549 E1 06 SYSMAC XR005...
Page 5: ...3 Manual Structure Sysmac Library User s Manual for EtherCAT N Smart Series Library W549...
Page 7: ...5 CONTENTS Sysmac Library User s Manual for EtherCAT N Smart Series Library W549...
Page 44: ...Backup_E3NW 42 Sysmac Library User s Manual for EtherCAT N Smart Series Library W549...
Page 56: ...Restore_E3NW 54 Sysmac Library User s Manual for EtherCAT N Smart Series Library W549...
Page 57: ...55 Sysmac Library User s Manual for EtherCAT N Smart Series Library W549 Appendix...
Page 63: ......