Sorry if this is not the correct board to post on.
I am using Codesys Control for IOT2000 (a free demo version is available on the store).
When I do the following things, it can compile:
-create a blank IOT2000 device application
-add the CAA File library
-declare an instance of FILE.Open in PLC_PRG
But when I add an Ethernet device, compiler errors occur.
Does anyone know how this could be resolved? I'd prefer not to use SysFile / SysFileAsync
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Solved!
If an Ethernet device is present, the compiler needs CAA File to be in the Device Application library manager.
If there is no Ethernet device present, CAA File can be in either the Application or Device Application library managers.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone,
Sorry if this is not the correct board to post on.
I am using Codesys Control for IOT2000 (a free demo version is available on the store).
When I do the following things, it can compile:
-create a blank IOT2000 device application
-add the CAA File library
-declare an instance of FILE.Open in PLC_PRG
But when I add an Ethernet device, compiler errors occur.
Does anyone know how this could be resolved? I'd prefer not to use SysFile / SysFileAsync
Solved!
If an Ethernet device is present, the compiler needs CAA File to be in the Device Application library manager.
If there is no Ethernet device present, CAA File can be in either the Application or Device Application library managers.