TCP_Connection (FB)ΒΆ
FUNCTION_BLOCK TCP_Connection EXTENDS CBM.LTrig
The next free connection is determined by handle exchange and set to active. As long as xActive is
TRUE the handle of the connection is valid. If xActiveis FALSE the handle of the connection is
invalid. hConnection can be used as input hConnection for function blocks TCP_Write,
TCP_WriteBuffer, TCP_Read and TCP_ReadBuffer.
- InOut:
- Scope - Name - Type - Comment - Inherited from - Input - xEnable- BOOL- TRUE: Action starts- FALSE: Action stops, outputs- xDone,- xBusy,- xErrorare resetted- LTrig - Output - xDone- BOOL- TRUE: Action successfully completed- LTrig - xBusy- BOOL- TRUE: Function block active- LTrig - xError- BOOL- TRUE: Error occurred, function block aborts action- FALSE: No error- LTrig - Input - hServer- CAA.HANDLE- Output - eError- xActive- BOOL- hConnection- CAA.HANDLE
Properties:
Structure:
