beautypg.com

Enable_st_template, Parameters, Error description – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 538

background image

Yaskawa Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

525


Enable_ST_Template

This function block is a template which can be used when developing functions which adhere to the PLCopen
output behavior.

Parameters

*

Parameter

Data
Type

Description

VAR_INPUT

Default

B

Enable

BOOL

The function will continue to execute while enable is
held high.

FALSE

VAR_OUTPUT

B

Valid

BOOL

Indicates that the outputs of the function are valid.

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.

B

ErrorID

UINT

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

Error Description

This is an example function block template with no specific errors of its own.