pcdshub / pytmc

Generate EPICS IOCs and records from TwinCAT projects - along with many TwinCAT project tools
https://pcdshub.github.io/pytmc/
Other
10 stars 11 forks source link

FIX: CP link instead of CPP link #283

Closed klauer closed 2 years ago

klauer commented 2 years ago

Context

Closes #282

Prior to this PR, we are erroneously limited to 2Hz updates for all IOC->PLC PV links due to the 0.5 second SCAN rate configured for linked records. What we want is the IOC to write to the PLC on every update, and failing that at 2Hz.

Background

In our case, we want the linked record to cause processing on every update. This is how the mechanism is supposed to work with pytmc writing values from the IOC to the PLC.

ZLLentz commented 2 years ago

Code change + test fixes looks good- merge at will if it was passing locally Should follow-up later to fix the CI troubles