KL6Config
Interface
VAR_INPUT
Start : BOOL; (* Edge triggered *)
Baudrate : INT; (* 19200, 9600, 4800, 2400, 1200 *)
NoDatabits : BYTE; (* 7 or 8 *)
Parity : BYTE; (* 0=no 1= even 2 = odd *)
Stopbits : BYTE; (* 1 or 2 *)
Handshake : BYTE; (*0=none,1=RTS/CTS,2=XON/XOFF*)
COMin : KL6inData;
END_VAR
VAR_OUTPUT
Err : BOOL;
ErrId : WORD;
Busy : BOOL;
END_VAR
VAR_IN_OUT
COMout : KL6outData;
END_VAR
Description
KL6Config configures the interface parameters of the KL6xxx serial bus terminal.
Note
If the KL6Config block is active (busy), the KL6Control block for background communication must not be called! Initialization and normal communication with the serial bus terminal use the same registers.
This block is replaced by KL6configuration from version 2 of the communication library.