<< Click to Display Table of Contents >>
BeforeStart |
BeforeStart()
Occurs when the I/O Driver is about to start communication. Use the BeforeStart event to perform any necessary actions before starting communication, such as setting up parameters. Example:
Sub Driver1_BeforeStart()
' It performs the startup of driver parameters before
' starting the communication
P1 = 0
P2 = 20
P3 = 80
P4 = 0
End Sub