Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Funktionsblock 'IoDrvGPIO' muss für den Zugriff instanziert

Anonymous
2015-12-15
2016-01-20
  • Anonymous - 2015-12-15

    Originally created by: OW_RPi

    Hello,

    I just installed CODESYS V3.5 SP8 and updated the RPi Runtime (V3.5.8.0) on my Raspberry B+.

    When I start a new project, I get the following Warning in "Application":
    "Funktionsblock 'IoDrvGPIO' muss für den Zugriff instanziert werden"

    Can someone tell me what to do?

    Thanks!

    Best regards,
    Oleg

    IMG: image.png

     
  • eschwellinger

    eschwellinger - 2015-12-16

    Hi Oleg,

    this is a bug and will be solved for 3.5SP8Patch1 4BR
    BR
    Edwin

     
  • chris.beard - 2016-01-15

    Edwin Schwellinger hat geschrieben:
    Hi Oleg,
    this is a bug and will be solved for 3.5SP8Patch1 4BR
    BR
    Edwin

    I have the same error, do you know when patch 2 will be released?

     
  • eschwellinger

    eschwellinger - 2016-01-15

    Hi,

    18th February (which will include this fix)
    BR
    Edwin

     
  • JJoe - 2016-01-18

    Hallo,
    versuche gerade mich in das Beispielsprogramm "I2CExamples" für den Raspberry einzuarbeiten und verwende CoDeSys V3.5 SP8. Ich bekomme die Meldungen

    C0080: Funktionsblock 'IoDrvGPIO' muss für den Zugriff instanziert werden
    C0080: Funktionsblock 'AdafruitPwm' muss für den Zugriff instanziert werden.

    Was kann ich tun?

     
  • eschwellinger

    eschwellinger - 2016-01-18

    Hi,
    this is only a precompile error, you could download the applicaton without any functional restriction.
    This error will be removed to 3.5SP8Patch1 (next release)
    BR
    Edwin

     
  • JJoe - 2016-01-20

    Hello Edwin,
    thank you very much for your answer. I have know zero errors and two more questions running the program I2CExamples:
    1. The address of Adafruit 16-channel/12-Bit PWM is 16#40. Where can I put it in the example?
    2. Since I can control 16 servos, where can I fix the output of a single servo?

    Best regards
    Joachim

     
  • eschwellinger

    eschwellinger - 2016-01-20

    Hi,

    a) screenshot
    b) you mean you want to manually control each servo by value?
    From this example here:

    "c:\Users\<yourwindowsusername>\CODESYS Control for Raspberry PI\3.5.8.0\Examples\I2CExamples.project" </yourwindowsusername>

    Adafruit_PWM.alrPWM[0] := lrMyValueforServo0
    Adafruit_PWM.alrPWM[1] := lrMyValueforServo1
    Adafruit_PWM.alrPWM[2] := lrMyValueforServo2
    Adafruit_PWM.alrPWM[3] := lrMyValueforServo3
    .
    .
    .

    BR
    Edwin

    IMG: SetPwm.jpg

    IMG: Address.jpg

     

    Related

    Talk.ru: 1
    Talk.ru: 2
    Talk.ru: 3


Log in to post a comment.