Other Functions; Sequence Number; Program Number - Roland Camm-3 PNC-3200 Programmer's Manual

Nc code
Hide thumbs Also See for Camm-3 PNC-3200:
Table of Contents

Advertisement

Other Functions

N
Format
N number
Parameter
number
Description
A sequence number is an integer number for a block. It is specified at the start of the block.
A sequence number may either be present or absent from any or all blocks. There is also no need for sequence numbers to be consecu-
tive, or to be arranged in order from smaller to larger numbers. However, consecutive sequence numbers are customarily used to mark
critical places within a program.
An integer of up to four digits (i.e., from 1 to 9,999) is input for the number parameter.
A sequence number can be used as the return destination for a called subprogram. (See the description of M99 on End of Subprogram.)
However, a sequence number cannot be used to call a subprogram.
O
Format
O number
Parameter
number
Description
Program numbers are sequential numbers for programs. A program begins with a program number and ends with either M02, M30, or
M99. The program number is specified at the start of a program.
Program for

program number 1

The number parameter is a program number, and is specified with an integer of up to four digits (i.e., from 1 to 9,999). Normally, a four-
digit number is specified. (For example, "0002" is specified for program number 2.) Do not specify a program number of 0 (0000).
A program number can be used to call a subprogram, and can also be used as the return destination for a called subprogram. (See the
description of M99 on "End of Subprogram".)
54

Sequence Number

Function
Sequence number
Program Number
Function
Program number
%
O0001
Main
program
(Program No. 1)
Call
N100M98P0002
N101G00X10.
..........
M02
Acceptable range
1—9999
Acceptable range
1—9999
O0002
Subprogram
Program for
(Program No. 2)
program number 2
M99
Effective range
1—9999
Effective range
1—9999

Advertisement

Table of Contents
loading

Table of Contents