hexagon logo

Assignment Shortcuts and their meanings?

Hi guys!
I've been a CMM Programmer for two years.
There are many things I don't know.
What I want to learn most is the Assignment command.
How do these commands work and what do they mean?
What do the abbreviated names mean?
Can you help me?
Thank you very much in advance.
Parents
  • An assignment in any other programming language is called a variable.

    A variable is a meaningful name for a bit of information which you might need to recall.


    Think of it as a wall of pigeon holes and you can label them as you want in order to store information which you might want to use at a later date.

    i.e.

    ASSIGN/OP_NAME="Bob"

    ASSIGN/MACHINE_NAME="Bridgeport Mill"



    You can then recall the value stored in the variable (pigeon hole) by using it's name instead.

    COMMENT/REPORT
    "Part was produced on :" + MACHINE_NAME

    COMMENT/REPORT
    "Part was inspected by :" + OP_NAME

    Obviously this is a very simple example (but it's a common usage of variables) but you can store and manipulate all kinds of data!
Reply
  • An assignment in any other programming language is called a variable.

    A variable is a meaningful name for a bit of information which you might need to recall.


    Think of it as a wall of pigeon holes and you can label them as you want in order to store information which you might want to use at a later date.

    i.e.

    ASSIGN/OP_NAME="Bob"

    ASSIGN/MACHINE_NAME="Bridgeport Mill"



    You can then recall the value stored in the variable (pigeon hole) by using it's name instead.

    COMMENT/REPORT
    "Part was produced on :" + MACHINE_NAME

    COMMENT/REPORT
    "Part was inspected by :" + OP_NAME

    Obviously this is a very simple example (but it's a common usage of variables) but you can store and manipulate all kinds of data!
Children
No Data