Hey all, i am trying to turn on a A/V Reciever with a RS232 command using the VB6 comm32. To turn it on it says to use:
And this is my VB6 code i am currently using that doesnt seem to work...Code:Command code | Parameter code | CR | Code set example
PW | ON | <CR>| PWON<CR>
The reciever never turns on. What could i be doing incorrectly? I checked to make sure the com port was 2 and it is.Code:MSComm.CommPort = 2
MSComm.RThreshold = 1
MSComm.Settings = "9600,N,8,1"
MSComm.InputLen = 0
MSComm.PortOpen = True
MSComm.Output = "PWON" & Chr$(13)
MSComm.Output = "PWON" & vbCrLf
MSComm.Output = "PWON" & vbNewLine
MSComm.Output = "ZMON" & Chr$(13)
MSComm.Output = "ZMON" & vbCrLf
MSComm.Output = "ZMON" & vbNewLine
MSComm.PortOpen = False
End If
The PDF of the rs232 commands can be found here for the Marantz SR7005: http://www.filefactory.com/file/b45c...ceiver_All.pdf
David
