USR-TCP232-410S User Manual
24 / 46
Web to serial test
Web to serial needs user’s webpage programming ability. Design webpage, request own device’s data
and process data then reveal the results on webpage. According to chapter4.1.17 Customized Webpage, can
download revised webpage into 410S.
1. Build a connection and connect to 410S.
function connectx(){
try{
socket=new WebSocket('ws://'+window.location.host+':6432');
socket.binaryType = "arraybuffer";
}catch(e){
alert('error');
return;
}
socket.onopen = sOpen;
socket.onerror=sError;
socket.onmessage=sMessage;
socket.onclose=sClose
}
2. Receive Data Function
function sMessage(msg)
3. Send data function
function send()
Содержание USR-TCP232-410S
Страница 1: ...USR TCP232 410S User Manual 1 46 USR TCP232 410S Manual File Version V1 0 0...
Страница 3: ...USR TCP232 410S User Manual 3 46 5 3 Serial Configuration 45 6 Contact 46...
Страница 6: ...USR TCP232 410S User Manual 6 46 The below picture is for your reference Default Parameter Test...
Страница 15: ...USR TCP232 410S User Manual 15 46 UDP Client Software Configuration UDP Client Testing Screenshot...
Страница 20: ...USR TCP232 410S User Manual 20 46 USR VCOM Add a COM USR VCOM Build Connection...
Страница 22: ...USR TCP232 410S User Manual 22 46 Web to Serial Webpage...
Страница 23: ...USR TCP232 410S User Manual 23 46 Web to Serial COM Send Receive Data...
Страница 37: ...USR TCP232 410S User Manual 37 46 Software Configuration Full Show...
Страница 40: ...USR TCP232 410S User Manual 40 46...