You are on page 1of 31

Base PMC

User manual

Version 1.2.00

April 2003

GE Fanuc Automation
Table of Contents
1
2
3

Introduction....................................................................................................................................... 2
Configuration of the PMC software ....................................................................................................... 3
Definition of inputs /outputs .............................................................................................................. 10
3.1
I_O.DEF.................................................................................................................................... 10
3.2
Operator's panel for standard unit (A02B-0236-C140#) .............................................................. 12
3.3
Operator's panel for small unit (A02B-0236-C141#) ................................................................... 14
3.4
Flexible Operator's panel (A02B-0236-C230/C231 or A02B-0236-C240/C241) .................................. 16
4 Creating a mnemonic file .................................................................................................................. 17
4.1
Command line compiler for FANUC LADDER III Version 3.2 and later ............................................. 17
5 Converting a mnemonic file to Fapt LADDER ....................................................................................... 18
5.1
Fapt LADDER I .......................................................................................................................... 18
5.2
Fapt LADDER II ......................................................................................................................... 18
5.3
FANUC LADDER III .................................................................................................................... 18
6 Assignment of i/o modules ................................................................................................................ 19
7 Machine specific modifications ........................................................................................................... 20
8 CNC parameter setting...................................................................................................................... 22
8.1
M codes .................................................................................................................................... 22
8.2
Spindle ..................................................................................................................................... 22
8.2.1
PMC axis used as a spindle................................................................................................... 22
8.2.2
Spindle orientation (Serial spindle)........................................................................................ 22
8.3
Reference position return ........................................................................................................... 22
8.4
Software Operators Panel .......................................................................................................... 23
8.5
Incremental feed and handwheel ................................................................................................ 23
9 PMC parameter setting...................................................................................................................... 24
9.1
Keep Relay ................................................................................................................................ 24
9.2
Timer........................................................................................................................................ 24
9.3
Data ......................................................................................................................................... 25
10 File structure of BASE_PMC ............................................................................................................... 27
10.1
Documentation (Directory DOC)............................................................................................... 27
10.2
Messages............................................................................................................................... 27
10.3
Source files ............................................................................................................................ 27
10.3.1 LEVEL 1.............................................................................................................................. 27
10.3.2 LEVEL 2.............................................................................................................................. 28
10.3.3 INIT ................................................................................................................................... 28
10.3.4 MODDEC ............................................................................................................................ 28
10.3.5 NCCTRL.............................................................................................................................. 28
10.3.6 MESSAGE ........................................................................................................................... 28
10.3.7 M_CODE............................................................................................................................. 28
10.3.8 SPINDLE............................................................................................................................. 28
10.3.9 TOOL ................................................................................................................................. 28
10.3.10
B_CODE .......................................................................................................................... 28
10.3.11
MANUAL.......................................................................................................................... 29
10.3.12
AUTO.............................................................................................................................. 29
10.3.13
COOLANT........................................................................................................................ 29
10.3.14
LUBRIC ........................................................................................................................... 29
10.3.15
POWER ........................................................................................................................... 29
10.3.16
SERVO ............................................................................................................................ 29
10.3.17
FEED_OVR ...................................................................................................................... 29
10.3.18
WINDOW ........................................................................................................................ 29
10.4
Symbol files ........................................................................................................................... 29
10.5
Utility .................................................................................................................................... 30
10.6
Compiler ................................................................................................................................ 30

Page 1 of 30

GE Fanuc Automation
1 Introduction
The library BASE_PMC allows an easy creation of a basic PMC program.
The functionality of the software (Operators panel, spindle, number of axes etc.) will be defined in a
configuration file.
The inputs/outputs can be adjusted in different definition files.
After that a mnemonic file will be created with the help of a preprocessing tool. This mnemonic file will be
imported in FANUC LADDER.
In FANUC LADDER, the used I/O modules must be specified and the machine specific changes and
parametrisation of the control must be done.

Configuration of PMC

Definition of inputs/outputs

Generation of a mnemonic file

Convert to FANUC LADDER

Definition of I/O modules

Machine specific modifications

Setting of CNC parameters

Setting of PMC parameters

Page 2 of 30

GE Fanuc Automation
2 Configuration of the PMC software
The file CONFIG.DEF in the directory BASE_PMC will be used to configure the base PMC program.
The marked values must be adapted to the given circumstances.
Important: For each definition a valid value must be entered. Otherwise the mnemonic file can not be created
without any errors.
The following options are available:
//
//
//
//
//
//
//
//

--------------------------------------------------------------------------Control type
--------------------------------------------------------------------------Selection of control type
1
2
3

=
=
=

#define

m_type
t_type
power mate
control_type

The control_type variable enables certain CNC-specific functions.


// --------------------------------------------------------------------------// PMC Type
// --------------------------------------------------------------------------//
0 PMC-RA3/SA3
//
1 PMC-RA5/SA5
//
2 PMC-RB5/SB5
//
3 PMC-RB6/SB6
//
4 PMC-RB6/SB6(STEP SEQ)
//
5 PMC-SB7
#define pmc_type

This variable defines the PMC type.


//
//
//
//
//
//
//

--------------------------------------------------------------------------Net comments
--------------------------------------------------------------------------Selection if net comments should be displayed
0
1

=
=

#define

No net comment
Display net comment
net_comment

The variable net_comment determines whether or not net comments are included in the PMC.

Page 3 of 30

GE Fanuc Automation
//
//
//
//
//
//
//

--------------------------------------------------------------------------Demonstration control
--------------------------------------------------------------------------For demonstration use some signals will be by-passed
0
1

=
=

#define

Normal use
Control is used for demonstration
demo_control

If the CNC is to be used for demonstration purposes only, this variable allows certain signals and functions to
be bypassed (e.g. initialization, spindle monitoring, axis referencing, overtravel, etc.)
//
//
//
//
//
//
//
//
//

--------------------------------------------------------------------------Emergency stop
--------------------------------------------------------------------------The POWER MATES have two interfaces for the emergency stop signal
(For the m_type and t_type controls the emergency stop input will be chosen
automatically):
0
1

=
=

X0.4
X1000.4

(I/O link interface)


(built-in I/O card)

#define emergency_stop_input
// Note: If the emergency_by_pass

0
= 1, you must define emergency_stop_input

= 0

