Link Search Menu Expand Document

Timer widget, as the name suggests, provides a system counter that counts a preset value. Once the counter expires, a Blockly callback function is called. Timer widget can be set to be periodical or one-time only depending on the users’ requirement.

An educational vidoe is availble to get users started:

  • Educational Video

Widget Property

Timer

Property Description Operation
Widget Name Widget displayed name Name
Link to Educational Video Link to IOT’s website for Educational Video  

Period Setting

Property Description Operation
Fixed Timer Period Enable fixed time period Checkbox
Period in mis Set the period in ms. This function is valid only when Fixed Time Period is enabled. Number Editor
Period Register Select a register whose value is the period for this widget. This function is invalide when Fixed Time Period is enabled. Register Selector

Timer Setting

Property Description Operation
Enable on Power-On Enable this widget right after powering on Checkbox
Binding Trigger Register Bind a register for triggering this widget. This function is valid only when Enable on Power-On is disabled. Register Selector
Oneshot Timer Set to run this timer once only Checkbox

Time-Up Behavior Setting

Property Description Operation
Enable Page Selector Clicking triggers to the target page Checkbox
Select Target Page The target page selector Page Selector
Enable Register Operation Clicking triggers a register operation Checkbox
Binding Register Select which register for the operation Register Selector
Operation Mode Select which operation to be performed. Please refer to Register Operation Setting Register Operation Setting
Enable Callback Function Clicking tirggers a Blockly callback function Checkbox
Behavior Prgramming Blockly Editor Blockly Editor

Right-Click Menu

Fixed Timer Period

Property Description Operation
Fixed Timer Period Enable fixed time period Checkbox

Enable on Power-On

Property Description Operation
nable on Power-On Enable this widget right after powering on Checkbox

Oneshot Timer

Property Description Operation
Oneshot Timer Set to run this timer once only Checkbox

Widget-Specific Actions

Property Description Operation
Link to Educational Video… Connect to the education video and play it