Home
        ApplNote RS-232 AVT GigE
         Contents
1.             HIROSE HR10A 10P 12S    CABLE SIDE    RS 232 TXD       RS 232 RXD             okola    SIGNAL GND       9 PIN DSUB SOCKET    RS 232 Wiring Diagram  Hirose plug is GC series wiring ONLY     Connect AVT GigE camera to the host PC  ensuring it is recognized by the GigE network and that the RS232  lines are connected to your computer serial port     Terminal Setup    Open your terminal application  settings       Baud Rate  9600  MANTA  115200      Data Bits  8     Stop Bits  1     Parity  None     Flow control  None     COM  Whichever is used by host  typically COM1                                Terminal Settings  Note  Manta series uses Baud 115200     SampleViewer Test    Open the AVT SampleViewer  and click on the    IIOI    icon  Set Baud rate  parity  character length  stop bits  to same as terminal settings  Click    Connect        Type in the SampleViewer RS 232 dialog window and click send  The text will appear in terminal application   This verifies camera TXD communication     Type in the terminal application and hit enter  The text will appear in SampleViewer  This verifies camera  RXD communication              camera test   HyperTerminal  File Edit View Call Transfer Help    Dle 213  cl         Hello world  cam to hyperterminal              Sample  iewer  File Help    Host 05 10204 05000  GC660M    SerialIO    05 10204 05000  Gc660M                 Baud rate  econ z  Parity  None z   Character length  E bits z  Stop bits fi bit    Disconnect       lt  H
2. 16128h SerialTxControl   R  Always zero    RW  Transmitter enable  when 1      other     R  Reserved  All zeros     1612Ch SerialTxLength  15  0     W  Transmit data length  in bytes  When this is written   the data in SerialTxBuffer is sent through the serial  port  SerialTxLength may not be written if     Transmitter Ready    is zero   Always zeros      other   16140h SerialRxInquiry 15  0     R  Receiver buffer size  in bytes                  n              R  Reserved  All zeros        2         _  toed    n Reserved  All zeros        aul    16144h  16148h    1614Ch    16400h  16800h    SerialRxStatus    SerialRxControl    SerialRxLength    SerialTxBuffer    SerialRxBuffer     other     R  Reserved  All zeros      R  Receive overrun    W  Write 1 to clear      R  Receive framing error    W  Write 1 to clear      2   R  Receive parity error    W  Write 1 to clear      other     R  Reserved  All zeros      W  Receiver reset when 1  Occurs immediately    R  Always zero      RW  Receiver enable  when 1      RW  Enable timestamp mode  See SerialRxBuffer for a  description of timestamp mode   Don t change this  bit on the fly  otherwise some data will be  timestamped and some will not     Check Seriallolnquiry to see if this feature is  available      other     R  Reserved  All zeros      15  0     R    Number of bytes in the receive buffer      W  Number of bytes read from receive buffer  The  counter  see  R  above  is decremented by this  amount      W  Transmit buffer  Writ
3. e your data into the buffer   then write your data length into Seria TxLength to  begin transmission     Each serial word is stored as a byte  LSBit aligned   The bytes are packed into 32 bit registers  the  MSByte of each register is the first serial word  transmitted   When the data length is not a multiple  of 4  trailing bytes are ignored     ex  write 0x41424344 to output    ABCD       SerialTxBuffer may not be written if    Transmitter  Ready    is zero      R  Receive buffer  Read data from this buffer  Read  SerialRxLength for the number of valid bytes in this  receive buffer    After reading the data  you must write the length of  your read to SerialRxLength   See SeriaiTxBuffer for data packing   Timestamp mode  each received byte is proceeded  by 8 timestamp bytes  MSB first  This timestamp is  the frame timestamp    ex  0x11223344AABBCCDD41 is  A  received   at timestamp 0x11223344AABBCCDD       We invite comments or suggestions on this document at any time   Please write to  support alliedvisiontec com       Disclaimer   Due to continual product development  technical specifications may be subject to change without notice   All trademarks are acknowledged as property of their respective owners  We are convinced that this  information is correct  We acknowledge that it may not be fully comprehensive  Nevertheless we cannot be  held responsible for any damage in equipment or subsequent loss of data or whatsoever in consequence of  following the application note  Co
4. ello world again  hyperterminal to cam              wi  D       Exposure  Gain  Iris          HA       Testing RS 232 in SampleViewer     Siotest Example Code Test  Compile the siotest example code  and run the resulting exe in a windows command prompt     You will see a test pattern of integers appear in the terminal window  This verifies camera TXD  communication     Type in the terminal window  you will see your typed input appear in the windows command prompt  This  verifies camera RXD communication     Camera Register Map    The following camera registers are used for RS 232 communication  See the siotest example code for more  on reading writing to camera registers     SerialIo Control       aadress  name  em  Description OOOO   e1  IRI 18200 baua suppone  rar  IRI   7600 vaud supponea SCS  rar  IRI 118200 bau suppor     other     R  Reserved  All zeros           16104h SerialMode  RW  Baud rate    0  300  600  1200  2400  4800  9600  19200  38400  57600  115200  230400     C Sr ee IN       11  10     RW  Character length   0  5Sbits  1  6 bits  2  7 bits  3  8 bits   RW  Stop bits   0  1 stop bit  1  1 5 stop bits  2  2 stop bits    other     R  Reserved  All zeros     16120h SerialTxInquiry E a    R  Transmitter buffer size  in bytes    buffer size  in bytes   T fe  other   IR  Reserved  All zeros    sd Reserved  All zeros   16124h SerialTxStatus  0    IR  Transmitter ready  sd    R  Transmitter ready    sd ready    W  Transmitter reset when 1  Occurs immediately     
5. il       Application Note   RS 232 Port on AVT GigE Cameras    AVT GigE cameras can send and receive serial commands using its RS232 port  Tx and Rx data lines are  available via the Hirose connection on the back of the cameras  Enabling and controlling serial  communication is performed by writing to serial IO registers on the camera through the PvAPI GigE SDK  see  GigESDK examples siotest source code   or through the serial dialog window in the AVT SampleViewer     Requirements      AVT GigE Camera with an open ended Hirose connector allowing access to RS 232 pins     A 9 pin DSUB connector for connection to host computer      A computer with a working serial port  or USB to Serial cable      A terminal application which allows serial communication  HyperTerminal  etc      Hirose to DSUB Wiring    Location of RS 232 RxD  RS 232 TxD  and GND pins varies between models  Naming of correct GND pin is not  consistent between models  Wire as follows       GC  RxD  Pin9  TxD  Pin 8  GND   Signal Ground   Pin 10      GB  RxD  Pin 11  TxD  Pin 10  GND   GND Power   Pin 9      GE  RxD  Pin4  TxD Pin5  GND    Isolated Ground   Pin 10 11 12     GX  RxD  Pin8  TxD Pin9  GND   Power Ground   Pin 1      Manta RxD  Pin8  TxD  Pin9  GND   External Ground   Pin 1     See Camera User Manual for reference  See diagram below for 9 Pin DSUB wiring     GC RS 232 CIRCUIT    CABLE SIDE       POWER GROUND  12V POWER        POWER GROUND ____   12V_POWER              RS 232 TXD  RS 232 RXD  NAL GND  
6. pyright    2010   This document was prepared by the staff of Allied Vision Technologies Canada   AVT   and is the property of  AVT  which also owns the copyright therein  All rights conferred by the law of copyright and by virtue of  international copyright conventions are reserved to AVT  This document must not be copied  or reproduced  in any material form  either wholly or in part  and its contents and any method or technique available there  from must not be disclosed to any other person whatsoever without the prior written consent of AVT        
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
Samsung HT-P50 manual de utilizador  Generalidades vehículo  V7 Laser Toner for select BROTHER printer - replaces TN135M  MICRO TECH ŒŒIÏIIJBŒ III  APIC22DK/CPCI 取扱説明書    A9 A9 A75 Agde Villeveyrac Vic-la-Gardiole Sète Mèze Marseillan  Samsung 2032MW Manual de Usuario  CPM Furniss 1850 User Manual      Copyright © All rights reserved. 
   Failed to retrieve file