Scan

<< Click to Display Table of Contents >>

 

Scan

Number Specifies which scan time is used by the server to update an I/O 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 I/O Blocks in an application, it is advisable to increase the value of this property for those I/O Blocks that do not vary very much in the device, enabling other I/O Blocks with higher priority to be read more frequently, thus enhancing general application performance. Default value of this property is 1,000, or one second. Scan value must be greater than 0 (zero). The next script contains an example of using this property.

Sub IOBlock1_BeforeStart()
  Scan = 152
End Sub

Was this page useful?