background image

1

RE-350

Control Interface Commands

RE-350

Video Visualizer

*+,;,

VISUAL COMMUNICATION SYSTEMS

v1.0

Summary of Contents for RE-350

Page 1: ...1 RE 350 Control Interface Commands RE 350 Video Visualizer VISUAL COMMUNICATION SYSTEMS v1 0 ...

Page 2: ...tern 17 NOTIFICATION Mode Flow Pattern 18 2 0 Control Command and Packet Tables 2 1 Camera Control Commands Table 19 2 2 System Control Commands Table 20 2 3 C response Data Packet Table 21 2 4 Event Data Packet Table 22 2 5 E response Data Packet Table 23 2 6 FP Data Packet Table 24 3 0 Description of Command Data Packet 3 1 Zoom 25 29 3 2 Focus 30 32 3 3 White Balance 33 3 4 Exposure 34 3 5 Deta...

Page 3: ...31 28 27 1 2 3 4 5 6 7 8 9 10 16 15 14 13 12 11 RS 232C AC Outlet AC Inlet OUT IN R L R L Audio Video EXT SYNC R G B RGB OUT ON ON OFF OFF SYNC 75Ω S Video 24 96 100 60 ID 0 ID 1 WHITE BALANCE B W DETAIL NEGA RS 232 CONTROL INPUT SELECT EXPOSURE AUTO FOCUS NEAR FAR MANUAL WIDE TELE ZOOM LIGHTS BACK LIGHT LOCAL CONTROL DISABLED POWER MANUAL BLUE RED SOFT HARD AUTO ...

Page 4: ...nd 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 NEGA Button Negative Positive conversion toggle button Toggles the video output between positive and negative WHITE BAL AUTO Button Press to set the white balance automatical...

Page 5: ...n 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 ZOOM WIDE 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 th...

Page 6: ...l have a sync when the Sync on off switch is on While Sync on off switch is off this BNC terminal will have a synchronization signal 4 0 V 0 8 Vp p 120 V AC output with 3 pin 2 signal and Ground terminal AC Output AC Input 120 V AC input terminal RS232C I F RS232C serial communication terminal 2400 bps or 9600 bps to receive control commands from a PC or other control box Ext A referencing video s...

Page 7: ...d 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 Button Control Knob Key 29 0 0 0 1 0 1 0 1 2 1 1 3 Switch 3 Switch 4 ID Number 0 1 60 sec 1 1 100 sec Switch 2 Shutter Speed 0 9600 bps 1 2400 bp...

Page 8: ... will be adjustable 0 90 degree by this knob Adjust the Horizontal video output phase 0 2µ sec on the base of the external signal Hp Control Knob Audio Volume slider Audio Input SCp180 switch 1 0 degree shift 2 90 degree shift 450 1200 Ω Level 20db 68 dB at 1Khz signal Controls the audio output level 38 36 35 34 33 32 ...

Page 9: ...tically 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 The...

Page 10: ...atically 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 1 ...

Page 11: ...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...

Page 12: ... 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 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 f...

Page 13: ...of Event data packet OFF LineRequest ON Line ON LineRequest OFF Line Notification Request OFF Line 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 ON LINE Mode 2 After t...

Page 14: ...ernal Video signal is selected off Document camera signal is selected blink N A NEGA on Negative video signal is output off Normal video signal is output blink N A WHITE BALANCE on The auto white balance was adjusted successfully AUTO off The auto white balance could not be adjusted blink Auto white balance is being adjusted 3 Hz B W on Output video signal is black and white off Output video signa...

Page 15: ...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 ...

Page 16: ...ion from the RE 350 using this command Header ID number Response number Parameter A0h 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 Header ID number Event number Parameter 20h h h MSH LSH Event Data Packet Format PC RE 35...

Page 17: ...mand Communication Flow Pattern This flow will be applied when the PC sends a command to the RE 350 to request an operation 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 Event Data Packet The PC is under operation for this data E response RE 350 PC RE 350 ...

