Another old thread comes back around....function generator in KSS 5.x
I have the manual, which is quite helpful relative to any documentation on the newer KSS versions. But still missing a few pieces.
Currently trying two approaches, one being to use $DIGIN1 , since I am not using analog. My sensor data is mapped in via devicenet as a 32 bit signal. Also using KukaVarProxy (works quite well for some things actually).
My current issue with the digin, is that it has a scaling issue. I am baffled by this, but there is a lot of code on this old robot. I am pretty sure my bytes are mapped correct, and currently I am trying a DWORD on my PLC to 32 bit INDW in the IOSYS, with the DIGINCODE set to #UNSIGNED. But the signal has a nonlinear scaling ? PLC=500, DIGIN = 1000; PLC = 1000, DIGIN = 1250. Is the tech function persistent? I even rebooted.
Alternate method, the #DATALINK class. Writing a correction frame would be ideal, I have multiple ways to accomplish that. But how do I link the FRAME, I assume its not linked the same way as TECHIN normally is linked to the analog or digital? Why they completely omit that from the manual is a bit surprising.