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

TcOpen_the_Vortex_Builder_does_not_exists? #261

Closed
runtimevic opened this issue Nov 11, 2021 · 12 comments
Closed

TcOpen_the_Vortex_Builder_does_not_exists? #261

runtimevic opened this issue Nov 11, 2021 · 12 comments
Assignees
Labels
question Further information is requested

Comments

@runtimevic
Copy link

Hello,
TcOpen_the_Vortex_Builder_does_not_exists?
I attach a photo to show it, how can it be fixed?
TcOpen_the_Vortex_Builder_does_not_exists

thanks

@runtimevic runtimevic added the question Further information is requested label Nov 11, 2021
@runtimevic
Copy link
Author

Hi @PTKu
I have made a project from scratch to test and anyway I do not believe the libraries in Twincat, I am attaching a photo so you can see it
TcOpen_the_Vortex_Builder_not_create_library

I do not know how to fix it...

@runtimevic
Copy link
Author

Hi @PTKu
I have succeeded, the problem is that the PLC name cannot be given when adding the PLC project,
I attach a photo to show it.

TcOpen_the_Vortex_Builder_OK_create_library

Now I can continue ...

@runtimevic
Copy link
Author

Hi @PTKu ,
I've gotten stuck again
plc.MAIN._simpleContext, does not contain a definition,
I am attaching a photo so you can see it, how is it fixed?
TcOpen_MAIN_does_not_contain_a_definition

@PTKu
Copy link
Member

PTKu commented Nov 11, 2021

@runtimevic do you have an instance of SimpleContext in MAIN?

PROGRAM MAIN
VAR
      _simpleContext : SimpleContext;
END_VAR

If you do have it then you'll need to run inxton compiler again to refresh the twin project.
Let me know if that helps

@runtimevic
Copy link
Author

@runtimevic do you have an instance of SimpleContext in MAIN?

PROGRAM MAIN
VAR
      _simpleContext : SimpleContext;
END_VAR

If you do have it then you'll need to run inxton compiler again to refresh the twin project. Let me know if that helps

Hello @PTKu ,
solved, recompile with Inxton,
Do you know how I can remove the errors from the GitHub project XaeTcOpen101, the first photo I have attached?
thanks

@PTKu
Copy link
Member

PTKu commented Nov 12, 2021

@runtimevic You should replace the string "your-ams-id" with the AMD ID of your target if it is the local you can assign 'null'

so at line 13:

// example:
static string AMS_ID = "192.168.0.2.1.1" ;

// if your target is local then

static string AMS_ID = null;

in file /TcOpen101/TcOpenPlcConnector/Properties/Secrets.cs

you'll need to fix

public static class Secrets
{
     public const string pwd = -"your_elastic_password"-;
}

with

public static class Secrets
{
     public const string pwd = "runtimevic elastic password";
}

I left the compile errors intentionally there to force fixing with proper values.

@runtimevic
Copy link
Author

@runtimevic You should replace the string "your-ams-id" with the AMD ID of your target if it is the local you can assign 'null'

so at line 13:

// example:
static string AMS_ID = "192.168.0.2.1.1" ;

// if your target is local then

static string AMS_ID = null;

in file /TcOpen101/TcOpenPlcConnector/Properties/Secrets.cs

you'll need to fix

public static class Secrets
{
     public const string pwd = -"your_elastic_password"-;
}

with

public static class Secrets
{
     public const string pwd = "runtimevic elastic password";
}

I left the compile errors intentionally there to force fixing with proper values.

Hi @PTKu,

If everything you have sent me I already know, the problem is here:
var plc = new TcOpenPlcTwinController (
I am attaching a photo for you to see, that's what I don't know why it's wrong

TcOpen_not_compilePNG

@PTKu
Copy link
Member

PTKu commented Nov 13, 2021

@runtimevic I thought you were asking about the compile errors from the first item in this thread.

The solution is missing the *.g.cs files that are generated by the compiler. If you get the message that the compiler does not exist... it is an issue with the VS. To workaround that problem you just open 'Package manager console' that should copy the compiler into right place. Then you should be able to run it using the extension. When I am able to I will sent you a screenshot.

@PTKu
Copy link
Member

PTKu commented Nov 13, 2021

@runtimevic
Open Package Manager Console:
image

In package manage you should find this:
image

then run inxton compiler

@PTKu
Copy link
Member

PTKu commented Nov 13, 2021

@runtimevic you can also download the project with all binaries included here

@runtimevic
Copy link
Author

runtimevic commented Nov 13, 2021

@runtimevic Open Package Manager Console: image

In package manage you should find this: image

then run inxton compiler

Hi @PTKu ,
all resolved OK, thank you very much for the quick response, 👍👍😉
Where do you download the ELK Elasticsearch, Logstash and Kibana executables from?
https://www.elastic.co/es/downloads/kibana
https://www.elastic.co/es/downloads/logstash
https://www.elastic.co/es/downloads/elasticsearch
of these links are downloaded?
Thank you so much, Víctor.

@PTKu
Copy link
Member

PTKu commented Nov 17, 2021

@runtimevic Yes Victor you can download kibana and elasticsearch from those links...
Close this issue at your discretion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants