Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

Declaration


Blok kódu
languageesl
themeConfluence
unsigned int _stdcall WritePointValue(struct PointPar * Pt, unsigned int *FastAdr, unsigned int * RdValue)
Parameters


PtPointer to PointPar structure.
FastAdrI/O tag address converted to a 32-bit number.
RdBackPointer to a Boolean value of the request attribute of the function ReadPointValue. The function ReadPointValue is called after finishing the I/O tag initialization.
Description
The function InitPoint (_InitPoint@12 in the Stdcall calling sequence) is optional. A pointer to a PointPar structure with a definition of the I/O tag parameters is the parameter of the function. The function is called at starting of the process D2000 KOM process and later after a change of the I/O tag parameters in the process D2000 CNF process. If it is required to save the I/O tag address converted to a 32-bit number into the list, the numerical address is to be saved into the parameter FastAdr. If the address is not converted, the constant FastAdrNotUsed is saved into the parameter FastAdr. For more info on addresses see the topic addresses of stations and I/O tags.
Return code


CodeDescription
RQ_OKRequest has been executed.
RQ_ERRAn error occurred (device does not communicate or is out of order, or there is any error).
RQ_IGNOREDThe function was ignored and the station status is not changed.

Info
titleRelated pages:

D2000 KomAPI - interface functions