Fanuc-MTConnect-Agent icon indicating copy to clipboard operation
Fanuc-MTConnect-Agent copied to clipboard

Guide to read macros from Fanuc controller

Open smtpl-iiotian opened this issue 8 months ago • 0 comments

@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.

smtpl-iiotian avatar May 29 '24 17:05 smtpl-iiotian