<< Click to Display Table of Contents >>
BeforeStart |
BeforeStart()
Occurs when the Driver is about to start communication. Use the BeforeStart event to perform any necessary actions before starting communication, such as setting up Driver 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