BlockMode

<< Click to Display Table of Contents >>

 

BlockMode

Boolean This property determines the behavior when activating or deactivating an OPC Group. When this property is set to True, communication of OPC Tags of an OPC Group starts at once. This usually improves performance, a shorter activation time, by minimizing the number of calls to the OPC Server. When this property is set to False, its behavior is activating communication for each OPC Tag of an OPC Group individually, according to the normal activation sequence of objects. With it, for example, the first OPC Tag of an OPC Group, in the order displayed in Organizer, communicates before the last OPC Tag. Although slower, this activation mode of an OPC Block can be an advantage when trying to perform an operation, such as an OPC Tag writing, in a script of an OPC Tag's OnStartRunning event. The deactivation occurs in an analogous way. When the value of this property is set to True, the deactivation of communication of OPC Tags of an OPC Group occurs at once, when finishing the deactivation of the whole OPC Group. In case this property is set to False, deactivation of communication occurs individually for each OPC Tag, according to the normal activation sequence of objects.

Was this page useful?