List of all functions/instructions available i R3 programming language for managing RS232/RS422/RS485 serial channels.
Legend: R = permitted use in Rules - T = permitted use in Tasks - I = Instruction - F = Function (thus has a return value) |
||||
---|---|---|---|---|
Keyword |
R |
T |
F/I |
Description |
R |
T |
F |
Function that returns the status of the last transmission made on the specified device |
|
R |
T |
F |
Initializes the serial port for BCC3 communication between controls |
|
R |
T |
F |
Function that allows a specified number of characters to be read from the specified device |
|
R |
T |
F |
Sends characters on the serial channel |
|
R |
T |
F |
Reports whether there are characters on the serial channel |
|
R |
T |
F |
Number of free bytes on the TX buffer |
|
R |
T |
F |
Number of occupied bytes on the TX buffer |
|
ser_con() |
R |
T |
I |
Sets the parameters of the serial channel |
R |
T |
F |
Cleans all data in the TX and RX buffers of the specified serial channel |
|
ser_in() |
R |
T |
F |
Receives the terminated string from serial channel |
ser_mod() |
R |
T |
F |
Sets the working mode of the specified serial channel |
ser_out() |
R |
T |
F |
Sends the terminated string to the serial channel |
R |
T |
F |
Reads the status word from the serial channel |
|
R |
T |
F |
Reports the presence of a terminated string on the serial channel |
|
R |
T |
I |
Sets the status word of the serial channel |