Christmas gift, for everyone.



Results 1 to 1 of 1

Thread: Christmas gift, for everyone.

  1. #1
    Registered
    Join Date
    Dec 2016
    Location
    United States
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Christmas gift, for everyone.

    Citizens machines. Macro code to check start position.

    O0000
    $1
    IF[#5041NE#824]GOTO1 (C/OFF END POSITION, #824 YOU WILL FIND IT ON MC. DATA PAGE)
    IF[#5022LT7.074]GOTO2 (LESS THAN, 7.074 YOU WILL FIND IT ON POS.DATA PAGE UNDER 'MC COORD"Z1")
    IF[#5022GT7.074]GOTO3 (GREATER THAN, MUST BE THE SAME AS #5022 LT)
    GOTO10
    N1#3000=101(NE-C/OFF+START-POS.)(ERROR MESSAGES)
    N2#3000=101(LT-C/OFF+START-POS.)
    N3#3000=101(GT-C/OFF+START-POS.)
    N10
    /M52.......

    Give it try,

    O0000
    $1
    IF[#5041NE#824]GOTO1
    IF[#5022LT7.074]GOTO2
    IF[#5022GT7.074]GOTO3
    GOTO10
    N1#3000=101(NE-C/OFF+START-POS.)
    N2#3000=101(LT-C/OFF+START-POS.)
    N3#3000=101(GT-C/OFF+START-POS.)
    N10
    /M52.......

    Similar Threads:
    Last edited by ned-arizona; 12-02-2016 at 08:48 PM.


Tags for this Thread

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Christmas gift, for everyone.

Christmas gift, for everyone.