Chapter 13 Device Logic (Pawn)
native rM2M_RegGetString(reg, const name[], string[], len=sizeof string);
Reads a character string from a registration memory block. Detailed information on the registration
memory blocks is provided in chapter "Registration memory blocks" on page 36.
Parameter
Explanation
reg
Index of the registration memory block (see "Indices of the registration memory
blocks" in chapter "Constants" on page 155)
name
Name of the entry
string
Array to store the string to be read
len
Size (in cells) of the transferred array to store the string to be read - OPTIONAL
Explanation
Return value
l
OK, if successful
l
ERROR, if an unspecified errors occurs
l
RM2M_REG_ERROR_NOTFOUND, if the specified entry does not exist
l
RM2M_REG_ERROR_ISNULL if the value of the specified entry is set to
"null"
l
< OK, if another error occurs (see "Error codes for the registration memory
block access operations" in chapter "Constants" on page 155)
native rM2M_RegGetValue(reg, const name[], &{Float,Fixed,_}:value, tag=tagof value);
reads a value from a registration memory block. Detailed information on the registration memory blocks
is provided in chapter "Registration memory blocks" on page 36.
Parameter
Explanation
reg
Index of the registration memory block (see "Indices of the registration memory
blocks" in chapter "Constants" on page 155)
name
Name of the entry
value
Variable to store the value to be read
tag
The integer and floating-point conversion are differentiated by the "tag" of the
variables. - OPTIONAL
Explanation
Return value
l
OK, if successful
l
ERROR, if an unspecified errors occurs
l
RM2M_REG_ERROR_NOTFOUND, if the specified entry does not exist
l
RM2M_REG_ERROR_ISNULL if the value of the specified entry is set to
"null"
l
< OK, if another error occurs (see "Error codes for the registration memory
block access operations" in chapter "Constants" on page 155)
Rev. 05
157
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: ......