Jump to content
OMRON Forums

Code Example - Perl script - Change ROI location during runtime using linktags and OnePtLocator.

Recommended Posts

The attached Perl script allows the user to input manually point data (X,Y,Angle) using link tags in order to change dynamically the OnePtLocator tool coordinates during run time from a remote system via Ethernet.

Script usage:
1) The ref input point should be left unassigned.
2) X,Y,Angle inputs can take initial values in the job, as well as changed dynamically via link tags (angle units in radians).
3) The Output point should be fed into a OnePtLocator tool in the job, so the locate position can be changed during runtime using link tag inputs.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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