Arguments

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Arguments

mapp Services V5.16

Show advanced parameter

Name



Argument Types




Type: {/Identifier}





Identifier





Type






Minimum






Maximum






Access Type






DataType




Arguments that can be used in section "Macros" can be defined in section "Argument types". An argument is an additional parameter that can be used in a macro.

"Identifier" serves to uniquely identify the argument in the project. The name specified here can be used in the macros. The name of the "identifier" can also be specified as localized via the text system. See "Specifying texts as localized via the text system" in section General settings.

Process variables with the following data types cannot be used:

Directly derived data types

Arrays that do not start with 0

Arrays of structures

Multidimensional arrays

Arrays with more than 65535 elements

Various types of arguments can be created under "Type":

None: With "None", the argument is not used.

Numeric: With "Numeric", a numerical argument can be created. A unit can be assigned to numerical arguments under Display.

Index: With "Index", an index argument can be created. Limit values ("Minimum", "Maximum") must be defined for this. The index argument can be used in the Macros as a variable for arrays, for example. If the argument is selected in the LadderEditor, then which array index should be used can be selected in a dialog box. When used, it could look something like this:

index_arg_test

Process variable: With "Process variable", a process variable can be used as argument type. This parameter is reserved for future use.

Sandbox: A sandbox argument can be generated via "Sandbox". This parameter is reserved for future use.