<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for davemansell</title><link href="https://forge.codesys.com/u/davemansell/activity/" rel="alternate"/><id>https://forge.codesys.com/u/davemansell/activity/</id><updated>2025-08-21T23:25:32.007000Z</updated><subtitle>Recent activity for davemansell</subtitle><entry><title>davemansell modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3c10041dae/?limit=25#4370" rel="alternate"/><published>2025-08-21T23:25:32.007000Z</published><updated>2025-08-21T23:25:32.007000Z</updated><author><name>davemansell</name><uri>https://forge.codesys.com/u/davemansell/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/3c10041dae/?limit=25#4370</id><summary type="html">This is from sometime ago but below might help someone else; this could be done via POINTERS. Make sure you protect for NULL pointers etc if you take this approach. // DECLARATION myEnumValue : enumMyEnum; u8 : USINT; pmyEnumValue : POINTER TO enumMyEnum; pu8 : POINTER TO USINT; // CODE pu8 := ADR(u8); pmyEnumValue := pu8; myEnumValue := pmyEnumValue^; // dereference the pointer</summary></entry><entry><title>davemansell modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3c10041dae/?limit=25#4370" rel="alternate"/><published>2025-08-21T23:22:41.806000Z</published><updated>2025-08-21T23:22:41.806000Z</updated><author><name>davemansell</name><uri>https://forge.codesys.com/u/davemansell/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/3c10041dae/?limit=25#4370</id><summary type="html">This is from sometime ago but below might help someone else; this could be done via POINTERS. Make sure you protect for NULL pointers etc if you take this approach. // DECLARATION myEnumValue : enumMyEnum; u8 : USINT; pmyEnumValue : POINTER TO enumMyEnum; pu8 : POINTER TO USINT; // CODE pmyEnumValue := pu8; myEnumValue := pmyEnumValue^; // dereference the pointer</summary></entry><entry><title>davemansell posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3c10041dae/?limit=25#4370" rel="alternate"/><published>2025-08-21T23:21:58.071000Z</published><updated>2025-08-21T23:21:58.071000Z</updated><author><name>davemansell</name><uri>https://forge.codesys.com/u/davemansell/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/3c10041dae/?limit=25#4370</id><summary type="html">This is from sometime ago but below might help you could do this via POINTERS. Make sure you protect for NULL pointers etc if you take this approach. // DECLARATION myEnumValue : enumMyEnum; u8 : USINT; pmyEnumValue : POINTER TO enumMyEnum; pu8 : POINTER TO USINT; // CODE pmyEnumValue := pu8; myEnumValue := pmyEnumValue^; // dereference the pointer</summary></entry><entry><title>davemansell posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3c10041dae/?limit=25#54a3" rel="alternate"/><published>2025-08-21T23:21:46.724000Z</published><updated>2025-08-21T23:21:46.724000Z</updated><author><name>davemansell</name><uri>https://forge.codesys.com/u/davemansell/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/3c10041dae/?limit=25#54a3</id><summary type="html">This is from sometime ago but below might help you could do this via POINTERS. Make sure you protect for NULL pointers etc if you take this approach. // DECLARATION myEnumValue : enumMyEnum; u8 : USINT; pmyEnumValue : POINTER TO enumMyEnum; pu8 : POINTER TO USINT; // CODE pmyEnumValue := pu8; myEnumValue := pmyEnumValue^; // dereference the pointer</summary></entry><entry><title>davemansell modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/74ea016da1/?limit=25#8a79" rel="alternate"/><published>2025-07-29T07:58:35.670000Z</published><updated>2025-07-29T07:58:35.670000Z</updated><author><name>davemansell</name><uri>https://forge.codesys.com/u/davemansell/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/74ea016da1/?limit=25#8a79</id><summary type="html">Hi there i am experimenting with the IIR filter from the control loop library but have been unable to get it to function no matter what inputs I set I get errorID of wrong_configuration (3). Does someone have a working example that they can share. Best regards Dave</summary></entry><entry><title>davemansell posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/74ea016da1/?limit=25#8a79" rel="alternate"/><published>2025-07-29T07:57:37.502000Z</published><updated>2025-07-29T07:57:37.502000Z</updated><author><name>davemansell</name><uri>https://forge.codesys.com/u/davemansell/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/74ea016da1/?limit=25#8a79</id><summary type="html">Hi there i am expermenting with the IIR filter from the control loop library but have been unable to get it to function no matter what inputs I set I get errorID of wrong_configuration (3). Does someone have a working example that they can share. Best regards Dave</summary></entry></feed>