Personal Data

Username:
andre-luis
Joined:
2024-07-02 11:59:20.361000

Projects

  • No projects to display.

User Activity

  • Posted a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    Hi @TimvH, In the meantime, I did some experiments and could find a way to achieve similar result. I made some tests, removing the last card from the array, seeing the change on status. PROGRAM P_IOS_STATUSES VAR devStateInput : DEVICE_STATE; devStateOutput : DEVICE_STATE; devStateEncoder : DEVICE_STATE; END_VAR devStateInput := IoConfig_Globals.EL1819.GetDeviceState(); devStateOutput := IoConfig_Globals.EL2809.GetDeviceState(); devStateEncoder := IoConfig_Globals.EL5151.GetDeviceState(); GVL.bInputCardOK...

  • Posted a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    Hi, In our project, it is not rare to have I/O cards issues. I wanted to have a way to check their statuses ( Eg. INIT, OP, PREOP, etc.. ) I was trying to use the GetDeviceDiagnosisInfo method from the IoConfig_Globals, but there is no info available on the Web with a simple example; does someone have a link to some tutorial or anything else ? Kind Regards, Andre.

  • Modified a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    Just to share, for those who as me are seeking for this and had found no information anywhere in this World: Every time I stop/start the PLC runtime ( turning into 'Stopped' or 'Running' state ) the 'CODESYSControlService' appears at the Taskmanager list, which could suggest a straight correlation. I was expecting a clever solution, but this one solves for while.

  • Posted a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    Just to share, for those who as me are seeking for this and had found no information anywhere in this World: Every time I stop/start the PLC runtime ( turning into 'Stopped' or 'Running' state ) the 'CODESYSControlService' appears at the Taskmanager list, which could suggest a straight correlation: I was expecting a clever solution, but this one solves for while.

  • Posted a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    It's already there, the service get started as default. I missed to say that sometimes it happens w/o even the system get restarted. Anyway, the main issue here is to know the state of the runtime. We collect a lot of informations about the whole system, and it would be nice to have a way to detect the runtime state.

  • Modified a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    Hi there, I'm running the Codesys runtime on Windows 64 and I need to know if it is on "Running" or "Stopped" state just after a system crash. The following commands works perfectly well to (re)start it... net stop “CODESYS Control Win V3 - x64" net start “CODESYS Control Win V3 - x64" ...however I'm unable to determine when it is required to be call; I mean, by checking the System Tray icon, it is possible to know if it is on "Stopped" state, but I wanted to run a .BAT command to retrieve it. How...

  • Modified a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    Hi there, I'm running the Codesys runtime on Windows 64 and I need to know if it is on "Running" or "Stopped" state just after a system crash. The following commands works perfectly well to (re)start it... net stop “CODESYS Control Win V3 - x64" net start “CODESYS Control Win V3 - x64" ...however I'm unable to determine when it is required to be call; I mean, by checking the System Tray icon, it is possible to know if it is on "Stopped" state, but I wanted to run a .BAT command to retrieve it. How...

  • Modified a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    Hi there, I'm running the Codesys runtime on Windows 64 and I need to know if it is on "Running" or "Stopped" state just after a system crash. The following commands works perfectly well to (re)start it... net stop “CODESYS Control Win V3 - x64" net start “CODESYS Control Win V3 - x64" ...however I'm unable to determine when it is required to be call; I mean, by checking the System Tray icon, it is possible to know if it is on "Stopped" state, but I wanted to run a .BAT command to retrieve it. How...

View All