CSV utility does not function in PFC100

dmeconsult
2020-07-06
2020-07-07
  • dmeconsult - 2020-07-06

    Hallo everyone, I am using WAGO PFC100 as hardware and Codesys as software. I am trying to read the CSV file and get the values from that.
    The problem is, the function blocks (with out license) csvReaderInit and nextElement were functioning well in simulation mode and give correct results. But those are do not work in the online mode (login). It shows error in a function block.

    Question: Does the csvUtility function block work in PFC100 or not? Or because of free usage of function block?

     
  • eschwellinger

    eschwellinger - 2020-07-06

    Hi,
    sure should work, we need more details, scereenshot error numbers... and this should work even in the 2h unlicensed mode.
    Which Runtime/CODESYS Version and which Wago Firmware is on the PFC100?

    Regards
    Edwin

     

    Last edit: eschwellinger 2020-07-06
  • dmeconsult - 2020-07-07

    Hallo Edwin,
    My Controller Details are:
    Product: WAGO 750-8100 PFC100,
    Firmware: 09,
    Codesys: 3.5.15.4

    My csv content are:
    Month, Temperature, Current_Price
    7, 13, 30

    Result at simulation mode:

    sElement: 'Month'
    sBuffer: 'Temperature,current_price$R$N7,13,30$R$N'
    xError: FALSE
    eError: NO ERROR

    Result at online mode:
    sElement: "
    sBuffer: "
    xError: TRUE
    eERROR: INVALID_HA

    I have attached my simple PLC LadderDiagram.

    Regards
    dmeconsult

     

    Last edit: dmeconsult 2020-07-07

Log in to post a comment.