Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoEngineer example - Unable to connect GDS ports #37

Closed
DamianBombeeck opened this issue Aug 31, 2021 · 4 comments
Closed

NoEngineer example - Unable to connect GDS ports #37

DamianBombeeck opened this issue Aug 31, 2021 · 4 comments
Labels
feature-request New feature or request

Comments

@DamianBombeeck
Copy link

Followed NoEngineer example, neither 2021.0.5 or 2021.6 FW version worked with this example.
GDS ports can not be connected to eachother, see photo appended.
NoEngineer_GDSproblem

@DamianBombeeck DamianBombeeck added the feature-request New feature or request label Aug 31, 2021
@martinboers
Copy link
Member

I've just gone through the procedure again with AXC F 2152 FW 2021.6 and the matching SDK, and the procedure works for me.

I am guessing that the program instance PndProgram1 is not being created, or else the GDS ports are not declared correctly in that program.

Do you see an entry like this in the Output.log file during startup?

image

Please check all the steps again. If something is not clear in the instructions, please let us know - we may need to make the instructions clearer.

@DamianBombeeck
Copy link
Author

Unfortunately the problem persists. See photo attached. I have followed the workshop to the letter three times using FW version 2021.6 and the corresponding SDK. The PLC ofcourse has the same FW version on it. It seems like the same error which was given in 2021.0.5, the problem with the GDS ports and connecting them from a C program. I will try to use different versions of the SDK and PLCnCLI to see if I gain results.

Thanks for the help and thanks in advance!

image

@martinboers
Copy link
Member

martinboers commented Sep 10, 2021

Can you please zip up:

  • the entire contents of the projects directory on the PLC
  • the source code for the C eclipse project.

... and email them to me?

@martinboers
Copy link
Member

martinboers commented Sep 10, 2021

The problem in this case was that the ECLR on this specifc PLC did not start up correctly, due to other settings on the PLC. This means that the Arp.Plc.Eclr ports were not created in the GDS, which led to this error.

The general technique shown in this tutorial does not rely on the ECLR, but it just so happens that this tutorial does. I will change the tutorial to remove the dependence on the ECLR, and make any other dependencies clear.

Thanks for the help debugging this issue.

martinboers added a commit that referenced this issue Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants