52
The idea is that not knowing the syntaxes you get a helper for writing your own scripts. Code
snippets save also a time and make the coding much more convenient. After clicking on
appropriate snippet, it automatically adds code to the editor field.
There are five main groups of Script editor:
Helpers
– predefined code snippets, like if-then statement. Helpers consist of three main sub-
groups:
Conditionals
– If Else If, If Then etc.
Loops and iterators
– Array, Repeat..Untiletc
Math
– Random value, Ceiling, Absolute value, Round etc.
Objects/KNX bus
– Get object value, Group read, Group write, Update interval etc.
Storage
– Get data from storage, Save data to storage
Script control
– Get other script status, enable or disable other scripts
Alerts and logs
– Alert, Log variables, Formatted alert
Time functions
– Delay script execution
Miscellaneous
– Sunrise/sunset etc.
Serial
– Communication through internal Logic Machine IO ports
Modbus
– Create RTU/TCP connection, Write register, Read register etc.
DMX
– Communication with DMX devices
Group addresses
– existing group addresses on the KNX bus
Objects by name
– chose object by name
Tags
– choose object by tag
Data types
– choose object by data type
1.2.6.
Object functions
grp
provides simplified access to the objects stored in the database and group address request
helpers.
Содержание LogicMachine3 Re:actor
Страница 10: ...10 Terminal connection schemes KNX TP...
Страница 12: ...12 24V power supply...
Страница 13: ...13 Analog inputs e g reed contact...
Страница 14: ...14 Analog inputs 0 10V...
Страница 15: ...15 Digital output...
Страница 16: ...16 Resistive sensor input...
Страница 17: ...17 Analog output...
Страница 26: ...26 Make sure that bus status is Online press button in ETS...
Страница 35: ...35 o Then minimize side bar by pressing on left arrow icon to make the map more visible...
Страница 83: ...83 66 if err then 67 alert FTP upload failed s err 68 end...
Страница 107: ...107...
Страница 108: ...108 1 14 Help Documentation for scripting syntaxes is displayed in Help tab...
Страница 122: ...122 4 16 Running processes System running processes can be seen in Status Running processes window...
Страница 126: ...126 Datapoints can be shown also in a way of table which can be later exported as CSV file...
Страница 141: ...141...