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

Compilation errors related to AppendAny and AppendVariable #37

Open
sovereignyy99 opened this issue Jan 29, 2025 · 3 comments
Open

Compilation errors related to AppendAny and AppendVariable #37

sovereignyy99 opened this issue Jan 29, 2025 · 3 comments

Comments

@sovereignyy99
Copy link

When testing the example in this link, I encountered two compilation errors.

  1. Related to the AppendAny method

code:

Image

error:

Image
  1. Related to the AppendVariable method

code:

Image Image

error:

Image

I'm new to twincat, thanks a lot if you can help me.

@bengeisler
Copy link
Owner

bengeisler commented Jan 29, 2025

Hi, do you get the same error when you pass a local variable instead? One declared in the VAR section instead of VAR_INPUT?

@sovereignyy99
Copy link
Author

The same error occurred.

code:

Image

error:

Image

Thanks a lot.

@sovereignyy99
Copy link
Author

Found some clues:

Turn off implicit checks (CheckPointer), Compilation is OK.

Image Image

I don't know why, thanks for the help.

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

No branches or pull requests

2 participants