Wtt script


Execute script

Datatypes and declarations

Datatypes
Datatype conversions
Variable declarations
Operators

Statements

main-endmain
function-endfunction
if-else-endif
while-endwhile
for-endfor
break
continue
goto
include

Input/output functions

ask()
printf()
say()
scanf()

File handling functions

fclose()
felement()
fgets()
file_search()
fopen()
fprintf()
fscanf()
translate_filename()

String functions

edit()
element()
extract()
sprintf()
strchr()
strrchr()
strlen()
strstr()
toupper()
tolower()

Database functions

DeleteObject()
GetAttribute()
GetChild()
GetParent()
GetNextSibling()
GetNextVolume()
GetClassList()
GetNextObject()
GetClassListAttrRef()
GetNextAttrRef()
GetTemplateObject()
GetNextTemplateAttrRef()
GetObjectClass()
GetNodeObject()
GetRootList()
GetVolumeClass()
GetVolumeList()
SetAttribute()
CreateObject()
RenameObject()
MoveObject()
InLib()
OpenPlcPgm()
CreatePlcObject()
ClosePlcObject()
CreatePlcConnection()
SetPlcObjectAttr()
PlcConnect()

System functions

exit()
get_namespace()
set_namespace()
system()
terminate()
time()
tzset()
verify()

Miscellaneous functions

GetProjectName()
CheckSystemGroup()
CutObjectName()
MessageError()
MessageInfo()
GetCurrentText()
GetCurrentObject()
GetCurrentVolume()
IsW1()
IsW2()
EditMode()
MessageDialog()
ConfirmDialog()
ContinueDialog()
PromptDialog()
OpenGraph()
CloseGraph()
SetSubwindow()
GetVersion()
get_pwr_config()
get_node_name()
getmsg()
EVEN()
ODD()

wtt-commands

wtt-commands