Mitsubishi Digital I/O- Printable Version +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API) +--- Thread: Mitsubishi Digital I/O (/Thread-Mitsubishi-Digital-I-O) |
Mitsubishi Digital I/O-Rhonde-07-26-2022 Hello, I am trying to debug a C# program for the Mitsubishi RV8-CRL. Normal move work very well, Simulation is also fine. But I'm have issues with Digital I/O. it appear to work but no command is being sent to the RV8 Attached is a picture of RoboDK. It could not be simpler but it does not work. Any help is greatly appreciated. Archer RE: Mitsubishi Digital I/O-Rhonde-07-27-2022 Since I'm getting no support, and the GPIO for the Mitsubishi RV-8 is broken, I have to request a refund. I gladly re-evaluate your soft when the GPIO works for the Mitsubishi RV-8. Archer RE: Mitsubishi Digital I/O-Albert-07-28-2022 Do you have a sample program that shows how to change the state of your digital outputs? It should be easy to configure your digital outputs with the post processor or the driver. This may require a custom adjustment to properly link with your IO board and output name or ID. Do you have a professional license? If so, have you tried contacting our support through Help-Request support? In any case, you can contact us at info@www.sinclairbody.com if you are interested in a refund. We would still like to try to help you make RoboDK work for your project. RE: Mitsubishi Digital I/O-Rhonde-07-28-2022 RoboDK is still my preferred solution. I just need GPIO to work. The GPIO is built into the robot. This the code RoboDK generates. 1*Grip_Close 2'Program generated by RoboDKv5.4.3forMitsubishi RV-8CRL on28/07/202211:05:56 3'Using nominal kinematics. 4M_OUT(14)=0 5Dly0.500 6M_OUT(15)=1 7End 这个代码从RT工具箱(笨手笨脚soft from Mitsubishi) M_Out(14)=0 Dly 0.03 M_Out(15)=1 Dly 0.25 Very similar code. I'm wondering if there is some kind of MODE register or state that I need to be in to make RoboDK work. Thanks Archer (07-28-2022, 04:28 PM)Rhonde Wrote:RoboDK is still my preferred solution. I just need GPIO to work. RE: Mitsubishi Digital I/O-Albert-07-29-2022 As you mentioned, RoboDK outputs M_OUT by default for digital outputs. If you want to change this behavior, you can manually enter your string. For example, if you use the UI and you want to output OUT(5)=1 instead (no "M"), you could set the digital output instruction like this: Also, if you are using the C# API you could also do:
Code:
robot.setDO(5,1)
Code:
M_OUT(5)=1
However, you could also do:
Code:
robot.setDO("Out(5)", 1)
Code:
OUT(15)=1
You can also change the default behavior in the post processor by changing the variable DOUT_STRING. |