Depending on the selected interface (I/O link or built-in I/O card) the emergency stop input must be defined for
the POWER MATE controls. For the other controls the input X8.4 will be automatically selected.
To by-pass the emergency stop you have to select the I/O link interface for the POWER MATES (machine
parameter 3008#3 = 0 (BIO)).
//
//
//
//
//
//
//

----------------------------------------------Emergency stop by-pass


----------------------------------------------If the emergency stop is not wired it is possible to by-pass the signal.
0
1

=
=

#define

No emergency stop by-pass


Emergency stop by-pass
emergency_by_pass

// Note: If the emergency_by_pass = 1, you must define start_adresses_op =

0 or 1

If the Emergency Stop input (X008.4 respectively X000.4 / X1000.4) is not yet connected, this variable allows
the signal to be by-passed. When using the emergency stop by-pass, the machine operators panel must use
the address range starting at R1000/R1020 (start_addresses_op = 0) or X100/Y100 (start_addresses_op = 1).
Important: For safety reasons, the emergency stop by-pass should only be used for demonstration
controls.

Page 4 of 30

GE Fanuc Automation
//
//
//
//
//
//
//
//
//

--------------------------------------------------------------------------Operatorspanel
--------------------------------------------------------------------------Selection of the operator's panel
1
2
3
4

=
=
=
=

#define

Software operator's panel


Operator's panel for standard unit (A02B-0236-C140#)
Operator's panel for small unit (A02B-0236-C141#)
Flexible Operator's panel (A02B-0236-C230/C231 or A02B-0236-C240/C241)
operatorspanel

One of four operators panels can be selected with the variable operatorspanel. Functions including mode
switching, axis selection, spindle operation, and coolant are pre-programmed where applicable.
//
//
//
//
//
//
//
//

--------------------------------------------------------------------------Start adresses for I/O area of the operatorspanel


--------------------------------------------------------------------------There are three areas to define the start adresses of the operatorspanel
0
1
2

=
=
=

#define

R1000 / R1020
X0100 / Y0100
X0006 / Y0006

Panel emulation (XOP)

start_adresses_op

// Note: If the emergency_by_pass

= 1, you must define start_adresses_op = 0 or 1

For maximum flexibility, three I/O ranges are pre-defined for the machine operators panel. The selected I/O
range is automatically entered in the I/O module definition table of FANUC LADDER.

Page 5 of 30

GE Fanuc Automation
//
//
//
//
//
//
//

--------------------------------------------------------------------------Messages
--------------------------------------------------------------------------Selection of language support
1
2

=
=

#define

One language supported


Four languages supported
language_support

// ----------------------------------------------// Select language for one language support


// ----------------------------------------------//
0 = English
//
1 = German
//
2 = French
//
3 = Italian
#define

language_choose

Either one or four languages are available for selection by the variable language_support. Selection of a
single language puts 32 CNC alarm messages (1xxx), 96 user alarm messages (20xx), and 128 operator
messages (21xx) at disposal. With the four language selection, 16 CNC alarm messages (1xxx), 16 user alarm
messages (20xx), and 16 operator messages (21xx) are available.
By selection of the one-language option, the language can be selected with the language_choose variable.
With the four-language option, keep relays K0.0, K0.1, and K0.2 determine the language according to the
following table:
K0.2
0
0
0
1
//
//
//
//
//
//
//

K0.1
0
0
1
0

K0.0
0
1
0
0

Language
English
German
French
Italian

--------------------------------------------------------------------------M-code
--------------------------------------------------------------------------Selection of M-code support
1
2

=
=

#define

One M-code per block


Up to three M-codes per block
m_code_support

Depending on the CNC parameter setting, up to three M-functions can be defined for a single block. With the
variable m_code_support, the corresponding M-code decoding functionality can be included in the ladder.

Page 6 of 30

GE Fanuc Automation
//
//
//
//
//
//
//

--------------------------------------------------------------------------B-code
--------------------------------------------------------------------------Selection of B-code support
0
1

=
=

#define

No support
B-code
b_code_support

With this variable, functionality for the 2nd auxiliary function can be included.
//
//
//
//
//
//
//
//
//
//

--------------------------------------------------------------------------Spindle
--------------------------------------------------------------------------Selection of spindle support
0
1
2
3
4

=
=
=
=
=

#define

No spindle
Serial spindle
Analog spindle
Analog spindle I/O module A (ADA02A)
PMC axis used as spindle
spindle_support

// When using a PMC axis as spindle select the axis:


// The selected axis must be always an axis number greather than specified
// in the parameter "axis_number" and must be greather 1.
#define

spindle_pmc_axis

With this directive, the desired spindle can be added to the PMC. If a PMC axis is to be used as a spindle axis,
then the axis number must be specified in the variable spindle_pmc_axis (axis_number + 1).

Page 7 of 30

GE Fanuc Automation
//
//
//
//
//
//
//
//
//

----------------------------------------------Spindle override
----------------------------------------------Selection of the spindle override
(For Software operator's panel specify 0)
0
1
2

=
=
=

#define

Spindle override 100%


Spindle override with key DEC / INC / 100%
Spindle override with gray coded selector
spindle_override

// When using the DEC / INC / 100% keys the range of the spindle override can
// be selected ( 0 <= spindle_min_ovr <= spindle_max_ovr <= 254 )
//
#define
spindle_min_ovr
70
// Minimal spindle override
#define
spindle_max_ovr
130
// Maximal spindle override
These variables set the operating parameters of the spindle override.
The value 0 sets a spindle override of 100%. For the software operators panel, the spindle override is
automatically set to 100%.
The value 1 binds the spindle override functionality to the keys DEC, INC, and 100%. This option should be
selected for the following operators panels: standard unit (A02B-0236-C140#) and small unit (A02B0236-C141#).
The value 2 binds the spindle override functionality to the gray-coded, rotary switch of the following
machine operators panels: Sub Panel A A02B-0236-C232 and Flexible Operator's panel (A02B-0236C230/C231 or A02B-0236-C240/C241).
//
//
//
//
//
//
//
//

----------------------------------------------Spindle orientation
----------------------------------------------Selection of the spindle orientation
0
1
2

=
=
=

#define

No spindle orientation
Spindle orientation (One position)
Spindle orientation (External stop position)
spindle_orientation

The variable spindle_orientation selects the type of spindle orientation (serial spindle).
The value 0 causes the spindle orientation module to be excluded from the ladder.
The value 1 indicates spindle orientation to a fixed position (e.g. for tool change)
The value 2 indicates spindle orientation to a desired position (e.g. M19 S1000 = 100 degrees)

//
//
//
//
//
//

----------------------------------------------Rigid tapping
----------------------------------------------Selection of rigid tapping
0
1

=
=

#define

No rigid tapping
Rigid tapping (serial spindle)
rigid_tapping

With this variable, rigid tapping can be included (for serial spindle only).

Page 8 of 30

GE Fanuc Automation
//
//
//
//
//
//
//
//

--------------------------------------------------------------------------Axes
--------------------------------------------------------------------------Maximum number of supported axes (Minimum 1 axis)
4 for the Software operator's panel
4 for the Operator's panel for standard unit
4 for the Operator's panel for small unit
6 for the Flexible Operator's panel

#define

axis_number

With this variable, the number of axes is set; the minimum number of axes is one. The maximum number of
axes depends on the selected machine operators panel.
//
//
//
//
//

----------------------------------------------Reference position return


----------------------------------------------(NC = Contact normally closed)
(NO = Contact normally open)

// Reference position return procedure


//
0 = No reference position return
//
1 = Plus direction
NC
//
2 = Minus direction
NC
//
3 = Plus direction
NO
//
4 = Minus direction
NO
#define
#define
#define
#define
#define
#define

ref_dir_1st_axis
ref_dir_2nd_axis
ref_dir_3rd_axis
ref_dir_4th_axis
ref_dir_5th_axis
ref_dir_6th_axis

1
2
3
4
0
0

//
//
//
//
//

not reference
negative axis
positive axis
negative axis
positive axis

//
//
//
//
//
//

1st
2nd
3rd
4th
5th
6th

return
limit
limit
limit
limit

axis
axis
axis
axis
axis
axis

The reference position return method is defined for each axis independently:
0 = Reference position return is not executed (e.g. for absolute position encoder)
1 = The reference switch is normally closed type (NC) and is positioned at the negative end of the axis
stroke
2 = The reference switch is normally closed type (NC) and is positioned at the positive end of the axis
stroke
3 = The reference switch is normally open type (NO) and is positioned at the negative end of the axis
stroke
4 = The reference switch is normally open type (NO) and is positioned at the positive end of the axis stroke
// ----------------------------------------------// Handwheel
// ----------------------------------------------// Handwheel selection
//
0 = No handwheel
//
1 = One handwheel
//
#define
handwheel_support
1
Handwheel support causes support for a manual pulse generator to be included in the ladder.

Page 9 of 30

GE Fanuc Automation
// --------------------------------------------------------------------------// Coolant
// --------------------------------------------------------------------------//
//
0 = No coolant
//
1 = Coolant
#define

coolant_support

The variable coolant_support enables or disables coolant support in PMC.


// --------------------------------------------------------------------------// Lubrication
// --------------------------------------------------------------------------//
//
0 = No lubrication
//
1 = Lubrication with level and pressure control
#define

lubrication_support

This variable determines whether the module for centralized lubrication with level and pressure control is
included in the PMC. Lubrication frequency, operating time, and pump time-out can be set individually with
timers.

3 Definition of inputs /outputs


For the definition of I/O addresses, the following four files are available:

I_O.DEF for all I/O addresses other than for the machine operators panel
OP_FULL.DEF for the standard unit machine operator's panel (A02B-0236-C140#)
OP_SMALL.DEF for the small unit machine operator's panel (A02B-0236-C141#)
OP_FLEX.DEF for the Flexible Operator's panel (A02B-0236-C230/C231 or A02B-0236-C240/C241)

3.1 I_O.DEF
The file I_O.DEF in the BASE_PMC directory includes definitions for all I/O addresses other than those for the
machine operators panel.
The highlighted values must be adapted for the given machine.
Important: Only valid I/O addresses should be set in the definition file in order to create an error-free
mnemonic file. Be careful not to enter duplicate addresses into the table.
// --------------------------------------------------------------------------// Overtravel inputs
// --------------------------------------------------------------------------#define ls_1st_axis_plus
X1.0
#define ls_1st_axis_minus
X1.1
#define ls_2nd_axis_plus
X1.2
#define ls_2nd_axis_minus
X1.3
#define ls_3rd_axis_plus
X1.4
#define ls_3rd_axis_minus
X1.5
#define ls_4th_axis_plus
X1.6
#define ls_4th_axis_minus
X1.7
#define ls_5th_axis_plus
X2.0
#define ls_5th_axis_minus
X2.1
Page 10 of 30

GE Fanuc Automation
#define
#define

ls_6th_axis_plus
ls_6th_axis_minus

X2.2
X2.3

If the control is to be used for other than demonstration purposes, the inputs for all selected axes must be
defined.
// --------------------------------------------------------------------------// Reference inputs
// --------------------------------------------------------------------------#define ref_1st_axis
X3.0
#define ref_2nd_axis
X3.1
#define ref_3rd_axis
X3.2
#define ref_4th_axis
X3.3
#define ref_5th_axis
X3.4
#define ref_6th_axis
X3.5
// --------------------------------------------------------------------------// Analog spindle I/O module A (ADA02A)
// --------------------------------------------------------------------------#if spindle_support == 3
#define spin_analog_byte0
Y2
#define spin_analog_bit08
Y3.0
#define spin_analog_bit09
Y3.1
#define spin_analog_bit10
Y3.2
#define spin_analog_bit11
Y3.3
#endif
The outputs for the analog output module ADA02A only need to be defined when the variable
spindle_support has the value 3 in the file CONFIG.DEF.
// --------------------------------------------------------------------------// Coolant
// --------------------------------------------------------------------------#if coolant_support == 1
#define output_coolant_on
Y0.0
#endif
The coolant output needs only to be defined if coolant support has been included in the PMC.
// --------------------------------------------------------------------------// Lubrication
// --------------------------------------------------------------------------#if lubrication_support > 0
#define level_lubrication
X2.4
#define pressure_lubrication
X2.5
#define output_lubric_on
Y0.1
#endif
The inputs and output for lubrication need only be defined if lubrication support has been included in the PMC.

Page 11 of 30

GE Fanuc Automation
3.2 Operator's panel for standard unit (A02B-0236-C140#)
The inputs and outputs for the standard unit operators panel are defined in the file OP_FULL.DEF in the
BASE_PMC directory. The allocation of I/Os to the individual keys can be seen in the figure below. All grayed
keys are programmed as part of the basic PMC. The functionality of control specific keys is determined by the
setting of the control_type variable. The blue-shaded key MPG4 is used only with the M-control and the POWER
MATES.
start_adresses_op 0: (I/O R1000/R1020)
R1008.5 R1004.0 R1005.0
R1024.5 R1020.0 R1021.0
JOG
X2
X1

R1004.5 R1005.5 R1006.5


R1020.5 R1021.5 R1022.5
AUTO
EDIT
MDI

R1009.5
R1025.5
+Y/+X

R1010.5
R1026.5
+Z/+C

R1004.6 R1005.6 R1006.6


R1020.6 R1021.6 R1022.6
+X/-Z
TRVRS
-X/+Z
R1009.7
R1025.7
-Z/-C

R1008.7
R1024.7
-Y/-X
R1006.7
R1022.7
CYCSTP

R1004.7
R1020.7
CYCST

R1008.0
R1024.0

R1009.0 R1010.0 R1011.0


R1025.0 R1026.0 R1027.0
?NC
?MC

R1006.1 R1007.1 R1008.1 R1009.1 R1010.1 R1011.1


R1022.1 R1023.1 R1024.1 R1025.1 R1026.1 R1027.1
SBK
BLKDEL OPTSTP
DRYRUN MLOCK

R1004.1
R1020.1
-4/+T
R1008.6 R1004.2
R1024.6 R1020.2

R1006.0 R1007.0
R1022.0 R1023.0
REF

R1005.2
R1021.2

R1004.3
R1024.3
+4/-T
R1007.7 R1004.4 R1005.4
R1023.7 R1020.4 R1021.4
OFF
ON
AUTO

COOLANT

R1006.2 R1007.2 R1008.2 R1009.2 R1010.2


R1022.2 R1023.2 R1024.2 R1025.2 R1026.2
MPG X MPGY/Z MPGZ/C MPG 4

R1011.2
R1027.2

R1006.3 R1007.3 R1008.3 R1009.3


R1022.3 R1023.3 R1024.3 R1025.3
DEC
100%
INC

R1011.3
R1027.3

R1010.3
R1026.3

R1006.4 R1007.4 R1008.4 R1009.4 R1010.4 R1011.4


R1022.4 R1023.4 R1024.4 R1025.4 R1026.4 R1027.4
KEY
RST
EMG
SP STP SP CW SP CCW

SPINDLE

start_adresses_op 1: (I/O X100/Y100)

X104.5
Y100.5
AUTO

X105.5
Y101.5
EDIT

X109.5
Y105.5
+Y/+X
X104.6
Y100.6
+X/-Z

X105.6
Y101.6
TRVRS

X110.5
Y106.5
+Z/+C

X109.7
Y105.7
-Z/-C
X106.7
Y102.7
CYCSTP

X104.0
Y100.0
X1

X105.0
Y101.0
X2

X104.1
Y100.1
-4/+T
X108.6
Y104.6

X106.6
Y102.6
-X/+Z

X108.7
Y104.7
-Y/-X
X104.7
Y100.7
CYCST

X108.5
Y104.5
JOG

X106.5
Y102.5
MDI

X104.2
Y100.2

X105.2
Y101.2

X104.3
Y104.3
+4/-T
X107.7
Y103.7
OFF

X104.4
Y100.4
ON

X105.4
Y101.4
AUTO

COOLANT

X108.0
Y104.0

X109.0
Y105.0

X106.1 X107.1 X108.1


Y101.1 Y102.1 Y104.1
SBK
BLKDEL OPTSTP

X109.1
Y105.1

X106.0
Y102.0
REF

X107.0
Y103.0

X110.0
Y106.0
?NC

X111.0
Y107.0
?MC

X110.1 X111.1
Y106.1 Y107.1
DRYRUN MLOCK

X106.2 X107.2 X108.2 X109.2


Y102.2 Y103.2 Y104.2 Y105.2
MPG X MPGY/Z MPGZ/C MPG 4

X110.2
Y106.2

X111.2
Y107.2

X106.3
Y102.3
DEC

X107.3
Y103.3
100%

X108.3
Y104.3
INC

X109.3
Y105.3

X110.3
Y106.3

X111.3
Y107.3

X106.4
Y102.4
SP STP

X107.4
Y103.4
SP CW

X108.4
Y104.4
SP CCW

X109.4
Y105.4

X110.4
Y106.4

X111.4
Y107.4

SPINDLE

Page 12 of 30

GE Fanuc Automation
start_adresses_op 2: (I/O ab X006/Y006)
X10.5
Y6.5
AUTO

X11.5
Y7.5
EDIT

X15.5
Y11.5
+Y/+X
X10.6
Y6.6
+X/-Z

X11.6
Y7.6
TRVRS

X16.5
Y12.5
+Z/+C

X15.7
Y11.7
-Z/-C
X12.7
Y8.7
CYCSTP

X10.0
Y6.0
X1

X11.0
Y7.0
X2

X10.1
Y6.1
-4/+T
X14.6
Y10.6

X12.6
Y8.6
-X/+Z

X14.7
Y10.7
-Y/-X
X10.7
Y6.7
CYCST

X14.5
Y10.5
JOG

X12.5
Y8.5
MDI

X10.2
Y6.2

X11.2
Y7.2

X10.3
Y6.3
+4/-T
X13.7
Y9.7
OFF

X10.4
Y6.4
ON

X11.4
Y7.4
AUTO

COOLANT

X12.0
Y8.0
REF

X13.0
Y9.0

X14.0
Y10.0

X15.0
Y11.0

X16.0
Y12.0
?NC

X17.0
Y13.0
?MC

X12.1
Y8.1
SBK

X13.1
X14.1
Y9.1
Y10.1
BLKDEL OPTSTP

X15.1
Y11.1

X16.1
X17.1
Y12.1
Y13.1
DRYRUN MLOCK

X12.2
Y8.2
MPG X

X13.2
X14.2
Y9.2
Y10.2
MPGY/Z MPGZ/C

X15.2
Y11.2
MPG 4

X16.2
Y12.2

X17.2
Y13.2

X12.3
Y8.3
DEC

X13.3
Y9.3
100%

X14.3
Y10.3
INC

X15.3
Y11.3

X16.3
Y12.3

X17.3
Y13.3

X12.4
Y8.4
SP STP

X13.4
Y8.4
SP CW

X14.4
Y10.4
SP CCW

X15.4
Y11.4

X16.4
Y12.4

X17.4
Y13.4

SPINDLE

Page 13 of 30

GE Fanuc Automation
3.3 Operator's panel for small unit (A02B-0236-C141#)
The inputs and outputs for the small operators panel are defined in the file OP_SMALL.DEF in the BASE_PMC
directory. The allocation of I/Os to the individual keys can be seen in the figure below. All grayed keys are
programmed as part of the basic PMC. The functionality of control specific keys is determined by the setting of
the control_type variable.
start_adresses_op 0: (I/O R1000/R1020)
R1004.0 R1005.0 R1006.0
R1020.0 R1021.0 R1022.0
AUTO
MDI
EDIT

R1006.1 R1007.0 R1008.0 R1009.0 R1009.1 R1010.0 R1011.0


R1022.1 R1023.0 R1024.0 R1025.0 R1025.1 R1026.0 R1027.0
HANDLE
KEY
RST
EMG
JOG
INC
REF

R1004.1 R1005.1 R1006.2


R1020.1 R1021.1 R1022.2
SBK
BLKDEL OPTSTP

R1006.3 R1007.1 R1008.1


R1022.3 R1023.1 R1024.1
X100
X1
X10

R1009.3 R1010.1 R1011.1


R1025.3 R1026.1 R1027.1
-4/-4
+Z/+3 +Y/-X

R1004.2 R1005.2 R1006.4


R1020.2 R1021.2 R1022.4
DRYRUN MLOCK

R1006.5 R1007.2
R1022.5 R1023.2
X1000

R1009.5 R1010.2 R1011.2


R1025.5 R1026.2 R1027.2
+X/-Z TRVRS
-X/+Z

R1004.3
R1020.3

R1006.6
R1022.6

R1006.7 R1007.3 R1008.3


R1022.7 R1023.3 R1024.3
DEC
100%
INC

R1009.7 R1010.3 R1011.3


R1025.7 R1026.3 R1027.3
+4/+4 -Y/+X
-Z/-3

R1004.5 R1004.6 R1004.7


R1020.5 R1020.6 R1020.7
CYCST CYCSTP

R1005.7 R1007.5 R1007.6


R1021.7 R1023.5 R1023.6
SP CW SP STP SP CCW

R1008.7 R1010.5 R1011.5


R1024.7 R1026.5 R1027.5
ON
OFF
AUTO

SPINDLE

COOLANT

R1005.3
R1021.3

R1008.2
R1024.2

start_adresses_op 1: (I/O X100/Y100)


X104.0
Y100.0
AUTO

X105.0
Y101.0
EDIT

X106.0
Y102.0
MDI

X106.1
Y102.1
REF

X107.0
Y103.0
JOG

X108.0 X109.0
Y104.0 Y105.0
HANDLE
INC

X109.1
Y105.1

X110.0
Y106.0

X111.0
Y107.0

X104.1
Y100.1
SBK

X105.1 X106.2
Y101.1 Y102.2
BLKDEL OPTSTP

X106.3
Y102.3
X1

X107.1
Y103.1
X10

X108.1
Y104.1
X100

X109.3
Y105.3
+Z/+3

X110.1
Y106.1
+Y/-X

X111.1
Y107.1
-4/-4

X106.4
Y102.4

X106.5
Y102.5
X1000

X107.2
Y103.2

X108.2
Y104.2

X109.5
Y105.5
+X/-Z

X110.2
Y106.2
TRVRS

X111.2
Y107.2
-X/+Z

X104.2 X105.2
Y100.2 Y101.2
DRYRUN MLOCK
X104.3
Y100.3

X105.3
Y101.3

X106.6
Y102.6

X106.7
Y102.7
DEC

X107.3
Y103.3
100%

X108.3
Y104.3
INC

X109.7
Y105.7
+4/+4

X110.3
Y106.3
-Y/+X

X111.3
Y107.3
-Z/-3

X104.5
Y100.5
CYCST

X104.6
Y100.6
CYCSTP

X104.7
Y100.7

X105.7
Y101.7
SP CW

X107.5
Y103.5
SP STP

X107.6
Y103.6
SP CCW

X108.7
Y104.7
ON

X110.5
Y106.5
OFF

X111.5
Y107.5
AUTO

SPINDLE

COOLANT

Page 14 of 30

GE Fanuc Automation
start_adresses_op 2: (I/O ab X006/Y006)
X10.0
Y6.0
AUTO

X10.1
Y6.1
SBK

X11.0
Y7.0
EDIT

X12.0
Y8.0
MDI

X12.1
Y8.1
REF

X13.0
Y9.0
JOG

X14.0
Y10.0
INC

X11.1
X12.2
Y7.1
Y8.2
BLKDEL OPTSTP

X12.3
Y8.3
X1

X13.1
Y9.1
X10

X12.4
Y8.4

X12.5
Y8.5
X1000

X11.2
X10.2
Y7.2
Y6.2
DRYRUN MLOCK

X15.0
Y11.0
HANDLE

X15.1
Y11.1

X16.0
Y12.0

X17.0
Y13.0

X14.1
Y10.1
X100

X15.3
Y11.3
+Z/+3

X16.1
Y12.1
+Y/-X

X17.1
Y13.1
-4/-4

X13.2
Y9.2

X14.2
Y10.2

X15.5
Y11.5
+X/-Z

X16.2
Y12.2
TRVRS

X17.2
Y13.2
-X/+Z

X10.3
Y6.3

X11.3
Y7.3

X12.6
Y8.6

X12.7
Y8.7
DEC

X13.3
Y9.3
100%

X14.3
Y10.3
INC

X15.7
Y11.7
+4/+4

X16.3
Y12.3
-Y/+X

X17.3
Y13.3
-Z/-3

X10.5
Y6.5
CYCST

X10.6
Y6.6
CYCSTP

X10.7
Y6.7

X11.7
Y7.7
SP CW

X13.5
Y9.5
SP STP

X13.6
Y9.6
SP CCW

X14.7
Y10.7
ON

X16.5
Y12.5
OFF

X17.5
Y13.5
AUTO

SPINDLE

COOLANT

Page 15 of 30

GE Fanuc Automation
3.4 Flexible Operator's panel (A02B-0236-C230/C231 or A02B-0236C240/C241)
The inputs and outputs for the standard unit operators panel are defined in the file OP_FLEX.DEF in the
BASE_PMC directory. The allocation of I/Os to the individual keys can be seen in the figure below. All grayed
keys are programmed as part of the basic PMC. The functionality of control specific keys is determined by the
setting of the control_type variable. The blue-shaded keys are only used when the variable spindle_override is
set to 1.
start_adresses_op 0: (I/O R1000/R1020)

SPINDLE
R1004.0 R1004.1 R1004.2 R1004.3
R1020.0 R1020.1 R1020.2 R1020.3
AUTO
EDIT
MDI
REMOTE

R1006.4 R1006.5 R1006.6 R1006.7


R1022.4 R1022.5 R1022.6 R1022.7
JOG
INC
HANDLE
REF

R1009.0 R1009.1 R1009.2


R1025.0 R1025.1 R1025.2
DEC
100%
INC

R1004.4 R1004.5 R1004.6 R1004.7


R1020.4 R1020.5 R1020.6 R1020.7
SBK
BLKDEL OPTSTP

R1007.0 R1007.1 R1007.2 R1007.3


R1023.0 R1023.1 R1023.2 R1023.3
X1
X10
X100
X1000

R1009.4 R1009.5 R1009.6


R1025.4 R1025.5 R1025.6
X
Y
Z

R1005.0 R1005.1 R1005.2 R1005.3


R1021.0 R1021.1 R1021.2 R1021.3
MLOCK DRYRUN

R1007.4
R1023.4

R1007.5
R1023.5

R1007.6
R1023.6

R1007.7
R1023.7

R1010.0 R1010.1 R1010.2


R1026.0 R1026.1 R1026.2
4
5
6

R1005.4
R1021.4

R1008.0
R1024.0

R1008.1
R1024.1

R1008.2
R1024.2

R1008.3
R1024.3

R1010.4 R1010.5 R1010.6


R1026.4 R1026.5 R1026.6
+
TRVRS
-

R1008.4 R1008.5 R1008.6 R1008.7


R1024.4 R1004.5 R1024.6 R1024.7
OFF
ON
AUTO

R1011.0 R1011.1 R1011.2


R1027.0 R1027.1 R1027.2
SP CW SP STP SP CCW

R1005.5
R1021.5

R1005.6 R1005.7
R1021.6 R1021.7
KEY

R1006.0 R1006.1 R1006.2 R1006.3


R1022.0 R1022.1 R1022.2 R1022.3
CYCSTP CYCST
RST
EMG

COOLANT
start_adresses_op 1: (I/O X100/Y100)

SPINDLE
X109.0
Y105.0
DEC

X109.1
Y105.1
100%

X109.2
Y105.2
INC

X107.3
Y103.3
X1000

X109.4
Y105.4
X

X109.5
Y105.5
Y

X109.6
Y105.6
Z

X107.6
Y103.6

X107.7
Y103.7

X110.0
Y106.0
4

X110.1
Y106.1
5

X110.2
Y106.2
6

X108.1
Y104.1

X108.2
Y104.2

X108.3
Y104.3

X110.4
Y106.4
+

X110.5
Y106.5
TRVRS

X110.6
Y106.6
-

X108.5
Y104.5
ON

X108.6
Y104.6
AUTO

X108.7
Y104.7

X111.0
Y107.0
SP CW

X111.1
Y107.1
SP STP

X111.2
Y107.2
SP CCW

X106.4
Y102.4
REF

X106.5
Y102.5
JOG

X106.6 X106.7
Y102.6 Y102.7
INC
HANDLE

X104.7
Y100.7

X107.0
Y103.0
X1

X107.1
Y103.1
X10

X107.2
Y103.2
X100

X105.1 X105.2
Y101.1 Y101.2
MLOCK DRYRUN

X105.3
Y101.3

X107.4
Y103.4

X107.5
Y103.5

X105.4
Y101.4

X105.5
Y101.5

X105.6
Y101.6

X105.7
Y101.7

X108.0
Y104.0

X106.0
Y102.0
CYCSTP

X106.1
Y102.1
CYCST

X106.2
Y102.2

X106.3
Y102.3

X108.4
Y104.4
OFF

X104.0
Y100.0
AUTO

X104.1
Y100.1
EDIT

X104.2 X104.3
Y100.2 Y100.3
MDI
REMOTE

X104.4
Y100.4
SBK

X104.5 X104.6
Y100.5 Y100.6
BLKDEL OPTSTP

X105.0
Y101.0

COOLANT

Page 16 of 30

GE Fanuc Automation
start_adresses_op 2: (I/O ab X006/Y006)

SPINDLE
X10.0
Y6.0
AUTO

X10.1
Y6.1
EDIT

X10.2
Y6.2
MDI

X10.3
Y6.3
REMOTE

X12.4
Y8.4
REF

X12.5
Y8.5
JOG

X12.6
Y8.6
INC

X12.7
Y8.7
HANDLE

X15.0
Y11.0
DEC

X15.1
Y11.1
100%

X15.2
Y11.2
INC

X10.4
Y6.4
SBK

X10.6
X10.5
Y6.6
Y6.5
BLKDEL OPTSTP

X10.7
Y6.7

X13.0
Y9.0
X1

X13.1
Y9.1
X10

X13.2
Y9.2
X100

X13.3
Y9.3
X1000

X15.4
Y11.4
X

X15.5
Y11.5
Y

X15.6
Y11.6
Z

X11.0
Y7.0

X11.2
X11.1
Y7.2
Y7.1
MLOCK DRYRUN

X11.3
Y7.3

X13.4
Y9.4

X13.5
Y9.5

X13.6
Y9.6

X13.7
Y9.7

X16.0
Y12.0
4

X16.1
Y12.1
5

X16.2
Y12.2
6

X11.4
Y7.4

X11.5
Y7.5

X11.6
Y7.6

X11.7
Y7.7

X14.0
Y10.0

X14.1
Y10.1

X14.2
Y10.2

X14.3
Y10.3

X16.4
Y12.4
+

X16.5
Y12.5
TRVRS

X16.6
Y12.6
-

X12.0
Y8.0
CYCSTP

X12.1
Y8.1
CYCST

X12.2
Y8.2

X12.3
Y8.3

X14.4
Y10.4
OFF

X14.5
Y10.5
ON

X14.6
Y10.6
AUTO

X14.7
Y10.7

X17.0
Y13.0
SP CW

X17.1
Y13.1
SP STP

X17.2
Y13.2
SP CCW

COOLANT

4 Creating a mnemonic file


The batch file MAKE_MNE.BAT, in the directory BASE_PMC, starts the generation of a mnemonic file. The
created mnemonic file, BASE.MNE, can then be converted to a .MEM file using FAPT Ladder.

Batch file MAKE_MNE.BAT


@echo off
rem ****************************************************************
rem * MAKE_MNE starts the GNU cpp preprocessor and generates the
*
rem *
mnemonic for the pmc base program
*
rem ****************************************************************
cls
echo Preprocessor running.....
utility\cpp.exe -E base.src >base.i
utility\grep.exe -v # base.i >base.~1
utility\grep.exe [%%@()0-9A-Za-z] base.~1 >base.mne
if exist base.i del base.i
if exist *.~? del *.~? >nul
cls
echo Mnemonic file base.mne created
@echo on
The Free Software Foundations GNU C++ Preprocessor is used for generation of the mnemonic file. Some
aesthetic formatting of the generated mnemonic file is accomplished with the utility GREP, also from the Free
Software Foundation. Both GREP and GNU C++ are released under the GNU General Public License.

4.1 Command line compiler for FANUC LADDER III Version 3.2 and later
A command line compiler was implemented in FANUC LADDER III Version 3.2. The batch file MAKE_MEM.BAT
generates the files BasePMC.LAD (Project file for FANUC LADDER III) and BASEPMC.MEM (MEM file which can
be stored directly in the control)
MAKE_MEM.BAT can only be used together with the operating system WINDOWS 2000.

Page 17 of 30

GE Fanuc Automation
5 Converting a mnemonic file to Fapt LADDER
5.1 Fapt LADDER I
Procedure:

Start Fapt LADDER


F8 KEY: MNEMONIC EDIT
Select with the cursor keys the desired PMC type (must be the same PMC type as defined in CONFIG.DEF)
ENTER
F2 KEY: MNEMONIC FILE -> SOURCE PROGRAM
1) MNEMONIC FILE NAME: Directory\BASE.MNE
2) SOURCE PROGRAM NAME: Directory\BASE
F1 EXEC

5.2 Fapt LADDER II


Procedure:

Start Fapt LADDER II


Program selection
SOURCE PROGRAM NAME: Directory\BASE
F1 EXEC
Select with the cursor keys the desired PMC type (must be the same PMC type as defined in CONFIG.DEF)
ENTER
F1 I/O link channel number
Off-line function (TAB)
Enter
F7 MNEMONIC FILE -> SOURCE PROGRAM
1) MNEMONIC FILE NAME: Directory\BASE.MNE
F1 EXEC

