Previous | Contents | Index |
BASEstar Classic physical points may be grouped together into pollsets to optimize data collection and to provide the ability to read a group of points on a specified time interval.
DCM allows you to read groups of physical points (variables) using the scattered pollset feature. Any combination of physical points may be included in a pollset. The use of the /SCATTERED qualifier is mandatory when creating the pollset.
Figure 3-2 shows an example of creating a scattered pollset for reading groups of named variables.
Figure 3-2 Scattered Pollset Definition
DCM> create pollset POLL1/device=TEST_PLC/interval=15/scattered DCM> create phypoint P1/dev=TEST_PLC/format=long/addr=VMD_INT32 - _DCM> /poll=POLL1/COLLECT DCM> create phypoint P2/dev=TEST_PLC/format=word/addr=OSAPWORD - _DCM> /poll=POLL1/COLLECT DCM> SHOW POLL */DEV=TEST_PLC/FUL Device Name : TEST_PLC Pollset Name: POLL1 Interval : 15 Enabled : No Format : SCATTERED Start Address : VMD_INT32 Number elements : 2 IO blocks : 1 Size (in bytes) : 6 Buffers not dist: 0 Defined on .... Definition last updated on .... Permanent Lka Ctr :0 Temporary Lka Ctr :0 Permanent Late Ctr :0 Temporary Late Ctr :0 Permanent Device Errors :0 Temporary Device errors :0 Permanent No Buffers errors :0 Temporary No Buffers errors :0 BASEstar Classic point name: DCM Phypoint name: P1 P2 DCM> |
This service provides the equivalent of calling the omni_group_variable service for each physical point (variable) in the pollset.
For more information on physical points, see the BASEstar Classic Command Line Interface User's Guide.
Previous | Next | Contents | Index |