
Chapter 12 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 IoTmini
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 84).
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 IoTmini
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 84).
Rev. 01
111
Содержание myDatalogEASY IoTmini
Страница 2: ......
Страница 11: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 01 11 ...
Страница 12: ......
Страница 34: ......
Страница 66: ......
Страница 78: ......
Страница 82: ......
Страница 186: ......
Страница 194: ......
Страница 196: ......
Страница 202: ......
Страница 205: ...Chapter 19 Document history Chapter 19 Document history Rev Date Changes 01 28 08 2020 First version Rev 01 205 ...
Страница 206: ......
Страница 208: ......