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 ReadAllPoints(struct StationPar * St)
Parameters


StPointer to StationPar structure.
Description
The function ReadAllPoints (_ReadAllPoints@4 in the Stdcall call convention) is optional, but its use is recommended. The function is called periodically according to the station polling parameter "Period". The task of the function is to get the new value of all I/O tags of given station. A station status is set according to the return code.
Return code


CodeDescription
RQ_OKRequest has been executed OK.
RQ_ERRAn error occurred (the device does not communicate or is out of service, or there is
any
another error), the station transits into the status COM_ERR or HARD_ERR after return from the function.
RQ_IGNOREDThe function was ignored and the station status is not changed.

Info
titleRelated pages:

D2000 KomAPI - interface functions