Need Help! How to connect external board to kflop?


Results 1 to 9 of 9

Thread: How to connect external board to kflop?

  1. #1
    Member
    Join Date
    Feb 2006
    Location
    Russia
    Posts
    52
    Downloads
    0
    Uploads
    0

    Default How to connect external board to kflop?

    Hi!
    Try to connect external board with opto-isolated inputs to kflop. It will be board for limit switches. I was connect it to JP4. No I need to determine what pins in kflop meet screw terminals. By default pins i/o in JP4 is output pins.
    I was added this code in initialization c-file:
    SetBitDirection(16,0);
    SetBitDirection(17,0);
    SetBitDirection(18,0);
    SetBitDirection(19,0);
    SetBitDirection(20,0);
    SetBitDirection(21,0);
    SetBitDirection(22,0);
    SetBitDirection(23,0);
    SetBitDirection(24,0);
    SetBitDirection(25,0)

    After initialization I begin to to click on the line limit buttons and look into Digital I/O window in Kmotion. Nothing happes. Why state of bins is not changes when I was push buttons?

    Similar Threads:
    Attached Thumbnails Attached Thumbnails How to connect external board to kflop?-dsc06517-jpg   How to connect external board to kflop?-dsc06365-jpg   How to connect external board to kflop?-dsc06366-jpg  


  2. #2
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4043
    Downloads
    0
    Uploads
    0

    Default Re: How to connect external board to kflop?

    Hi Alex,

    Do you have a schematic?

    Check the voltage on the KFLOP input pins with a voltmeter before and after pushing the limit switch.

    Regards

    Regards
    TK http://dynomotion.com


  3. #3
    Member
    Join Date
    Feb 2006
    Location
    Russia
    Posts
    52
    Downloads
    0
    Uploads
    0

    Default Re: How to connect external board to kflop?

    Hi! Here is the scheme of connection. I need to unplug 16-pin cable from kflop and measure voltage? In what 2 pins in 16-pins cable? I looking for a "flags" in kmoution I/O window to find an accordance between screw pins of external board and kflop pins.

    Attached Thumbnails Attached Thumbnails How to connect external board to kflop?-untitled-1-copy-jpg  


  4. #4
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4043
    Downloads
    0
    Uploads
    0

    Default Re: How to connect external board to kflop?

    Hi Alex,

    That's not a schematic.

    I need to unplug 16-pin cable from kflop and measure voltage?
    No. It must remain connected.

    In what 2 pins in 16-pins cable?
    The KFLOP Input pins relative to KFLOP GND

    Regards

    Regards
    TK http://dynomotion.com


  5. #5
    Member
    Join Date
    Feb 2006
    Location
    Russia
    Posts
    52
    Downloads
    0
    Uploads
    0

    Default Re: How to connect external board to kflop?

    Didn't inderstood your advice :-(

    Ok, If i'll inplug 16-pin cable I 'll can check what wires of board accordance to JP4 pins. Didn't want to disconnect cables to avoid another burn, but Ok. So If i check with voltmeter that when i connect +24V to (for example) brown wire i get voltage (for example) on IO17 JP4 pin. What I need to do next?
    Put SetBitDirection(17,0); into initialization c-file? after that i'll can describe the click event of the limit sensor?
    But I'm already put SetBitDirection(16,0);
    SetBitDirection(17,0);
    SetBitDirection(18,0);
    SetBitDirection(19,0);
    SetBitDirection(20,0);
    SetBitDirection(21,0);
    SetBitDirection(22,0);
    SetBitDirection(23,0);
    SetBitDirection(24,0);
    SetBitDirection(25,0);
    into c-file, try to connect +24 to brown cable and have nothing in I/O window in kmotion. Why?



  6. #6
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4043
    Downloads
    0
    Uploads
    0

    Default Re: How to connect external board to kflop?

    Hi Alex,

    You don't need to do the SetBitDirections because KFLOP I/O defaults to inputs.

    If the I/O pin measures over 2V then the Digital I/O Screen Checkbox should show checked.

    Please carefully check the voltage on the I/O pin.

    Regards

    Regards
    TK http://dynomotion.com


  7. #7
    Member
    Join Date
    Feb 2006
    Location
    Russia
    Posts
    52
    Downloads
    0
    Uploads
    0

    Default Re: How to connect external board to kflop?

    Yes, it may be bad optrons on board. But how can i test in? I need to exclude the possibility of my wrong connection to kflop. I was checked: 3V cames to the opto-board from kflop. 24V cames to optoboard from limits. No life in 16-pin cable :-(
    By defaulc all pins of jp4 is input pins, yes? How it can be: i was change c-file (see att.) and press "Save". Some pins became outputs. Why i can't see changes in I/O window? maybe I still did something wrong?
    Or I need press "Run, Compile, Download, Run" before kflop underctand changes?

    Attached Thumbnails Attached Thumbnails How to connect external board to kflop?-jpg  
    Last edited by Alex101; 03-09-2016 at 02:37 PM.


  8. #8
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4043
    Downloads
    0
    Uploads
    0

    Default Re: How to connect external board to kflop?

    Hi Alex,

    Do not configure KFLOP I/O as outputs when they are connected to outputs. This can damage KFLOP or your opto board. Never connect two outputs together as they will fight each other to control the pin. Only connect an input to an output.

    Yes you need to press the "Save, Compile, Download, Run" button to run the program. Only saving the file to the PC hard disk will not have any effect on KFLOP. This Flash video may help you understand:
    http://dynomotion.com/Help/FlashHelp...ers/index.html

    Where did you measure 3V? You need to measure the KFLOP Input pins not the 3.3V supply.

    Regards

    Regards
    TK http://dynomotion.com


  9. #9
    Member
    Join Date
    Feb 2006
    Location
    Russia
    Posts
    52
    Downloads
    0
    Uploads
    0

    Default Re: How to connect external board to kflop?

    almost works!




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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

How to connect external board to kflop?

How to connect external board to kflop?