Base PMC

December 15, 2016 | Author: Marcel Heukers | Category: N/A
Share Embed Donate


Short Description

Download Base PMC...

Description

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 Operator’s 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 (Operator’s 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

2

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

3

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

1

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

0

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

1

// 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 operator’s 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

2

One of four operator’s 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

1

// 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 operator’s 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

1

// ----------------------------------------------// Select language for one language support // ----------------------------------------------// 0 = English // 1 = German // 2 = French // 3 = Italian #define

language_choose

0

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

1

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

0

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

4

// 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

5

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

1

// When using the DEC / INC / 100% keys the range of the spindle override can // be selected ( 0
View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF