Jump to content

Recommended Posts

Posted

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?

3fa7f498bbb9c248e3fb31bb300146bb851.jpg

9218aefb3cd3f08423840c38db13acd3513.jpg

Posted (edited)

*MEASUREPROC

Dim IZA&

GetSceneData "Q&", IZA&

Print IZA&

Print("====================")

Return

This takes the value from the TDM editor

Edited by photovoltaic
Posted
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...