ViewSonic PJL3211 Projector User Manual


 
59
ViewSonic PJL3211
RS-232C Communication (continued)
Requesting projector status (Get command)
(1) Send the following request code from the PC to the projector.
Header + Command data (‘02H’ + ‘00H’ + type (2 bytes) + ‘00H’ + ‘00H’)
(2) The projector returns the response code ‘1DH’ + data (2 bytes) to the PC.
Changing the projector settings (Set command)
(1) Send the following setting code from the PC to the projector.
Header + Command data (‘01H’ + ‘00H’ + type (2 bytes) + setting code (2
bytes))
(2) The projector changes the setting based on the above setting code.
(3) The projector returns the response code ‘06H’ to the PC.
Using the projector default settings (Reset Command)
(1) The PC sends the following default setting code to the projector.
Header + Command data (‘06H’ + ‘00H’ + type (2 bytes) + ‘00H’ + ‘00H’)
(2) The projector changes the specied setting to the default value.
(3) The projector returns the response code ‘06H’ to the PC.
Increasing the projector setting value (Increment command)
(1) The PC sends the following increment code to the projector.
Header + Command data (‘04H’ + ‘00H’ + type (2 bytes) + ‘00H’ + ‘00H’)
(2) The projector increases the setting value on the above setting code.
(3) The projector returns the response code ‘06H’ to the PC.
Decreasing the projector setting value (Decrement command)
(1) The PC sends the following decrement code to the projector.
Header + Command data (‘05H’ + ‘00H’ + type (2 bytes) + ‘00H’ + ‘00H’)
(2) The projector decreases the setting value on the above setting code.
(3) The projector returns the response code ‘06H’ to the PC.
When the projector cannot understand the received command
When the projector cannot understand the received command, the error code ‘15H’
is sent back to the PC.
Sometimes the projector cannot properly receive the command. In such a case,
the command is not executed and the error code ‘15H’ is sent back to the PC. If
this error code is returned, send the same command again.
When the projector cannot execute the received command
When the projector cannot execute the received command, the error code ‘1CH’ +
‘xxxxH’ is sent back to the PC.
When the data length is greater than indicated by the data length code, the
projector ignore the excess data code. Conversely when the data length is shorter
than indicated by the data length code, an error code will be returned to the PC.
NOTE • Operation cannot be guaranteed when the projector receives an undened
command or data.
• Provide an interval of at least 40ms between the response code and any other code.
• The projector outputs test data when the power supply is switched ON, and when the
lamp is lit. Ignore this data.
• Commands are not accepted during warm-up.