Category: Plasmac
I'm afraid ChatGPT will just be a time-sink here.
I suspect the easiest current path would be to make a pncconf QTPlasmac/THCAD configuration
for a 7I95T (This requires updating to the very latest LinuxCNC master as 7I95T support was just added
about 1 week ago) This configuration will match as far as encoders, inputs, and outputs go (though will show
more inputs than the 7I97T has, so just don't use any inputs beyond input 15)
When creating the 7I95T configuration, setup step/dir axis. and encoder feedback. This will create the
basic PID loop structure required for changing over to the 7I97T PWM/analog axis configuration.
When this is done, you will have a step/dir configuration for a 7I95T and QTPlasmac/THCAD.
Next you will need to change the card name in the ini file to "7i97".
then the created hal file will need to be edited to change the PID feedback input from stepgen
position to encoder position and the PID output from stepgen velocity to PWM value.
There are also enables and some PWM setup needed. I can help with these when you get a basic
hal file setup.
You can use this example of basic 7I97/7I97T PWM hal file setup: