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

Guide to read macros from Fanuc controller #15

Open
smtpl-iiotian opened this issue May 29, 2024 · 0 comments
Open

Guide to read macros from Fanuc controller #15

smtpl-iiotian opened this issue May 29, 2024 · 0 comments

Comments

@smtpl-iiotian
Copy link

smtpl-iiotian commented May 29, 2024

@PatrickRitchie I tried to mention variable number under macros section in adapter.ini file as below.
[macros]

cycleTime=803

I also updated devices.xml file to include cycleTime under the existing part_count event under Path data streams.

Actually I am saving cycleTime in a macro variable number 803 in the cnc memory and want to read the same at the end of program. But the machine adapter continuously gets STOPPED after restarting.
Is there any guide how to correctly read macro variable data in Fanuc agent.

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

1 participant