Advantech ADAM-4150 handleiding
Handleiding
Je bekijkt pagina 29 van 144

21 ADAM-4100 User Manual
Chapter 2 Installation Guide
2.4.2 SEND Command Button
Private Sub Command2_Click()
' Send Get AI command to ADAM-4011 Module at address 01H.
MSComm1.Output = "#01" & Chr$(13)
' Wait for data to come back to the serial port.
Do
DoEvents
Buffer$ = Buffer$ & MSComm1.Input
Loop Until InStr(Buffer$, vbCr)
' Read the response till the carriage return character.
Text1.Text = Buffer$
' Display the reading.
End Sub
2.4.3 CLOSE Command Button
Private Sub Command3_Click()
' Close the serial port.
MSComm1.PortOpen = False
End Sub?
Bekijk gratis de handleiding van Advantech ADAM-4150, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.
Productinformatie
Merk | Advantech |
Model | ADAM-4150 |
Categorie | Niet gecategoriseerd |
Taal | Nederlands |
Grootte | 20517 MB |