1. Home
  2. Docs
  3. SmartConfig2.1
  4. 5. Sampler Modes
  5. 5.1 User defined/ User Pr...
  6. 5.1.1 Program Structure

5.1.1 Program Structure

Each line in a User Program follows this general format:

F#,T#,S#,O#,P#,I#

Only parameters required by the selected function must be provided. Parameters may be written in any order.

Parameter overview

LetterNameDescription
FFunctionDefines which action is executed
TTime / ModeTime in seconds or mode selector depending on function
SSecondary valueFunction-dependent parameter
OOutput / ValueOutput number, position, or comparison value
PSub-programSub-program label (1–255)
IExtra parameterState, task, or sub-program activation

Comments

You can comment your code. All characters after // on the same line are ignored.

Example:
F3,T10 // wait 10 seconds

Empty lines are not allowed.

How can we help?