adccommunitymod (AutomationDirect) asked a question.

Communication with Advanced MicroStepping Drives using SCL

Created Date: July 18,2013

Created By: Phizzard7

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

I'm using a DL06 connected to a C-More Micro Touch Panel on comm port one and a STP-DRV-80100 through comm port 2. I'm using the PRINT output box to send ASCII commands to the drive in my DirectSoft ladder program such as PRINT "$4A$53 " V3100 "$R " which should set the jog speed of the drive. I have a numeric entry with the tag 3100 in the touch panel but changing the value in the touch panel doesn't seem to change the drive speed. The question I have is what data type should this be and am I suppose to use a ":B, :D, or :DB after the V3100 in order to get this to work properly. The manual for the SCL doesn't specify any of this at all. I can manually enter the value such as "$4A$53 0.25 $R " and this will work fine but no such luck with many different combinations of the V-Data type. I 've controlled servos just fine using mode 30 with the plc and with a CITRO unit. At this point the SCL seems to be an absurd method to control the servo but I still want to understand it. Thanks, Phil


  • adccommunitymod (AutomationDirect)

    Created Date: July 18,2013

    Created by: Do-more PE

    The data type is decimal (or Binary in DL terms).

  • adccommunitymod (AutomationDirect)

    Created Date: July 18,2013

    Created by: Phizzard7

    The problem I'm having now is that I'm using V3100 as a signed int 16. No matter how many decimal places I use on the numeric entry it interprets the least significant digit as a whole number ie 0.005 acutally =5. I'm trying to enter lower values such as 0.25 into the drive as the setting is in revolutions/sec. In my case 1 revolution/sec is still too fast.

    Any thoughts?

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: July 18,2013

    Created by: bcarlton

    Caution, I haven't used this but ...

    Why not set up V3100/3101 as a Real?

    Use PRINT "JS= " V3100:R "$R "

    Use PRINT "JS " V3100:R "$R "

    Make sure that the display program knows it is writing to a Real (V3100/3101)

  • adccommunitymod (AutomationDirect)

    Created Date: July 18,2013

    Created by: Phizzard7

    I'll try it and post back with the results

  • adccommunitymod (AutomationDirect)

    Created Date: July 18,2013

    Created by: Phizzard7

    Bernie,

    Thank You, Thank You, Thank You, Thank You!!!!!!

    You are the man. Works perfectly.

    Still not sure why anyone would use this crappy method other than to save a buck by not having to purchase a CITRO unit but if you use mode 30 in the PLC itself you wouldn't have to.

    My application is using three servo's and I'm using the High Speed output on the DL06 controlling one servo, a CITRO Unit controlling the second and this SCL method on the third.

    Wish Auto Direct would have more info on how to use it with their PLC's.

    But Thank You Again!!!!!

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: July 18,2013

    Created by: bcarlton

    It's just too bad they don't use RS485 with 'node ' numbers instead of RS232. Then you could hook up a number of them to one comm line.

    With the Do-More you could use the H2-SERIO module and hook up 3 steppers per module.

  • adccommunitymod (AutomationDirect)

    Created Date: July 19,2013

    Created by: Tinker

    It's just too bad they don't use RS485 with 'node ' numbers instead of RS232.

    There is another company (sorry the name escapes me at the moment) that makes drives that "look " just like the SD advanced stepper drives, and use SCL (actualy a super set of AD's SCL) and that company does make an RS485 model, however it costs a LOT more than AD's version.

    Also, AD's SureSERVO line uses RS485, and while a SureServo costs significanlt more than a SureStepper, the other companys stepper drives are so much more, that the complete system price might be closer than one might expect (since the steppers drive need a seperate power supply, while the SureServo drives don't)

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: July 19,2013

    Created by: kewakl

    Are you referring to A.M.P .

    I 've used their STAC# line.

    Used SCL commands.

  • adccommunitymod (AutomationDirect)

    Created Date: September 17,2013

    Created by: bfloyd806

    I'm having a little different issue. I can make the drive turn and do what I want. But now I want to read the SC (status codes) and store that value in memory V11000 that way I can monitor if the drive is in motion or faulted etc. I'm using the print box to make the stepper turn like I want, how do I issue the command to read from the drive?

    Thanks in advance

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: September 18,2013

    Created by: bgirouard

    Bill,

    I believe that there is a timing issue when using DL PLC's to send ASCII and immediately receive a response (I was not able to do this with a Click, and I believe the issue was also present for the DL06). I was able to get around this in the DL06 by using the CoPro module (F0-CP128). This module allowed me to send and receive ASCII commands reliably since it was able to buffer everything incoming and outgoing.

    HOWEVER, I had problems receiving information on a second axis when using two of the CoPro's RS232 ports. I did not dive too deeply into this, since I did not require positional information from the second axis in my application (it just would have been nice to have).

    Expand Post
10 of 19