cetee
級(jí)別: 略有小成
![]() |
初學(xué)vb.net編程,請(qǐng)各位幫幫忙 vb.net報(bào)錯(cuò) Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim iRet As Integer Dim szDeviceName As String = "d0" 'List data for 'DeviceName' Dim iNumberOfDeviceName As Integer = 2 'Data for 'DeviceSize' Dim sharrBufferForDeviceValue() As Integer DotUtlType1.ActLogicalStationNumber = CInt(1) 'The Open method is executed. iRet = DotUtlType1.Open() iRet = DotUtlType1.ReadDeviceBlock(szDeviceName, iNumberOfDeviceName, sharrBufferForDeviceValue(0)) End Sub End Class |
---|---|
|
不小心遇見你
自動(dòng)項(xiàng)目、PLC、視覺、通訊等工控軟件開發(fā)QQ3515716
級(jí)別: 工控俠客
![]() ![]() |
哈哈 你這是三菱的 怎么發(fā)到這個(gè)版塊了 |
|
---|---|---|
|