EasyManuals Logo

Embedded Systems LogiMachine5 Power User Manual

Embedded Systems LogiMachine5 Power
254 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #55 background imageLoading...
Page #55 background image
55
<? for j = 1, size do ?>
<td><? write(i * j) ?></td>
<? end ?>
</tr>
<? end ?>
</table>
</body>
</html>
Full Lua function reference manual is available at:
http://openrb.com/docs/lua.htm
Object functions
Most functions use alias parameter either object group address or object name. (e.g. '1/1/1'
or 'My object')
Finding single/multiple objects
grp.find(alias)
Returns single object for given alias. Object value will be decoded if data type is set.
Returns nil when object cannot be found, otherwise it returns table with the following
items:
address object group address
updatetime latest update time in UNIX timestamp format. Use os.date() to
convert to readable date formats
name unique object name
datatype object data type
decoded set to true when decoded value is available
value decoded object value
grp.tag(tags [, mode])
Returns a table containing objects with given tag. Tags parameter can be either table or
a string. Mode parameter can be either 'or' (default returns objects that have any of
given tags) or 'and' (return objects that have all of given tags). You can use object
functions on the returned table.
grp.dpt(dpt, [strict])
Find all objects with matching data type. Dpt can be either a string  
dt table (dt.bool, dt.scale, dt.uint32). For example, if dpt is
set to dt.uint8, in normal mode all sub-datatypes like dt.scale and dt.angle will be

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Embedded Systems LogiMachine5 Power and is the answer not in the manual?

Embedded Systems LogiMachine5 Power Specifications

General IconGeneral
BrandEmbedded Systems
ModelLogiMachine5 Power
CategoryController
LanguageEnglish