His PLC is a TC3 device so it shouldn’t be affected by the issue you were seeing.
Chris Von: Łukasz Dywicki <[email protected]> Datum: Dienstag, 17. Oktober 2023 um 13:57 An: [email protected] <[email protected]> Betreff: Re: PLC4X - 0.11.0 - Issue writing value to a Beckhoff PLC using ads driver Hey Chris and Patrick, I've had a look on ADS driver in context of TC2 and I found that i.e. subscriptions do not work when initial symbol discovery is disabled (load-symbol-and-data-type-tables=false). Subscriptions did fail due to missing data type mapping, even for most basic types. I suppose that it could be same for writing where a proper write buffer needs to be allocated. Best, Łukasz On 17.10.2023 13:40, Patrick Boisclair wrote: > Hi Chris, > > I will continue to investigate and test today and I'll share what I can find. > > The PLC type is a "CX8190 / Standard" > > I really appreciate your help on this. > > > > Patrick Boisclair > Email: [email protected] > -----Original Message----- > From: Christofer Dutz <[email protected]> > Sent: Tuesday, October 17, 2023 3:14 AM > To: [email protected] > Subject: AW: PLC4X - 0.11.0 - Issue writing value to a Beckhoff PLC using ads > driver > > Attention: Courriel provenant de l'externe. Veuillez valider la source et le > contenu avant de cliquer sur un lien ou d'ouvrir un document. > > > Hi Patrick, > > that’s odd … I think I didn’t change anything with respect to the decoding of > datatypes. A quick look showed me that it has been mostly unchanged since > before the last release. > The only changes I did there were fixing some character and string handling > issues. So, I guess your problem must have a different source. > > Next to the automated tests, we also have the “ManualTests”, which can only > be executed if you possess an ADS device and declare a pre-defined > datastructure and values. > One of the tests is this: > test.addTestCase("MAIN.hurz_DINT", new PlcDINT(-242442424)); So, this test > reads the variable hurz_DINT from the plc and compares it with the expected > value, then it writes it back. > If the writing wouldn’t be working, I probably couldn’t execute the test more > than once. However, I am perfectly able to do that. > > Do you have an idea what could else be causing this problem you are having? > Could you please share with us, the exact type of your PLC? > I could ask my folks at Beckhoff to what the problem could be. > > Chris > > Von: Patrick Boisclair <[email protected]> > Datum: Dienstag, 17. Oktober 2023 um 03:03 > An: [email protected] <[email protected]> > Betreff: PLC4X - 0.11.0 - Issue writing value to a Beckhoff PLC using ads > driver Hi all, > > I upgraded from version 0.9.1 to 0.11.0 and I cannot write to my Beckhoff PLC > anymore. > > When I write 1 to a DINT, 16777216 is stored. > > Is it a BIG-ENDIAN vs LITTLE-ENDIAN issue ? > Is it possible to specify the “endianness” of the PLC ? > > According to the TWINCat doc, it seems they use LITTLE-ENDIAN. > > Any information would be grateful. > > Thank you very much and best regards. > > > > Patrick Boisclair > Analyste Programmeur Sénior, Automatisation ‑ IoT Senior Analyst Programmer, > Automation ‑ IoT > noovelia.com<https://ca.content.exclaimer.net/?url=https%3A%2F%2Fwww.noovelia.com%2F&tenantid=8tX2umAPEeuYigAD_7TEDg&templateid=8cd6b243492cec11ae720050f28c6d00&signature=Iv95LR45lyPUil_sETs-kbbi-09FQA9SVNo9xy79EyFBb0c4rfAoaU8CIr-BB2O4MlDHT91tJ3AXDpUwKBgFLvH_lMRrX6Qzz78VWBQX0WcgNvP2Kmdr51bWnwRokgS9B3HiswGaGBI3lZkVZLh4D3OOGWPuquBDNBsmCkiOSCcXMathSqDI0eLd1euQg0mzPsylz76W5KuwGrUpUP0olQFuLsORCDtg2xViq4KNzcRSHGBhP90MPnLmGvrSaY5WOoKPMWqedgOx2_W6CITnPxQUPfmo2hEKyXVNDEESmEmYdWkBPRHM72y0DI7O0Y8m5DMM89VPSXtGlNnZIIYv9A&v=1&imprintMessageId=4bf374d6-ae40-4614-a370-08df1279dbc0> > [Facebook]<https://ca.content.exclaimer.net/?url=https%3A%2F%2Fwww.facebook.com%2Fnoovelia&tenantid=8tX2umAPEeuYigAD_7TEDg&templateid=8cd6b243492cec11ae720050f28c6d00&excomponentid=ZmF7WktjxTdDuuZQWYc6sGK2yu2_ALLM4NagQa2CaXQ&signature=gA7zQcDvyMqziyTk1NpiqkUs4_KHFoPAPkaxB4RaSUokp9VZJ6ge8O6B_dLVF4ZTG9EqoMY4hyfDyjuTosxrNxVLkg6zGnUwC5AtynhsvqVCdn47JRkX2PhZFduKoN2y9_Cg4zpHF7ua6QxVHUHWk4CRYO2eYxnqh3B4s4EAI3_CkMW8a2ESjipCdSd9oGnOIf4iv0Kd63h1zX1NRM-DDggACNKxZ2CBg6aj9RhboI0cF-tmWhjiCRUC6F3bSXciM1MBPoX5ZgMKmYb56ptGDvzZ08kFzGBePkkHZj0NjEo_vzlOQ5EmHsKDtdhtfKD_cZyzAq05FaudXDdXKWmHrw&v=1&imprintMessageId=4bf374d6-ae40-4614-a370-08df1279dbc0> > [LinkedIn]<https://ca.content.exclaimer.net/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fnoovelia&tenantid=8tX2umAPEeuYigAD_7TEDg&templateid=8cd6b243492cec11ae720050f28c6d00&excomponentid=gNvIHZ_qTdPfV59g9Dvb-7S1lYFMf8aJTWYxR5l4oio&signature=DseD1J-zw05mIkCR2-ODxg8DQL69F5g3SbGhVrl-KrhMKZP8V3bSHxUEe06ALzSjjYh5Z2MwhH6ZfpPVT-pGlV2XJaE-XBLRLtbDf9UyUZ_4AKOxdbLUFrV6vx0_svGCemL5JTj7l9ATIyHFzUKxB_F42E77uzDGVvWHKP0JmQvrIo3exdGsbQwHYrVQnSs4RFknVmRWBBcX06t0E8nsxzQ1M4KdHOyUQ3AECUlOsR5I0_kl3MwP3iBdaf-luWK2Ajr3SMxcY_i23ByUv5TFF5HKgOch2j8uYmoUjX3j1DWpsMdo1QykjWXsWS9nCs1T305rTGjhicZzh0epWAwyDg&v=1&imprintMessageId=4bf374d6-ae40-4614-a370-08df1279dbc0> > [Vimeo]<https://ca.content.exclaimer.net/?url=https%3A%2F%2Fvimeo.com%2Fnoovelia&tenantid=8tX2umAPEeuYigAD_7TEDg&templateid=8cd6b243492cec11ae720050f28c6d00&excomponentid=e86XH_THZzDWDZoMfgXywXCARAFN6XbVI9z7vfwb9_I&signature=dIWDfQpcnIbrUPhCFk-ICke6OI2vuNHVJklkX7cnwfj_ZFitlSj0hNiF5VU4kARQvTImG23N0zYDDm7l5naFR7nXAczRdPrJQivN60jxrvB9bYcG-G-CapqXN_nosjw4DOPDY-5tJFbcDZ7ShxrU2lNrhdgOss175tyfjbrnpOKSbc3r7xamhJyXwoBQWZHcAOK9GulF_QNvhoYGAQnguIte1DzABJXEErjnUXQAVL7Dm8W_HSapUkrJvDtPl1FMOo7H4rC01275nHFPDzM7L8CR0_NbGoIL2YdznafGmZ0LuYMDAfHmzxJrfAbgHmgqFg_aAd9mZHfG1M2QK8UkqA&v=1&imprintMessageId=4bf374d6-ae40-4614-a370-08df1279dbc0> > [Noovelia.com]<https://ca.content.exclaimer.net/?url=https%3A%2F%2Fwww.noovelia.com%2F&tenantid=8tX2umAPEeuYigAD_7TEDg&templateid=8cd6b243492cec11ae720050f28c6d00&excomponentid=1FCAXhH1bviz338froccwcO7t8vnYHcBED0FQVRXK6o&signature=Iv95LR45lyPUil_sETs-kbbi-09FQA9SVNo9xy79EyFBb0c4rfAoaU8CIr-BB2O4MlDHT91tJ3AXDpUwKBgFLvH_lMRrX6Qzz78VWBQX0WcgNvP2Kmdr51bWnwRokgS9B3HiswGaGBI3lZkVZLh4D3OOGWPuquBDNBsmCkiOSCcXMathSqDI0eLd1euQg0mzPsylz76W5KuwGrUpUP0olQFuLsORCDtg2xViq4KNzcRSHGBhP90MPnLmGvrSaY5WOoKPMWqedgOx2_W6CITnPxQUPfmo2hEKyXVNDEESmEmYdWkBPRHM72y0DI7O0Y8m5DMM89VPSXtGlNnZIIYv9A&v=1&imprintMessageId=4bf374d6-ae40-4614-a370-08df1279dbc0> > [Plus de 40 ans d'expertise - More than 40 years of > expertise]<https://ca.content.exclaimer.net/?url=https%3A%2F%2Fnoovelia.com%2Fsolutions%2Fsolutions-logicielles%2F&tenantid=8tX2umAPEeuYigAD_7TEDg&templateid=1aeffca7a60bee11907c002248af6709&excomponentid=WjF25ukceEARLfpEWglck1E5zfbCVIwXOR9rfO78eKM&signature=TXXn7phP7FRe1i7s0rVCDtzQ_ndMUDFtKvp0GKgxaAOWhxwZ4UqY1jqLvGP9s68KHxlO-BcSfzuf0TRsDQ-PPTVFWyooHKeBK9Bf6pobkMpQHquVxaXRDIk_JhChFjZQdtXoCSeq4poDxyz3vIUFs9Y3s7SnAPhAjheRy7vge4-1NkkAGGBdD1NZ1roQpXgs3f1Z2zcUUoL0rR3VwbSBi3zFWqZhfNFikCyicFiyhhA8GImDjSDmwDcPGFUjuZyus4d0d0dPkfwrcgwkms0u4LpuSMf4G0F03XE9HdwvdIwwiTLkcihJYXTcbyrac3ABcYnOag9fGxusgrO3to5n0w&v=1&imprintMessageId=4bf374d6-ae40-4614-a370-08df1279dbc0> > >