Page 18: ... on the front panel of the RE 350 FP Data Packet Command 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 RE 350 is under operation C response data PC RE 350 ...

Page 19: ...03 00 15 Stop focusing Stop the auto focus 500 10 8 14 00 00 Color 16 OP AWB Operate Auto White Bal 7000 10 8 20 00 00 17 Access to WB Access to a WB position 500 10 8 22 00 18 Access to EXP Access to a EXP position 500 10 8 2A 00 19 Access to Detail Access to a Detail position 500 10 8 30 00 20 Set Positive mode Set positive image mode 500 10 8 38 00 00 21 Set Negative mode Set negative image mod...

Page 20: ... of Group B Request Status Group B 100 10 8 80 01 00 16 Status of Button Request Button condition 100 10 8 81 00 00 17 Status of WB Control Request WB vol position 100 10 8 82 00 00 18 Status of EXP Control Request EXP vol position 100 10 8 82 01 00 19 Status of Detail Vol Request Detail vol position 100 10 8 82 02 00 20 Status of AWB Result Request AWB result data 100 10 8 83 00 00 21 Name of Equ...

Page 21: ... L Error Response 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 R...

Page 22: ... 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 ...

Page 23: ...E 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 Afte...

Page 24: ...follows W B Vol 0 Focus Auto B W W B Auto Nega Inputselect 0 D15 D14 D13 D12 D11 D10 D9 D8 Detail Vol EXP Vol Back light Lights Zoom Tele Zoom Wide Focus Far Focus Near D7 D6 D5 D4 D3 D2 D1 D0 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 t...

Page 25: ...e 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...

Page 26: ...peed 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 autom...

Page 27: ...eter MSH Parameter LSH 10 8 0 2 0 0 0 0 Header ID number Command Parameter MSH Parameter LSH 10 8 0 3 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...

Page 28: ... 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 ...

Page 29: ...le 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 The speed of the zooming will be constant fro...

Page 30: ...eter of the C response Packet 0000 fixed The maximum operation time msec 500 millisecond Command format 10 8 1 2 0 1 0 0 Header ID number Command Parameter MSH Parameter LSH 10 8 1 0 0 0 0 0 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 tria...

Page 31: ...eration time msec 2000 millisecond Command format Header ID number Command Parameter MSH Parameter LSH 10 8 1 3 0 1 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 th...

Page 32: ...ns stops The parameter of the C response Packet 0000 fixed The maximum operation time msec 2000 millisecond Command format Header ID number Command Parameter MSH Parameter LSH 10 8 1 4 0 0 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 ma...

Page 33: ...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 c...

Page 34: ...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...

Page 35: ...s 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 10 8 3 0 0 0 Header ID number Command...

Page 36: ... 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 Header ID number Command Parameter MSH Parameter LSH 10 8 38 0 1 0 0 3 6 Positive Negative Commands The RE 3...

Page 37: ...ond Command format 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 Header ID number Command Parameter MSH Parameter LSH 10 8 4 0 0 0 0 0 Header ID number Command Parameter MSH Parameter LSH 10 8 4...

Page 38: ...at Header ID number Command Parameter MSH Parameter LSH 10 8 5 0 0 1 0 0 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 Header ID number Command Parameter MSH Parameter LSH 10 8 5 0 0 0 0 0...

Page 39: ...so 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 Com...

Page 40: ...uto 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 ...

Page 41: ...vailable 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 Header ID number Command Parameter MSH Parameter LSH 10 8 6 8 0 0 RS 232 Input select NEGA WB Auto B W Focus Auto Lights Backlight D15 D14 D13 D12 D11 D10 D9 D8 The bit ass...

Page 42: ...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 Header ID number Command Parameter MSH Parameter LSH 10 8 6 9 0 0 RS 232 Input select NEGA WB Auto B W Focus Auto Lights Backlight D15 D14 D13 D12 D11 D10 D9 D8 The bit assignment f...

