A
I'm a student, I'm using visual basic programming to control a PLC through RS-232 serial port. But I don't know what is the message I have to send out to command the PLC output.
This is my coding:
Private Sub Command1_Click()
MSComm1.CommPort = 1
MSComm1.Settings = "9600,n,8,1"
MSComm1.InputLen = 0
MSComm1.PortOpen = True
MSComm1.Output =
MsgBox MSComm1.OutBufferCount
MSComm1.PortOpen = False
End Sub
The PLC I'm using is GE Fanuc VersaMax.
This is my coding:
Private Sub Command1_Click()
MSComm1.CommPort = 1
MSComm1.Settings = "9600,n,8,1"
MSComm1.InputLen = 0
MSComm1.PortOpen = True
MSComm1.Output =
MsgBox MSComm1.OutBufferCount
MSComm1.PortOpen = False
End Sub
The PLC I'm using is GE Fanuc VersaMax.