I have Problems with inputs and outputs- Printable Version +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) + - - -论坛:通用RoboDK问题(//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK) +--- Thread: I have Problems with inputs and outputs (/Thread-I-have-Problems-with-inputs-and-outputs--6616) |
I have Problems with inputs and outputs-Mr.Relmy-03-23-2023 Hello, I have a UR3e robot. When I try to activate an output and get the value of an input, there are no warning messages. But when I use the fonction "len", It shows the value 0. Also when I use the fonction "int" it doesn't work. The type of data is "str" Thank you for your reading, Mr.Relmy RE: I have Problems with inputs and outputs-maexbecks-03-23-2023 (03-23-2023, 03:25 PM)Mr.Relmy Wrote: Hello, Hi, the RoboDK must be connected to the robot. See in the API description: Quote:Get a Digital Input (DI). This function is only useful when connected to a real robot using the robot driver. It returns a string related to the state of the Digital Input (1=True, 0=False).This function returns an empty string if the script is not executed on the robot.See在这里. RE: I have Problems with inputs and outputs-Chris-03-24-2023 Hi, You can connect RoboDK with URSIM, that you can test the IO. Please find more from this link: //www.sinclairbody.com/doc/en/Robots-Universal-Robots.html#UR-Sim |