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
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:
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
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.
Hi Alex,
That's not a schematic.
No. It must remain connected.I need to unplug 16-pin cable from kflop and measure voltage?
The KFLOP Input pins relative to KFLOP GNDIn what 2 pins in 16-pins cable?
Regards
Regards
TK http://dynomotion.com
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?
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
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?
Last edited by Alex101; 03-09-2016 at 02:37 PM.
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
almost works!