RoboDK Forum
FANUC driver issue. Uninitialized data used line 551- Printable Version

+- RoboDK Forum (//m.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//m.sinclairbody.com/forum/Forum-RoboDK-EN)
+ - - -论坛:RoboDK错误(//m.sinclairbody.com/forum/Forum-RoboDK-bugs)
+--- Thread: FANUC driver issue. Uninitialized data used line 551 (/Thread-FANUC-driver-issue-Uninitialized-data-used-line-551)



FANUC driver issue. Uninitialized data used line 551-RoboSmith-07-18-2022

Hello,

I followed the procedure outlined inthisdocumentation. The whole procedure was very easy to follow and I didn't runinto any issues. I started RDK_S3.pc on my FANUC R-30iB Plus controller thenIbooted up RoboDK on my computer and connected the computer to thecontroller via RoboDK. A connection was established and it said "Ready" inthe connection status bar. I then tried to click on "Get Position" and mycontrol ended the RDK_S3.pc program and threw the error:

RDK_S3 LINE 551 PAUSED
INTP-311 (RDK_S3, 551) Uninitialized data is used.

I tried again, this time selecting the "Run on robot" and "Run" options, andthose too raised the same error codes. Unfortunately, it looks like a .pcprogram is compiled code, so I can't see what line 551 is. Does anyone havea solution to this problem?

Thank you,
-RoboSmith


RE: FANUC driver issue. Uninitialized data used line 551-Albert-07-19-2022

It looks like the robot stops when you wait for a digital input.

More precisely, this line:
Code:
UNTIL DIN[din_id] = din_state
Are you able to make the robot move?
Can you provide us with the RoboDK file and the log after it fails?


RE: FANUC driver issue. Uninitialized data used line 551-RoboSmith-07-21-2022

Hello,

Where can I find this script that you are referring to? Is it in the RDK_S3.pc file? Because it seems to be compiled code to where I can't open it and see the lines of code.

As far as the connection log, this is all it is:

Disconnected
Stopped
Starting robot driver: C:/RoboDK/api/apirobot.exe
Starting...
Disconnected
Sending command...
Trying connection 192.168.2.2:2000...
Disconnected
Trying connection 192.168.2.2:2000...
Disconnected
Trying connection 192.168.2.2:2000...
Disconnected
...etc...

Thank you,
-RoboSmith