ELE 5451 E-Testing II

J259 Code Exam Problem

  1. Explain what the following J259 code is doing.
    
    CTN(7); /* Test 7 VO13005  Vin=13v pin2(5ma) pin 5 (5ma) SW on */
    MS(MFV|NOCLMP|E5,12.80,FFP|VX1,0.00); /*still max V */
    Relay(R_Word,Power|P2Cap|P5Cap|Load_2|Ld5_005|Out_2|P1Cap);
    CS(S3|VX1|CL2,1.60); /* SW = on */
    CS(S5|VX1|CL2,1.30); /* Voltage control 13v */
    CP(P6,ML);
    CP(P2,OPEN);
    JWait(5);
    GATES(MSG|S3G|S5G|S6G);
    JWait(10);
    GATES(MSG|S3G|S4G|S5G|S6G);
    JWait(10);
    Datalog(0,DLOG_MEAS);
    DLval[TN]=12.000+(DLval[TN]/10.00);
    if(!TEST((DLval[TN]>vo2_min) && (DLval[TN]      
    

  2. What is the numerical value of the expression,
    MFV|MFP|NOCLMP|E2

    What does it mean?

    Given the following;

    
    Definitions from the header include files
                   (octal)   (binary)
    #define MFV    0100   000001000000   This number forces the system to measure voltage.
    #define MFI    0140   000001100000   This number forces the system to measure current.
    #define MFP       0   000000000000   Zero represents a positive voltage.
    #define MFM     020      000010000   This number represents a negative voltage.
    #define NOCLMP  010      000001000   This number disables the system clamp function.
    
                    (octal) (binary)
    #define E0          0    000    10**(-0) = 1  MS() - Current Exponent */
    #define E1          1    001     0.1
    #define E2          2    010     0.01
    #define E3          3    011     0.001
    #define E4          4    100     0.0001         Current multiplier
    #define E5          5    101     0.00001
    #define E6          6    110     0.000001
    #define E7          7    111     0.0000001