plc4x
plc4x copied to clipboard
[Feature Request]: Support for software/hardware timestamp information in CANopen driver
What would you like to happen?
JavaCAN library (see pschichtel/JavaCAN#5) recently introduced support for access to hardware or software timestamp tracked by socketcan interfaces. We can integrate this information within our driver to better track timing of operations.
Programming Languages
- [X] plc4j
- [ ] plc4go
- [ ] plc4c
- [ ] plc4net
Protocols
- [ ] AB-Ethernet
- [ ] ADS /AMS
- [ ] BACnet/IP
- [X] CANopen
- [ ] DeltaV
- [ ] DF1
- [ ] EtherNet/IP
- [ ] Firmata
- [ ] KNXnet/IP
- [ ] Modbus
- [ ] OPC-UA
- [ ] S7
Currently the PlcSubscriptionEvent should have a getTimestamp() method ... I think this should be what you're looking for.
However am I currently brainstorming a bit on how to refactor the SubscriptionAPI to use one callback per request and not per field, so this API is a bit in flux right now.