Scan

<< Click to Display Table of Contents >>

 

Scan

Number Specifies which scan time is used by the server to update a Block. This property is represented in milliseconds and can be modified after communication starts, and it is used only when the AllowRead property is set to True. When users set this property in several Blocks in an application, it is advisable to increase the value of the Scan property for those Blocks that do not vary very much in the device, enabling other Blocks with higher priority to be read more frequently, thus enhancing general application performance. Default value of this property is 1,000 (1 second). Scan value must be greater than zero. Example:

Sub IOBlock1_BeforeStart()
  Scan = 152
End Sub

Was this page useful?