Serial_lib C_SerialComm_PC - BASG-Support/TwinCAT_3_Lib GitHub Wiki

##C_SerialComm_PC

##Class: Serial Communication Port for PC

###Summary The function block is derived from the C_SerialComm_Port function block, and contains the hardware mapping for PC serial communication ports.

Declaration:

cSerialChannel : C_SerialComm_PC;

During implementation (Fast task):

cSerialChannel.Update_Buffer();

During implementation (Normal task):

cSerialChannel.Receive(ADR(data_in));

cSerialChannel.Send(ADR(data_out), SIZEOF(data_out));

###More Info

[Methods](Serial_lib C_SerialComm_PC Methods)