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
Code
Description
RQ_OK
Request has been executed OK.
RQ_ERR
An error occurred (the device does not communicate or is
out of service, or there is any
error), the station transits into the status COM_ERR or HARD_ERR after
return from the function.
RQ_IGNORED
The function was ignored and the station status is not changed.
Pridať komentár