Skip to content

Instructions - Timer

Delay

Description: Delays for the set value. After the set time is reached, the program continues running.

ParameterTypeRequiredDescriptionExample
logoutboolYesWhether commented out; true: this instruction will not be executed in the job file; false: not commented, executablefalse
paraTimeobjectYesDelay duration
paraTime.datadoubleNoDelay value; value range (0,9999]; unit s500.0
paraTime.valueintNoVariable value (backup)0
paraTime.secondvalueintNoVariable value (backup)0
paraTime.varnamestringNoVariable name (filled when using variable)""
typeintYesTIMER is 7 in the enumeration sequence7
userParamIntintNoCustomer custom in secondary development, currently no meaning0
userParamStringstringNoCustomer custom in secondary development, currently no meaning""

Command Word: TIMER

JSON Example:

json
{
  "logout": false,
  "paraTime": {
    "data": 500.0,
    "secondvalue": 0,
    "value": 0,
    "varname": ""
  },
  "type": 7,
  "userParamInt": 0,
  "userParamString": ""
}