586,075 active members*
4,137 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2019
    Posts
    5

    G54.1 question

    When using the "G54.1 Pn" function, can I use a local variable for the P call?

    I have a 25 position fixture and it seems that it would be easier to increment the P# as each part is finished than calling each location individually for the existing routines.

    EX

    N1 #1=1
    N2 G54.1 P#1
    N3 G65P2148
    N4 #1=#1+1
    N5 IF [#1 LT 26] GOTO 1


    TIA

  2. #2
    Join Date
    Feb 2011
    Posts
    353

    Re: G54.1 question

    You can use a local variable like #1 or #100
    the local variable resets when the reset button is pushed which would cause the program to start at the beginning where as if you use #500's these would remain active so you could restart the program on N2 and continue through the parts on the fixture

  3. #3
    Join Date
    Jun 2019
    Posts
    5

    Re: G54.1 question

    THX

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •