mp49 / parker6k

EPICS support for the Parker 6K controller
1 stars 2 forks source link

Do not send AXSDEF command to Gx6K controllers #10

Closed mark0n closed 9 years ago

mark0n commented 9 years ago

All GT6K controllers are stepper controllers whereas all GV6K are servo controllers. In contrast to the 6Ks they cannot be configured to be one or the other. Check the controller model using the TREV command to detect if we are connected to a GT6K/GV6K controller and do not send the AXSDEF command on these devices (it is not supported on these and causes error messages). This closes #7

mark0n commented 9 years ago

I only tested this with a GT6K (we don't have other controller models).

mp49 commented 9 years ago

I've merged this into master. Thanks for the work and testing!

When I get chance I think I will expose the controller type as a parameter and read it into a stringin record. And the controller type can be read in the controller constructor, because I suspect the type will be used to control wether we use other commands too. I can test this on a 6K and a GT6K.