RSxxx interface
RS485_Send
ADwin
164
ADwin-Gold II
, Manual February 2013
RS485_Send
RS485_Send
determines the transfer direction for a specified RSxxx interface.
Syntax
#Include
ADwinGoldII.inc / GoldIITiCo.inc
RS485_Send
(
interface
,
dir
)
Parameters
Notes
Setting the transfer direction means:
•
Receiver: The RSxxx interface can only read data, even if data are
in the output FIFO of the controller for this RSxxx interface.
•
Sender: The RSxxx interface transfers data to the bus which are read
by other devices.
•
Sender/receiver: The RSxxx interface can transfer data to the bus
and back at the same time. Thus, the sent data can be checked.
See also
,
,
Valid for
Gold II-CAN
Example
- / -
T11 TiCo
interface
RSxxx interface to be set (1, 2).
LONG
dir
Tranfer direction of the RSxxx interface:
0: Set RSxxx interface to receive.
1: Set RSxxx interface to send.
2: Set RSxxx interface to send and to receive its
sent data.
3: Mute RSxxx interface, i.e. the interface works
as receiver but doesn’t put data into the input
FIFO.
LONG