Posted 7 May 2021 hello, I wrote simple omron vision system macro script with one scene variable sc.q&. The variable value is 5, but then I am executing macro code get value 0. I attahced photo. Maybe somebody know how to solve this problem? Share this post Link to post Share on other sites
Posted 7 May 2021 (edited) *MEASUREPROC Dim IZA& GetSceneData "Q&", IZA& Print IZA& Print("====================") Return This takes the value from the TDM editor Edited 7 May 2021 by photovoltaic Share this post Link to post Share on other sites
Posted 9 May 2021 On 2021-05-07 at 11:36 PM, photovoltaic said: *MEASUREPROC Dim IZA& GetSceneData "Q&", IZA& Print IZA& Print("====================") Return This takes the value from the TDM editor Thank you very much Share this post Link to post Share on other sites