6TL YAV904X8 Скачать руководство пользователя страница 12

 

TECHNICAL MANUAL 

620020E05 

 

 

 

Due to the continuous products improvement, the indications of the present manual can be modified without previous warning and in any 

case are a contract commitment. The present information publishing does not represent resignation of intellectual property or patent. 

Copyright 

2009-2010 S.A. Sistel -E 08211 BARCELONA

 

 

Pag.  12

  

/* Print a description of an NI-CAN error/warning. */ 
void PrintStat(NCTYPE_STATUS status, char *source) 

    char statusString[1024]; 
     
    if (status != 0) 
    { 
        ncStatusToString(status, sizeof(statusString), statusString); 
        printf("\n%s\nSource = %s\n", statusString, source); 
         
        // close object handle, then exit. 
        ncCloseObject(TxHandle); 
        exit(1); 
    } 

 
int main () 

 
    NCTYPE_STATUS       Status; 
    NCTYPE_CAN_FRAME    Transmit; 
    NCTYPE_ATTRID       AttrIdList[8]; 
    NCTYPE_UINT32       AttrValueList[8]; 
    NCTYPE_UINT32       Baudrate = 50000; 
    char                Interface[7] = "CAN0"; 
    int                 ch; 
 
    /* Configure the CAN Network Interface Object */ 
    AttrIdList[0] =    NC_ATTR_BAUD_RATE; 
    AttrValueList[0] = Baudrate; 
    AttrIdList[1] =    NC_ATTR_START_ON_OPEN; 
    AttrValueList[1] = NC_TRUE; 
    AttrIdList[2] =    NC_ATTR_READ_Q_LEN; 
    AttrValueList[2] = 0; 
    AttrIdList[3] =    NC_ATTR_WRITE_Q_LEN; 
    AttrValueList[3] = 1; 
    AttrIdList[4] =    NC_ATTR_CAN_COMP_STD; 
    AttrValueList[4] = 0; 
    AttrIdList[5] =    NC_ATTR_CAN_MASK_STD; 
    AttrValueList[5] = NC_CAN_MASK_STD_DONTCARE; 
    AttrIdList[6] =    NC_ATTR_CAN_COMP_XTD; 
    AttrValueList[6] = 0; 
    AttrIdList[7] =    NC_ATTR_CAN_MASK_XTD; 
    AttrValueList[7] = NC_CAN_MASK_XTD_DONTCARE; 
     
    Status = ncConfig(Interface, 8, AttrIdList, AttrValueList);  
    if (Status < 0) 
    { 
        PrintStat(Status, "ncConfig"); 
    } 
 
    /* open the CAN Network Interface Object */ 
    Status = ncOpenObject(Interface, &TxHandle); 
    if (Status < 0) 
    { 
        PrintStat(Status, "ncOpenObject"); 
    } 
 
 
    /* print the Help to the I/O window */ 
    printf("\n\ninitialized successfuly on CAN0 ...\n\nPress 't' to transmit a frame  \n\nPress 'q'  to 
quit \n\n"); 
 
    /* Pulse YAV904X8 relay 1 second, each time the user is pressing a key */ 
    do 
    { 
        ch = _getch(); 
 
        if (ch == 't') 
        { 
            Transmit.Data[0]        = 0x02;         // YAV command prefix 
            Transmit.Data[1]        = 0x01;         // YAV command prefix 
            Transmit.Data[2]        = 0x00;         // relay number 
            Transmit.Data[3]        = 0x01;         // YAV set relay ON command 
            Transmit.DataLength     = 4;            // Set CAN frame lenght 

Содержание YAV904X8

Страница 1: ...Two pole 4x8 Switching Matrix YAV904X8 620020E05 Created 13 02 07 Updated 01 12 15...

Страница 2: ...Sistel E 08211 BARCELONA Pag 2 This manual is related to the following product Product P N YAV904X8 Hardware version 02 Software version 01 Issued date 29 06 2010 Document History Version Issued date...

Страница 3: ...4 Device electrical Characteristics 7 3 5 Block diagram 8 3 6 Connectors Jumpers 8 3 6 1 X1 Connector Device Power CAN 8 3 6 2 Jumpers 8 3 6 3 X2 Connector Relays 9 3 6 4 LEDs 9 3 7 YAV904X8 Dimensio...

Страница 4: ...damaging this product products connected to it or people Only qualified and entitled 1 personnel are authorized to carry out operations of installation and routine on the devices described in this man...

Страница 5: ...rtant current peaks Use suitable packing material for transportation An electronic module with a lot of fragile components should be transported with a good protection packaging A collision can cause...

Страница 6: ...ells The board is organized in 4 groups of 8 bipolar relays with double contact acces to each branch therefore we have the possibility to set up different multiplexer configurations depending on the c...

Страница 7: ...Device electrical Characteristics Parameter At Te 5 65 C unless otherwise specified Symbol Values Unit Min Typ Max Operating Parameters Operating voltage Vbb 18 30 VDC Operating current At 24VDC IGND...

Страница 8: ...e TOFF 3 ms 3 5 Block diagram 3 6 Connectors Jumpers 3 6 1 X1 Connector Device Power CAN Pin Description 1 GND 2 24V 3 CAN Low 4 CAN High 3 6 2 Jumpers Jumper Description SW1 Address CAN bus speed and...

Страница 9: ...B Bit P0H 1 75 Row D Bit P1H 1 12 Row A Bit P0L 2 44 76 Row C Bit P1L 2 13 Row A Bit P0L 2 45 Row B Bit P0H 2 77 Row C Bit P1L 2 14 Row D Bit P1H 2 46 Row B Bit P0H 2 78 Row D Bit P1H 2 15 Row A Bit...

Страница 10: ...modified without previous warning and in any case are a contract commitment The present information publishing does not represent resignation of intellectual property or patent Copyright 2009 2010 S A...

Страница 11: ...2 Relays 3 0x05 Time 10ms Set OUT All Relays Rx 0x155102xx 7 0x02 0x03 Relays 0 Relays 1 Relays 2 Relays 3 0x06 ASK ALL Relays Rx 0x155102xx 3 0x02 0x04 Autosend All Relays Status Tx 0x155202xx 6 0x0...

Страница 12: ...D_RATE AttrValueList 0 Baudrate AttrIdList 1 NC_ATTR_START_ON_OPEN AttrValueList 1 NC_TRUE AttrIdList 2 NC_ATTR_READ_Q_LEN AttrValueList 2 0 AttrIdList 3 NC_ATTR_WRITE_Q_LEN AttrValueList 3 1 AttrIdLi...

Страница 13: ...id length Status ncWrite TxHandle sizeof Transmit Transmit if Status 0 PrintStat Status ncWrite Sleep 1000 Transmit Data 0 0x02 YAV command prefix Transmit Data 1 0x01 YAV command prefix Transmit Dat...

Страница 14: ...powerful tool for table top debugging of test systems or system maintenance on site The interface is very user friendly Activating a relays By clicking a relays in the panel the relays will close and...

Страница 15: ...ublishing does not represent resignation of intellectual property or patent Copyright 2009 2010 S A Sistel E 08211 BARCELONA Pag 15 The name of K1 and K2 has also been changed because in his design th...

Страница 16: ...label with its serial number The guarantee period is two years from invoice date 6 Install Uninstall YAV modules into from a VPC Receiver 6 1 Receiver connector 6 1 1 YAVs with 96 pin connector YAV m...

Страница 17: ...property or patent Copyright 2009 2010 S A Sistel E 08211 BARCELONA Pag 17 For removing the modules unscrew and hold the module with two hands from both sides and pull straight out 6 2 Connections 6...

Страница 18: ...the YAV module a CAN interface will be needed Although other CAN Interfaces can be used under the responsibility of the user 6TL recom mends using any CAN bus High Speed Interface from National Instru...

Страница 19: ...onfigurable easy to expand and maintain Each modules can work independently form the tester so you can just plug each of them directly into the ITA frame of a fixture to start debugging the software w...

Страница 20: ...tained in the module firmware and cannot be changed There is a different identification for each YAV module type Therefore modules of different module identification can have the same hardware address...

Страница 21: ...4 B4 8 8 UP 00 1001 9 9 C1 C1 9 9 UP 00 1010 10 10 C2 C2 10 10 UP 00 1011 11 C3 C3 11 11 UP 00 1100 12 C4 C4 12 12 UP 00 1101 13 A5 13 13 UP 00 1110 14 A6 14 14 UP 00 1111 15 B5 15 15 UP 01 0000 16 B6...

Страница 22: ...AV 90304 6TL_Smema_Bridge YAV90304 48 YAV90304 YAV 90304 6TL_Hipot_Switch1 YAV90304 47 YAV90304 YAV 90304 6TL_Hipot_Switch2 H710061 0 00 0000 8710061E02 H7100 61 6TL_Conveyor_Belt X H710061 H710061 1...

Страница 23: ...refers to the default and standard 6TL name given by Phi6 to each module depending on his function in the 6TL platform These aliases could be changed through Phi6 Explorer edit Tags Seventh column Pl...

Страница 24: ...ponsability that the product YAV904X8 Two pole 4x8 switching matrix to which this declaration relates meets the provisions of the EU Directives listed be low Electro Magnetic Compatibility EMC directi...

Страница 25: ...can be modified without previous warning and in any case are a contract commitment The present information publishing does not represent resignation of intellectual property or patent Copyright 2009...

Отзывы: