Notes, Related function blocks – Yaskawa MotionWorks IEC User Manual

Page 294

Advertising
background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

286

To modify an input, change the value and re-
trigger the execute input.

V

File

STRING

Optional, but if specified it is relative to
/flash/user/driveParam/ on the controller. If
the file name is not specified, then it defaults
to “AXIS#DrivePn.xml”, which is written to
the controller when pressing Save from the
Hardware Configuration.

See Description

VAR_OUTPUT

B

Done

BOOL

Set high when the commanded action has been completed
successfully. If another block takes control before the action is
completed, the Done output will not be set. This output is reset
when execute goes low.

E

Busy

BOOL

Set high upon the rising edge of the 'Execute' or 'Enable' input, and
reset if Done, CommandAborted, or Error is true.

B

Error

BOOL

Set high if error has occurred during the execution of the function
block. This output is cleared when 'Execute' or 'Enable' goes low.

E

ErrorID

UINT

If error is true, this output provides the Error ID. This output is
reset when 'Execute' or 'Enable' goes low.

V

Matches

BOOL

Set to True when the current drive parameters match the
parameter file.

V

InvalidParameter

UINT

If Matches is False, this is set to the first drive parameter number
that does not match.

V

Expected

DINT

If Matches is False, Expected will contain the value in the
parameter file.

V

Actual

DINT

If Matches is False, Actual contains the actual value on the drive.

Notes

If drive parameters are changed by the IEC application program using

Y_WriteDriveParameter

,

Y_VerifyParameters

will indicate that the

parameter sets are different.

Related Function Blocks

Y_WriteParameters

: writes all parameters to the drive as stored in the

controller via the MotionWorks IEC Configuration.

Advertising