KRC1 und Phoenix

  • Habe auf der KRC1 über MFC ein Phoenix Devicenet angeschlossen. Controller Phonix IL DN BK3. 4 digitale Eingangsmodule a 4, 1 digitales Ausgangsmodul a 4, 1 analoges Eingangsmodul a 2 und ein analoges Ausgangsmodul a 2.
    Die digitalen Ein- Ausgänge funktioneren einwandfrei, nur für die analogen weder Daten rein noch raus.
    Wo ist das Problem ??
    Hier meine defs in der iosys.ini


    [DEVNET]
    ;Controller Phonix IL DN BK3
    ;Platz 1 IB IL 24 DI 4 $IN 101..104
    ;Platz 2 IB IL 24 DI 4 $IN 105..108
    ;Platz 3 IB IL 24 DI 4 $IN 109..112
    ;Platz 4 IB IL 24 DI 4 $IN 113..116
    ;Platz 5 IB IL 24 DO 4 $OUT 101..104
    ;Platz 6 AI 2 $ANIN 1..2
    ;Platz 7 AO 2 $ANOUT 1..2


    INW4=0 ;$IN[33-48] 1. 0-7 Low Byte 2. 8-15 High Byte
    INW6=2 ;$IN[49-64] Phoenix D-IN1 .. D-IN16
    ANIN1=4,,1 ;$ANIN[1] Phoenix A-In1
    ANIN2=6,,1 ;$ANIN[2] Phoenix A-In2
    OUTB4=0 ;$OUT[33-48] Phoenix D-Out .. D_Out4
    ANOUT1=1,,1 ;$ANOUT[1] Phoenix A-Out1
    ANOUT2=2,,1 ;$ANOUT[2] Phoenix A-Out2


    Vielen Dank für die Hilfe


    Der Robometz

    Phantasie ist wichtiger als Wissen, denn Wissen ist begrenzt.<br />Albert Einstein

  • Schritt für Schritt zum Roboterprofi!
  • Hallole,
    da scheint mir zwischen den beiden Kommas etwas zu fehlen.


    Zitat aus iosys.ini:


    ; Form 1:
    ; {token}{num}={byte},{res},{type}[,CAL{factor}]
    ;
    ; {token} ANIN or ANOUT
    ; {num} number of the analog channel (1..i)
    ; {byte} byte offset over all peripheral devices (0..m)
    ; Offset starts with 0 at the first device and
    ; ends with m at the end of the last device.
    ; {res} resolution of the analog value (number of bits)
    ; {type} type of analog value
    ; 0 : right justified without sign
    ; 1 : right justified with sign
    ; 2 : left justified without sign
    ; 3 : left justified with sign
    ; {factor} maximum analog value, decimal without prefix,
    ; hexadec. with prefix 0x or octal with prefix 0
    ; "CAL 0" or no entry sets factor to its maximum


    Da sollte dann doch so etwas wie
    ANIN1=4,12,1 stehen.


    Ich vermute, dass bei ,, eine Null angenommen wird.


    Tschau,
    Hermann

  • Vielen Dank


    Werde ich Morgen mal testen.


    factor ist neu für mich. In meiner Docu gibts nur byte res und type.
    Und ich dachte wenn ich res nicht benenne, dann funkt es automatisch.


    Servus Roland

    Phantasie ist wichtiger als Wissen, denn Wissen ist begrenzt.<br />Albert Einstein

Erstelle ein Benutzerkonto oder melde dich an um zu kommentieren

Du musst ein Benutzerkonto haben um einen Kommentar hinterlassen zu können

Benutzerkonto erstellen
Neues Benutzerkonto für unsere Community erstellen. Geht einfach!
Neues Benutzerkonto erstellen
Anmelden
Du hast bereits ein Benutzerkonto? Melde dich hier an.
Jetzt anmelden