Chapter 13 Device Logic (Pawn)
TrM2M_Id
Information for identifying the module/device
// string
rapidM2M module identification (e.g. "rapidM2M_Easy_HW3.0")
// module
rapidM2M module type (e.g. "Easy")
// hwmajor
Hardware: Major version number
// hwminor
Hardware: Minor version number
// sn
Device serial number (binary) in BIG endian format
//
E.g.: "010146AF251CED1C" --> "01" in sn{0}, "1C" in sn{7}
// fwmajor
Firmware: Major version number
// fwminor
Firmware: Minor version number
// ctx
Site title (context)
//
Empty string if no context available
#define TrM2M_Id[
.string{50}, .module{10}, .hwmajor, .hwminor,
.sn{8}, .fwmajor, .fwminor, .ctx{50}
]
TRTM_Data
Information regarding the runtime measurement
// runtime
Determined runtime in [ms]
// instructions
Number of executed pawn instructions
// tmp
For internal use, no write access permitted
#define TRTM_Data[.runtime, .instructions, .tmp[3]]
13.2.12.2 Constants
Error codes for the "CalcTable" and "CalcTableF" functions
const
{
TAB_ERR_FLOOR = -1, // searched value lower than the first table entry
TAB_ERR_CEIL = -2,
// searched value higher than the last table entry
};
13.2.12.3 Functions
native getapilevel();
Issues the implemented API level of the script engine
Explanation
Return value
Implemented API level of the script engine
Rev. 05
179
Summary of Contents for myDatalogEASY V3
Page 2: ......
Page 13: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 05 13 ...
Page 14: ......
Page 42: ......
Page 76: ......
Page 88: ......
Page 102: ......
Page 110: ......
Page 116: ......
Page 234: ......
Page 244: ......
Page 252: ......
Page 254: ......
Page 266: ......
Page 276: ......