DiamondLightSource / pmac

Driver for the Delta Tau PMAC motion controller family.
Apache License 2.0
25 stars 17 forks source link

Fix id 742 #111

Closed ronaldomercado closed 7 months ago

ronaldomercado commented 11 months ago

(Copying from diamond jira issue ID-742 at @LeandroMartinsdS request)

Creating a Jira issue for the problem mentioned at the Motion Control Working Group meeting on 17 Aug 2023.

The ioc TS02I-CS-IOC-02 communicates to a power brick in the insertion devices development rack.

The abort signal is wired from a PLC to stop motion on fault conditions or when in motion stop.

The logs with the driver I was using (pmac 2-5-6) filled up with error messages like:

[Tue Jul 25 23:59:09 2023]2023/07/25 23:59:09.116 pmacController::fastUpdate Hardware Problem global status [???] => 512 [Tue Jul 25 23:59:09 2023]2023/07/25 23:59:09.120 pmacController::fastUpdate Hardware Problem global status [???] => 512 [Tue Jul 25 23:59:09 2023]2023/07/25 23:59:09.124 pmacController::fastUpdate Hardware Problem global status [???] => 512 [Tue Jul 25 23:59:09 2023]2023/07/25 23:59:09.129 pmacController::fastUpdate Hardware Problem global status [???] => 512 [Tue Jul 25 23:59:09 2023]2023/07/25 23:59:09.316 pmacController::fastUpdate Hardware Problem global status [???] => 512 [Tue Jul 25 23:59:09 2023]2023/07/25 23:59:09.320 pmacController::fastUpdate Hardware Problem global status [???] => 512 [Tue Jul 25 23:59:09 2023]2023/07/25 23:59:09.324 pmacController::fastUpdate Hardware Problem global status [???] => 512 [Tue Jul 25 23:59:09 2023]2023/07/25 23:59:09.328 pmacController::fastUpdate Hardware Problem global status [???] => 512 [Tue Jul 25 23:59:09 2023]2023/07/25 23:59:09.516 pmacController::fastUpdate Hardware Problem global status [???] => 512

There are 21 messages per second

LeandroMartinsdS commented 7 months ago

Fixed at PR#114