5.3 FANUC LADDER III


Procedure:

Start FANUC LADDER III


File
New program
Name Directory\BASE
PMC type (must be the same PMC type as defined in CONFIG.DEF)
OK
Tool
Source program convert
Mnemonic file name Directory\BASE.MNE
OK
YES
Close Notepad
CLOSE

Page 18 of 30

GE Fanuc Automation
6 Assignment of i/o modules
Because of the different I/O modules which can be used it is necessary to define them in FANUC LADDER.
The i/o module for the operators panel will be defined automatically. Depending on the defined adress range
(start_adresses_op) in the configuration file (X0006/Y0006 or X0100/Y0100) the i/o module will be
assigned in the following way:

ADRESS
X0006 / X0100
X0007 / X0101
X0008 / X0102
X0009 / X0103
X0010 / X0104
X0011 / X0105
X0012 / X0106
X0013 / X0107
X0014 / X0108
X0015 / X0109
X0016 / X0110
X0017 / X0111
X0018 / X0112
X0019 / X0113
X0020 / X0114
X0021 / X0115

GROUP
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

BASE
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

SLOT
01
01
01
01
01
01
01
01
01
01
01
01
01
01
01
01

NAME
/8
/8
/8
/8
/8
/8
/8
/8
/8
/8
/8
/8
/8
/8
/8
/8