Page 43: ... 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 Header ID number Command Parameter MSH Parameter LSH 10 8 6 A 0 0 D15 D14 D13 D12 D11 D10 D9 D8 The bit assignment for the parameter data Each bit corresponds to each LED on the op...

Page 44: ...le 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 Header ID number Command Parameter MSH Parameter LSH 10 8 6 B 0 0 RS 232 Input select NEGA W B Auto B W Focus Auto Lights Backlight D15 D14 D13 D12 D11 D10 D9 D8 The bit assignme...

Page 45: ... 500 millisecond Command format Header ID number Command Parameter MSH Parameter LSH 10 8 7 0 0 0 0 0 10 8 7 0 0 1 0 0 Header ID number Command Parameter MSH Parameter LSH 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 millis...

Page 46: ... 0 2 0 0 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 ...

Page 47: ...6 D5 D4 D3 D2 D1 D0 On zoom On zoom At zoom At zoom On focus On focus At focus At focus Wide Tele Wide end Tele end Far Near Far end Near end 0 0 AF good NG AWB good NG 0 VideoP N VideoC M 0 The maximum operation time msec 100 millisecond Command format Header ID number Command Parameter MSH Parameter LSH 10 8 8 0 0 0 0 0 Note Good 1 NG 0 P posi 1 N nega 0 C color 1 M mono 0 On zoom actively zoomi...

Page 48: ...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 0 0 0 0 0 0 0 0 D15 D14 D13 D12 D11 D10 D9 D8 The maximum operation time msec 100 millisecond Command format Header ID number Command Parameter MSH Parameter LSH 10 8 8 0 0 1 0 0 Input Lights Backlight C MODE C ...

Page 49: ...er 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 D7 D6 D5 D4 D3 D2 D1 D0 0 0 Focus B W W B NEGA Input RS 232 Auto Select Control The maximum operation time msec 100 millisecond Command format Header ID number Command Parameter MSH Parameter LSH 10 8 8 1 0 0 0 0 0 0 Backlight Lights Zoom Zoom Focus Focus TELE WIDE FAR NEAR...

Page 50: ... 100 millisecond Command format Header ID number Command Parameter MSH Parameter LSH 10 8 82 0 1 0 0 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 mill...

Page 51: ...um operation time msec 100 millisecond Command format Header ID number Command Parameter MSH Parameter LSH 10 8 8 3 0 0 0 0 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 ...

Page 52: ...ter MSH Parameter 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 ma...

Page 53: ...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 ...

Page 54: ...cket 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 Header ID number Command Parameter MSH Parameter 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 ...

Page 55: ...55 5 1 RS 232C Control Cable Pin Assignment 5 0 Control Cable Pin Assignments RE 350 RE 350 ...

Page 56: ...56 RE 350 Control Cable Pin Assignments 9 Pin DSUB RS 232C RE 350 RE 350 ...

Page 57: ... to 15m but it should be kept as short as possible The following cables which have the above connections can be used Apple System Peripheral 8 1 0m InMac 74415 for Image Writer II 1 8m RE 350 Control Cable Pin Assignments RS 232C for Macintosh Computers ...

Page 58: ...ly After the PC recognizes the CTS is ON the PC can send the command packet to the RE 350 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 th...

Page 59: ...um 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 ...

Page 60: ...ure 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 Co...

Page 61: ...sk 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 op...

Page 62: ...er the operation was successful Initialize communications with the RE 350 int FAR PASCAL RE350_Open int iComPort int iComPort RE350_COM1 RE350_COM4 Execute an RE 350 command int FAR PASCAL RE350_Command int iDevice int nCmd WORD wRequest LPWORD lpwResponse int iDevice device 0 3 check dip switch on the back int nCmd Command defined in RE350 H WORD wRequest Request data if required by command Use R...

Page 63: ...E350 H 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...

Reviews: