585,687 active members*
4,555 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Servo Motors / Drives > St-pmc1 single axis controller
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2019
    Posts
    2

    St-pmc1 single axis controller

    Hello I was wondering if anybody has any links to more programming examples or could possibly help me generate a program for this. I got everything wired up.

    I've made a lot of CNC machines ????.

    Well we're trying to use this for is a grinder feed-down system so the hydraulic table moves back and forth and it hits a switch on one side and I want this to feed down x amount of steps everytime it hits switch and repeat that say 10 times then return to zero.

    Example 3 in the manual kind of tells you what to do with j-bit and loops but it's really confusing me lol

  2. #2
    Join Date
    Nov 2019
    Posts
    2

    Re: St-pmc1 single axis controller

    This kinda works was hoping to use input pin vs run pin

    00 OUT 010n
    01 PAUSE
    02 SPEED
    03 G-LEN
    04 LOOP 01 00010
    05 OUT 000N
    06 GOTO 000000
    07 END

  3. #3
    Join Date
    Nov 2008
    Posts
    644

    Re: St-pmc1 single axis controller

    I used this unit on a project and it worked as long as you stay with simple tasks. Things got more complex and I converted the controller to Arduino, actually Teensy. Now it sits in a drawer.

    I wrote notes in the manual for example 3.
    Three commands are key:
    03 J-bit 11 1 0. Means jump to 11 if in1=0
    09 loop 03 00000. Loop back to 03.
    So your looping infinitely
    11 goto 00000000. Goto home. meaning this is where you go from 03.

    Not sure why it doesn’t jump to line 10 instead of 11 so you can set speed first.


    Sent from my iPhone using Tapatalk

  4. #4
    Join Date
    Mar 2022
    Posts
    2

    Re: St-pmc1 single axis controller

    I am having trouble with J-Bit detection also.... did you get yours to run yet?
    My program:

    00 speed 00100
    01 g-len 00000400
    02 j-bit 05 1 0
    03 04 speed 00050
    04 g-len -0000200
    05 end

    I turn IN1 off and on and it always does the two moves,,, never jumps from 02 to 05

Similar Threads

  1. Sainsmart 1 axis CNC controller ST-PMC1 use/ setup
    By tlowe in forum Servo Motors / Drives
    Replies: 1
    Last Post: 09-09-2021, 08:09 PM
  2. ST-PMC1 single axis controller help
    By maccrazy2 in forum Uncategorised MetalWorking Machines
    Replies: 1
    Last Post: 08-19-2021, 12:22 AM
  3. single axis controller question
    By maccrazy2 in forum CNC "do-it-yourself"
    Replies: 1
    Last Post: 01-06-2021, 08:44 PM
  4. single axis controller
    By robm7 in forum Stepper Motors / Drives
    Replies: 4
    Last Post: 10-22-2005, 07:30 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •