Detailed Descriptions of Commands

REC PRESET (DAH+99H)

Sets the requirements for the Recording modes. Parameter bytes to follow to specify the requirements are the same format of those of the return data for REC PRESET SENSE (DAH+C9H).

The time mode and recording cycle cannot be set in combination. If both are specified, the time mode setting has priority, and the recording cycle setting is ignored.

 

bit 7

bit 6

bit 5

bit 4

bit 3

bit 2

bit 1

bit 0

byte 1

1

0

0

0

0

 

REC MODE

 

byte 2

CAMERA8

CAMERA7

CAMERA6

CAMERA5

CAMERA4

CAMERA3

CAMERA2

CAMERA1

byte 3

CAMERA

CAMERA

CAMERA

CAMERA

CAMERA

CAMERA

CAMERA

CAMERA9

 

16

15

14

13

12

11

10

 

byte 4

Thousands of TAPE LENGTH

Hundreds of TAPE LENGTH

byte 5

 

Tens of TAPE LENGTH

 

 

Units of TAPE LENGTH

 

byte 6

0

0

0

0

0

QUALITY MODE

byte 7

Thousands of TIME MODE

 

Hundreds of TIME MODE

byte 8

 

Tens of TIME MODE

 

 

Units of TIME MODE

 

byte 9

 

Tens of REC CYCLE

 

 

Units of REC CYCLE

 

byte 10

Down to the 1st decimal place of REC CYCLE

Down to the 2nd decimal place of REC CYCLE

 

 

 

 

 

 

 

 

 

Example: To set the number of cameras to 16, the tape length to 270 minutes, the image quality mode to HIGH and the time mode to 123 hours for Recording mode 1:

 

EXP-3

 

CMD

DATA

DATA

 

 

DATA

 

DATA

 

RxD

 

DAH

 

 

99H

 

 

 

01H

 

 

 

FFH

 

 

 

FFH

 

 

 

02H

 

 

 

TxD

 

 

0AH

 

 

 

0AH

 

 

 

0AH

 

 

 

0AH

 

0AH

 

 

 

0AH

 

 

 

 

ACK

 

 

 

ACK

 

 

 

ACK

 

 

 

ACK

ACK

 

 

 

ACK

 

 

DATA

DATA

DATA

DATA

 

 

DATA

 

DATA

 

 

 

70H

 

 

02H

 

 

01H

 

 

23H

 

 

 

FFH

 

 

 

FFH

 

 

 

 

 

0AH

 

 

 

0AH

 

 

 

0AH

 

 

 

0AH

 

0AH

 

 

 

0AH

 

 

 

 

ACK

 

 

 

ACK

 

 

 

ACK

 

 

 

ACK

ACK

 

 

 

ACK

 

First byte

Bits 2 to 0: Specify the Recording mode number.

Second and third bytes

Specify the tape length in units of minutes in BCD.

Fourth and fifth bytes

Each bit specifies whether to record the corresponding camera input.

0:Not to record

1:Record

Sixth byte

Specifies the image quality mode.

001:SUPER

010:HIGH

011:MID

100:LOW

111:No change

Seventh and eighth bytes

Specify the time mode in units of hours in BCD. When the time mode is not to be specified, pad both bytes with FFH.

Ninth and tenth bytes

Specify the recording cycle in units of 0.01 second by a BCD code.

When the cycle is not to be specified, pad both bytes with FFH.

ALARM PRESET (0AH+9AH)

Specifies the requirements for alarm recording.

The parameters to be set depend on the mode of alarm recording.

 

bit 7

 

bit 6

bit 5

 

bit 4

bit 3

 

bit 2

 

bit 1

 

bit 0

byte 1

1

 

0

0

 

0

0

 

 

ALARM MODE

 

byte 2

0

 

0

0

 

0

0

 

REC MODE (After Alarm)

byte 3

TAPE END

ALARM

0

 

TIME

 

Hundreds of ALARM OFF TIME

 

OFF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

byte 4

 

Tens of ALARM OFF TIME

 

 

Units of ALARM OFF TIME

 

byte 5

0

 

0

0

 

0

 

Hundreds of PREALARM TIME

 

byte 6

 

Tens of PREALARM TIME

 

 

Units of PREALARM TIME

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Normal mode: The pre-alarm time setting (bytes 5 and 6) is ignored.

Interleave mode: The pre-alarm time setting (bytes 5 and 6) is ignored.

Event mode: The pre-alarm time setting (bytes 5 and 6) is ignored.

Frame mode: The settings of the condition for canceling the alarm recording (bytes 2 and 3) and the pre-alarm time (bytes 5 and 6) are ignored.

Example: To switch to Recording mode 2 upon an alarm input and return to normal recording in 30 seconds:

 

 

EXP-3

CMD

RxD

 

DAH

 

9AH

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TxD

 

 

 

0AH

 

 

 

80H

 

02H

 

10H

 

30H

 

00H

 

00H

 

 

 

 

 

 

ACK

 

DATA DATA DATA DATA DATA DATA

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

First byte

Bits 2 to 0: Specify the mode for alarm recording.

000:Normal mode.

001:Interleave mode

010:Event mode

011:Pre-alarm mode

100:Frame mode

8