<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for andre-luis</title><link href="https://forge.codesys.com/u/andre-luis/activity/" rel="alternate"/><id>https://forge.codesys.com/u/andre-luis/activity/</id><updated>2025-02-06T17:51:32.671000Z</updated><subtitle>Recent activity for andre-luis</subtitle><entry><title>andre-luis posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d2ebf46a01/?limit=25#2ad3" rel="alternate"/><published>2025-02-06T17:51:32.671000Z</published><updated>2025-02-06T17:51:32.671000Z</updated><author><name>andre-luis</name><uri>https://forge.codesys.com/u/andre-luis/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/d2ebf46a01/?limit=25#2ad3</id><summary type="html">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...</summary></entry><entry><title>andre-luis posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d2ebf46a01/?limit=25#f517" rel="alternate"/><published>2025-02-06T14:15:46.852000Z</published><updated>2025-02-06T14:15:46.852000Z</updated><author><name>andre-luis</name><uri>https://forge.codesys.com/u/andre-luis/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/d2ebf46a01/?limit=25#f517</id><summary type="html">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.</summary></entry><entry><title>andre-luis modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/01a1648bc0/?limit=25#8615" rel="alternate"/><published>2024-07-02T18:11:37.546000Z</published><updated>2024-07-02T18:11:37.546000Z</updated><author><name>andre-luis</name><uri>https://forge.codesys.com/u/andre-luis/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/01a1648bc0/?limit=25#8615</id><summary type="html">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.</summary></entry><entry><title>andre-luis posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/01a1648bc0/?limit=25#8615" rel="alternate"/><published>2024-07-02T18:10:10.105000Z</published><updated>2024-07-02T18:10:10.105000Z</updated><author><name>andre-luis</name><uri>https://forge.codesys.com/u/andre-luis/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/01a1648bc0/?limit=25#8615</id><summary type="html">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.</summary></entry><entry><title>andre-luis posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/01a1648bc0/?limit=25#8052" rel="alternate"/><published>2024-07-02T15:01:10.101000Z</published><updated>2024-07-02T15:01:10.101000Z</updated><author><name>andre-luis</name><uri>https://forge.codesys.com/u/andre-luis/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/01a1648bc0/?limit=25#8052</id><summary type="html">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.</summary></entry><entry><title>andre-luis modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/01a1648bc0/?limit=25#ecd1" rel="alternate"/><published>2024-07-02T12:03:01.022000Z</published><updated>2024-07-02T12:03:01.022000Z</updated><author><name>andre-luis</name><uri>https://forge.codesys.com/u/andre-luis/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/01a1648bc0/?limit=25#ecd1</id><summary type="html">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...</summary></entry><entry><title>andre-luis modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/01a1648bc0/?limit=25#ecd1" rel="alternate"/><published>2024-07-02T12:02:46.159000Z</published><updated>2024-07-02T12:02:46.159000Z</updated><author><name>andre-luis</name><uri>https://forge.codesys.com/u/andre-luis/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/01a1648bc0/?limit=25#ecd1</id><summary type="html">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...</summary></entry><entry><title>andre-luis modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/01a1648bc0/?limit=25#ecd1" rel="alternate"/><published>2024-07-02T12:02:25.383000Z</published><updated>2024-07-02T12:02:25.383000Z</updated><author><name>andre-luis</name><uri>https://forge.codesys.com/u/andre-luis/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/01a1648bc0/?limit=25#ecd1</id><summary type="html">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...</summary></entry><entry><title>andre-luis posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/01a1648bc0/?limit=25#ecd1" rel="alternate"/><published>2024-07-02T12:01:48.400000Z</published><updated>2024-07-02T12:01:48.400000Z</updated><author><name>andre-luis</name><uri>https://forge.codesys.com/u/andre-luis/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/01a1648bc0/?limit=25#ecd1</id><summary type="html">Hi there, I'm running the Codesys runtime on Windows 64 and I need to know if it is on "Running" or "Stopped", 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 can...</summary></entry></feed>