beautypg.com

Notes – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 372

background image

Pack ML Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

359

being counted for the
Sts_ModeCurrent will
be cleared.

B

Cmd_ResetAllTimes

BOOL

When set, all times
being monitored will be
reset to zero. Time
counting will also be
stalled as long as this
input is held high

FALSE

V

Sts_ModeCurrent

DINT

The current mode the
machine is operating in

0

V

Sts_StateCurrent

DINT

The current state the
machine is operating in

0

VAR_OUTPUT

B

Valid

BOOL

Indicates that the outputs of the
function are valid

B

TimeRollOverWarning

BOOL

A warning is sent when any of the
time accumulators is approaching
rolling over

B

Sts_StateCurrentSec

DINT

Time (in seconds) spent in the
current state

V

Sts_StateCumulativeSec

StateCumulativeArray

An array containing the times spent
operating in different modes and
states

B

Sts_ModeCurrentSec

DINT

Time (in seconds) spent in the
current mode

V

Sts_ModeCumulativeSec

DINT_Array32

An array of times spent in each
mode

B

Sts_AccTimeSinceReset

DINT

Accumulated time since
Cmd_ResetAllTimes went high or
the program was stopped for any
reason.

B

Error

BOOL

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

B

ErrorID

UINT

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

Notes

• See template documentation for further details on recommended usage.