603,796 active members*
2,866 visitors online*
Register for free
Login
Results 1 to 10 of 10

Threaded View

  1. #7
    Join Date
    Feb 2006
    Posts
    1792
    BCD[_] changes its argument to BCD representation, interprets it in binary and outputs that value.
    Let us say #149 contains 10 (in BCD[#149]).
    BCD representation of 10 is 0001 0000.
    The binary interpretation of 00010000 is 16.
    So, 16 is output. Thus, BCD[10] = 16.

    BCD and BIN functions are used in association with system variables for input/output interface signals.

    For more information, read the attachment.

    Sinha
    Attached Files Attached Files

Similar Threads

  1. Fanuc 18i custom macro B
    By djmcdaris in forum Fanuc
    Replies: 18
    Last Post: 03-09-2021, 02:07 PM
  2. Custom Macro B
    By rlgx4 in forum Parametric Programing
    Replies: 7
    Last Post: 08-02-2010, 10:05 PM
  3. "difference between Custom Macro A and Custom Macro B"
    By arulthambi in forum Parametric Programing
    Replies: 4
    Last Post: 10-05-2009, 09:34 PM
  4. custom macro question
    By sinha_nsit in forum G-Code Programing
    Replies: 28
    Last Post: 04-18-2009, 12:44 PM

Posting Permissions

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