ADRESS
Y0006 / Y0100
Y0007 / Y0101
Y0008 / Y0102
Y0009 / Y0103
Y0010 / Y0104
Y0011 / Y0105
Y0012 / Y0106
Y0013 / Y0107

GROUP
0
0
0
0
0
0
0
0

BASE
0
0
0
0
0
0
0
0

SLOT
01
01
01
01
01
01
01
01

NAME
/8
/8
/8
/8
/8
/8
/8
/8

Page 19 of 30

GE Fanuc Automation
7 Machine specific modifications

SPIRORI

WINDOW

INIT

LEVEL 2

LEVEL 1

MODDEC

NCCTRL

MESS

M-COD

SPIOVR

F-OVR

SPICTL

SPIRUN

T-COD

SERVO

B-COD

POWER

REF

AXMAN

LUBRIC

HD/INC

COOL

AUTO

Because of different hardware solutions for the machines it is necessary to modify the PMC program.
The PMC program has the following structure:

Page 20 of 30

GE Fanuc Automation

LEVEL 1: The module includes the management of the following functions:


emergency stop, 16ms timer, overtravel and counters for the software deceleration dogs.
The overtravel signals (G114.x/G116.x) must be modified if the axes have no overtravel switches.

LEVEL 2: Call of the following function modules

