Y_setrtc, Parameters – Yaskawa MotionWorks IEC User Manual

Page 284

Advertising
background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

276

Y_SetRTC

This Function Block allows the application program to set the controller's
real time clock.

Parameters

Parameter

Data type

Description

VAR_IN_OUT

B

DateAndTime

RTC_Struct

Date and time

VAR_INPUT

Default

B

Execute

BOOL

Upon the rising edge, all other function block
inputs are read and the function is initiated. To
modify an input, change the value and re-trigger
the execute input.

FALSE

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.

B

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.

Advertising