RS-232C Communication (continued)

Requesting projector status (Get command)  6HQGWKHIROORZLQJUHTXHVWFRGHIURPWKH3&WRWKHSURMHFWRU

Header + Command data (‘02H’ + ‘00H’ + type (2 bytes) + ‘00H’ + ‘00H’)  7KHSURMHFWRUUHWXUQVWKHUHVSRQVHFRGH‘1DH’ + data (2 bytes)WRWKH3&

Changing the projector settings (Set command)  6HQGWKHIROORZLQJVHWWLQJFRGHIURPWKH3&WRWKHSURMHFWRU

Header + Command data (‘01H’ + ‘00H’ + type (2 bytes) + setting code (2 bytes))  7KHSURMHFWRUFKDQJHVWKHVHWWLQJEDVHGRQWKHDERYHVHWWLQJFRGH  7KHSURMHFWRUUHWXUQVWKHUHVSRQVHFRGH ‘06H’ WRWKH3&

Using the projector default settings (Reset Command)  7KH3&VHQGVWKHIROORZLQJGHIDXOWVHWWLQJFRGHWRWKHSURMHFWRU

Header + Command data (‘06H’ + ‘00H’ + type (2 bytes) + ‘00H’ + ‘00H’)  7KHSURMHFWRUFKDQJHVWKHVSHFL¿HGVHWWLQJWRWKHGHIDXOWYDOXH  7KHSURMHFWRUUHWXUQVWKHUHVSRQVHFRGH ‘06H’WRWKH3&

Increasing the projector setting value (Increment command)  7KH3&VHQGVWKHIROORZLQJLQFUHPHQWFRGHWRWKHSURMHFWRU

Header + Command data (‘04H’ + ‘00H’ + type (2 bytes) + ‘00H’ + ‘00H’)  7KHSURMHFWRULQFUHDVHVWKHVHWWLQJYDOXHRQWKHDERYHVHWWLQJFRGH  7KHSURMHFWRUUHWXUQVWKHUHVSRQVHFRGH‘06H’WRWKH3&

Decreasing the projector setting value (Decrement command)  7KH3&VHQGVWKHIROORZLQJGHFUHPHQWFRGHWRWKHSURMHFWRU

Header + Command data (‘05H’ + ‘00H’ + type (2 bytes) + ‘00H’ + ‘00H’)  7KHSURMHFWRUGHFUHDVHVWKHVHWWLQJYDOXHRQWKHDERYHVHWWLQJFRGH  7KHSURMHFWRUUHWXUQVWKHUHVSRQVHFRGH‘06H’WRWKH3&

When the projector cannot understand the received command :KHQWKHSURMHFWRUFDQQRWXQGHUVWDQGWKHUHFHLYHGFRPPDQGWKHHUURUFRGH‘15H’ LVVHQWEDFNWRWKH3& 6RPHWLPHVWKHSURMHFWRUFDQQRWSURSHUO\UHFHLYHWKHFRPPDQG,QVXFKDFDVH WKHFRPPDQGLVQRWH[HFXWHGDQGWKHHUURUFRGH‘15H’ LVVHQWEDFNWRWKH3&,I WKLVHUURUFRGHLVUHWXUQHGVHQGWKHVDPHFRPPDQGDJDLQ

When the projector cannot execute the received command. :KHQWKHSURMHFWRUFDQQRWH[HFXWHWKHUHFHLYHGFRPPDQGWKHHUURUFRGH‘1CH’ + ‘xxxxH’LVVHQWEDFNWRWKH3&

:KHQ WKH GDWD OHQJWK LV JUHDWHU WKDQ LQGLFDWHG E\ WKH GDWD OHQJWK FRGH WKH SURMHFWRULJQRUHWKHH[FHVVGDWDFRGH&RQYHUVHO\ZKHQWKHGDWDOHQJWKLVVKRUWHU WKDQLQGLFDWHGE\WKHGDWDOHQJWKFRGHDQHUURUFRGHZLOOEHUHWXUQHGWRWKH3&

NOTE‡2SHUDWLRQFDQQRWEHJXDUDQWHHGZKHQWKHSURMHFWRUUHFHLYHVDQXQGH¿QHG command or data. ‡3URYLGHDQLQWHUYDORIDWOHDVWPVEHWZHHQWKHUHVSRQVHFRGHDQGDQ\RWKHUFRGH ‡7KHSURMHFWRURXWSXWVWHVWGDWDZKHQWKHSRZHUVXSSO\LVVZLWFKHG21DQGZKHQWKH ODPSLVOLW,JQRUHWKLVGDWD ‡&RPPDQGVDUHQRWDFFHSWHGGXULQJZDUPXS

8

Page 108
Image 108
Hitachi CP-A200 user manual RS-232C Communication