let me share the script and Japanese document. I hope this AN will be useful for you.
The script has been checked no syntax error and good behavior of the script with IMC101T-T038 v1.03.03.
c.f. AN2021-14 in English
Constant air-flow control using iMOTION™ script language
iMOTION™ - Controller