
4. CONVERSATIONAL MACRO FUNCTION
B–62073E–2/03
74
#8522=100 ;
#100=7 ;
#101=1 ;
#102=24 ;
#103=20.5 ;
#104=6 ;
#105=1000 ;
#106=20.7 ;
G376 P7 ;
IF[#8529 NE 0] GOTO900 ;
End of writing
N900 ;
Error
If you execute the above instruction, a block is input as follows;
O0004 ;
G92 X0. M08 ;
G1 X20.5 F1000. ;
G90 GO X10.5 M05 ;
End code becomes “255” and it is impossible to conduct writing,if the
specification of block number is EOR block only or higher numbers.
However, when writing a program to a program of only a program
number, it becomes possible by setting 0 to the block number.
(6) Decimal point specification of every address in block writing
The number of digits after under the decimal point of every address
can be specified. With this specification, the contents of the variable
number which was specified to #8523 becomes the number of digits
after the decimal point of address A, and it is possible to determine
the number of digits after the decimal point of every address, as
shown below.
#8523=501 ;
#501 is the number of digits after the decimal point of address A
#502 is the number of digits after the decimal point of address B
:
:
#525 is the number of digits after the decimal point of address Y
#526 is the number of digits after the decimal point of address Z
Specify <blank> or 0–7 for the number of digits after the decimal
point. In the case of <blank>, it is considered that no decimal point
exists in the address.
Example:
If address code=A, number=1.2345678
Decimal point specification
= <blank> A1
= 0 A1.
= 1 A1.2
= 2 A1.23
= 3 A1.235
*
= 4 A1.2346 *
= 5 A1.23457 *