Logic Machine Forum
Need PJ Talk code for Sony VPLFHZ57 projector - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Need PJ Talk code for Sony VPLFHZ57 projector (/showthread.php?tid=848)



Need PJ Talk code for Sony VPLFHZ57 projector - rofredi - 19.06.2017

I am attempting to change video sources on this Sony projector but the hex code I am using makes no sense.  Here is the java code that was written for me previously that will successfully turn the projector on and off:

serial = '02 0A 53 4F 4E 59 00 17 2E 00';
tcpclient(projectorIP, 53484, serial , function onResponse(response)
{
    console.log(response);
});//Sony PJLink ON
 
serial = '02 0A 53 4F 4E 59 00 17 2F 00';
tcpclient(projectorIP, 53484, serial, function onResponse(response)
{
    console.log(response);
});//Sony PJLink Off

I have done a hex-to-ascii conversion and this is how the above code reads:
Turn projector ON hex = "02 0A 53 4F 4E 59 00 17 2F 00" =  (ascii)  "\02\0aSONY\00\17/\00"

Turn projector OFF hex = "02 0A 53 4F 4E 59 00 17 2E 00" = (ascii) "\02\0aSONY\00\17.\00"

So, the on/off command is just a "." or a "/"  What I need is code to switch between HD1 and DVI.  Any ideas?  Thanks!


RE: Need PJ Talk code for Sony VPLFHZ57 projector - admin - 20.06.2017

2B is HDMI 1, 2C is HDMI 2, from this manual:
https://www.digis.ru/upload/iblock/f5a/VPL-VW320,%20VW520_ProtocolManual.pdf


RE: Need PJ Talk code for Sony VPLFHZ57 projector - rofredi - 04.07.2017

Excellent advice! I found what I needed. Thanks!