G 0 1, 4 word formats and functions – Rockwell Automation 8520-MUM 9/Series CNC Mill Operation and Programming Manual Documentation Set User Manual

Page 291

Advertising
background image

Introduction to Programming

Chapter 10

10-17

Words in a part program consist of addresses and numeric values.

Address ---- A character to designate the assigned word function.

Numeric value ---- A numeral to express the event called out by the
word.

Figure 10.4

Word Configuration

Word

Word

G 0

1

X

1 .3 1

Address

Numeric

value

For each word used in a part program, there is a format that designates the
number of digits allowable as a numeric value for that word. The format
for an M--code, which is a word, for example, is normally M2 which
indicates that an M--address can be followed by only two digits.

For words that allow the use of a decimal point in a numeric value, the
decimal point format is used. In this case, the numeral to the left of the
decimal point indicates the number of digits acceptable as integers, and the
numeral to the right of the decimal point indicates the number of fractional
digits acceptable.

The format “X3.4” for an X--word, indicates that three digits to the left and
four digits to the right of the decimal are acceptable as numeric values.
With this format selected, the maximum programmable value for an
X--word would be 999.9999.

The system installer can choose from the following programming format
types in AMP:

Leading Zero Suppression ---- enable or disable

Trailing Zero Suppression ---- enable or disable

10.4
Word Formats and
Functions

Advertising