BeforeStart

<< Click to Display Table of Contents >>

 

BeforeStart

BeforeStart()

Occurs when the I/O Driver is about to start communication. Use this event to perform any necessary actions before starting communication, such as setting up parameters. The next script contains an example of using this event.

Sub Driver1_BeforeStart()
  ' It performs the startup of driver parameters before
  ' starting the communication
  P1 = 0
  P2 = 20
  P3 = 80
  P4 = 0
End Sub

Was this page useful?