Beckhoff-USA-Community / PackML_PLC_Example

MIT License
36 stars 12 forks source link

AdsError: 6 (0X6, sorry, no error text [port 500]) #6

Open bkchaluvadi opened 11 months ago

bkchaluvadi commented 11 months ago

Hi ,

OS: Windows 11 twincat version: 4024.53 target system: UmRT_Default

I am trying to run this project on my local machine. The project build with no errors. But when I tried running the project, it shows an error.

Init4\IO: Download Task Attrib: NC: new startup >> AdsError: 6 (0X6, sorry, no error text [port 500]) << failed

Info: I do not see any devices to disable in my project, only a single entry present in my Mapping.

PackMLProject PackMLProject2 PackMLProject3
MarkLewis-Beckhoff commented 11 months ago

Ads return code 6 is port not found and port 500 is the NC port for motion.

do you have the license setup for TF5000?. the project was built without hardware so you should not need to disable anything.

bkchaluvadi commented 11 months ago

I don't have the license for TF500. Aren't all licenses for the Beckhoff development environment free and renewed weekly? Additionally, after disabling "NC-Task 1 SAF", I encountered a different login error. While it successfully opened "Port_851", it faced subsequent issues.

PackMLProject6
MarkLewis-Beckhoff commented 11 months ago

yes they are free to develop. just enable the motion and go to the license tab and click "7 days trial license" image

bkchaluvadi commented 11 months ago

Looks like it is already in activated state.

PackMLProject7
bkchaluvadi commented 11 months ago

When I run the Activate Configuration with out disabling the NC - Task 1 SAF. I can see the following error on the UmRT_Defaultterminal

TwinCAT System: Source: TcOsSys;  Timestamp: 10/30/2023 4:30:05 PM 960 ms  Message: LoadExternalModules(): Error: LoadDrv for driver >TcNc< failed with error 0xc0000001 (STATUS_UNSUCCESSFUL)
Sending ams command >> Init4\IO: Download Task A
![PackMLProject8](https://github.com/Beckhoff-USA-Community/PackML_PLC_Example/assets/144023762/b90299f0-bd7f-4cb9-b333-22b60cc11404)
![PackMLProject8](https://github.com/Beckhoff-USA-Community/PackML_PLC_Example/assets/144023762/ef1b6f09-3a20-4d4c-9692-f44aea3c60a5)
ttrib: NC: new startup >> AdsError: 6 (0x6, sorry, no error text [port 500]) << failed!
TcSysSrvUm state: Config

PackMLProject8

MarkLewis-Beckhoff commented 7 months ago

I am sorry this has gone on so long have you found what was the cause or is this still going on?

LakeLiving commented 1 month ago

I have the same problem and would be interested about the solution.