Common Variables
28
Sysmac Library User’s Manual for EtherCAT N-Smart Series Library (W549)
• Processing is executed while
Enable
is TRUE.
• When
Enable
changes to TRUE,
Busy
also changes to TRUE.
Enabled
is TRUE during calculation of
the output value.
• If an error occurs in the function block,
Error
changes to TRUE and
Busy
and
Enabled
change to
FALSE. When
Enable
changes to FALSE,
Enabled
,
Busy
, and
Error
change to FALSE.
• If an error occurs, the relevant error code and expansion error code are set in
ErrorID
(Error Code)
and
ErrorIDEx
(Expansion Error Code). The error codes are retained even after
Error
changes to
FALSE, but
ErrorID
is set to 16#0000 and
ErrorIDEx
is set to 16#0000 0000 when
Enable
changes to
TRUE.
• For function blocks that calculate the control amount for motion control, temperature control, etc.,
Enabled
is FALSE when the value of
CalcRslt
(Calculation Result) is incorrect. In such a case, do not
use
CalcRslt
. In addition, after the function block ends normally or after an error occurs, the value of
CalcRslt
is retained until
Enable
changes to TRUE. The control amount will be calculated based on
the retained
CalcRslt
value, if it is the same instance of the function block that changed
Enable
to
TRUE. If it is a different instance of the function block, the control amount will be calculated based on
the initial value.
This section provides timing charts for a normal end and errors.
Normal End
Enable-type Function Blocks
Timing Charts
In-out variables
Input variables
In-out variables
Output variables
Abcd_instance
InOut_Val
InOut_Val
Busy
Error
ErrorID
Abcd
Enable
Enabled
CalcRslt
ErrorIDEx
Busy
Enabled
Error
16#00000000
16#0000
ErrorID
ErrorIDEx
Enable
CalcRslt
Retained
Retained
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: ......