Getcommand, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 199

Advertising
background image

Communications Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

186

GetCommand

The GetCommand function block is a supporting function block for the ReName_CommandProcessor function
block. It extracts a CommandString from the CircularByteBuffer as identified by the CmdDelimiter specified in
the CircularByteBuffer structure.

Parameters

*

Parameter

Data Type

Description

VAR_IN_OUT

V

CircularByteBuffer

CircularBufferStruct

Structure containing a data buffer and other
operational information required to manage the
CircularByteBuffer.

V

CommandString

YTB_STRING512

Input string containing at least two bytes of command
characters and any optional parameters separated by
a PrmDelimiter.

VAR_INPUT

Default

B

Enable

BOOL

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

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

Advertising