*+,;,
VISUAL COMMUNICATION SYSTEMS
Vid e o Visua lize r
RE-350
RE-350
Control Interface Commands
v1.0
Download from Www.Somanuals.com. All Manuals Search And Download.
1.0 Op e ra tions a nd Func tions
1.1 Panel Diagrams
Operation Panel
BACK
LIGHT
RS-232
CONTROL
POWER
LIGHTS
INPU
T
NEGA
SEL
FOCUS
ECT
WHITE BALANCE
DETAIL
EXPOSURE
B/W
MANUAL
LOCAL
CONTROL
DISABLED
MANUAL
AUTO
WIDE
TELE
AUTO
NEAR
FAR
-
+
RED
BLUE
SOFT HARD
8
11
2
4
5
7
9
10
12
13
14
15
16
1
3
6
Rear Panel
Audio
R
Video
RGB OUT
S-Video
EXT
G
RS-232C
L
L
R
AC Outlet
OUT
IN
AC Inlet
OFF
75Ω
SYNC
ON
ON
R
24/96
100/60
ID/0
B
ID/1
OFF
SYNC
22
21
29
24
25 26 27
28
30
31
23
Side Panel
1 2
3
4
H
SC
MIC
MIC LEVEL
PHASE
33
35
36
34
37
32
3
Download from Www.Somanuals.com. All Manuals Search And Download.
1.2 Description of the Front and Rear Panel Functions
Button/
Control Knob
Function
Key
Switches the mode from [ON-LINE] Mode to [OFF-LINE] Mode or from [OFF-LINE]
Mode to [ON-LINE] Mode.
In the [OFF-LINE] Mode the RE-350 will send the “Event Data Packet” for ‘Request
on line’. In the [ON-LINE] Mode or [NOTIFICATION] Mode the RE-350 will send the
“Event Data Packet” for ‘Request off line’.
RS-232
2
†
CONTROL
(Button)
[OFF-LINE] Mode
The RE-350 will reject the RS-232 commands from the PC except for the [ON-LINE]
Mode command or the [NOTIFICATION] Mode command. The RE-350 should be set
to [OFF-LINE] Mode when it is to be controlled from the front panel. The RS-232
LED will be off.
[ON-LINE] Mode
The RE-350 will reject every input from the front panel except from the {RS-232
Control}† button and will accept only RS-232 command data packets from the PC.
The RS-232 LED will be on.
[NOTIFICATION] Mode (Used in [ON-LINE] Mode only.)
The RE-350 reports the condition of each button/ control knob pressed to the PC
using the “Event Data Packet”. Each RE-350 function will be controlled by the
“Command Data Packet” from the PC.
The only function which can respond is manual operation of the {RS-232} button.
Selects the input video signal or document camera signal to send to the video output
terminal (Composite Video and S-video).
INPU T
SELECT
(Button)
3
Negative/ Positive conversion toggle button. Toggles the video output between
positive and negative.
NEGA
(Button)
4
5
Press to set the white balance automatically. This tries, for 6 seconds, to find a proper
white balance position, if the proper position is not found, the White Balance Auto
LED will be turned off to show that no proper white balance position was found.
Note: The RE-350 will Auto White Balance once at start-up.
WH ITE BAL.
AU TO
(Button)
Adjusts the color balance.
WH ITE BAL.
MANU AL
(Control Knob)
6
The resulting auto white balance position will be used as the center value for this
control knob. The color will shift to blue when this control knob is turned right, and
to red when turned left. This control knob will operate under Positive and Negative
mode. This control knob does not work while the RE-350 is auto focusing.
†
The {RS-232 Control} button will be referred to as the {RS-232} button.
4
Download from Www.Somanuals.com. All Manuals Search And Download.
Button/
Control Knob
Function
Key
B/ W (Button)
Toggles the video output between color and black & white.
7
8
Adjusts the sharpness of the output video image. Turning to the right sharpens the
image and turning to the left softens the image.
Detail
(Control Knob)
Adjusts the exposure control. The RE-350 has an auto-IRIS function. If any
adjustment is necessary, the exposure can be changed. Turning it to the right makes
the image brighter and turning it to the left makes it darker.
9
EXP
(Control Knob)
One Time Focus Adjustment
FOCU S AU TO
10
When this button is pushed, the RE-350 starts to find the best focal point. Once the
best focal point is successfully found, the RE-350 will stop the focus lens at that
point. If the RE-350 cannot find the best focal point in 6 seconds, the RE-350 will
stop the search operation and turn off the Focus LED.
(Button)
While this button is being pushed, the RE-350 moves the focus lens towards the
NEAR focus point. If the button is released or the focus lens arrives at it's maximum
focal point, the RE-350 will stop its focus lens adjustment.
FOCU S NEAR
11
12
13
(Button)
While this button is being pushed, the RE-350 moves the focus lens towards the
FAR focus point. If the button is released or the focus lens arrives at it's maximum
point, the RE-350 will stop its focus lens adjustment.
FOCU S FAR
(Button)
While this button is being pushed, the RE-350 moves the zoom lens in the WIDE
zoom direction. If the button is released or the zoom lens arrives at the maximum
point, the RE-350 stops it's zoom lens movement.
ZOOM WIDE
(Button)
If this button continues to be pressed for longer than one second, the speed of the
zoom lens is accelerated.
While this button is being pushed, the RE-350 moves the zoom lens in the TELE
zoom direction. If the button is released or the zoom lens arrives at the maximum
point, the RE-350 stops it's zoom lens movement.
ZOOM TELE
14
(Button)
If this button continues to be pressed for longer than one second, the speed of the
zoom lens is accelerated.
Preheats, then turns on the document lights. The white balance will be adjusted
once. If the backlight is on, it will be automatically turned off when the document
light button is pressed.
15
16
LIGH TS
(Button)
Turns on the backlight. The white balance will be adjusted once. If the document
lights are on, they will be automatically turned off when the backlight button is
pressed.
BACKLIGH T
(Button)
5
Download from Www.Somanuals.com. All Manuals Search And Download.
Button/
Control Knob
Function
Key
External audio input (10 kΩ) RCA terminal 3 dB ~ -12 dB
Audio output (1kΩ)
Audio
In/ Out
21
22
23
Composite video input (BNC terminal 75Ω)
Composite video output (BNC terminal 75Ω)
C-Video
In/ Out
S-video in (S-DIN connector 75Ω)
S-video out (S-DIN connector 75Ω)
S-Video
In/ Out
RGB signal (BNC terminal 75Ω): B/ W mode is not available when using RGB out.
G-signal will have a sync when the {Sync on/ off} switch is on.
RGB OU T
24
25
While {Sync on/ off} switch is off, this BNC terminal will have a synchronization
signal 4.0 V ±0.8 Vp-p.
Sync On/ Off
75Ω On/ Off
Ext
External Synchronization signal impedance sets.
26
27
A referencing video signal input terminal for genlock function. (BNC terminal)
RS232C serial communication terminal (2400 bps or 9600 bps) to receive control
commands from a PC or other control box.
RS232C I/ F
28
Digital Switches
AC Output
AC Input
(See page 7 for full explanation.)
29
30
31
120 V AC output with 3 pin (2 signal and Ground) terminal.
120 V AC input terminal.
6
Download from Www.Somanuals.com. All Manuals Search And Download.
Button/
Control Knob
Key
Function
Sets the electronic shutter speed, RS232C communication bit rate and ID number of
the RE-350.
Digital Switches
29
[RS232C communication speed]
Communication Speed
9600 bps
Switch 1
0
1
2400 bps
[Electronic shutter speed]
Switch 2
0
Shutter Speed
1/ 60 sec
1
1/ 100 sec
[Identification number (ID)]
Switch 3
0
Switch 4
ID Number
0
0
1
1
0
1
0
1
1
2
3
Note:
The electronic shutter speed will be updated as soon as the digital switch is set.
The communication speed switch and ID number switch will be updated only when
the main power is turned on.
The 1/ 100 sec electronic shutter can reduce the flicker effect caused by a 50 hz
power supply.
7
Download from Www.Somanuals.com. All Manuals Search And Download.
Button/
Control Knob
Function
Key
Audio
Controls the audio output level.
32
Volume
(slider)
Audio Input
33
34
450 ~1200 Ω (Level: -20db ~ -68 dB at 1Khz signal)
1 : 0 degree shift
2: 90 degree shift
SCp90°
(switch)
3: 0 degree shift
4: 180 degree shift
SCp180°
35
36
(switch)
Sub-carrier phase will be adjustable 0 ~ 90 degree by this knob.
SCp
(Control Knob)
Adjust the H orizontal video output phase (0 ~ 2µ sec) on the base of the external
signal.
38
H p
(Control Knob)
8
Download from Www.Somanuals.com. All Manuals Search And Download.
1.3 Operational Procedures Overview
1.3.1 Procedure for using the Front Panel
RE-350's Condition and LED Status
Order
Operations
With the shutter speed
switch, set the proper
shutter of the RE-350.
1
2
Turn on the main power. 1. The power LED on the RE-350 will be turned on
2. Automatically the RE-350 will be initialized.
3. The White Balance will be adjusted automatically and the White balance
LED will blink while finding a proper white balanced setting. If the RE-
350 can not find a proper setting, the White Balance LED will be off, if
setting is found, the LED will be on.
4. The RE-350 will start to find the point of focus, the Auto Focus LED will
be blinking. Once the appropriate point of focus is found, the Auto Focus
LED will be on, if not, the LED will be off.
3
4
Operate designated
switches.
The RE-350 will operate according to the condition of the switches.
Turn off the main power. The RE-350 will be turned off and every LED will be off.
9
Download from Www.Somanuals.com. All Manuals Search And Download.
1.3.2 Procedure for U sing the RS-232C Serial Interface
Operations
RE-350's Condition and LED Status
Order
With the shutter speed switch, set the
shutter of the RE-350.
1
Set an ID number for this RE-350 using
the DIP switches on the rear panel.
2
3
4
5
6
Set communication speed for RS-232C I/ F
with the DIP switches on the rear panel.
Properly connect the RE-350 to the PC
with an approved serial cable.
Turn on the PC. (This operation may be
done after the RE-350 is turned on.)
Turn on the main power of the RE-350.
1. The power LED on the RE-350 will be turned on
2. Automatically the RE-350 will be initialized.
3. The White Balance will be adjusted automatically and the
White Balance LED will blink while finding a proper
white balanced setting. If the RE-350 can not find a
proper setting, the White Balance LED will be off, if
setting is found, the LED will be on.
4. The RE-350 will start to find the point of focus, the Auto
Focus LED will be blinking. Once the appropriate point
of focus is found, the Auto Focus LED will be on, if not,
the LED will be off.
Set the RE-350 to [ON-LINE] Mode.
In order to put the RE-350 in [ON-LINE]
Mode, the following two methods will be
available:
7
1. Push the {RS-232} button
on the front panel.
1. The RE-350 will send Request On Line event data to the
PC, the RS-232 LED will blink.
2. After the reception of <Accepted> E-response data, the
RE-350's status shifts to [ON-LINE] Mode and the RS-
232 LED will turn on. If the RE-350 receives <Denied>
E-response data, the RE-350 remains in [OFF-LINE]
Mode and turns the RS-232 LED off.
(Refer to Section 2.5)
2. The PC sends an [ON-LINE]
or [NOTIFICATION] command.
The RE-350 responds with C-response data and its status
shifts to the requested mode and turns the RS-232 LED on.
10
Download from Www.Somanuals.com. All Manuals Search And Download.
Operations
RE-350's Condition and LED Status
Order
8
Send designated commands to the RE-350 The RE-350 will operate according to the given
for control.
commands. (Refer to Section 2.0)
9
Set the RE-350 to [OFF-LINE] Mode.
In order to put the RE-350 in [OFF-LINE]
Mode, the following two methods will be
available:
1. Push the {RS-232} button on
the front panel.
1. The RE-350 will send Request Off Line event data to
the PC and the RS-232 LED will blink.
2. After the reception of <Accepted> E-response data, the
RE-350's status shifts to [OFF-LINE] mode and the RS-
232 LED will turn off. If the RE-350 receives <Denied>
E-response data, the RE-350 stays in [ON-LINE] Mode
and the RS-232 LED remains on.
If the PC does not respond in one second with E-
response data, the RE-350 will repeat Request Off Line
event data up to twice and if still no E-response data,
the RE-350 stays in [ON-LINE] Mode and maintains RS-
232 LED on. (Refer to Section 2.5)
2. The PC sends the [OFF-LINE]
command to the RE-350.
The RE-350 responds with C-response data and it shifts to
[OFF-LINE] Mode and the RS-232 LED turns off.
10
Turn off the main power on the RE-350.
The main power of the RE-350 will be off and every LED
will be off.
11
Download from Www.Somanuals.com. All Manuals Search And Download.
1.3.3 Procedure for U sing the Control Knobs
Mode
[OFF-LINE] Mode
Meaning
Adjusting the value of each control knob.
The physical position of each control knob on the front panel is used to measure and
adjust it's respective value.
Setting the center target value for Auto-White Balance.
The physical position of the white balance control knob will be used as the center
value to measure and adjust the white balance.
[ON-LINE] Mode
Adjusting the value of each control knob.
The physical position of each control knob on the front panel will be disregarded
and the value of the “command data packet” from the PC will be used to measure
and adjust the control knob's respective value.
Setting the center target value for Auto-White Balance.
The control knob's physical position will be saved into the Auto-White Balance
position buffer when the RE-350 shifts to [ON-LINE] Mode. If the PC gives the
proper command data to set the Auto-White Balance control knob's position, the
buffer data will be updated.
[NOTIFICATION] Mode
Adjusting the value of each control knob..
The physical position of each control knob on the front panel will be disregarded
and the value of the “command data packet” from the PC will be used to adjust the
control's respective value.
Setting the center target value for Auto-White Balance
The control knob's physical position will be saved into the Auto-White Balance
position buffer when the RE-350 shifts to [ON-LINE] Mode. If the PC gives the
proper command data to set the Auto-White Balance control knob's position into
the buffer, the given data will be updated.
Note:
When the mode of the RE-350 shifts from [ON-LINE] Mode or [NOTIFICATION] Mode to [OFF-LINE] Mode, the
center target value for Auto-White Balance will be changed from the value in the Auto-White Balance control knob
position buffer to the physical position of the Auto-White Balance control knob automatically. The manual white
balance data given from the PC will be disregarded.
12
Download from Www.Somanuals.com. All Manuals Search And Download.
1.3.4 Procedure for U sing the {RS-232} Button
Function of {RS-232} button
By pressing this button, toggles the RE-350's RS232C I/ F from active to inactive for communication with the PC or
another controller device.
Once the RE-350 detects that the {RS-232} button was pressed, the RE-350 will send an Event data packet to the PC
through the RS232C I/ F to tell the PC that the operator is trying to change the mode.
The Event data packet will differ according to the RE-350's current mode.
The Kind of Event-data-packet
LineRequest ON Line
Current Mode
OFF
ON
LineRequest OFF Line
Request OFF Line
Notification
Note:
1. The RE-350 will shift its mode after the RE-350 receives an <Accepted> E-response data from the PC.
The RE-350 can not shift its mode to [NOTIFICATION] Mode directly. In order to set RE-350 to [NOTIFICATION]
Mode, the PC has to give the <Notification> command to the RE-350 while in [O
N
LINE] Mode.
2. After the {RS-232} button is pressed and before the mode of the RE-350 is determined, the RE-350 will be in a
mode transition. To tell this transition status to the operator, the RE-350's RS-232 LED will blink. While the RE-350
is in this transition, every button, control knob or command from the PC, will be disregarded.
13
Download from Www.Somanuals.com. All Manuals Search And Download.
1.4 The Default Setting of Each Function After Power-On
Function
Communication mode
Input signal selection
Nega/ Posi
Default Setting
[OFF-LINE] Mode
Document Camera
Positive
White Balance
Color / B&W
Focus
Locked at the proper white balance
Color
Stopped at the maximum focus point
Zoom
Stopped
Document lights
Back light
Off
Off
Electronic shutter speed
Communication speed
ID number
Depends upon the setting of the digital switches
Depends upon the setting of the digital switches
Depends upon the setting of the digital switches
1.5 The Meaning of Each LED Status
Meaning
LED
Status
RS-232
on
off
Communication mode is [ON-LINE] or [NOTIFICATION] Mode.
Communication mode is [OFF-LINE] Mode.
blink
on
off
blink
on
off
blink
on
off
blink
on
off
blink
on
off
blink
on
off
Communication mode is transferring.
External Video signal is selected.
Document camera signal is selected.
N.A.
3 H z
INPUT SELECT
NEGA
Negative video signal is output.
Normal video signal is output.
N.A.
WH ITE BALANCE
AUTO
The auto-white balance was adjusted successfully.
The auto-white balance could not be adjusted.
Auto-white balance is being adjusted.
Output video signal is black and white.
Output video signal is color.
N.A.
3 H z
B/ W
FOCUS AUTO
LIGH TS
Auto focusing was done successfully.
Auto focusing failed or is in manual focusing mode.
Auto focus is being adjusted.
Document Lights are on.
Document Lights are off.
Document lights are being preheated.
Backlight is on.
3 H z
3 H z
blink
on
BACKLIGH T
off
Backlight is off.
blink
N.A.
14
Download from Www.Somanuals.com. All Manuals Search And Download.
1.6 Control Protocol
RS-232C Interface Connection
Transmission Mode .................................................Full Duplex
Transfer Speed .........................................................9600 bps or 2400 bps
Start Bit ..................................................................1 bit
Data Bit ..................................................................8 bit
Parity ......................................................................0 bit
Stop Bit ...................................................................2 bit
H andshake ..............................................................RTS/ CTS flow control
Others .....................................................................One response per Command
Note: RS-232C hand shake control signals originate from the PC side (DTE) in this document. In this docu-
ment, hexadecimal data will be defined with “$” in front of a number or “h” in back of a number.
1.7 Packet Discrimination Code Assignment
H exadecimal
Function
10h .........................................................................“Command Data Packet”
A0h .........................................................................“C-response Data Packet”
20h .........................................................................“Event Data Packet”
B0h .........................................................................“E-response Data Packet”
30Fh ....................................................................... “FP Data Packet”
Every data packet consists of 5 bytes of data.
If the RE-350 receives another kind of data packet which will be described below, the RE-350 will disregard the data
packet and while the RE-350 recognizes the data packet is incorrect, the RE-350 will inactivate the CTS signal line to
the PC.
ID number
Each RE-350 can have an individual ID number, (0,1,2 or 3), which will be set by digital switches 3 and 4 on the rear
panel. The RE-350 will neglect the command data packet which has a different ID number. The PC can recognize
which RE-350 responds.
Parameter
Each data packet has this parameter. If the data packet does not need the parameter, the content should be set by
$0000.
15
Download from Www.Somanuals.com. All Manuals Search And Download.
1.8 Data Packet Configuration
Control Command Packet Format (PC —> RE-350)
The PC can request an operation from the RE-350 using this command.
H eader
ID number
Command number
Parameter
10h
* *h
* *h
MSH
LSH
C-Response Data Packet Format (PC <— RE-350)
The PC can determine whether the RE-350 could perform and finish an operation command given to it by the PC or
failed to perform the operation command given to it by the PC.
H eader
ID number
Response number
Parameter
MSH
A0h
* *h
* *h
LSH
Event Data Packet Format (PC <— RE-350)
When the RE-350's {RS-232} button is pushed, the RE-350 will send this packet to the PC.
H eader
ID number
Event number
Parameter
20h
* *h
* *h
MSH
LSH
E-Response Data Packet Format (PC —> RE-350)
When the PC receives the “Event Data Packet” from the RE-350, the PC should respond to the
RE-350 with this data packet.
H eader
ID number
Response number
Parameter
MSH
B0h
* *h
* *h
LSH
FP Data Packet Format (PC <— RE-350)
In [NOTIFICATION] Mode, the RE-350 can notify the PC of the condition of each button and LED using this data
packet.
H eader
ID number
FP data number
Parameter
MSH
30h
* *h
* *h
LSH
16
Download from Www.Somanuals.com. All Manuals Search And Download.
1.9 The Operational Flow Chart
There will be three kinds of communication flow between the RE-350 and the PC as follows:
Flow Pattern 1: Command Communication Flow Pattern
This flow will be applied when the PC sends a command to the RE-350 to request an operation.
RE-350
PC
Command
The RE-350 is under operation.
C-response
Flow Pattern 2: Event Packet Flow Pattern
This flow will be applied when the RE-350 sends an “Event Data Packet” to the PC to tell that the {RS-232}
button on the operation panel was pressed.
RE-350
PC
Event Data Packet
The PC is under
operation for this data.
E-response
17
Download from Www.Somanuals.com. All Manuals Search And Download.
Flow Pattern 3: [NOTIFICATION] Mode Flow Pattern
This flow is applied when the RE-350 is in [NOTIFICATION] Mode to tell the PC the condition of the
buttons and control knobs on the front panel of the RE-350.
PC
RE-350
FP Data Packet
The PC will compare the
current FP data with the
previous FP data to recog-
nize which button's or
control knob's status has
changed. If there is any
difference, the PC sends a
command to the RE-350 to
request the operation
defined by the difference in
FP data value.
Command
RE-350 is under operation
C-response data
18
Download from Www.Somanuals.com. All Manuals Search And Download.
2.0 Control Com m a nd a nd Pa c ke t Ta b le s
2.1 Camera Control Commands Table
Ma ximum
operation
time(ms)
2 byte
ID number
1 byte
Header
3 byte
Command
5 byte
Param(L)
4 byte
Param(H)
Na m e
#
De sc rip tion
Zoom
1
2
3
4
5
6
7
8
9
Co ns-Sp d wid e Zo o m
Ste p wid e Zo o m ing
Co ns-Sp d Te le Zo o m
Ste p Te le Zo o m ing
Sto p Zo o m ing
Hig h sp e e d Wid e zo o m
Ste p fe e d wid e zo o m ing
Hig h sp e e d Te le zo o m
Ste p fe e d te le zo o m ing
Sto p zo o m ing m o to r
500
2000
500
$10
$10
$10
$10
$10
$10
$10
$10
$10
$8*
$8*
$8*
$8*
$8*
$8*
$8*
$8*
$8*
$00
$00
$01
$01
$02
$03
$04
$05
$06
$01
$03
$01
$03
$00
$00
$00
$00
$00
$00
$00
$00
$00
$00
$**
$00
$00
$00
2000
500
Ac c e ss-to -Zo o m
Re q ue st Zo o m
Wid e Zo o m w/ AF †
Te le Zo o m w/ AF †
Foc us
Ac c e ss to a Zo o m Po sitio n
Re q ue st Zo o m p o sitio n
Hig h sp d Wid e zo o m w/ AF
Hig h sp d Te le zo o m w/ AF
9000
100
500
500
10
11
12
13
14
15
OP AF
Op e ra te a uto fo c us
Hig h sp e e d fo c us ne a r
Ste p fe e d fo c us ne a r
Hig h sp e e d fo c us fa r
Ste p fe e d fo c us fa r
Sto p the a uto fo c us
20000
500
$10
$10
$10
$10
$10
$10
$8*
$8*
$8*
$8*
$8*
$8*
$10
$12
$12
$13
$13
$14
$00
$01
$03
$01
$03
$00
$00
$00
$00
$00
$00
$00
Co ns-Sp d fo c us ne a r
Ste p fo c us ne a r
Co ns-Sp d fo c us fa r
Ste p fo c us fa r
Sto p fo c using
2000
500
2000
500
Color
16
17
18
19
20
21
22
23
OP AWB
Op e ra te Auto White Ba l.
Ac c e ss to a WB p o sitio n
Ac c e ss to a EXP p o sitio n
Ac c e ss to a De ta il p o sitio n
Se t p o sitive ima g e m o d e
Se t ne g a tive ima g e m o d e
Se t Co lo r o utp ut m o d e
Se t B/ W o utp ut m o d e
7000
500
500
500
500
500
500
500
$10
$10
$10
$10
$10
$10
$10
$10
$8*
$8*
$8*
$8*
$8*
$8*
$8*
$8*
$20
$22
$2A
$30
$38
$38
$40
$40
$00
$00
$00
$00
$00
$01
$00
$01
$00
$**
$**
$**
$00
$00
$00
$00
Ac c e ss to WB
Ac c e ss to EXP
Ac c e ss to De ta il
††
Se t Po sitive m o d e
††
Se t Ne g a tive m o d e
Se t Co lo r m o d e
Se t B/ W m o d e
†
The RE-350 responds with a C-response data packet immediately after the reception of this command, but it is
still working on the Zoom control and AF adjustment.
The RE-350 responds with a C-response data packet immediately after the reception of this command, but it is
still working on the AWB adjustment.
††
19
Download from Www.Somanuals.com. All Manuals Search And Download.
2.2 System Control Commands Table
Ma ximum
operation
time(ms)
2 byte
ID number
1 byte
Header
3 byte
Command
5 byte
Param(L)
4 byte
Param(H)
Na m e
#
De sc rip tion
Se le c t Inp ut Sig na l
1
2
Se le c t Do c um e nt Vid e o Outp ut Ca m e ra sig na l
500
500
$10
$10
$8*
$8*
$50
$50
$00
$01
$00
$00
Se le c t Exte rna l vid e o
Outp ut Exte rna l sig na l
Lig ht on/ off Control
††
3
4
5
6
Lig hts On
Turn Lig ht On
500
500
500
500
$10
$10
$10
$10
$8*
$8*
$8*
$8*
$58
$58
$59
$59
$00
$01
$00
$01
$00
$00
$00
$00
Lig hts Off ††
Turn Lig ht Off
††
Ba c klig ht On
Turn Ba c klig ht On
Turn Ba c klig ht Off
Ba c klig ht Off ††
LED
7
8
9
LED No rma l
LED On
Se t LED Co nd itio n No rma l
Turn LED On
500
500
500
500
$10
$10
$10
$10
$8*
$8*
$8*
$8*
$68
$69
$6A
$6B
$**
$**
$**
$**
$00
$00
$00
$00
LED Off
Turn LED Off
10 LED Blink
Com munic a tion Control
Blink LED
11 OFF Line
Se t to [OFF LINE] Mo d e
Se t to [ON LINE] Mo d e
Se t to [No tific a tio n] Mo d e
500
500
500
$10
$10
$10
$8*
$8*
$8*
$70
$70
$70
$00
$01
$02
$00
$00
$00
12 ON Line
13 No tific a tio n
Sta tus Re q ue st
14 Sta tus o f Gro up A
15 Sta tus o f Gro up B
16 Sta tus o f Butto n
17 Sta tus o f WB Co ntro l
18 Sta tus o f EXP Co ntro l
19 Sta tus o f De ta il Vo l.
20 Sta tus o f AWB Re sult
21 Na m e o f Eq uip m e nt
22 Ve rsio n o f ROM
Se t to Sp e c ia l Mod e
Re q ue st Sta tus Gro up A
Re q ue st Sta tus Gro up B
Re q ue st Butto n c o nd itio n
Re q ue st WB vo l. p o sitio n
Re q ue st EXP vo l. p o sitio n
Re q ue st De ta il vo l. p o sitio n
Re q ue st AWB re sult d a ta
Re q ue st Na m e o f e q uip .
Re q ue st ROM ve rsio n
100
100
100
100
100
100
100
100
100
$10
$10
$10
$10
$10
$10
$10
$10
$10
$8*
$8*
$8*
$8*
$8*
$8*
$8*
$8*
$8*
$80
$80
$81
$82
$82
$82
$83
$88
$88
$00
$01
$00
$00
$01
$02
$00
$00
$01
$00
$00
$00
$00
$00
$00
$00
$00
$00
23 Se t to Te m p o ra ry Mo d e Se t to te m p . m o d e
100
100
100
$10
$10
$10
$8*
$8*
$8*
$F0
$F1
$F1
$00
$FF
$FF
$00
$FF
$00
24 Se t to Se rvic e Mo d e
25 Se t to Da ta Re a d Out
Se t to se rvic e m o d e
Se t to d a ta re a d m o d e
††
The RE-350 responds with a C-response data packet immediately after the reception of this command, but it is
still working on the AWB adjustment.
20
Download from Www.Somanuals.com. All Manuals Search And Download.
2.3 C-response Data Packet Table
C-re sp onse De sc rip tion
1 byte
He a d e r
2 byte
ID #
3 byte
4 byte
5 byte
Re sp onse Pa ra (H) Pa ra (L)
Re sp o nse witho ut p a ra m e te r
Re a d Zo o m p o sitio n
Sta tus o f G ro up A
$A0
$A0
$A0
$A0
$A0
$A0
$A0
$A0
$A0
$A0
$A0
$A0
$A0
$A0
$8*
$8*
$8*
$8*
$8*
$8*
$8*
$8*
$8*
$8*
$8*
$8*
$8*
$8*
$00
$10
$20
$21
$30
$40
$41
$42
$43
$48
$49
$F0
$F0
$F0
$00
$00
$**
$**
$**
$00
$00
$00
$00
$**
$**
$00
$00
$00
$00
$**
$**
$00
$**
$**
$**
$**
$**
$**
$**
$00
$01
$02
Sta tus o f Gro up B
Sta tus o f Butto n
Sta tus o f WB c o ntro l kno b
Sta tus o f EXP c o ntro l kno b
Sta tus o f De ta il c o ntro l kno b
Sta tus o f AWB re sult
Na m e o f the Eq uip m e nt
Ve rsio n o f ROM
Syste m Erro r
Mo d e Erro r
Tim e o ut e rro r
System error response
If the RE-350 has a fatal error which it cannot recover from while performing a command from the PC, the RE-350
will send this response and stop the current operation.
Mode error response
Depending on the mode, [ON-LINE] or [OFF-LINE], the RE-350 may not be able to execute some commands. In this
case, the Mode error response will be sent to the PC.
For Example: If the RE-350 is in the [OFF-LINE] Mode and the <Zoom Wide> command is issued, the RE-350 will
give a Mode error response because in this mode such a command cannot be executed.
Time out error response
When the RE-350 is given the command <OP AF> or <OP AWB> from the PC and it tries to perform the command
but cannot finish the operation successfully in an expected period, this error is given.
21
Download from Www.Somanuals.com. All Manuals Search And Download.
2.4 Event Data Packet Table
Eve nt De sc rip tion
1 byte
He a d e r
2 byte
ID #
3 byte
4 byte
5 byte
EVENT# Pa ra (H) Pa ra (L)
Re q ue st ON Line
Re q ue st OFF Line
$20
$8*
$00
$00
$00
$01
$00
$00
$20
$8*
Request ON line
When the {RS-232} button on the front panel is pushed and the RTS signal line from the PC is on, the RE-350 will
send this “Event Data Packet” to the PC. If the RE-350 can receive the <Accepted> of the “E-response Packet” in 1
second, the RE-350’s mode will switch to [ON-LINE]. If not or no E-response after repeating the above “Event data
packet” twice, the RE-350 will stay in [OFF-LINE] mode.
Request OFF line
When the {RS-232} button on the front panel is pushed to try to set the RE-350 to [OFF-LINE] Mode and the RTS
signal line from the PC is on, the RE-350 will send this “Event Data Packet” to the PC. If the RE-350 can receive the
<Accepted> of the “E-response packet”, the RE-350’s mode will shift to the [OFF-LINE] Mode. Also, if there is no
response from the PC, then the RE-350's mode changes to [OFF-LINE].
22
Download from Www.Somanuals.com. All Manuals Search And Download.
2.5 E-response Data Packet Table
E-re sp onse De sc rip tion
1 byte
He a d e r
2 byte
ID #
3 byte
4 byte
5 byte
EVENT# Pa ra (H) Pa ra (L)
Ac c e p te d
De nie d
$B0
$B0
$8*
$8*
$00
$00
$00
$01
$00
$00
Accepted
When the PC receives an “Event Data Packet” (‘Request ON line’ or ‘Request OFF line’) from the RE-350, the PC
should send this E-response packet back to the RE-350 to tell that the PC can disconnect from or connect to the RE-
350. After the RE-350 receives this request, it takes one second to complete.
Denied
When the PC receives an “Event Data Packet” (‘Request ON line’ or ‘Request OFF line’) from the RE-350, and the PC
cannot accept this request, the PC should send this response packet to the RE-350. After the RE-350 receives this
request, it takes one second to complete.
23
Download from Www.Somanuals.com. All Manuals Search And Download.
2.6 FP Data Packet Table
FP d a ta d e sc rip tion
1 byte
He a d e r
2 byte
ID #
3 byte
4 byte
5 byte
EVENT# Pa ra (H) Pa ra (L)
Fro nt p a ne l switc h info rma tio n
$30
$8*
$00
$**
$**
FP Data Packet
When the RE-350 is in [NOTIFICATION] Mode, it will send the “FP Data Packet” to the PC. This tells the condition of
each button and control knob every time the condition varies.
The bit assignment of the parameter is as follows:
D15
D14
D13
D12
D11
D10
D9
D8
W/ B Vo l
0
Fo c us Auto
B/ W
W/ B Auto
Ne g a
Inp utse le c t
0
D7
D6
D5
D4
D3
D2
D1
D0
De ta il Vo l EXP Vo l
Ba c k lig ht
Lig hts
Zo o m Te le Zo o m Wid e Fo c us Fa r Fo c us Ne a r
If a control knob has not been used for longer than 500 milliseconds, the RE-350 will send the “FP-Data Packet” with
the corresponding control knob bit cleared.
Note: If the RTS signal line of the PC is off and the RE-350 is in [NOTIFICATION] Mode, the RE-350 will start to send
the “FP-Data Packet” which explains the button and control knob condition at the time when the RTS signal
line comes on.
24
Download from Www.Somanuals.com. All Manuals Search And Download.
3.0 De sc rip tion Com m a nd Da ta Pa c ke t
3.1 Zoom Commands
Wide Zoom: Constant Speed
• Function:
Moves the zoom lens in the wider direction at a constant speed. This operation will be stopped with the reception
of the <Stop Zooming> command or if the zoom lens reaches the wide-end limit.
• Timing of the “C-response Packet” sent to the PC:
Right after the zoom lens start to move.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 0 0
$ 0 1
$ 0 0
Note: The speed of the zooming will be constant from the beginning to the end of this operation. This is different
from when the {ZOOM WIDE} button on the front panel is pushed. If the {ZOOM WIDE} button is pushed
and continues to be pushed for longer than one second, the zooming will increase to a faster speed.
Wide Zoom: Step
• Function:
Moves the zoom lens in the wider direction one step. This operation will be stopped
automatically after the zoom lens has stopped.
• Timing of the “C-response packet” sent to the PC:
Right after the zoom lens stops.
• The parameter of the “C-response packet”:
$0000 fixed
• The maximum operation time (msec):
2000 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 0 0
$ 0 3
$ 0 0
25
Download from Www.Somanuals.com. All Manuals Search And Download.
Tele Zoom: Constant Speed
• Function:
Moves the zoom lens in the tele direction at a constant speed. This operation will be stopped with the reception of
the <Stop Zooming> command or the zoom lens reaches the tele-end limit.
• Timing of the “C-response Packet” sent to the PC:
Right after the zoom lens start to move.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 0 1
$ 0 1
$ 0 0
Note: The speed of the zooming will be constant from the beginning to the end of this operation. This is different
from when the {ZOOM TELE} button on the panel is pushed. If the {ZOOM TELE} button is pushed and
continues to be pushed for longer than one second, the zooming will increase to a faster speed.
Tele Zoom: Step
• Function:
Moves the zoom lens in the tele direction one step. This operation will be stopped automatically after the zoom
lens has stepped.
• Timing of the “C-response Packet” sent to the PC:
Right after the zoom lens stops.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
2000 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 0 1
$ 0 3
$ 0 0
26
Download from Www.Somanuals.com. All Manuals Search And Download.
Zoom: Stop
• Function:
Stops the movement of the zooming lens.
• Timing of the “C-response Packet” sent to the PC:
Right after the zoom lens stops to move.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 0 2
$ 0 0
$ 0 0
Zoom: Access To Position
• Function:
Moves the zoom lens to a designated position determined by the parameter in this command packet.
• The available parameter value:
LSH : $00 ~ $FF
• Timing of the “C-response Packet” sent to the PC:
Right after the zoom lens reaches the designated position.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
9000 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 0 3
$ 0 0
$ * *
27
Download from Www.Somanuals.com. All Manuals Search And Download.
Zoom: Request Position
• Function:
Requests the present position of the zoom lens from the RE-350.
• Timing of the “C-response Packet” sent to the PC:
Right after this command is accepted by the RE-350.
• The parameter of the “C-response Packet”:
The present zoom lens position data:
MSH :$00 fixed
LSH :$00 ~ $FF
• The maximum operation time (msec):
100 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 0 4
$ 0 0
$ 0 0
28
Download from Www.Somanuals.com. All Manuals Search And Download.
†
Zoom Wide: Constant Speed w/ AF
• Function:
Moves the zoom lens in the wider direction at a constant speed. This operation will be stopped with the reception
of the <Stop Zooming> command or if the zoom lens reaches the wide-end limit.
• Timing of the “C-response Packet” sent to the PC:
Right after the zoom lens start to move.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 0 5
$ 0 0
$ 0 0
†
Zoom Tele: Constant Speed w/ AF
• Function:
Moves the zoom lens in the tele direction at a constant speed. This operation will be stopped with the reception of
the <Stop Zooming> command or the zoom lens reaches the tele-end limit.
• Timing of the “C-response Packet” sent to the PC:
Right after the zoom lens start to move.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 0 6
$ 0 0
$ 0 0
†
The speed of the zooming will be constant from the beginning to the end of this operation. This is different from
when the {ZOOM WIDE} or {ZOOM TELE} button on the front panel is pushed. If the {ZOOM WIDE} or {ZOOM
TELE} button is pushed and continues to be pushed for longer than one second, the zooming will increase to a
faster speed.
The RE-350 responds with a C-response data packet immediately after the reception of this command, but it is still
working on the Zoom control and AF adjustment.
29
Download from Www.Somanuals.com. All Manuals Search And Download.
3.2 Focus Commands
OP AF (Operate Auto Focus)
• Function:
Perform AF once, finding out the best focused position.
• Timing of the “C-response Packet” sent to the PC:
Right after having found out the best focal point or, after a 6 second trial, having failed to find the best focal point.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
20000 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 1 0
$ 0 0
$ 0 0
Focus Near: Constant Speed
• Function:
Moves the focus lens in the near direction at a constant speed. This operation will be stopped with the reception of
the <Stop focusing> command or the focus lens reaches the near-end limit.
• Timing of the “C-response Packet” sent to the PC:
Right after the focus lens starts to move.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$1 2
$ 0 1
$ 0 0
30
Download from Www.Somanuals.com. All Manuals Search And Download.
Focus Near: Step
• Function:
Moves the focus lens in the near direction one step.
This operation will be stopped automatically.
• Timing of the “C-response Packet” sent to the PC:
Right after the focus lens stops.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
2000 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 1 2
$ 0 3
$ 0 0
Focus Far: Constant Speed
• Function:
Moves the focus lens in the far direction at a constant speed. This operation will be stopped with the reception of
the <Stop focusing> command or the focus lens reaches the far-end limit.
• Timing of the “C-response Packet” sent to the PC:
Right after the focus lens starts to move.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$1 3
$ 0 1
$ 0 0
31
Download from Www.Somanuals.com. All Manuals Search And Download.
Focus Far: Step
• Function:
Moves the focus lens in the far direction one step. This operation stops automatically.
• Timing of the “C-response Packet” sent to the PC:
Right after the focus lens stops
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
2000 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 1 3
$ 0 3
$ 0 0
Focus: Stop
• Function:
Stops the focusing motor that moves the focus lens.
• Timing of the “C-response Packet” sent to the PC:
Right after the focus lens stops.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$1 4
$ 0 0
$ 0 0
32
Download from Www.Somanuals.com. All Manuals Search And Download.
3.3 White Balance Commands
OP AWB (Operate Auto-White Balance)
• Function:
Instructs the auto white balance to find the best white balance.
• Timing of the “C-response Packet” sent to the PC:
Right after having found out the best white balance point or, after 6 seconds, having failed to find a proper WB.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
7000 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 2 0
$ 0 0
$ 0 0
White Balance: Manual Access To
• Function:
Sets a designated white balance position, which is determined by the parameter of this command, based on the Auto
White Balance value as returned by the <Status of AWB Result> command (p.51). The AWB value should be known
so the adjustment can be made properly, in the correct direction. This command is similar to rotating the manual
control knob on the front panel. Note: The control knob’s physical position is not updated by this command.
• Available parameter value:
LSH : $ 00 ~ $ FF
• Timing of the “C-response Packet” sent to the PC:
Right after the compensation of WB is performed.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$2 2
$ 0 0
$ * *
33
Download from Www.Somanuals.com. All Manuals Search And Download.
3.4 Exposure Commands
Exposure: Manual Access To
• Function:
Sets a designated exposure position, which is determined by the parameter of this command. The result is the same
as rotating the manual control knob on the front panel.
Note:
The control knob’s physical position is not updated by this command.
This command simply modifies the target exposure default value which is $80.
• Available parameter value:
LSH : $ 00 (darker)~ $ FF (brighter)
• Timing of the “C-response Packet” sent to the PC:
Right after the Manual Exposure command is performed.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 2A
$ 0 0
$* *
34
Download from Www.Somanuals.com. All Manuals Search And Download.
3.5 Detail Commands
Detail: Manual Access To
• Function:
Sets a designated sharpness position, which is determined by the parameter of this command. The result is the same
as rotating the manual control knob on the front panel.
Note:
The control knob’s physical position is not updated by this command.
This command simply modifies the target exposure default value which is $80.
• Available parameter value:
LSH : $ 00 (less detail)~ $ FF (more detail)
• Timing of the “C-response Packet” sent to the PC:
Right after the sharpness is adjusted.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$3 0
$ 0 0
$ * *
35
Download from Www.Somanuals.com. All Manuals Search And Download.
3.6 Positive/ Negative Commands
†
Set Positive Mode
• Function:
Sets the video output to normal (positive). (Also, the Auto-White Balance will be adjusted once.)
• Timing of the “C-response Packet” sent to the PC:
Right after this setting is done.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 3 8
$ 0 0
$ 0 0
†
Set Negative Mode
• Function:
Sets the video output to negative. (Also, the Auto-White Balance will be adjusted once.)
• Timing of the “C-response Packet” sent to the PC:
Right after this setting is done.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 38
$ 0 1
$ 0 0
†
The RE-350 responds in 500 msec with a C-response data packet after the reception of this command, but it will
be still working on the AWB adjustment. (The real AWB operation time will be longer than 500 msec.)
36
Download from Www.Somanuals.com. All Manuals Search And Download.
3.7 Color/ B&W Commands
Set Color Mode
• Function:
Sets the video output to color.
• Timing of the “C-response Packet” sent to the PC:
Right after this setting is done.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 4 0
$ 0 0
$ 0 0
Set B/ W Mode
• Function:
Sets the video output to black & white.
• Timing of the “C-response Packet” sent to the PC:
Right after this setting is done.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 4 0
$ 0 1
$ 0 0
37
Download from Www.Somanuals.com. All Manuals Search And Download.
4.0 Syste m Control Com m a nd s
4.1 Detailed System Control Commands
Select Document Video
• Function:
Selects the Document camera video.
• Timing of the “C-response Packet” sent to the PC:
Right after this setting is done.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 5 0
$ 0 0
$ 0 0
Select External Video
• Function:
Selects the external video input signal.
• Timing of the “C-response Packet” sent to the PC:
Right after this setting is done.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$5 0
$ 0 1
$ 0 0
38
Download from Www.Somanuals.com. All Manuals Search And Download.
†
Document Lights: On
• Function:
Turns on the document lights above the document table. (Also, the Auto-White Balance will be adjusted once.)
Note: If the Backlight is already on, and the Document Lights are turned on, then the Backlight will be turned off
automatically and only the Document Lights will remain on.
• Timing of the “C-response Packet” sent to the PC:
Right after turning on the lights.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 5 8
$ 0 0
$ 0 0
†
Document Lights: Off
• Function:
Turns off the Document Lights above the document table. (Also, the Auto-White Balance will be adjusted once.)
• Timing of the “C-response Packet” sent to the PC:
Right after turning off the lights.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$5 8
$ 0 1
$ 0 0
†
The RE-350 responds in 500 msec with a C-response data packet after the reception of this command, but it will
be still working on the AWB adjustment. (The real AWB operation time will be longer than 500 msec.)
39
Download from Www.Somanuals.com. All Manuals Search And Download.
†
Backlight: On
• Function:
Turns on the Backlight under the document table. (Also, the Auto-White Balance will be adjusted once.)
Note: If the Document Lights are already on, and the Backlight is turned on, then the Document Lights will be
turned off automatically and only the backlight will remain on.
• Timing of the “C-response Packet” sent to the PC:
Right after turning on the backlight.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 5 9
$ 0
$ 0 0
†
Backlight: Off
• Function:
Turns off the document lights above the document table. (Also, the Auto-White Balance will be adjusted once.)
• Timing of the “C-response Packet” sent to the PC:
Right after turning off the backlight.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$5 9
$ 0 1
$ 0 0
†
The RE-350 responds in 500 msec with a C-response data packet after the reception of this command, but it will
be still working on the AWB adjustment. (The real AWB operation time will be longer than 500 msec.)
40
Download from Www.Somanuals.com. All Manuals Search And Download.
LED: Normal
• Function:
The LED indicated by the parameter data will be set to normal operation. This command is available in the
[NOTIFICATION] Mode. If the RE-350 receives this command from the PC in another mode, the RE-350 will send a
“C-response Packet” with the Mode Error response.
• The available parameter value:
LSH : $00 ~ $FF
• Timing of the “C-response Packet” sent to the PC:
Right after this setting is done.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 6 8
$ * *
$ 0 0
• The bit assignment for the parameter data:
Each bit corresponds to each LED on the operation panel.
D15
D14
D13
D12
D11
B/ W
D10
Fo c us Auto
D9
Lig hts
D8
RS-232
Inp ut se le c t
NEGA
WB Auto
Ba c klig ht
41
Download from Www.Somanuals.com. All Manuals Search And Download.
LED: On
• Function:
The LED indicated by the parameter data will be turned on. This command is available in the [NOTIFICATION] Mode.
If the RE-350 receives this command from the PC in another mode, the RE-350 will send a “C-response Packet”
with the Mode Error response.
• The available parameter value:
LSH : $00 ~ $FF
• Timing of the “C-response Packet” sent to the PC:
Right after this setting is done.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 6 9
$ * *
$ 0 0
• The bit assignment for the parameter data:
Each bit corresponds to each LED on the operation panel.
D15
D14
D13
D12
D11
B/ W
D10
Fo c us Auto
D9
Lig hts
D8
RS-232
Inp ut se le c t
NEGA
WB Auto
Ba c klig ht
42
Download from Www.Somanuals.com. All Manuals Search And Download.
LED: Off
• Function:
The LED indicated by the parameter data will be turned off. This command is available in the [NOTIFICATION] Mode.
If the RE-350 receives this command from the PC in another mode, the RE-350 will send a “C-response Packet”
with the Mode Error response.
• The available parameter value:
LSH : $00 ~ $FF
• Timing of the “C-response packet” sent to the PC:
Right after this setting is done.
• The parameter of the “C-response packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 6 A
$ * *
$ 0 0
• The bit assignment for the parameter data:
Each bit corresponds to each LED on the operation panel.
D15
D14
D13
D12
D11
B/ W
D10
Fo c us Auto
D9
Lig hts
D8
RS-232
Inp ut se le c t
NEGA
W/ B Auto
Ba c klig ht
43
Download from Www.Somanuals.com. All Manuals Search And Download.
LED: Blink
• Function:
The LED indicated by the parameter data will be made to blink. This command is available in the [NOTIFICATION]
Mode. If the RE-350 receives this command from the PC in another mode, the RE-350 will send a “C-response
Packet” with the Mode Error response.
• The available parameter value:
LSH : $00 ~ $FF
• Timing of the “C-response Packet” sent to the PC:
Right after this setting is done.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 6 B
$ * *
$ 0 0
• The bit assignment for the parameter data:
Each bit corresponds to each LED on the operation panel.
D15
D14
D13
D12
D11
B/ W
D10
Fo c us Auto
D9
Lig hts
D8
RS-232
Inp ut se le c t
NEGA
W/ B Auto
Ba c klig ht
44
Download from Www.Somanuals.com. All Manuals Search And Download.
[OFF-LINE] Mode
• Function:
Sets the RE-350 to [OFF-LINE] Mode.
• Timing of the “C-response Packet” sent to the PC:
Right after this setting is done.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 7 0
$ 0 0
$ 0 0
[ON-LINE] Mode
• Function:
Sets the RE-350 to [ON-LINE] Mode.
• Timing of the “C-response Packet” sent to the PC:
Right after this setting is done.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 7 0
$ 0 1
$ 0 0
45
Download from Www.Somanuals.com. All Manuals Search And Download.
[NOTIFICATION] Mode
• Function:
Sets the RE-350 to [NOTIFICATION] Mode.
• Timing of the “C-response Packet” sent to the PC:
Right after this setting is done.
• The parameter of the “C-response Packet”:
$0000 fixed
• The maximum operation time (msec):
500 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 7 0
$ 0 2
$ 0 0
46
Download from Www.Somanuals.com. All Manuals Search And Download.
Status of Group A
• Function:
To get the status data of Group A from the RE-350 .
• Timing of the “C-response Packet” sent to the PC:
Right after this command is received by the RE-350.
• The parameter of the “C-response Packet”:
The bit assignment to each status to explain the RE-350’s condition.
D15
D14
D13
D12
D11
D10
D9
D8
On-zo o m
Wid e
On-zo o m
Te le
At-zo o m
Wid e -e nd
At-zo o m
Te le -e nd
On-fo c us On-fo c us At-fo c us
At-fo c us
Ne a r-e nd
Fa r
Ne a r
Fa r-e nd
D7
D6
D5
D4
D3
D2
D1
D0
0
0
AF g o o d / NG AWB g o o d / NG
0
Vid e o P/ N Vid e o C/ M
0
Note:
Good
P (posi)
C(color)
---> 1
---> 1
---> 1
NG
N(nega)
M(mono)
---> 0
---> 0
---> 0
On-zoom: actively zooming, At-zoom: Arrived at the maximum zoom position.
On-focus: actively focusing, At-focus: Arrived at the maximum focal position.
• The maximum operation time (msec):
100 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 8 0
$ 0 0
$ 0 0
47
Download from Www.Somanuals.com. All Manuals Search And Download.
Status of Group B
• Function:
To get the status data of Group B from the RE-350 .
• Timing of the “C-response Packet” sent to the PC:
Right after this command is received by the RE-350.
• The parameter of the “C-response Packet”:
The bit assignment to each status to explain the RE-350’s condition.
D15
D14
D13
D12
D11
D10
D9
D8
Inp ut
Lig hts Ba c klig ht
C MODE C MODE
0
0
0
Ca m e ra / Ext
ON/ OFF
ON/ OFF
1
0
D7
D6
D5
D4
D3
D2
D1
D0
0
0
0
0
0
0
0
0
Note:
1 = ON
0 = OFF
C MODE 1 and C MODE 0 explain the operational mode of the RE-350 as follows:
MODE
C MODE 1
C MODE 0
O
O
FF-LINE
N-LINE
– –
0
– –
1
NOTIFICATION
1
0
not used
1
1
• The maximum operation time (msec):
100 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 8 0
$ 0 1
$ 0 0
48
Download from Www.Somanuals.com. All Manuals Search And Download.
Status of the Buttons
• Function:
To get the status of the buttons on the operation panel .
• Timing of the “C-response Packet” sent to the PC:
Right after this command is received by the RE-350.
• The parameter of the “C-response Packet”:
The bit assignment to each status to explain the RE-350’s condition.
D15
D14
D13
D12
D11
D10
D9
D8
0
0
Fo c us
Auto
B/ W
W/ B
NEGA Inp ut
Se le c t
RS-232
Co ntro l
D7
D6
D5
D4
D3
D2
D1
D0
0
0
Ba c klig ht
Lig hts
Zo o m
Zo o m
Fo c us
Fo c us
TELE
WIDE
FAR
NEAR
• The maximum operation time (msec):
100 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 8 1
$ 0 0
$ 0 0
49
Download from Www.Somanuals.com. All Manuals Search And Download.
Status of WB control knob
• Function:
Gets the position data of the White Balance Manual control knob.
• Timing of the “C-response Packet” sent to the PC:
Right after this command is received by the RE-350.
• The parameter of the “C-response Packet”:
MSH : $00 fixed
LSH : $00 ~ $FF
• The maximum operation time (msec):
100 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 82
$ 0 0
$ 0 0
Status of EXP control knob
• Function:
Gets the position data of the EXP control knob. (EXP = exposure)
• Timing of the “C-response Packet” sent to the PC:
Right after this command is received by the RE-350.
• The parameter of the “C-response Packet”:
MSH : $00 fixed
LSH : $00 ~ $FF
• The maximum operation time (msec):
100 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 82
$ 0 1
$ 0 0
50
Download from Www.Somanuals.com. All Manuals Search And Download.
Status of Detail control knob
• Function:
Gets the position data of the Detail control knob.
• Timing of the “C-response Packet” sent to the PC:
Right after this command is received by the RE-350.
• The parameter of the “C-response Packet”:
MSH : $00 fixed
LSH : $00 ~ $FF
• The maximum operation time (msec):
100 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 8 2
$ 0 2
$ 0 0
Status of AWB result
• Function:
Gets the position data of the White Balance Manual control knob where Auto-White Balance is completed.
• Timing of the “C-response Packet” sent to the PC:
Right after this command is received by the RE-350.
• The parameter of the “C-response Packet”:
MSH : $00 fixed
LSH : $00 ~ $FF
• The maximum operation time (msec):
100 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 8 3
$ 0 0
$ 0 0
51
Download from Www.Somanuals.com. All Manuals Search And Download.
Name of the Equipment
• Function:
Gets the code name of the equipment which is connected to the PC.
The code name of the RE-350 is “R1”.
• Timing of the “C-response Packet” sent to the PC:
Right after this command is received by the RE-350.
• The parameter of the “C-response Packet”:
MSH : fixed
LSH : fixed
The code name of the RE-350 is “R1”.
• The maximum operation time (msec):
100 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 8 8
$ 0 0
$ 0 0
Version of ROM
• Function:
Gets the coded version number from each of the RE-350’s ROM's.
• Timing of the “C-response Packet” sent to the PC:
Right after this command is received by the RE-350.
• The parameter of the “C-response Packet”:
MSH : $XX
LSH : $XX
The MSH parameter is the ROM version of the RE-350's camera head CPU.
The LSH parameter is the ROM version of the RE-350's main body CPU.
The above parameters (in ASCII Code) are variable and are set by the firmware.
• The maximum operation time (msec):
100 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$ 8 8
$ 0 1
$ 0 0
52
Download from Www.Somanuals.com. All Manuals Search And Download.
Set to Special Mode 1
• Function:
Lets the RE-350 transfer to Special Mode 1. The RE-350 will accept this command independently from its ID
number.
• Timing of the “C-response Packet” sent to the PC:
Right after this command is received by the RE-350.
• The parameter of the “C-response Packet”:
MSH : $00 fixed
LSH : $00 fixed
• The maximum operation time (msec):
100 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$F 0
$ 0 0
$ 0 0
Note: This command is prepared for service purposes ONLY and it is not
intended for use by the end-user.
Set to Special Mode 2
• Function:
Lets the RE-350 transfer to Special Mode 2. The RE-350 will accept this command independently from its ID
number.
• Timing of the “C-response Packet” sent to the PC:
Right after this command is received by the RE-350.
• The parameter of the “C-response Packet”:
MSH : $00 fixed
LSH : $00 fixed
• The maximum operation time (msec):
100 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$F 1
$F F
$ 0 0
Note: This command is prepared for service purposes ONLY and it is not
intended for use by the end-user.
53
Download from Www.Somanuals.com. All Manuals Search And Download.
Set to Service Mode
• Function:
Lets the RE-350 transfer to Service Mode. The RE-350 will accept this command independently from its ID
number.
• Timing of the “C-response Packet” sent to the PC:
Right after this command is received by the RE-350.
• The parameter of the “C-response Packet”:
MSH : $00 fixed
LSH : $00 fixed
• The maximum operation time (msec):
100 millisecond
• Command format:
He a d e r
ID num b e r
Com m a nd
Pa ra m e te r MSH Pa ra m e te r LSH
$10
$ 8 *
$F 1
$F F
$ F F
Note: This command is prepared for service purposes ONLY and it is not
intended for use by the end-user.
54
Download from Www.Somanuals.com. All Manuals Search And Download.
5.0 Control Ca b le Pin Assig nm e nts
5.1 RS-232C Control Cable Pin Assignment
RE-350
RE-350
55
Download from Www.Somanuals.com. All Manuals Search And Download.
RE-350 Control Cable Pin Assignments
9 Pin DSU B RS-232C
RE-350
RE-350
56
Download from Www.Somanuals.com. All Manuals Search And Download.
RE-350 Control Cable Pin Assignments
RS-232C for Macintosh™ Computers
Note: RS-232C Specification allows cable length up to 15m, but it should be kept as
short as possible.
The following cables which have the above connections can be used:
Apple
InMac
System Peripheral 8
74415 (for Image Writer II)
1.0m
1.8m
57
Download from Www.Somanuals.com. All Manuals Search And Download.
6.0 Tim ing Cha rts
6.1 RTS/ CTS Flow Control Timing Chart
PC SIDE SIGNAL
1
RTS
5
T1
T3
4
T2
2
CTS
TXD
Command
3
T4
RXD
C-Response
6
Ma rk
Dura tion p e riod
Min.
Ma x.
T1
T2
T3
T4
-
300m s
200m s
T4-T2
*1
0m s
10m s
10m s
If the PC is ready to communicate with the RE-350, the PC should set the RTS line to ON. The RE-350 will
recognize that its RS-232C connector is connected to the PC. When the RTS is OFF and the PC tries to send
some data, the RE-350 will disregard the sent data.
1
2
Once the RE-350 recognizes that the RTS of the PC is ON, the RE-350 will set the CTS of the PC to ON within
T1 after RTS is ON. The application software on the PC can recognize if the RE-350 is operating properly.
After the PC recognizes the CTS is ON, the PC can send the command packet to the RE-350.
3
4
Once the RE-350 receives the command packet, the RE-350 will set CTS to OFF and perform the operation
depending upon the command data from the PC to tell the PC that the RE-350 cannot receive another
command packet during this period.
After finishing the operation, the RE-350 will set CTS to ON to tell the PC that the RE-350 can receive another
command packet.
5
6
At the same time, the RE-350 will send the “C-response Packet” to notice the result of its operation. The
period (T4) between the reception and transmission of the “C-response Packet” is determined by the type of
command given.
Note: If the RE-350 does not follow the above timing chart, the power or connection of the I/ F cable is
incorrect.
58
Download from Www.Somanuals.com. All Manuals Search And Download.
6.2 RTS flow control timing chart
The PC can suspend the transmission of the “C-response Packet” data for the period less than 1000 milliseconds from
the RE-350 by setting the RTS signal to OFF.
PC SIDE SIGNAL
T6
3
1
RTS
CTS
TXD
Command
T7
T5
RXD
C-
Response
2
4
Ma rk
Dura tion p e riod
Ma x.
Min.
T5 (9600b p s) 3.44m s
300m s
300m s
1000m s
200m s
(2400b p s)
4.58m s
T6
T7
--
--
If the PC wants to suspend the transmission of the “C-response Packet” data stream on its half, the PC should
set the RTS line to OFF.
1
2
Once the RE-350 recognizes the RTS of the PC is OFF, the RE-350 will hold the transmission of the “C-response
Packet” data after the remaining maximum 3 byte data in its communication buffer is transmitted. The
application software on the PC can recognize if the RE-350 is operating properly. The time period required for
transmitting the remaining data in the buffer will depend upon the communication speed of the RS232C I/ F.
When the PC wants to resume the transmission, the PC should set RTS to ON immediately. The longest time
period to be able to hold the transmission is 1000 milliseconds. If the PC fails to set the RTS line to ON in 1000
milliseconds, the RE-350 will stop the sequence to send the “C-response Packet”. The PC can not receive the
remaining C-response data any more.
3
4
Once the RE-350 recognizes the RTS signal comes back to ON within 1000 milliseconds, the RE-350 will resume
the transmission of the “C-response Packet” data.
59
Download from Www.Somanuals.com. All Manuals Search And Download.
Ap p e nd ix A – Disk Inform a tion
RE-350 Software Developer's Disk Installation
Description:
This disk contains one auto-extracting compressed file which once uncompressed contains 3 separate directories. The 3
directories are APP, 16BITSDK, and 32BITSDK. Within the APP directory is a Demo Application that was created using
the documentation and example data files in this SDK. The 16BITSDK and 32BITSDK directories contain .DLL and
Example application files for programming in a 16bit or 32bit environment.
How to Install the Compressed File From MS-DOS:
1. Create a directory named “RE350” on your hard drive. Copy the contents of the RE-350 Software Developer's Disk
into that directory.
2. From the RE350 directory, type “RE350SDK.EXE -d” at the “C:\RE350>” DOS prompt.
*** Make sure you use the -d option so that separate directories are created when the file is expanded. ***
Running this .exe file will create 3 directories, a 16BITSDK directory, a 32BITSDK directory and an APP directory
within the RE350 directory. See the following pages for a description of their individual contents.
How to Install the Compressed File From Windows:
1. Create a folder named “RE350” on your hard drive. Copy the contents of the RE-350 Software Developer's Disk
into that folder.
2. Using the Run command under the START button (Win95) OR the Run… command under the File menu in the
Program Manager (Win3.1), type “C:\RE350\RE350SDK.EXE -d” in the “Open:” text field box.
*** Make sure you use the -d option so that seperate directories are created when the file is expanded. ***
Running this .exe file will create 3 directories, a 16BITSDK directory, a 32BITSDK directory and an APP directory
within the RE350 directory. See the following pages for a description of their individual contents.
60
Download from Www.Somanuals.com. All Manuals Search And Download.
RE-350 Demo Application (\ APP)
How to Use the Demo Application:
The RE-350 Demo Application is a 16bit application that runs under Windows 95 and Windows 3.1.
1. Connect the RE-350 to the computer. Using a correctly pinned RS-232 cable (pp.57–59) connect one end to the RS-
232C output on the RE-350 and connect the other end to an available COM port on your computer.
2. Turn on the RE-350 and the computer and launch Windows.
3. In the APP directory that was created from the SDK disk is a file named CTL3DV2.DLL. This file should be placed
into your System folder within Windows [c:\Windows\System].
4. Double click on the RE-350 Demo Application icon in the APP directory.
When the application has successfully launched, the On-Line LED should be lit on the RE-350's front control panel
and within the GUI of the software interface.
Very simply the RE-350 Demo Application offers remote operation of all manual buttons and control knobs located on
the front control panel via the RE-350 graphical user interface.
If the Application Does Not Launch Properly Check:
COM Port Setting – The COM port setting selection in the RE-350 Demo Application should match the COM port
the RE-350 is connected to on the computer.
ID Setting –
Baud Rate –
Cable –
The ID Setting on the rear panel of the RE-350 (p.3) should match the ID Setting the RE-350 is
set to.
The Baud Rate setting selection in the RE-350 Demo Application should match the baud rate
selected via the switch on the rear panel of the RE-350 (p.3).
Make sure you are using a correctly pinned cable. Check with the pin out diagram on pp.57–59.
RE-350 SDK File Definitions
re350.c
RE-350 communications driver.
re350.h
Driver definitions.
re350.obj
re350dll.dll
re350dll.mak
Object file.
Dynamic Link Library.
Microsoft C/ C++ Version 1.52 Project (NMAKE)
example.c
Sample Windows application.
Object file
Executable Windows Application
Module definition file.
example.obj
example.exe
example.def
example.mak
Microsoft C/ C++ Version 1.52 Project (NMAKE)
readme.doc
This file.
61
Download from Www.Somanuals.com. All Manuals Search And Download.
RE-350 16bit Sample Code (\ 16BITSDK)
Notes:
1) This example application was written and compiled with Microsoft C/ C++ and SDK Version 1.52 (16 bits ONLY).
Open the project in Microsoft Visual C/ C++ to edit and recompile.
The DLL and example application are built separately. You can use RE350DLL.DLL as is by importing the functions
described below (or in RE350.H ).
You can also rebuild the application in MS-DOS by typing:
nmake -fre350dll.mak
nmake -fexample.mak
2) RE350.C and RE350.H constitute the basic driver and are generalized to work with any application. All of the
functions return an error code (defined in RE350.H ) to indicate whether the operation was successful.
Initialize communications with the RE-350:
int FAR PASCAL
int iComPort:
RE350_Open( int iComPort )
RE350_COM1-RE350_COM4
Execute an RE-350 command:
int FAR PASCAL
int iDevice:
RE350_Command( int iDevice, int nCmd, WORD wRequest, LPWORD lpwResponse );
device 0-3 (check dip switch on the back)
Command defined in RE350.H .
int nCmd:
WORD wRequest: Request data if required by command.
(Use RE350_NULL_REQUEST if not required).
LPWORD wRequest:Pointer to response (or NULL).
Close communications with the RE-350:
VOID FAR PASCAL
RE350_Close( VOID );
4) EXAMPLE.C is a simple application which demonstrates the operation of the driver. After getting this to compile in
your environment, you can add additional commands (via RE350_Command) to test the camera’s operation.
All of the RE-350 commands are implemented through this function.
62
Download from Www.Somanuals.com. All Manuals Search And Download.
RE-350 32bit Sample Code (\ 32BITSDK)
Notes:
1) This example application was written and compiled with Microsoft C/ C++ and SDK Version 4.0 (32 bits ONLY).
Open the project in Microsoft Visual C/ C++ 4.0 to edit and recompile.
2) The RE-350 driver (RE350.DLL) is located in .\EXAMPLE\RE350 and has been setup as a sub-project of EXAMPLE.
It will be automatically updated if EXAMPLE is set as the project. The output is directed to the EXAMPLE\RELEASE
directory so any changes made to the DLL will be automatically loaded by the application next time it is run.
EXAMPLE explicitly loads and unloads the DLL using LoadLibrary() and FreeLibrary() to facilitate this (see
EXAMPLE.C).
3) RE350.C and RE350.H constitute the basic driver and are generalized to work with any application. All of the
functions return an error code (defined in RE350.H ) to indicate whether the operation was successful.
Initialize communications with the RE-350:
int FAR PASCAL
int iComPort:
RE350_Open( int iComPort )
RE350_COM1-RE350_COM4
Execute an RE-350 command:
int FAR PASCAL
int iDevice:
RE350_Command( int iDevice, int nCmd, WORD wRequest, LPWORD lpwResponse );
device 0-3 (check dipswitch on the back)
Command defined in RE350.H .
int nCmd:
WORD wRequest: Request data if required by command.
(Use RE350_NULL_REQUEST if not required).
LPWORD wRequest:Pointer to response (or NULL).
Close communications with the RE-350:
VOID FAR PASCAL
RE350_Close( VOID );
4) EXAMPLE.C is a simple application which demonstrates the operation of the driver. After getting this to compile in
your environment, you can add additional commands (via RE350_Command) to test the camera’s operation.
All of the RE-350 commands are implemented through this function.
This product is provided AS IS. For questions regarding product operation contact Canon Information
Technology Services at 1-800-828-4040
All rights are reserved. No part of this document may be photocopied, reproduced, translated to another language, stored in a
retrieval system, or transmitted in any form without the prior written consent of Canon U.S.A., Inc.
The information contained in this document is subject to change without notice. Canon U.S.A., Inc. makes no warranty of any
kind with reguard to this written material. Canon U.S.A., Inc. assumes no responsibility for any errors that may appear in this
document or for incidental or consequential damages in connection with the furnishing, performance or use of this manual.
Canon is a registered trademark of Canon, Inc. ©1996 Canon U.S.A., Inc. 11.13.96
All trademarks and registered trademarks are the property of their respective owners.
63
Download from Www.Somanuals.com. All Manuals Search And Download.
|