getDI (io_var) APIKUKA司机——打印中on +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: Request new features (//www.sinclairbody.com/forum/Forum-Request-new-features) +--- Thread: getDI(io_var) for APIKUKA driver (/Thread-getDI-io-var-for-APIKUKA-driver) |
getDI (io_var) APIKUKA司机-maciej-12-18-2021 Please would you add getDI(io_var) to APIKUKA driver? RE: getDI(io_var) for APIKUKA driver-Albert-12-20-2021 We just updated RoboDK to support getting Digital Inputs for KUKA using the API (Windows versions only for now). Also, for your information, you can use the GET driver special command to retrieve system and global KUKA SRC parameters. For example, to get the digital input number 4 you can do:
Code:
robot.setParam("Driver", "GET $IN[4]")
RE: getDI(io_var) for APIKUKA driver-maciej-01-18-2022 (12-20-2021, 12:27 PM)Albert Wrote:We just updated RoboDK to support getting Digital Inputs for KUKA using the API (Windows versions only for now). Great! Does it require a new version or RoboDKsync or version 35 is still functional? RE: getDI(io_var) for APIKUKA driver-rshanor-10-19-2022 Is this now expected to work under linux? I just tried the following command with robodk 5.5.0 / apikuka / KukaVarProxy but it did not seem to work.
Code:
In [24]: robot.setParam("Driver", "GET $IN[1]")
The following also did not work:
Code:
In [27]: robot.getDI("$IN[0]")
I know IN[0] is hooked up correctly because I also have it triggering some behavior in the SPS.SUB script. Thanks! RE: getDI(io_var) for APIKUKA driver-Sam-10-24-2022 Solved with//www.sinclairbody.com/forum/Thread-MoveL-failing-on-Kuka-robot-ROBODKSYNC543-crashes-COM-E6POS-invalid |