Brutzy (Customer) asked a question.
Is applying power this way considered to be best practice?
[1] A little NEMA-17 stepper motor driver TB6600
[2] Cognex Camera
Brutzy (Customer) asked a question.
[1] A little NEMA-17 stepper motor driver TB6600
[2] Cognex Camera

I am not sure what you are trying to do with the stepper motor but the P1-15CDD2 is not going to be fast enough for the stepper pulse signal to get any meaningful speed out of it. from limited research the TB6600 control siginals are 3.3V compliant so i would use the GPIO which you can get much faster speed.
if you want to use a P1 card i would look in to the P1-04PWM. I am using one of those cards with a P1-540 CPU to control a stepper motor.
https://wiki.dfrobot.com/TB6600_Stepper_Motor_Driver_SKU__DRI0043
Yes, my plan is to use the P1AM-GPIO to control the stepper motor. I successfully used an UNO to control the TB6600. I think that I maybe want to power the TB6600 from the P1-15CDD2.

I wouldn't use an output of a P1-15CDD2 to power VCC to GND directly. the output current on the P1-15CDD2 is only rated for 1A and depending on the stepper motor the driver can need up to 5A. If you want to kill power i would use a relay.
Copyright © 1999-2023 AutomationDirect. ALL RIGHTS RESERVED
I wouldn't use an output of a P1-15CDD2 to power VCC to GND directly. the output current on the P1-15CDD2 is only rated for 1A and depending on the stepper motor the driver can need up to 5A. If you want to kill power i would use a relay.
https://www.automationdirect.com/adc/shopping/catalog/programmable_controllers/productivity_series_controllers/productivity1000_(stackable_micro_plc)/dc_-a-_combo_i-z-o/p1-15cdd2