Yes!!!
Me to I started whit 4.3x, and i find in .csproj file a wrong link to the old folder.
Now it works like a charm
Thanks Moray!
Raffaello
Search found 15 matches
- Wed Dec 13, 2023 1:17 pm
- Forum: User PC Applications and Libraries .Net
- Topic: KOGNA read I/O bit from main status
- Replies: 15
- Views: 7140
- Wed Dec 13, 2023 10:59 am
- Forum: User PC Applications and Libraries .Net
- Topic: KOGNA read I/O bit from main status
- Replies: 15
- Views: 7140
Re: KOGNA read I/O bit from main status
Hello Tom, I tried to delete or rename file, also I deleted all the reference to the projet et give the new one, clean and rebuild the wole solution more times but it didn't work! :evil: So I have try to create a brand new projet and put as reference the new dll and this time it works! :D So, defini...
- Tue Dec 12, 2023 9:34 am
- Forum: User PC Applications and Libraries .Net
- Topic: KOGNA read I/O bit from main status
- Replies: 15
- Views: 7140
Re: KOGNA read I/O bit from main status
Hi Tom,
thanks for the file, but I get always the same problem
I tested it in my project and in your SimpleFormsCS, but BitState200 come as 2 length array
Raffaello
thanks for the file, but I get always the same problem
I tested it in my project and in your SimpleFormsCS, but BitState200 come as 2 length array
Raffaello
- Mon Dec 11, 2023 2:40 pm
- Forum: User PC Applications and Libraries .Net
- Topic: KOGNA read I/O bit from main status
- Replies: 15
- Views: 7140
Re: KOGNA read I/O bit from main status
Hello, in the source file BitState200[] is a three elements array [MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)] public int[] BitsState200; // Kogna - 90 bits 200-289 of state lsb=I/O bit200 but at runtime I get a two elements array! But I see there is a bug. This returns lower bits 0-63. Atta...
- Fri Dec 08, 2023 9:46 am
- Forum: Hardware Interface Issues
- Topic: KOGNA JP14
- Replies: 7
- Views: 4273
Re: KOGNA JP14
Hello Tom,
I tested the patch, and it works fine!
Thanks
Raffaello
I tested the patch, and it works fine!
Thanks
Raffaello
- Fri Dec 08, 2023 9:42 am
- Forum: User PC Applications and Libraries .Net
- Topic: KOGNA read I/O bit from main status
- Replies: 15
- Views: 7140
Re: KOGNA read I/O bit from main status
Hi Tom, Attached is a corrected KM_MainStatus.cs file. Are you able to recompile KMotion_dotNet? I recompiled KMotion_dotNet project with this KM_MainStatus.cs to get a new KMotion_dotNet.dll that I use in my project. When I decompile the new dll to check if the two modification are applied I can fi...
- Thu Dec 07, 2023 9:48 pm
- Forum: User PC Applications and Libraries .Net
- Topic: KOGNA read I/O bit from main status
- Replies: 15
- Views: 7140
Re: KOGNA read I/O bit from main status
Hello Tom, I sow the two correction. The decompiled file that I get look like this: first, public int Enables => MainStatus.Enables; public int AxisDone => MainStatus.AxisDone; public int[] BitsDirection => MainStatus.BitsDirection; public int BitsDirection200 => MainStatus.BitsDirection200; public ...
- Thu Dec 07, 2023 2:44 pm
- Forum: Hardware Interface Issues
- Topic: KOGNA JP14
- Replies: 7
- Views: 4273
Re: KOGNA JP14
Hi Tom, thanks for the path, but the link open the file instead to download it. Have I to copy/paste in a text file? I'm very inconfortable to do that :( :roll: Could you send me the file by email or put a download link? Ok, forget... I just find Save link As... save as .out file :oops: Thanks Raffa...
- Thu Dec 07, 2023 2:33 pm
- Forum: User PC Applications and Libraries .Net
- Topic: KOGNA read I/O bit from main status
- Replies: 15
- Views: 7140
Re: KOGNA read I/O bit from main status
Hello Tom, I recompiled KMotion_dotNet, end now in decompiled dll I can see: public int GetBitState200(int index) { return GetValue(MainStatus.BitsState200[index - 200 >> 5], (index - 200) & 0x1F, 1); } but I always get the wrong value. I have put a break point when I ask for a new status end I obse...
- Tue Dec 05, 2023 10:26 am
- Forum: User PC Applications and Libraries .Net
- Topic: KOGNA read I/O bit from main status
- Replies: 15
- Views: 7140
KOGNA read I/O bit from main status
Hi Tom, I'm writing C# application and I switch from KFlop to Kogna. To refresh my GUI I have a timer to ask MainStatus each 250ms. I always can read axis position/destination, but how can I get kogna's bit? I need to read bit from 218 to 223 (EX_IO8 to EX_IO13) As workaround I could use ReadBit com...