Search found 8 matches
- Wed May 31, 2023 11:38 pm
- Forum: Hardware Interface Issues
- Topic: Difference between JP4 and JP6 on digital output
- Replies: 6
- Views: 1299
Re: Difference between JP4 and JP6 on digital output
Thank you soooo much, Tom! The problem comes from the J2 jumper. I forgot to check J2. Thank you again.
- Wed May 31, 2023 5:59 pm
- Forum: Hardware Interface Issues
- Topic: Difference between JP4 and JP6 on digital output
- Replies: 6
- Views: 1299
Re: Difference between JP4 and JP6 on digital output
Sorry, I made a mistake in my original description and corrected it in the second one. I tried a different power supply or USB power. Still the same. I think it's broken somehow.
- Wed May 31, 2023 4:45 pm
- Forum: Hardware Interface Issues
- Topic: Difference between JP4 and JP6 on digital output
- Replies: 6
- Views: 1299
Re: Difference between JP4 and JP6 on digital output
I'm using female jumper wires to connect KFlop, so it's not likely to have a short between the pins. I disconnected KFlop and KStep and tested IO16-25 and IO26-35 again. They are IO16-23: 2.99V IO24-25: 3.27V IO26-33: 1.74V IO34-35: 2.49V The voltage of JP6 is lower than JP4. That's what I got from ...
- Tue May 30, 2023 10:58 pm
- Forum: Hardware Interface Issues
- Topic: Difference between JP4 and JP6 on digital output
- Replies: 6
- Views: 1299
Difference between JP4 and JP6 on digital output
Based on the manual, IO16-23 and IO26-33 should be the same as digital outputs. But when I directly connect the digital pins and GND to a multimeter to measure the output voltage, IO16-23 gives 1.74V while IO26-33 gives 2.99V. Is my KFlop broken? I'm using KFlop with a KStep. Everything works perfec...
- Mon Feb 20, 2023 4:53 am
- Forum: Configuration Issues
- Topic: KFlop digital IO pins are swapped?
- Replies: 1
- Views: 403
KFlop digital IO pins are swapped?
I physically connected a limit switch (positive end) signal pin to IO0 (see the attached picture), but in the program, I have to configure LimitSwitchPosBit as 1, as shown below: ch1->LimitSwitchOptions=0x112; ch1->LimitSwitchPosBit=1; SetBitDirection(1,0); It works. But somehow, IO0 and IO1 are hig...
- Mon Apr 20, 2020 6:16 pm
- Forum: C Programs
- Topic: Can KFLOP read string/char sent from PC?
- Replies: 4
- Views: 7394
Re: Can KFLOP read string/char sent from PC?
Got it. Thank you so much!
Best,
Yang
Best,
Yang
- Mon Apr 20, 2020 5:51 pm
- Forum: C Programs
- Topic: Can KFLOP read string/char sent from PC?
- Replies: 4
- Views: 7394
Re: Can KFLOP read string/char sent from PC?
Thank you for your prompt response, Tom.
That script command can solve my problem. Is there any C program function that can detect the data update/change in the Persist Array? So that the KFLOP knows that a new command comes and needs to be executed. Thanks.
Best regards,
Yang
That script command can solve my problem. Is there any C program function that can detect the data update/change in the Persist Array? So that the KFLOP knows that a new command comes and needs to be executed. Thanks.
Best regards,
Yang
- Sun Apr 19, 2020 3:40 am
- Forum: C Programs
- Topic: Can KFLOP read string/char sent from PC?
- Replies: 4
- Views: 7394
Can KFLOP read string/char sent from PC?
Hi, KMotion gives a lot of predefined script commands in the library. However, I need to self-define new commands (strings) from PC to KFLOP. Does KFLOP have any function to read the strings sent from USB? Thanks.