Coils and fan example

This example uses the switch block that generates an js switch statement.

Other blocks that are used are:

multiQueries: generate multiple queries in a single block

multiActions: do multiple actions in a single block

multiSetValue: set the value of multiple points in a single block

getCurVal: gets the curVal of a point


This is the resulting generated code: