Synertronik (Customer) asked a question.

SCL steeper control with Click PLC.

Hi All,

I need help to control a STP-MTRD-17030R stepper using SCL control and Click PLC. I'm using the serial RS 485 port 3 with ASCII, 9600,8, N, 1 setting, and the motor executes the command sent via the SEND instruction, but a can't receive any data using the RECEIVE instruction.

 

The RECEIVE instruction is configured for Variable data length and CR termination code, and TXT1 as data destination. I send an instruction as "IS" to read the motor inputs status, but the drive does not respond. Please help!

 

Thanks!!!

 

Sandy.

 

 


  • Tinker (Customer)

    On the older CLICKs there was a problem switching from send to receive fast enough to catch the return. I don't know if the newer models have improved on that, if you are using an older model you might want to check.

    Personally, since the "smart" stepper controllers are relatively expensive, if I had the budget for them I'd seriously consider using a BRX which, as I understand, has buffered serial ports. I would also consider pulse train operation of my steppers, the CLICK Plus does that pretty well (as does the BRX)

    Expand Post
  • ADC Community_04 (AutomationDirect)

    As mentioned above, the drive may respond too fast.

    You can add a transmit delay to the drive to allow time for the Click port to get transitioned.

    Also, when sending a command that is expecting a response on RS-485, you need to prefix the command with the drive's address. In your example, instead of sending "IS" to drive 1, the command should be "1IS".

    The drive address and transmit delay can both be configured using the SureMotion PRO software.

    image

    Expand Post