Vaddio Canon VC-C50i Programmers User Manual

Page 16

Advertising
background image

15

8. Event Generation Notification Function

8.1 Overview of Event Generation Notification Function
This function notifies the computer side about event information generated in the VC-C50i.
The types of notification events can be set by selecting the commands for the event generation
notification function.


8.2 Event Generation Notification Data Format
When an event is generated, the data sent from the VC-C50i to the computer has the following
format.

Header Device

Num Notification

Code Parameter End mark

Header

: 1 byte FBh

Device Num

: 2 byte 3031h~3039h (Device number in cascade connection.)

Notification Code : 2 byte Event generation factor code.
Parameter

: 2 byte Event generation factor parameter.

End mark

: 1 byte EFh


8.3 Event Generation Factor Codes
Commands related to the generated event are set.

Example: When the detection conditions are found with the external sensor input detection set

(74h command) .


d0 d1 d2 d3 d4 d5

d6 d7

Header Device

Num Notification

Code

Parameter End

mark

FBh 30h 3Xh 00h 74h 30h 30h EFh

The external sensor input detection setting command is set.

Advertising