Sanyo VCC-MD600P, VCC-MD400P, VCC-MD500, VCC-MD300 Communications Protocol, Communications Format

Page 7

Communications Protocol

[1] Communications Format

The communication unit is a 4 (min)-24 (max) byte packet.

Communications Speed:

2400, 4800, 9600, 19200, 38400 9600 bps

(DEFAULT MD800 – 500)

*MD400 and MD300 cannot connect at 38400bps.

 

DEFAULT is 19200bps.

 

 

 

 

 

 

 

 

Data Length:

8 bit

 

 

 

 

 

 

 

 

 

Start Bit:

1 bit

 

 

 

 

 

 

 

 

 

Stop Bit:

1 bit

 

 

 

 

 

 

 

 

 

Parity:None

 

 

 

 

 

 

 

 

 

 

 

Flow Control: None

 

 

 

 

 

 

 

 

 

⁃Packet Format

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Header

Message

Message

Message

 

Checksum

Terminator

 

 

 

0

 

1

 

 

2

 

 

 

 

 

(0xFF)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

⁃Header Format

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

0/1

 

0/1

 

0

 

0

0

 

0

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 7

Bit 6

Bit 5 Bit 4

 

Bit 3

Bit 2

 

Bit 1

 

Bit 0

 

(MSB)

 

 

 

 

 

 

 

 

 

 

 

 

(LSB)

Bit 0-2: Fixed [0] *Reserved bit: Camera address (0-7)

Bit 3: Fixed [0] *Reserved bit: During broadcast transmissions

Bit 4: Fixed [0]

Bit 5: During query commands [0], during settings command [1]

Bit 6: During settings/query [0], during response to query [1]

⁃Terminator Format

 

1

1

1

1

1

1

1

1

 

 

 

 

 

 

 

 

 

 

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

 

(MSB)

 

 

 

 

 

 

(LSB)

Bit 0-7: Fixed [1]

 

 

 

 

 

⁃Message Format

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0/1

0/1

0/1

0/1

0/1

0/1

0/1

 

 

 

 

 

 

 

 

 

 

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

 

(MSB)

 

 

 

 

 

 

(LSB)

Bit 0-6:Refer to the various commands (0-127)Bit 7: Fixed [0]

⁃Checksum Format

0

0/1

0/1

0/1

0/1

0/1

0/1

0/1

 

 

 

 

 

 

 

 

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

(MSB)

 

 

 

 

 

 

(LSB)

Bit 0-6: Take the value that sets the lower 7 bits of the values added from the header to the checksum to 0.

Bit 7: Fixed [0]

⁃Response Command Format

1

1

1

1

0/1

0/1

0/1

0/1

 

 

 

 

 

 

 

 

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

(MSB)

 

 

 

 

 

 

(LSB)

Bit 0-3: ACK(Ah) / NACK(Bh) / ERR(Ch)

Bit 4-7: Fixed [1]

ACK: This is the response when the process of the received command is correctly completed after receiving the data in the correct format.

NACK: This is the response when data is received in an incorrect format.

ERR: Although the data is received in the correct format, this is the response when the process regarding the received command is incorrect or cannot be conducted.

− 6 −

Image 7
Contents Technical Manual VVer Contents Dimensions Parts Names and DimensionsVCC-MD800/700/600/500 Series VCC-MD400/MD300 Series Parts Names and DimensionsConnection Interface Board SpecificationsConnection of the Interface Board and Camera Unit FFC Compliance Input-Output Terminal Layout and SpecificationsExternal Synchronous Signals Input-Output Terminal DescriptionsCommunications Format Communications ProtocolCommunications Flow During Query Command ACKDuring Settings Command During Query Command Other than ACKATW Command List for MD800-500MWB ELS on BLC OFFBLC on ELS OFFSMART1 AGCAGC ON/OFF OFFEeprom Alarm Alarm OUT OFFAlarm OUT on Line OUT OFF OSDCS FF Command List Query for MD800-500− 13 − − 14 − Command List for MD400 − 16 − − 17 − Burst on Level DAY ColorADJ Direct B Command List Query for MD400Model VCC-MD800/700/600/500/400/300 Example Motion Mask Area Settings Figure⁃⁃ Status Command 3 Only MD400 ⁃⁃ Status Command 2 Except for MD300⁃⁃ Status Command 5 Only MD800/700/600/500 ⁃⁃ Status Command 4 Only MD800/700/600/500⁃ ⁃ Status Command 6 Only MD800/700/600/500 ⁃⁃ When setting V-RESO UP to on When unable to set Auto switch setting⁃⁃ When setting Sense UP ⁃⁃ When setting the motion setting to on When unable to setModel Code Communications Protocol ⁃⁃ Direct ⁃⁃ Tele/Wide Function DescriptionsZoom Control Zoom Position ControlWhite Balance Control Focus ControlShutter Speed Control Iris ControlAGC Control Backlight Compensation Aperture 10 Day/Night Switch ControlMotion Detection Area Mask Degree Set Privacy Mask Settings Display Area Ntsc PALSetting the Mask Angle Area Mask Degree Set Details of the Mask Angle and PositionSetting the Mask Position Area Mask Position Set Stabilizer To clarify the image when using the stabilizerFrequency that can be stabilized Auto Pursuit Function Moving Distance Query CommandRS-232C Port Camera Control Command TransmissionCommunications Error Application SoftwareSpectral Sensitivity Characteristics Ntsc system SpecificationsPAL system Change history Change history