5. Execution procedure of RS-232C commands via LAN

When the RS-232C command is executed via LAN, a 32-byte connection certification data must be added before the RS-232C command.

To create a 32-byte certification data, following information and procedure are required.

Random character string for creating the certification data that is acquired from the projector (8 characters).

Network password of the projector (1 to 32 characters).

MD5 hash calculation.

Based on the above, the execution procedures to connect to the projector and send the RS-232C commands are described below.

1. Connect to Port 63007 of the projector from the PC as a TCP/IP client.

2. After completing the connection, send the acquisition request for the certification data (“$AK”) from the PC to the projector.

3. Acquire “$AK******** ” on the PC as the response of the request sent in Step 2. (********: Random character string for creating the certification data)

4. Create the data for the certification on the PC.

Create the key of the certification data by linking the data acquired in Step 3 with the network character string.

For example, when the random character string is 12345678 and the password is ABCD, the key of the certification data is 12345678ABCD (character string in ASCII code).

Run MD5 hash on the key of the certification data.

Create the certification data by converting the hash-calculated 16-byte data into the ASCII code character string.

Example:

Calculation result: [4f][3c][5d][a1][7b][4f][b5][ed][2c][99][4e][bb][f6][57][67][54] (hexadecimal numeral)

Certification data: 4f 3c 5d a1 7b 4f b5 ed 2c 99 4e bb f6 57 67 54 (character string in ASCII code)

5.Send the RS-232C command with the certification data from the PC to the projector. Example:

To send the PON command (00! ) using the certification data created in Step 4: 4f3c5da17b4fb5ed2c994ebbf657675400!

6.Receive the response from the projector on the PC.

Response data has the following patterns.

Normal: 00! (Parameter is added depending on the command.)

Error in the certification data: PRV=ERRA

Command error: 00!:N

PC

Projector

1. Connection

2. Acquisition request of the certification data

3. Receiving of the certification data 4. Creation of the certification data

5. Sending of the RS-232C command 6. Receiving of the response data

You can change the password using the NETWORK PASSWORD in the NETWORK menu. The default password is “admin.”

When you use a LAN function, set the Standby Mode to “LAN”, “Speaker Out” or “Monitor Out”. Refer to the operation manual of the projector for setting the Standby Mode.

10

Page 10
Image 10
Mitsubishi Electronics UD740U manual Execution procedure of RS-232C commands via LAN