603,337 active members*
3,349 visitors online*
Register for free
Login
Page 13 of 22 31112131415
Results 241 to 260 of 438
  1. #241
    Join Date
    Jun 2006
    Posts
    30
    tak out the chip, and make short PIN 2 - PIN 3

    you make a "serial loop"
    when you send a command from terminal program, this is command com back now

    this give results on com port

  2. #242
    Join Date
    Jan 2008
    Posts
    25
    mcan tnx for the link this helped allot but it still doesn't work.
    ok here is what i found out.
    the schematic is wrong but i corrected it (ok the connections but not the caps) the caps in your circuit are rate 1uf but on the web site they are 0.1uf anyway a made a loop-backand discoverd that the if i type in a character in the terminal the ascii code is transmitted and goes trough the MAX and back to the computer. so the terminal should repeat the character but it doesnt. so something else is wrong with the software but i can't figure-out what!
    any ideas?

  3. #243
    Join Date
    Jan 2008
    Posts
    25
    it's pin 11 and 12

  4. #244
    Join Date
    Jan 2008
    Posts
    25
    lynx
    i switched the connection between the max and AVR and in your program i can see the data in the terminal that you attached ( 8D 45 5A 2A B5 0A 41 9D 90 5A 46 F9 BF 90 B3 43 DD B2 90 D8 EB F1 B2 CB D9 B5 79 48 A5 E2 E1 B5 B6 5C AA A8 D4 52 55 )
    but the hyper terminal doesn't repeat the letter what did i forget?

  5. #245
    Join Date
    Jun 2006
    Posts
    30
    In short:
    --------------------------
    You have a lancos stk200 programmer, with at2312-20PU.
    In ponyprog was set 16MHz outer crsystal.
    Apply 16MHz crystal (4 - 5), 2 x 22pF ( 4 - gnd, 5 - gnd).
    Use max232 circuit, what i was link.
    ...and not work.
    So far is correct?
    --------------------------

    Have you final board, to servo circuit?
    Try therewith connect to terminal.

    What results give the short in rs232 circuit?

  6. #246
    Join Date
    Dec 2006
    Posts
    18
    tady,
    If you can not have terminal software repeat the keys you pressed, when you shorted pins 11 and 12 of MAX232, then most probably you have an issue with your serial cable. Check each cable individually if there is a problem. If there is no problem with the cable, then check whether MAX232 pins are connected to PC com port correctly. Check from http://www.moxa.com/product/accessor...al_Pinouts.htm

  7. #247
    Join Date
    Jan 2008
    Posts
    25
    i don't know really what is the problem but this is the case. if i use Hyper terminal i can send characters and the controller sends data back but the Hyper terminal doesnt show anything recived. BUT if i use the program that Lynx posted (termv19b.zip ) i can send data and recive it and the terminal show's it to me but its in hex (i posted what came back).
    So in short i think that everything works and that there is a problem with the hyperterminal.

  8. #248
    Join Date
    Jan 2008
    Posts
    25
    if in the Linx's terminal i send M3 i get back CD B3 (this is with the uP in the loop).
    But if i send M3 with the serial loop i get 4D 33. so i think the uP and serial cable both work.
    and when i poer up the uP i get
    8D 45 5A 3A B5 0A 41 9D 90 5A 46 E9 B7 90 B3 4B DD B2 90 D8 EB F1 B2 CB D1 A5 79 48 A5 E2 E1 B5 B6 5C AA A8 D4 52 55

  9. #249
    Join Date
    Jan 2008
    Posts
    25
    ok here is another thing i overlooked if i power down the circuit and press a key in Hyper terminal it doesnt show but if i power up the circuit with a serial loop and then press a key the character is shown but if i take out the loop an connect the uP i get if i press a key ý

    can someone please compile the source because i got one compiled from this thread and i don't know if it is set correctly i have a feeling that the author of the code made some changes

  10. #250
    Join Date
    Dec 2006
    Posts
    18
    In any case, you should see what you type on hyperterm window. I think you have problem either with the cable or the com port or MAX232. Are you using a USB-COM port converter or the com port on mainboard?

    Just one more test. Disconnect power to the board, short pins 13,14 of MAX232 which I believe are connected to com cable. Run hyperterminal and test again. If you get what you type on hyperterminal window, then there is a problem with your MAX232, change it. Else there is a problem with your com port.

    http://zone.ni.com/devzone/cda/tut/p/id/3450

  11. #251
    Join Date
    Jan 2008
    Posts
    25
    OK i think it works! i reprogrammed the uP with another hex file that i got form the web.
    so now if i power up the uP i get
    SMC3A - Servo Motor Controller (?:help)

    %

    And only the Ready LED is lit and not the servo and torque error that were lit previously.

    ok another question how do i know i changed the parameters? is there anyway that i can check that?

  12. #252
    Join Date
    Jun 2006
    Posts
    30
    Quote Originally Posted by tady View Post
    ...
    Good job man! ((:

    By head...
    command:

    bank0
    p0
    p1
    p2
    p3...
    p7 (this is zero 0)

    When you send the command, then see this:
    p0 = 1030 (example the number) :

    You can give a new value.


    Type ?, list all commands.



    I try my circuit again. I modify a little the H bridge. Now not work... ((:

  13. #253
    Join Date
    Jan 2008
    Posts
    25
    EVERYONE THANK YOU FOR YOUR HEL I WOUL GAVE UP IF IT WERENT FOUR YOU GUYS!!!!
    now i have to wait for the motors i think they would arrive in a weed or so!
    i will repor of my results!
    THANK YOU AGAIN!

  14. #254
    Join Date
    Jan 2008
    Posts
    25
    hey guys did anyone try using an L298 IC for the power stage?
    i would love to use it but i'm worried about the dead-time?!

  15. #255
    Join Date
    Jun 2006
    Posts
    3

    elm connection to pc

    Hai all,
    I have problem almost like tady.

    Hyperterminal (38400,8,parity none,1,none) can't display SMC3A-Servo Motor controller(?:help) and can't type any thing on screen

    thanks

    Robert

  16. #256
    Join Date
    Jun 2006
    Posts
    3

    elm connect to pc

    i change xtal 16Mhz and use original of smc3a.asm and the problem still just like the previous post. Any suggestion ?????????

    btw : led indicator is green.

  17. #257
    Join Date
    Jun 2006
    Posts
    3

    result

    its ok now....smc3a to terminal works fine.

  18. #258
    Join Date
    Jun 2006
    Posts
    30

    Question

    Hy!


    When I will change my encoder resolution, which value must I change?

    ; Memory bank 0 : Yasukawa Electric UGTMEM-A1SA51
    .dw 300, 0x0500, 0x0300, 0x00c0, 240, 0x0340, 0x0100, 0

    300?

    Smc3a firmware.
    I will larger resolution encoder used.

  19. #259
    Join Date
    Dec 2005
    Posts
    3

    elm smc l298

    Hi all, my name is Ariel and im from Argentina. I post some pictures off my elm servo controller with l298 H-bridge.
    The motor on the picture is a hitachi 60w 200 ppr encoder from a ricoh copier, it run my machine at 2500 mm per minute without problems using a 14 x 2 screw.
    Attached Thumbnails Attached Thumbnails servo1.jpg   servo2.jpg  

  20. #260
    Join Date
    Jun 2006
    Posts
    30
    Quote Originally Posted by arielgarcia View Post
    ...
    Hi!

    You apply any change in source code (uController)?
    Read please:

    "Yesterday 03:53 AM"

Page 13 of 22 31112131415

Similar Threads

  1. Central PID Controller vs. PIV Controller in each Servo Amp
    By Bronx68 in forum CNC Machine Related Electronics
    Replies: 12
    Last Post: 11-20-2013, 05:33 PM
  2. Servo Controller pin out ?????
    By slowtwitch in forum Servo Motors / Drives
    Replies: 0
    Last Post: 05-28-2013, 03:55 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
  •