The Workbench Studio includes a powerfule console where you can, during the development of a project, run some operations in command line text mode instead of using menus. This may be very useful to automate some repetitive tasks or quickly manipulate objects of huge projects.

While editing, go in the Prompt tab of the output window:

Fixed_Image

Enter the command "?" to get the list of availablae commands and their syntax. Below are available commands, sorted by categories.

Special commands

Command

Description

?

Display help.

HELP

Display help (same as "?").

FOR

Iterate a command.

Managing programs

Command

Description

CreateProgram

Create a main program.

CreateSP

Create a sub-program.

CreateUDFB

Create a User Defined Function Block.

CreateSfcChild

Create a child SFC program.

CopyProgram

Duplicate a program.

DeleteProgram

Delete a program.

EnumProgram

Enumerate programs.

GetProgram

Get information about a program.

Managing variables

Command

Description

CreateVar

Create a variable.

CreateInParam

Create an input variable.

CreateOutParam

Create an output variable.

DimVar

Set variable dimensions.

DeleteVar

Delete a variable.

InitVar

Set variable initial value.

SybVar

Specifies whether the symbol of a variable must be embedded.

ProfileVar

Set variable profile an embedded properties.

EnumVar

Enumerate variables.

GetVar

Get information about a variable.

GetVarProp

Get variable embedded properties.

Managing data types (structures)

Command

Description

CreateStruct

Create a structure.

DeleteStruct

Delete a structure.

EnumStruct

Enumerate structures.

Managing I/O boards

Command

Description

CreateIO

Create an instance of an IO device.

IOParam

Set a parameter of an IO board.

IOAlias

Give an alias to an IO channel.

DeleteIO

Delete an instance of an IO device.

EnumIO

Enumerate IO boards.

GetIO

Get information about an IO board.

Managing comment texts

Command

Description

Comm

Set comment text.

Tag

Set short comment text (tag) - variables only.

GetComm

Display a comment text.

GetTag

Display a short comment text (tag) - variables only.


Created with the Personal Edition of HelpNDoc: Elevate Your CHM Help Files with HelpNDoc's Advanced Customization Options