Ok i Have a Vorne M1000 display, hooked to a 1734-232asc module, after reading the manual for the display i have no idea how to communicate to the display. Not sure if I need another software or w.e, im just lost lol. Any help would be great!!
'Notes
'Chr(12) = <FF>
'Chr(27) = <ESC>
'Chr(13) = <CR>
'<ESC>line;columnC tells what line and column to move the cursor to
' Chr(27) & "1;3C" is command to move to line 1 column 3
Dim strMessage
'First, check to see if the Com Port is Open
'Then, Select the active display message from the PLC
'Then construct the string to send to the Large Display
If dintComPortStatus.Value = 0 Then
Select Case PLC.Element("intHmiDisplayMessages").Value
Case 0
strMessage = Chr(12) & Chr(27) & "1;2C" & "PLC Starting Up" & Chr(27) & "2;4C" & "Please Wait" & Chr(13)
Case 1
strMessage = Chr(12) & Chr(27) & "1;3C" & "Emergency Stop" & Chr(27) & "2;7C" & "Active" & Chr(13)
Case 2
strMessage = Chr(12) & Chr(27) & "1;1C" & "Emergency Stop 02" & Chr(27) & "2;3C" & "Active at Base" & Chr(13)
Case 3 ...
Case Else
strMessage = Chr(12) & Chr(13)
End Select
'Send the selected string to the Large Display
View.ComPortPut 1,strMessage
End If
No worries, this is how we learn.