PROTOCOL
The communication of the IMV600 is based on a TCP / IP socket with the basic settings:
IP :
192.168.0.60
Mode : server
Port :
4687
The messages consist of 3 bytes: 2 bytes of data and an acknowledgment byte for the GPIOs and an XML
format string for the microphone inputs.
Transmission of IMV600 GPIs
* 1° byte : h '01'
* 2° byte: Status of all GPI
* 3° byte: acknowledgment byte h '69'
Recovery of GPI Status
Recovery of the sensitivity of the inputs.
Rami
GPI 1 = on
=> bit 0 = '1'
GPI 1 = off
=> bit 0 = '0'
GPI 2 = on
=> bit 1 = '1'
GPI 2 = off
=> bit 1 = '0'
GPI 3 = on
=> bit 2 = '1'
GPI 3 = off
=> bit 2 = '0'
GPI 4 = on
=> bit 3 = '1'
GPI 4 = off
=> bit 3 = '0'
GPI 5 = on
=> bit 4 = '1'
GPI 5 = off
=> bit 4 = '0'
GPI 6 = on
=> bit 5 = '1'
GPI 6 = off
=> bit 5 = '0'
GPI 7 = on
=> bit 6 = '1'
GPI 7 = off
=> bit 6 = '0'
GPI 8 = on
=> bit 7 = '1'
GPI 8 = off
=> bit 7 = '0'
* 1° byte: h '08'
* 2° byte: h '00'
* 3° byte: h '69'
Send frame:
* 1° byte: h '07'
* 2° byte: h '00'
* 3° byte: h '69'
Return frame:
* 1° byte: h '07'
* 2° byte: Value
* 3° byte: h '69'
28
Value = 1: Micro level
Value = 2: Line level
IMV600