Personal Data

Username:
atone
Joined:
2024-01-04 07:56:10.537000

Projects

  • No projects to display.

User Activity

  • Modified a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    OK, I figured out that I can simply define all the sensors as 16 bytes IN/OUT, even if they are not all used. EDIT: The negative effect is that each bit is taken into account as an I/O for the license, even if not used.

  • Modified a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    OK, I figured out that I can simply define all the sensors as 16 bytes IN/OUT, even if they are not all used. EDIT: The negative effect is that each bit is taken into account as an I/O for the license.

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Answering to myself: is not possible according to the IFM support, this possibility has not been taken into account, although the interfaces and FBs in Codesys would apparently support it. So I ended up having to deactivate the sensor validation and the backup & restore functionality in the master and implement it in the PLC myself.

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    In case of error while opening the file to read you assume that the file doesn't exist and try to create one. But it could be that the SD card is not ready yet or simply not there. I would try to check first if the SD card is there and accessible. Otherwise with FILE.Create you could end up creating a new directory that is not mapped to the SD card. This would explain the errors even after a reboot, though it doesn't explain the READ_ONLY_CAA error I guess? I would use FILE.DirOpen and FILE.DirList...

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    I need to be able to change (set) the DeviceID of an IO-Link sensor (see DeviceID.png) at runtime. I tried with both ProfinetCommon.PN_PortConfiguration and ProfinetCommon.IOL_PortConfiguration, but I get an error for both when I try to read the port configuration (see PN_PortConfiguration.png). Does one of those FBs is the right one for my purpose? Do I possibly make a mistake when assigning the parameter IOLD_ID/IOLM_ID?

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    OK, I figured out that I can simply define all the sensors as 16 bytes IN/OUT, even if they are not all used.

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    I need to be able to update (change) the interface of an IO-Link device at runtime. The reason is the connected sensor can be selected at runtime, and some sensors we use have a 2 byte IN interface, others have a 4 byte IN interface, others 16 byte IN, others 16 byte IN/OUT (see attached screenshot). Is it possible at all? When yes, which function should I use? Thank you!

  • Modified a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    SysTimeRtcConvertUtcToLocal is marked as obsolete, but there's not hint on the actual implementation. Which function should I use instead? Edit: even the new online help is still using SysTimeRtcConvertUtcToLocal as example...

View All