![YOKOGAWA F3LC11-1F User Manual Download Page 113](http://html1.mh-extra.com/html/yokogawa/f3lc11-1f/f3lc11-1f_user-manual_3448059113.webp)
B1-17
IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00
'========================= M0040 bit read command send
MSComm1.InBufferCount = 0
MSComm1.Output = sendtext2 'BRD command send
recvtext2 = ""
Do
DoEvents
dmy = DoEvents( )
If MSComm1.InBufferCount Then
recvtext2 = rec MSComm1.Input
If InStr(recvtext2, Chr(3)) Then
temp = Mid(recvtext2, 8, 1)
' str+0101OK1
If temp = "1" Then
Option1.Value = True
' ON
Else
Option1.Value = False
' OFF
End If
Exit Do
End If
End If
If start_flg = 0 Then Exit Do
Loop
End Sub
Command1 Click
Private Sub Command1_Click( )
'========================= "Exit"
start_flg = 0
MSComm1.PortOpen = False
'PC com port close
End Sub
Command2 Click
Private Sub Command2_Click( )
'========================= "Start"
start_flg = 1 'PC link command start
'========================= PC com port set
MSComm1.CommPort = 1
'PC com port
MSComm1.Settings = "115200,N,8,1"
'115.2kbps, Non parity, 8 bits
'========================= port open
On Error Resume Next
MSComm1.PortOpen = True
'PC com port open
If Err.Number <> 0 Then
MsgBox "COM port open error", , "Error"
Exit Sub
End If
Do
DoEvents
If start_flg = 1 Then Do_Send
Loop
End Sub
Summary of Contents for F3LC11-1F
Page 2: ......
Page 12: ...Blank Page...
Page 48: ...Blank Page...
Page 65: ...A3 7 IM 34M6H41 02E 2nd Edition Aug 1 2005 00 430 PR CLOSE 440 450 FIN 460 470 END...
Page 74: ...Blank Page...
Page 82: ...Blank Page...
Page 92: ...Blank Page...
Page 94: ...Blank Page...
Page 120: ...Blank Page...
Page 136: ...B3 6 IM 34M6H41 02E 2nd Edition Aug 1 2005 00 450 460 END...
Page 140: ...Blank Page...
Page 142: ...Blank Page...
Page 146: ...Blank Page...
Page 148: ...Blank Page...
Page 168: ...Blank Page...
Page 176: ...Blank Page...
Page 200: ...Blank Page...
Page 202: ...Blank Page...