INIT: Initialisation of parameters and data at the start-up of the control

MODDEC: Decoding of the machine operation modes

NCCTRL: Management of the signals RESET, NC-START, FEED HOLD, RESET AND REWIND etc.

MESS: Management and display of the machine specific messages

M-COD: Decoding and completion of M codes

SPICTL: Management module for the spindle (S code, spindle start/stop)


If the machine has a spindle gear box, it must be included in this module.

SPIOVR: Management of the spindle override

SPIRUN: Functions for spindle driving and monitoring.

SPIORI: Spindle orientation

T-COD: Tool management

B-COD: Management of the B code

AXMAN: Moving the axes in the manual modes

REF: Management of the reference position return

HD/INC: Management of the handwheel and the incremental feed

AUTO: Management of the automatic operation modes

COOL: Coolant control

LUBRIC: Management of the central lubrication

POWER: Switching on the axes and spindle amplifiers, set-up mode.


The functions in this module must be assigned to the machine specific circumstances.

SERVO: Enabling of the servo amplifiers.


If the axes must be clamped it is necessary to modify the enabling of the servo amplifiers.

F_OVR: Management of the feed override

WINDOW: Management of the low speed WINDOW READ/WRITE functions

Note: The file memory management.xls in the directory DOC includes memory management.

Page 21 of 30

