Problem with Keyence BL-700

R

Thread Starter

Robert

Welcome All.

I have the problem with Visual Basic and Keyence BL-700, sending a command to the reader. I apply the following syntax:

MSComm1.CommPort = 1
MSComm1.Settings = "9600,N,7,1"
MSComm1.RThreshold = 1
MSComm1.InputLen = 0
MSComm1.OutBufferCount = 0
MSComm1.ParityReplace = Chr(0)
MSComm1.SThreshold = 0
MSComm1.OutBufferSize = 10
MSComm1.PortOpen = True

MSComm1.Break = True
Sleep (200)
MSComm1.Break = False
MSComm1.Output = Chr$(76) & Chr$(79) & Chr$(78) & Chr$(13)

In the above source code I'm trying to send "LON" command (Laser ON) but it doesn't work.
Did someone meet with the similar problem?

I'm using VB 6 enterprise edition.

Best regards.
 
Top