Hi,
Any hot tips for optimizing transaction groups? I’m logging data (a few strings and INTs) from a ControlLogix PLC into SQL server via a stored proc at a rate of a record every second. The records are carton weights and carton details, for each carton.
I have a trigger bit that triggers the transaction on the rising edge of the trigger and a write handshake that sets the result to 1 on success and 2 on failure. The OPC data mode is set to “Read”.
All of the executions are succeeding, but sometimes when I set the trigger high, the transaction doesn’t trigger. I currently have a 1s delay between triggers (which is a bit long for the carton rate) with the group update rate on the trigger at 100ms.
I have multiple check weighers that I’m buffering the carton barcode and weight into an array in the PLC, and a upload routine that pushes the records up to the DB. Perhaps I should have a separate buffer and upload routine for each check weigher?
Reading some of these very useful forum posts, I understand I should shift the transaction groups into a separate project.
My questions are:
- Any hot tips for optimizing the performance?
- What performance can I expect?
- What is a realistic minimum tag group update rate I should use for the trigger?
- Is there any documentation on optimizing this and guidelines on realistic update rates?
Thanks,
Alistair