GE Fanuc Automation
8 CNC parameter setting
3001#7 (HMI)

=1

High-speed M , S ,T ,B interface

8.1 M codes
3404#7 (M3B)
0:
1:

Number of M codes which can be specified per block

1 M code
3 M codes

8.2 Spindle
3708#0
0:
1:

The spindle speed arrival signal (SAR) will be

not checked
checked

3740
8.2.1

Delay before checking the SAR signal (Delay in PMC 200ms )

PMC axis used as a spindle

1006#0 (ROTx)
8010
8028
8.2.2

=1
=1

Spindle orientation (Serial spindle)

3702#2 (OR1)
0:
1:

Rotation axis
DI/DO group for the PMC axis which is used as a spindle
Acceleration/ deceleration time for the spindle

External setting type stop position orientation function is

not used
used

4031
4077

Stop position (only valid if 3702#2=0)


Spindle orientation stop position shift (only valid if 3702#2=1)

8.3 Reference position return


1006#5 (ZMI)

Direction of the reference position return

0:
1:

(Reference dog is at the negative end of travel)


(Reference dog is at the positive end of travel)

Positive direction
Negative direction

3003#5 (DEC)

=0

Decelearation signal for the reference position return (signal is 0)

3006#0 (GDC)

=1

G196.x is used as deceleration signal for the reference position return

Page 22 of 30

GE Fanuc Automation
8.4 Software Operators Panel
The software operators panel uses the following options:

J960
J961

Software operators panel


Software operator's panel general purpose switch

7200#0 (OP1)
7200#1 (OP2)
7200#2 (OP3)
7200#3 (OP4)
7200#4 (OP5)
7200#5 (OP6)
7200#6 (OP7)

=1
=1
=1
=1
=1
=1
=1

7210-7217

Distribution of the axes to the axes direction buttons

Mode selection
JOG feed axis selection and JOG rapid traverse buttons
Handwheel
JOG and rapid traverse override
Block skip, single block, machine lock, dry run
Protection key
Feed hold

Used general purpose switches:


Parameter

Value

Description

Parameter

Value

Description

Parameter

Value

Description

7220
7221
7222
7223
7224
7225
7226
7227

69
77
71
32
83
84
79
80

E
M
G
Space
S
T
O
P

7228

7229
7230
7231
7232
7233
7234
7235

82
69
83
69
84
0

R
E
S
E
T

7236
7237
7238
7239
7240
7241
7242
7243

78
67
32
83
84
65
82
84

N
C
Space
S
T
A
R
T

Parameter

Value

Description

Parameter

Value

Description

Parameter

Value

Description

7260
7261
7262
7263
7264
7265
7266
7267

67
79
79
76
65
78
84
0

7268
7269
7270
7271
7272
7273
7274
7275

83
80
73
78
68
76
69

S
P
I
N
D
L
E

7276
7277
7278
7279
7280
7281
7282
7283

83
80
73
78
32
67
67
87

S
P
I
N
Space
C
C
W

O
O
L
A
N
T

0
0

8.5 Incremental feed and handwheel


7100#0 (JHD)
7110
7113
7114

=1
=1
= 100
= 1000

Activation of the incremental feed


Number of handwheels
Handwheel factor m
Handwheel factor n

The handwheel needs the following option:

J835

Manual handle feed 1 unit

Page 23 of 30

GE Fanuc Automation
9 PMC parameter setting
9.1 Keep Relay
If the four language support was defined in the configuration file (language_support 2), the prefered
language must be activated in the following way:

K0.2
0
0
0
1

K0.1
0
0
1
0

K0.0
0
1
0
0

Language
English
German
French
Italian

Switching on/off reference position return:

K1.0
K1.1
K1.2
K1.3
K1.4
K1.5

=1
=1
=1
=1
=1
=1

No
No
No
No
No
No

reference
reference
reference
reference
reference
reference

position
position
position
position
position
position

return
return
return
return
return
return

for
for
for
for
for
for

the
the
the
the
the
the

1st axis
2nd axis
3rd axis
4th axis
5th axis
6th axis

9.2 Timer
If the central lubrication (lubrication_support 1) was defined in the configuration file, the used variable
timers (TMR) must be specified.
The following conditions must be fulfilled: value T18 < value T16 < value T14 < value T12

NO.
07
08
09
10

ADDRESS
T12
T14
T16
T18

DATA

DESCRIPTION
Stand-by central lubrication
Time between two lubrication impulses
Time out central lubrication
Lubrication time

For the analog spindle (spindle_support 2 oder 3) the acceleration and deceleration time must be
specified.

NO.
11
12

ADDRESS
T20
T22

DATA

DESCRIPTION
Acceleration time analog spindle
Deceleration time analog spindle

Page 24 of 30

GE Fanuc Automation
9.3 Data
Control table:
GROUP TABLE COUNT = 7
NO.
001
002
003
004
005
006
007

ADDRESS
D0028
D0040
D0100
D0110
D0142
D0152
D0192

PARAMETER
00000000
00000000
00000000
00000000
00000000
00000000
00000000

TYPE
2
1
1
2
1
2
1

NO. OF DATA
3
8
5
8
5
8
5

Spindle data

NO.
0000
0001
0002

ADDRESS
D0028
D0032
D0036

DATA

DESCRIPTION
Maximum speed (Analog spindle and PMC axis)
Gear ratio motor (PMC axis)
Gear ratio spindle (PMC axis)

Length of the software deceleration dog (Input units 16ms). The length is dependent on the manual rapid
traverse rate in reference mode (D152-D180).

NO.
0000
0001
0002
0003
0004
0005
0006
0007

ADDRESS
D0040
D0042
D0044
D0046
D0048
D0050
D0052
D0054

DATA

DESCRIPTION
Length of the software
Length of the software
Length of the software
Length of the software
Length of the software
Length of the software
Length of the software
Length of the software

deceleration
deceleration
deceleration
deceleration
deceleration
deceleration
deceleration
deceleration

dog
dog
dog
dog
dog
dog
dog
dog

for
for
for
for
for
for
for
for

the
the
the
the
the
the
the
the

1st axis
2nd axis
3rd axis
4th axis
5th axis
6th axis
7th axis
8th axis

Parametrization to write the manual rapid traverse rate in normal mode (only t-controls and POWER MATES).

NO.
0000
0001
0002
0003
0004

ADDRESS
D0100
D0102
D0104
D0106
D0108

DATA
18
0
4*n
1424
-1

DESCRIPTION
Function parameter write
Completion code
n = number of axes (Parameter MP9900)
Parameter MP1424
All axes

Page 25 of 30

GE Fanuc Automation
Manual rapid traverse rate (Normal mode) parameter MP1424 (only t-controls and POWER MATES)

NO.
0000
0001
0002
0003
0004
0005
0006
0007

ADDRESS
D0110
D0114
D0118
D0122
D0126
D0130
D0134
D0138

DATA

DESCRIPTION
Manual rapid traverse
Manual rapid traverse
Manual rapid traverse
Manual rapid traverse
Manual rapid traverse
Manual rapid traverse
Manual rapid traverse
Manual rapid traverse

rate
rate
rate
rate
rate
rate
rate
rate

1st axis (Normal mode)


2nd axis (Normal mode)
3rd axis (Normal mode)
4th axis (Normal mode)
5th axis (Normal mode)
6th axis (Normal mode)
7th axis (Normal mode)
8th axis (Normal mode)

Parametrization to write the manual rapid traverse rate in reference mode (only t-controls and POWER MATES).

NO.
0000
0001
0002
0003
0004

ADDRESS
D0142
D0144
D0146
D0148
D0150

DATA
18
0
4*n
1424
-1

DESCRIPTION
Function parameter write
Completion code
n = number of axis (Parameter MP9900)
Parameter MP1424
All axes

Manual rapid traverse rate (reference mode) Parameter MP1424 (only t-controls and POWER MATES).

NO.
0000
0001
0002
0003
0004
0005
0006
0007

ADDRESS
D0152
D0156
D0160
D0164
D0168
D0172
D0176
D0180

DATA

DESCRIPTION
Manual rapid traverse
Manual rapid traverse
Manual rapid traverse
Manual rapid traverse
Manual rapid traverse
Manual rapid traverse
Manual rapid traverse
Manual rapid traverse

rate
rate
rate
rate
rate
rate
rate
rate

1st axis (Reference mode)


2nd axis (Reference mode)
3rd axis (Reference mode)
4th axis (Reference mode)
5th axis (Reference mode)
6th axis (Reference mode)
7th axis (Reference mode)
8th axis (Reference mode)

Reading the speed of of a servo motor (PMC axis used as a spindle)

NO.
0000
0001
0002
0003
0004

ADDRESS
D0192
D0194
D0196
D0198
D0200

DATA
207
0
4
11

DESCRIPTION
Reading the motor speed of a servo axis
Completion code
Data length
Function code
Axis number

Page 26 of 30

GE Fanuc Automation
10 File structure of BASE_PMC
DOC
MESSAGES
SOURCE
LEVEL1
LEVEL2
INIT
MODDEC
NCCTRL
MESSAGE
M_CODE
SPINDLE
TOOL
B_CODE
MANUAL
AUTO
COOLANT
LUBRIC
POWER
SERVO
FEED_OVR
WINDOW
SYMBOL
UTILITY
COMPILER
prep.bat
base.src
Config.def
I_o.def
Pmc_cnc.def
Op_full.def
Op_small.def
Op_flex.def

Documentation files
Message texts
Source files for pmc level 1
Source files for pmc level 2
Source files for initalisation
Source files for the decodation of the operation modes
Source files for the NC control
Source files for the message management
Source files for the M-Code management
Source files for the spindle management
Source files for the tool management
Source files for the B-Code management
Source files for the manual modes
Source files for the automatic modes
Source files for the coolant management
Source files for the lubrication management
Source files for power on / setup
Source files for the servo management
Source files to manage the feed override
Source files for windows read and write functions
Files with the symbols and comments
Preprocessing programs
Files for the command line compiler of FANUC LADDER III
Batch file to make the base.mne file
Base PMC program
Software configuration file
Definition file for the inputs/outputs
Definition file for the control dependent CNC/PMC signals
Definition file for the inputs/outputs of the Standard operators panel
Definition file for the inputs/outputs of the Small operators panel
Definition file for the inputs/outputs of the Flexible operators panel

10.1 Documentation (Directory DOC)


MEMORY MANAGEMENT.XLS
BASE_PMC_GE.PDF
BASE_PMC_EN.PDF
HISTORY.HTML

Exel sheet for the memory management


German version of this file
This file
Version management

10.2 Messages
MESS_1.TXT
MESS_4.TXT

Message texts for one language support


Message texts for four language support

10.3 Source files


10.3.1 LEVEL 1
EMG_SIM.SRC
OVER_T_0.SRC
OVER_T_1.SRC

Emergency stop simulation for demonstration controls


Axis overtravel check without limit switches
Axis overtravel check with limit switches for the Software Operator's
Panel

Page 27 of 30

GE Fanuc Automation
OVER_T_2.SRC

LEVEL1.SRC
SOFTDOG1 SRC

Axis overtravel check with limit switches for operator's panel small and
standard unit
Axis overtravel check with limit switches for the Flexible Operator's
Panel
Emergency stop and 16ms timer
Counter for software deceleration dog

10.3.2 LEVEL 2
LEVEL2.SRC

Call of the different function modules

10.3.3 INIT
INIT_1.SRC
INIT_2.SRC

Initialisation module for demonstration controls


Initialisation module

OVER_T_4.SRC

10.3.4 MODDEC
MOD_SOP.SRC
MOD_FULL.SRC
MOD_SMAL.SRC
MOD_FLEX.SRC

Mode
Mode
Mode
Mode

decodation
decodation
decodation
decodation

of
of
of
of

software operator's panel


standard size operator's panel
small size operators panel
flexible operator's panel

10.3.5 NCCTRL
NCCTRL_1.SRC
NCCTRL_2.SRC

NC control for the Software Operator's Panel


NC control for all Operator's Panel (except SOP)

10.3.6 MESSAGE
MESS_1.SRC
MESS_4.SRC

Message display for one language


Message display for four languages

10.3.7 M_CODE
MFUN_1.SRC
MFUN_3.SRC

Decoding one M-code per block


Decoding up to three M codes per block

10.3.8 SPINDLE
SOP_SCTL.SRC
SPINCTRL.SRC
S_SERIAL.SRC
S_ANA_1.SRC
S_ANA_2.SRC
SOVR_0.SRC
SOVR_1.SRC
SOVR_2.SRC
SPIN_ORI.SRC
SPIN_POS.SRC
SPAN_ORI.SRC

Spindle control for software operator's panel


Spindle control (except software operator's panel)
First Serial spindle
First analog spindle
Analog spindle using analog output module ADA02A
Spindle override 100%
Spindle override with DEC / 100% / INC keys
Spindle override with gray coded selector
Spindle orientation
Spindle positioning
Spindle orientation (Analog spindle)

10.3.9 TOOL
TOOL_1.SRC

Tool management

10.3.10
B_CODE
B_CODE_1.SRC

Management of second auxiliary function

Page 28 of 30

GE Fanuc Automation
10.3.11
MANUAL
AXMAN_1.SRC
AXMAN_2.SRC
AXMAN_3.SRC
AXMAN_4.SRC
HD_SOP.SRC
HD_FULL.SRC
HD_SMALL.SRC
HD_FLEX.SRC
REFRET_1.SRC
REFRET_2.SRC
REF1STAX.SRC
REF2NDAX.SRC
REF3RDAX.SRC
REF4THAX.SRC
REF5THAX.SRC
REF6THAX.SRC

Control of manual axis movement for Software Operator's Panel


Control of manual axis movement for Standard Operator's Panel
Control of manual axis movement for Small Operator's Panel
Control of manual axis movement for Flexible Operator's Panel
Software operator's panel handle / inc mode
Handwheel and incremental feed (standard operator's panel)
Handwheel and incremental feed (small operator's panel)
Handwheel and incremental feed (flexible operator's panel)
Reference position return for demonstration controls
Reference position return
Reference position return 1st axis
Reference position return 2nd axis
Reference position return 3rd axis
Reference position return 4th axis
Reference position return 5th axis
Reference position return 6th axis

10.3.12
AUTO.SRC

AUTO
Management of the automatic modes

10.3.13

COOLANT

SOP_COOL.SRC
COOLANT.SRC

Coolant control for software operator's panel


Coolant (except software operator's panel)

10.3.14
LUBRIC
LUBRIC_1.SRC

Lubrication with level and pressure control

10.3.15
POWER.SRC

POWER
Power management of the drives

10.3.16
SERVO.SRC

SERVO

10.3.17
FEED_OVR
SOP_FOVR.SRC
FOVR_1.SRC
FOVR_2.SRC

10.3.18
WINDOW
WINDOW.SRC

Servo control

1% step feed override 0% to 200% for software operator's panel


1% step feed override 0% to 200% for operator's panel standard and
small unit
1% step feed override 0% to 120% for flexible machine operators
panel

Window read/write module

10.4 Symbol files


OP_FLEX.SYM
OP_SMALL.SYM
OP_FULL.SYM
NC_PMC.SYM
PMC_NC.SYM
I_RELAY.SYM
K_RELAY.SYM
DATA.SYM
SUB_PGM.SYM
MESSAGE.SYM
I_O.SYM

Definition of inputs/outputs for Flexible Operator's panel


Symbols of inputs/outputs for Small Operator's panel
Symbols of inputs/outputs for Standard Operator's panel
Symbols for the NC -> PMC Interface
Symbols for the PMC -> NC Interface
Symbols for the internal relays
Symbols for the keep relays
Symbols for the data table
Symbols for the subprograms
Symbols for the message data
Symbols for the inputs/outputs
Page 29 of 30

GE Fanuc Automation
10.5 Utility
CPP.EXE
CYGWINB19.DLL
GREP.EXE

Preprocessor
Library for the preprocessor
Unix utility GREP

10.6 Compiler
BasePMC_RA3.LAD
BasePMC_RA5.LAD
BasePMC_RB5.LAD
BasePMC_RB6.LAD
BasePMC_RB6SS.LAD
BasePMC_SB7.LAD
compile_ra3.cmd
compile_ra5.cmd
compile_rb5.cmd
compile_rb6.cmd
compile_rb6ss.cmd
compile_sb7.cmd
go.cmd

Base to generate a PMC RA3 program


Base to generate a PMC RA5 program
Base to generate a PMC RB5 program
Base to generate a PMC RB6 program
Base to generate a PMC RB6 STEP SEQUENCE program
Base to generate a PMC SB7 program
Compiler directives to generate a PMC RA3 program
Compiler directives to generate a PMC RA5 program
Compiler directives to generate a PMC RB5 program
Compiler directives to generate a PMC RB6 program
Compiler directives to generate a PMC RB6 STEP SEQUENCE program
Compiler directives to generate a PMC SB7 program
Command file to check the PMC type and to start the command
line compiler

Page 30 of 30