We are using a Power PMAC CPU main rack that contains a Acc5E card that talks (over fiber) to a remote station with a 16-Axis Macro CPU. The remote station with the 16 axis macro cpu has 16 axis, 4 axis per each of 4 ACC-24E2A cards.
We are using "AmpEnable(int)" and "AmpDisable(int)" from c routines operating in the servo interrupt and the realtime interrupt. These functions are included in RtGpShm.h but they are not documented.
AmpEnable works as far as we can tell. However, issuing AmpDisable will cause the encoders to function incorrectly. Additionally, AmpDisable can cause the MacroStation itself to become unresponsive. As a temporary work around, we have found "MacroControllerInit" will clear the errors.
We want to understand this issue better. What exactly do AmpDisable and AmpEnable do? Do they have conditions around when they can be called?
For a macro system using an Acc5E card with a 16 axis macro cpu card, what firmware version should be on the Acc5E card and what firmware version should be on the 16 axis macro cpu card?
Are there equivalent commands we could use in place of AmpEnable/AmpDisable?
Are the AmpEnable/AmpDisable functions compatible with a macro station? If not, what functions should we be using?