
4 VP-790 Protocol - Communication
1.5 UART Connector and UART Configuration
The board UART connector is PL9 or SK18.
PL9 Connector Type: 3-way 0.1” male, mating type 3-way 0.1” female
PL9 Pin SK18 Pin Signal name Function
1 3 RXDA232 RS232 levels, Rx (from the HOST)
2 2 TXDA232 RS232 levels, Tx (to the HOST)
3 5 DGND Ground
Connect the PC’s serial port to the Scaler RS-232 connector using a
9-pin serial extension cable, that is one wired pin-pin with a male connector on one
end and a female on the other. A null-modem or crossover cable should never be
used.
The board UART is configured to the following parameters: Baudrate: 9600; Stop
Bits: 1; Number of Bits in the Byte transmitted and received: 8; Parity: No Parity;
Flow Control: Off
1.6 TCP/IP Communication
The TCP/IP communication protocol is as the RS232 protocol but with all logical
headers omitted. Port 30000 is used. The foregoing brightness example is as
follows:
API Call:
54 50 01 00 00 00 00 00 00 00 00 10 00 00 00 00
50 46 00 68 00 00 00 00 00 00 00 04 7F FF FF FF
Handshake (from Scaler Board): No explicit handshake
API Return:
74 50 01 00 00 00 00 00 00 00 00 0D 00 00 00 00
70 46 00 68 00 00 00 00 00 00 00 01 00
Handshake (from PC): No explicit handshake
Komentarze do niniejszej Instrukcji