<< Click to Display Table of Contents >>
P2 |
Use the P2 property to configure an I/O Driver. Please check Driver's documentation to correctly set its parameters. This property cannot be modified after communication starts. Default value of this property is 0 (zero). The next script contains an example of using this property.
Sub Driver1_BeforeStart()
' Driver1 is an object of type I/O Driver
DriverLocation = "c:\driver\plc.dll"
P1 = 2
P2 = 1
P3 = 9600
End Sub