Skip to main content
Solved

Question about SURP

  • November 17, 2023
  • 3 replies
  • 100 views

bdoc
  • Monochrome
  • 1 reply

Hello,

 

I want to change the x-pos in the NSC editor. How can I do that using SURP? The NSC surface is at 13 in the lens data editor, NSC object is 8.

Please let me if you need more information.

 

Thanks in advance!

Best answer by bdoc

Hello David,

thank you for your answer.

 

This could be another solution, right?

SETNSCPOSITION 13,8,1,50  (set object 8, x position to 50mm)

Regards,

Benjamin

View original
Did this topic help you find an answer to your question?

3 replies

David.Nguyen
Luminary
Forum|alt.badge.img+2
  • Luminary
  • 1099 replies
  • November 17, 2023

Hi @bdoc 

 

In Non-Sequential mode, you have objects in the Non-Sequential Component Editors. Therefore, you need a different range of operands, for the X Position, you have:

  • NPXV: Non-Sequential Object X Position value
  • NPXL: Non-Sequential Object X Position lesser than
  • NPXG: Non-Sequential Object X Position greater than

You will find the same operands for Y, and Z by replacing the letter X in those operands above.

The Help File provides more insights to the parameters of NPXG:

NPXG

Non-sequential object position x greater than. Surf defines the surface number of the NSC group (always 1 in pure NSC systems). Object defines the object number in the NSC group.

If Ref? is 0, the coordinates are relative to the reference object.

If Ref? is 1, the coordinates are relative to the origin of the NSC coordinate system or entry port. If Ref? is 2, then the coordinates are relative to the global coordinate reference surface.

 

I hope this helps.

Take care,

 

David


bdoc
  • Author
  • Monochrome
  • 1 reply
  • Answer
  • November 17, 2023

Hello David,

thank you for your answer.

 

This could be another solution, right?

SETNSCPOSITION 13,8,1,50  (set object 8, x position to 50mm)

Regards,

Benjamin


David.Nguyen
Luminary
Forum|alt.badge.img+2
  • Luminary
  • 1099 replies
  • November 17, 2023

Hi @bdoc,

 

Sorry, yes absolutely for ZPL. I somehow thought about a Merit Function operand for some reason.

Take care,

 

David


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings