RuneRoven opened a new issue, #1424:
URL: https://github.com/apache/plc4x/issues/1424
### What happened?
Run the read example for GO and changed to a single bool which i can read
from other clients on the same computer.
Using an older PLC with Twincat 2 on port 801.
`readRequest, err := connection.GetConnection().ReadRequestBuilder().
AddTagAddress("value-bool", "MAIN.myBool").
Build()
if err != nil {
panic(err)
}`
`{"level":"debug","connection":"ads.Connection{}","time":"2024-02-25T17:12:04+01:00","message":"created
connection, connecting now"}
{"level":"trace","time":"2024-02-25T17:12:04+01:00","message":"Connecting"}
{"level":"trace","time":"2024-02-25T17:12:04+01:00","message":"connecting"}
{"level":"trace","time":"2024-02-25T17:12:04+01:00","message":"Sending
request"}
{"level":"trace","time":"2024-02-25T17:12:04+01:00","message":"Sending
message"}
{"level":"trace","time":"2024-02-25T17:12:04+01:00","message":"Reading"}
{"level":"debug","tag":"*model.DirectPlcTag","time":"2024-02-25T17:12:04+01:00","message":"Invalid
tag item type"}
{"level":"info","time":"2024-02-25T17:12:04+01:00","message":"Shutting down
driver manager"}
{"level":"trace","name":"ads","time":"2024-02-25T17:12:04+01:00","message":"closing
driver"}
{"level":"trace","name":"tcp","time":"2024-02-25T17:12:04+01:00","message":"closing
transport"}
{"level":"trace","time":"2024-02-25T17:12:04+01:00","message":"Closing"}
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x28 pc=0x69ea5c]`
### Version
Latest
### Programming Languages
- [ ] plc4j
- [X] plc4go
- [ ] plc4c
- [ ] plc4net
### Protocols
- [ ] AB-Ethernet
- [X] ADS /AMS
- [ ] BACnet/IP
- [ ] CANopen
- [ ] DeltaV
- [ ] DF1
- [ ] 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]