Chapter 13 Device Logic (Pawn)
native RS485_Close(rs485);
Closes the RS485 interface
Parameter
Explanation
rs485
Number of the RS485 interface; is always 0 for the myDatalogEASY V3
Note:
You can also use the predefined constant "RS485_ITF1" for this
parameter.
Explanation
Return value
l
OK, if successful
l
ERROR_FEATURE_LOCKED, if the specified interface on the device is
not released
l
< OK, if another error occurs (see "Return codes for general purposes" in
chapter "Constants" on page 118).
native RS485_Write(rs485, const data{}, len);
Sends data via the specified RS485 interface
Parameter
Explanation
rs485
Number of the RS485 interface; is always 0 for the myDatalogEASY V3
Note:
You can also use the predefined constant "RS485_ITF1" for this
parameter.
data
Array that contains the data to be sent
len
Number of bytes to be sent
Explanation
Return value
l
Number of processed bytes, if successful
Note:
If the number of processed bytes deviates from the transferred
number of bytes to be sent, then the RS485_Write() function must be
called again. However, now only the data that could not be processed in
the previous function call needs to be transferred here.
l
ERROR_FEATURE_LOCKED, if the specified interface on the device is
not released
l
< OK, if another error occurs (see "Return codes for general purposes" in
chapter "Constants" on page 118).
Rev. 05
153
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: ......