ServerSide.Exec
(METH)
METHOD Exec
Elaboration of a command in Server side: command is elaborated and next send the answer to client (It’s called by the library that implements the protocol)
- InOut:
Scope
Name
Type
Comment
Input
uiCmd
UINT
Command code
pDataRcv
__XWORD
Pointer where are the data received
diSizeRcv
DINT
Data received
Output
pDataTrs
__XWORD
Pointer to the data to transmit back
diSizeTrs
DINT
Data to transmit
uiAns
UINT
Answer code
iError
INT
Error to transmit back