You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@plc4x.apache.org by "charlyjna (via GitHub)" <gi...@apache.org> on 2023/06/21 13:09:16 UTC

[I] [Bug]: [PLC4J][EIP/LOGIX] Cannot read array (plc4x)

charlyjna opened a new issue, #1008:
URL: https://github.com/apache/plc4x/issues/1008

   ### What happened?
   
   Hello,
   
   Using 0.9.1 or 0.11-SNAPSHOT version, EIP or LOGIX, I have some issue reading array and no numeric values.
   
   Examples:
   1. ControlLogix: read PLC_2_Server.DMC1 => give me "INTERNAL ERROR" as response
   2. ControlLogix: read PLC_2_Server[16] (which is the same than above) => works and give me a string as response
   3. ControlLogix same issue than above with BOOLEAN
   4. CompactLogix: read %N40[0] => works and I get a UINT which is the 2 first chars of a string
   5. CompactLogix: read %N40[0]:8 / %n40[0]:INT:8 => Program crash with an ArrayIndexOutOfBoundsException
   
   I attached Java error message and wireshark captures to help in understanding this issue.
   
   Thank you for any help.
   
   [PLC4J_EIP-LOGIX_issue.zip](https://github.com/apache/plc4x/files/11817826/PLC4J_EIP-LOGIX_issue.zip)
   
   
   ### Version
   
   v0.11-SNAPSHOT
   
   ### Programming Languages
   
   - [X] plc4j
   - [ ] plc4go
   - [ ] plc4c
   - [ ] plc4net
   
   ### Protocols
   
   - [ ] AB-Ethernet
   - [ ] ADS /AMS
   - [ ] BACnet/IP
   - [ ] CANopen
   - [ ] DeltaV
   - [ ] DF1
   - [X] EtherNet/IP
   - [ ] Firmata
   - [ ] KNXnet/IP
   - [ ] Modbus
   - [ ] OPC-UA
   - [ ] S7


-- 
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: dev-unsubscribe@plc4x.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org