chrisdutz commented on issue #1646:
URL: https://github.com/apache/plc4x/issues/1646#issuecomment-2168427060

   So I've just created a ManualTest for my Logix device.
   I created several Controller Tags (Including UDTs)
   They are all called "hurz_{datatypeName}" for simplicity.
   the Following program works when reading:
   
   `
       public static void main(String[] args) throws Exception {
           ManualEipLogixDriverTest test = new 
ManualEipLogixDriverTest("logix://192.168.23.40");
           // This is the very limited number of types my controller supports.
           test.addTestCase("hurz_BOOL", new PlcBOOL(true));
           test.addTestCase("hurz_SINT", new PlcSINT(-42));
           test.addTestCase("hurz_INT", new PlcINT(-2424));
           test.addTestCase("hurz_DINT", new PlcDINT(-242442424));
           test.addTestCase("hurz_REAL", new PlcREAL(3.141593F));
           //test.addTestCase("hurz_UDT", new PlcStruct());
   
           long start = System.currentTimeMillis();
           test.run();
           long end = System.currentTimeMillis();
           System.out.printf("Finished in %d ms", end - start);
       }
   `
   However I can see the UDT being correctly sent on the wire using WireShark, 
just it seems that decoding it is a problem for the driver. Also can't I write. 
As soon as I try that I get errors.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to