plc4x
plc4x copied to clipboard
[Bug]: [PLC4J][EIP/LOGIX] Cannot read array
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:
- ControlLogix: read PLC_2_Server.DMC1 => give me "INTERNAL ERROR" as response
- ControlLogix: read PLC_2_Server[16] (which is the same than above) => works and give me a string as response
- ControlLogix same issue than above with BOOLEAN
- CompactLogix: read %N40[0] => works and I get a UINT which is the 2 first chars of a string
- 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.
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
Ok ... I managed to setup my Logix device with some arrays and indeed I think we need to put some work in here.