Download Programmer`s Access Kit

Transcript
FACTORYLINK API REFERENCE GUIDE
fl_read
Remarks:
The elements may have mixed data types, as with all database access calls. The
values of the elements are read from the real-time database and placed in the
private data area of the calling process pointed to by vp. After each value transfer,
vp is incremented by the size of the element. After each element is read, its
change bit for the calling process is cleared (to 0). The change state for other client
processes are unaffected.
Note: vp is incremented by the actual size of each element.
This is important when reading blocks of mixed tag types.
Use fl_get_tag_info ( ) to find out how much memory to
prepare before calling fl_read when reading blocks of mixed
tag types.
8
FactoryLink API
Reference Guide
FactoryLink ECS / Programmer’s Access Kit / 295