Page 1
Datavideo SE-2850 RS-422 Control Protocol...
Page 2
CONTROL DATA TRANSMISSION VIA RS-422 BETWEEN THE MASTER DEVICE AND THE SLAVE DEVICES 1. GENERAL The universal rules of control data transmission for the Devices equipped with RS- 422 are defined by this protocol. One or several slave Devices can be connected to the interface bus at any moment. Only the Master may initiate transmission via the bus.
2. BLOCK STRUCTURE Each of the blocks contains the sync sequence, address subblock, ID subblock, length subblock, payload subblock (if needed) and the check-sum subblock (CRC). 2.1. The sync subblock consists of the bytes 0E2h and 0E4h; they are transmitted in the beginning of any block.
Page 4
The instruction is used for filling a page buffer of an EEPROM before those data shall be stored in the given EEPROM. It is necessary to point out that the address pointer must be set with the address of the target page before the first use of this instruction.
Page 5
2.3.1.7. 006h — read the service memory of the Device beginning with the current address. The number of the bytes to be read is transmitted as the argument for this instruction. The payload subblock of the response block carries the requested number of the bytes retrieved from the service memory.
Page 6
be inaccessible to the data exchange with the PC during the next 5 seconds or less;; 2.3.1.12. 00Bh – local time update. 3 bytes are transmitted as the arguments: clocks, minutes and seconds in the binary code. The device status is sent back in the response block (see 3.);...
Page 7
2.3.1.21. 022h — indication request instruction. The instruction in transmitted without arguments. .The device status (6 bytes) is sent back in the response block (see 3.) followed by the indication array. The structure of the indication array is described in the Mandatory Annex 2 of the current Protocol. The LEDs codes are listed in the recommended Annex 5 of the current Protocol;...
2.6. CRC are the last 2 bytes of a control block or a response block. They are transmitted the lower byte ahead. All the block's bytes are convolved (except the CRC bytes) for the calculation of the CRC. The block is supposed to be received error free when the convolution of the received block's bytes together with the received CRC bytes results in the value 0000h.
Page 9
- bit 1 is set to"1" - the device is executing a process, the device may be expecting the instructions of the pressed button code at the moment; - bit 2 is set to "1"- the device is executing a process, the instruction of the T-bar position code cannot be executed at the moment;...
Page 12
MANDATORY ANNEX 2 INDICATION ARRAY STRUCTURE The indication array is 64 bytes long. Each byte carries information on the state of 4 indication LEDs, 2 adjacent bits per 1 LED. The state is described as follows: 00- LED is off; 01- LED is on with low brightness;...
Page 13
MANDATORY ANNEX 3 CRC CALCULATION CRCL and CRCH are the bytes for the 16-bit control word (herein the Annex 3 it may be called check sum). All the bytes except the last 2 bytes from a block are used to calculate the check sum.
Page 18
KeyFS 0x41 KeyFSRelease KeyFS+0xa0 KeyInp9Prog 0x42 KeyInp10Prog 0x43 KeyInp11Prog 0x44 KeyInp12Prog 0x45 Note. The codes which are named as "KeyXXXRelease" are the buttons release codes, the rest are the buttons press codes.
Page 19
THE LED CODES OF THE SE2850 DEVICE ANNEX 5 1. LEDs for the button indication have the following codes: the press code of the corresponding button -1; 2. The T-bar end indication LEDs have the following codes: upper LED - 0x2c lower LED - 0x2d...
ETHERNET PROTOCOL The transport layer is different - instead of RS-422, Ethernet is used. Physical layer is Ethernet 100BASE-T. Transport layer is TCP/IP. PC application should open TCP connection to port 9000 and IP address of SE2850. PC application when acts as "Master" and SE28500 as "Slave" for the logical layer described in the document above.
Need help?
Do you have a question about the SE-2850 and is the answer not in the manual?
Questions and answers