DvonHolten opened a new issue, #2388:
URL: https://github.com/apache/plc4x/issues/2388
### What happened?
when you add parameters to a S7 request, you have two ways to do it:
- `builder.addTagAddress( "name", "%DB69:68:STRING(20)" )`
- `builder.addTag( "name", S7Tag.of("%DB69:68:STRING(20)" )`
however, in the second form we get an error, because the `S7Tag.of()`
notation does not recognize the string-length parameter. Looking into
`S7Tag.of()` and `addTagAddress()` shows, that `S7Tag.of()` does not use the
regexes which could handle the added "(20)" length parameter. addTagAddress()
uses these regexes and can deal with this addresses.
### Version
V0.13.1
### Programming Languages
- [ ] plc4c
- [ ] plc4go
- [x] plc4j
- [ ] plc4net
- [ ] plc4py
### Protocols
- [ ] AB-Ethernet
- [ ] ADS /AMS
- [ ] BACnet/IP
- [ ] C-Bus
- [ ] CANopen
- [ ] EtherNet/IP
- [ ] Firmata
- [ ] IEC-69870
- [ ] KNXnet/IP
- [ ] Modbus
- [ ] OPC-UA
- [ ] Profinet
- [ ] S7
- [x] S7-light
--
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]