1. Home
  2. Docs
  3. SmartConfig2.1
  4. 5. Sampler Modes
  5. 5.1 User defined/ User Pr...
  6. 5.1.6 Function Reference

5.1.6 Function Reference

F1 End Program

Ends program if this function gets called
ParameterDescription
noneEnds program execution

Example:
F1

F2 Jump to Line

Continoue code in defined line
ParameterRangeDescription
S1–max linesLine number
P1–255Optional sub-program

Example:
F2,S1

F3 Delay

Waits for defined time
ParameterRangeDescription
T0–65535Time in seconds
P1–255Optional sub-program

Example:
F3,T10

F4 Wait for Next Alarm

Uses the internal clock and wait for next set alarm time
ParameterRangeDescription
P1–255Optional sub-program

F5 Switch Module

Switch the power the module channel
ParameterRangeDescription
T0–65535Duration
S0–10=OFF, 1=ON
P1–255Optional sub-program

F6 Switch Sensor

Switch the power to all active sensor channels
ParameterRangeDescription
T0–65535Duration
S0–10=OFF, 1=ON
P1–255Optional sub-program

F7 Switch Output

Switch defined output
ParameterRangeDescription
T0–65535Duration
S0–10=OFF, 1=ON
O1–4Output number
P1–255Optional sub-program

Example:
F7,T5,S1,O2

F8 Read Sensor

Reads frequently from the active sensor channels
ParameterRangeDescription
T0–65535Read duration
P1–255Optional sub-program

F9 Send Data via Telemetry

send the sensor string via telemetry with a prefix to seperate data
ParameterRangeDescription
Snumerical indexVariable prefix
P1–255Optional sub-program

F10 Send Custom Telemetry value

comming soon
ParameterRangeDescription
P1–255Optional sub-program

F11 Send Clean Command

Sends clean command to connected sensors
ParameterRangeDescription
T0–65535Duration
P1–255Optional sub-program

F12 Set Sub-Program

Sets the sub program
ParameterRangeDescription
I1–254Sub-program to activate

Example:
F12,I1

F13 End Sub-Program

Ends sub program
ParameterRangeDescription
T0–2Exit mode
S1–max linesTarget line (T=2)
P1–255Sub-program label

Exit modes:

TMeaning
0Return to caller
1Continue
2Jump to line S

F14 Formula

Use basic formulas to evaluate or manipulate
ParameterRangeDescription
P1–255Optional sub-program

Supported variables: a b c d A B C D E G X Y Z r

Example:
F14,a*G

F15 Temporary Storage

Access temporary storage and set values
ParameterRangeDescription
T0–3Mode
S1–3Storage X/Y/Z
O0–65535Value
P1–255Optional sub-program

Modes:

TOperationSymbol
0Reset0
1Increment+1
2Decrement-1
3Set value=O or =r

F16 Compare Value

Compares two values, if comparison is true it sets a sub-program
ParameterRangeDescription
T0–5Compare mode
S0–65535Reference value
O0–65535Value to compare
I1–254Sub-program to activate
P1–254Optional sub-program

Compare modes:

TMeaningOperator
0Equal to==
1Greater than>
2Less than<
3Not equal!=
4Greater or equal>=
5Less or equal<=

F17 Pulse Counter Set

Access pulse counter, reset or set to value
ParameterRangeDescription
T0–3Mode
S1–8Pulse counter
O0–65535Value
P1–254Optional sub-program

Modes:

TOperationSymbol
0Reset0
1Increment+1
2Decrement-1
3Set value=O

F18 Pulse Counter Compare

Waits for Pulse counter to reach or till timeout, sets sub program either way
ParameterRangeDescription
T0–65535Timeout
O1–8Pulse counter
S0–65535Target value
I1–254Sub-program
P1–255Optional sub-program

Behavior:
If counter reaches target or timeout expires, sub-program I is activated.Execution always continues.

F50 AquaMate

Sends command to AquaMate
ParameterRangeDescription
S1–16Sub-address
O1–13Position
I0–10=OFF, 1=ON

F51 AutoSampler

Sends command to AutoSampler

Parameter Overview

LetterNameDescription
TTaskDefines which operation is executed
SSub-addressAddress of the AutoSampler8 module
OPositionValve position or internal output
IStateON/OFF state (task-dependent)
PSub-programOptional sub-program label

Parameter Ranges

ParameterAllowed RangeNotes
T0–4Task selector
S1–16Module sub-address
O1–8Valve position (task-dependent)
I0–10=OFF, 1=ON
P1–254Optional

Runtime placeholders are allowed in all parameters but bypass static checks.


Task Selection (T)

TTask NameDescription
0Switch 8-port valveControls the 8-position rotary valve
1Switch 2-port valveControls the 2-position valve
2Switch peristaltic pumpTurns peristaltic pump ON or OFF
3Switch diaphragm pumpTurns diaphragm pump ON or OFF
4Read pressureRequests pressure data from module

Task-Specific Parameter Behavior

T = 0 Switch 8-port valve

Controls the main 8-port rotary valve.

ParameterMeaning
SModule sub-address
OValve position (1–8)
IState (0=OFF, 1=ON)

T = 1 Switch 2-port valve

Controls the 2-port valve.

ParameterMeaning
SModule sub-address
OValve position (1–2)
IState (0=OFF, 1=ON)

T = 2 Switch peristaltic pump

Controls the peristaltic pump motor.

ParameterMeaning
SModule sub-address
IState (0=OFF, 1=ON)

T = 3 Switch diaphragm pump

Controls the diaphragm pump.

ParameterMeaning
SModule sub-address
IState (0=OFF, 1=ON)

T = 4 Read pressure

Requests pressure data from the AutoSampler8 module.

ParameterMeaning
SModule sub-address
OInternal pressure channel
INot used

Behavior:

  • Sends a read request to the module
  • Program waits for module response
  • Returned data is processed internally

F52 MultiPlexer

Sends command to MultiPlexer
IAction
0OFF
1ON
2Invert

How can we help?