An overview of Computerised Numeric Control (C.N.C.) and Programmable Logic Control (P.L.C.) in machine automation



Similar documents
Programming Logic controllers

Technical Training Module ( 30 Days)

Industrial Automation Training Academy. PLC, HMI & Drives Training Programs Duration: 6 Months (180 ~ 240 Hours)

UNIT 1 INTRODUCTION TO NC MACHINE TOOLS

Fault Diagnosis and Maintenance for CNC Machine. Based on PLC

Programmable Logic Controllers Definition. Programmable Logic Controllers History

Analog Inputs and Outputs

PLC Based Liquid Filling and Mixing

Programmable Logic Controller PLC

Siemens AG 2011 SINAMICS V60. The perfect solution for basic servo applications. Brochure May 2011 SINAMICS. Answers for industry.

Programming A PLC. Standard Instructions

PROGRAMMABLE LOGIC CONTROL

Service & Support. Higher-level safe switch-off of the power supply of functionally nonsafe standard modules? Wiring Examples.

Programmable Logic Controllers

How to read this guide

How many high-speed counters (HSCs) are provided by the SIMATIC S PLC? SIMATIC S FAQ March Service & Support. Answers for industry.

S7 for Windows S7-300/400

Setting up the DeskCNC controller.

EXPERIMENT 2 TRAFFIC LIGHT CONTROL SYSTEM FOR AN INTERSECTION USING S7-300 PLC

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Section 15: Diagnostics

1 Application Description Objective Goals... 3

Sigma Control PC INSIDE. 97 psi 187 F R on load

Series Six Plus Programmable Controller

Application Note AN-SERV-006

STEPPER MOTOR SPEED AND POSITION CONTROL

Fig 3. PLC Relay Output

MECE 102 Mechatronics Engineering Orientation

SuperIOr Controller. Digital Dynamics, Inc., 2014 All Rights Reserved. Patent Pending. Rev:

Straton and Zenon for Advantech ADAM Copalp integrates the straton runtime into the ADAM-5550 device from Advantech

Presentation on CNC MACHINES. By: Hafiz Muhammad Rizwan

8.1 The Structure and Features of Programmable Logic Controller

STEP 7 MICRO/WIN TUTORIAL. Step-1: How to open Step 7 Micro/WIN

PG DRIVES TECHNOLOGY R-NET PROGRAMMER R-NET PROGRAMMING SOFTWARE - DEALER ELECTRONIC MANUAL SK78809/2 SK78809/2 1

dspace DSP DS-1104 based State Observer Design for Position Control of DC Servo Motor

MINIMAT-EC-Servo Screwdriver Spindles

FAGOR CNC 8055 ia-mc Control

FAQ about Drive Technology

SIMATIC. C7-621, C7-621 AS-i Control Systems. Volume 2 Working with C7 A B C D E. Contents. User Information. Introduction. Startup.

Automotive Sensor Simulator. Automotive sensor simulator. Operating manual. AutoSim

Disturbance Recoder SPCR 8C27. Product Guide

Controllers. The integrated standard software guarantees highest quality standards! Simple and safe operation. Specific and clear indication

Centro-Matic Automatic Lubrication Systems System Controls

TwinCAT NC Configuration

Training Document for Integrated Automation Solutions Totally Integrated Automation (TIA) MODULE M1

DS1104 R&D Controller Board

MICROPROCESSOR AND MICROCOMPUTER BASICS

Signature Norman Crepeau Special Condition Subject to prior sale Johnford ST60B. CNC Turning Center

Speed Control Methods of Various Types of Speed Control Motors. Kazuya SHIRAHATA

LADDER LOGIC/ FLOWCHART PROGRAMMING DIFFERENCES AND EXAMPLES

CPU systron S S S 250c. systron S S S 250c. CPUs to the process modules. Stand-alone PLC

Optimize your simple machines... Modicon M218 Selection Guide

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1

DRTS 33. The new generation of advanced test equipments for Relays, Energy meters, Transducers and Power quality meters

Development of the Induction Motor for Machine Tool Spindles and Servo Amplifier SANMOTION S

Portal Software GSM-PRO Run LED displays module activity Com LED displays activity on the GSM network GSM-PRO

SIMATIC. System Software for S7-300 and S7-400 Program Design A B C D. Programming Manual C79000-G7076-C Preface, Contents

PRODUCTIVITY THROUGH INNOVATION 600 CONTROL DIRECT DRIVE TECHNICAL/OPERATION MANUAL

Copley Camming User Guide

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODULE A5 Programming the CPU 314C-2DP

2011, The McGraw-Hill Companies, Inc. Chapter 5

Designing an efficient Programmable Logic Controller using Programmable System On Chip

EtherCAT Cutting Costs with High-speed Ethernet

CNC HARDWARE & TOOLING BASICS

MACHINEMATE. CNC SYSTEM Hardware SPECIFICATION

Agilent Automotive Power Window Regulator Testing. Application Note

Sensors Collecting Manufacturing Process Data

Digital Single Axis Controller

I N G E N I E U R B Ü R O F Ü R TEC HNOLOGIE TRA NSFER DIPL.-I NG. B. P. SCHULZ-HEISE. Training Manual. STEP 5 S5 for Windows Training

A.3 ALARMS (SERIAL SPINDLE)

Micro-Step Driving for Stepper Motors: A Case Study

2011, The McGraw-Hill Companies, Inc. Chapter 9

FlexPak 3000 Digital DC Drive Software Reference Manual Version 4.3

JNIOR. Overview. Get Connected. Get Results. JNIOR Model 310. JNIOR Model 312. JNIOR Model 314. JNIOR Model 410

10. CNC Hardware Basics

Technical Specifications: The specifications represent a particular hardware platform. Application-specific software is provided.

Series: IDAM Servo Drive E Digital Motor Drive - DMD

Microprocessor & Assembly Language

6ES7313-5BF03-0AB0. Supply voltages Rated value 24 V DC Yes permissible range, upper limit (DC) circuit breaker type B, min. 4 A

SIMATIC S It s the interplay that makes the difference. SIMATIC Controller. Answers for industry.

Industrial Training Schedule Spring 2012

Non-Isolated Analog Voltage/Current Output module IC695ALG704 provides four configurable voltage or current output channels. Isolated +24 VDC Power

HIGH PRODUCTION DUAL DRIVE HORIZONTAL MACHINING CENTER

Software INTERACT. MachineLogic. The Shortest Distance Between Man and Machine

Automating with STEP7 in LAD and FBD

Smart DeviceNet Remote I/O Terminals

Permissible ambient temperature Operation Storage, transport

PACKAGE OUTLINE DALLAS DS2434 DS2434 GND. PR 35 PACKAGE See Mech. Drawings Section

Design and Research of Control System of the Large-Scale Accumulator Blow Molding Machine Based on PLC

ABB drives. Automation solutions Drives, PLC, motion, motors and safety

JCUT CNC Router 3030A/6090/8090/1212/60150/1218/1224/1325/1530/A/B

How To Control Gimbal

Product Information Sheet UH36 Hi Pot Tester

Allen-Bradley/Rockwell

SECTION 13XXX CONTROL DESCRIPTION (DICP Models NC, 412, 622, 826, 1030)

CHAPTER 7: The CPU and Memory

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

2.1 FOR Series 15i Servo Alarm TROUBLESHOOTING 2.ALARM NUMBERS AND BRIEF DESCRIPTIONS. Alarm No. SVM PSM Description Remarks

ABB Drives. User s Manual. Pulse Encoder Interface Module RTAC-01

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

Transcription:

An overview of Computerised Numeric Control (C.N.C.) and Programmable Logic Control (P.L.C.) in machine automation By Pradeep Chatterjee, Engine Division Maintenance, TELCO, Jamshedpur 831010 E-mail: pradeep@telco.co.in pchats@hotmail.com Abstract: Throughout the ages people have been working in research institutes and industries in machine automation so as to have less involvement of operator in machine operations. In the development of automation controllers the trend has been to move towards soft controllers so as to provide better control, more flexibility and more reliability with intelligent diagnostics of machine faults. So industries have gradually moved from conventional relay logic control to programmable logic control and then to computarised numeric control. Here we shall deal how a programmable logic controller works in automation and the control of a computarised numeric controller on P.L.C. and servo drives to provide automation with accuracy.we shall further deal with the working of self diagnostics of machine faults and the flexibility it provides. Introduction: Since there were problems related to large electrical panels with a number of electrical components and extensive wiring, people felt the need for software logic controllers. So they gave birth to Programmable Logic Controller (P.L.C) wherein the control logic is developed in ladder diagram,a software logic control, with a number of inputs taken from the environment and generating the outputs,depending on the logic programmed, to the environment. This helped to control any machine sequence with small electrical panels, less number of electrical components and less wiring with more flexibility to change machine sequence and providing ease to reusability of the components. These fulfilled some of their needs but the desire to obtain software controlled automation with accuracy necessitated the development of Computer Numeric Control (C.N.C). Here the controller acts as a master over the P.L.C. and connected with encoders to provide positional feedback.in order to have better control for positioning, controlled speed and quick reversal of direction of slide movement, servo motors having less inertia, along with servo drives are interfaced with the C.N.C. The user based part program decoded by the C.N.C. provides the desired profile with the control being transferred to P.L.C. and drives as and when required. Special measuring devices as locators, gauges being interfaced with the C.N.C. through independent controllers provide more accuracy.

Programmable Logic Controller[1]: The diagram below shows the functional units of a typical P.L.C. Program Memory Timers Counters Flags Process I/O Image Tables Interrupt Process I/O Image Tables System Data R A M ROM (Operating System) Memory Submodule Processor ALU (ACCU 1 and 2, bit-accu (RLO)) Serial Port Digital Modules : - input - output Analog Modules : - input - output Function Modules

Program Memory (EPROM/EEPROM): The Program Memory shown in the functional block is a specified area of the CPU RAM. This memory has the following characteristics: ¾ Memory contents can be changed quickly ¾ Memory contents are lost in case of power failures if there is no battery backup. It is always advisable to store the program in a memory submodule (EPROM/EEPROM) from where the program can be copied to CPU RAM in case the program is lost or corrupted. Operating System(ROM): It determines how the user program is executed, how inputs and outputs are managed, how the memory is divided, and how data are managed. The operating system is fixed and cannot be changed. Process Image Tables (PII,PIQ): The signal status of input and output modules is stored in a specified area of CPU RAM which is known as the process image table. Input and Output modules have the following separate image tables: ¾ Process image input table (PII) ¾ Process image output table (PIQ) Serial Interface: Through the serial port programmers, operator panels and monitors are connected through cables and the CPU can be connected as a slave to a local area network. Timers, Counters, Flags: There are Timers, Counters and Flags available internally in the CPU memory that are used by the control program. The program can set, delete, start and stop the timers and counters and the values are stored in reserved area of RAM memory. A separate area in the RAM memory stores some intermediate results as flags. Input/Output Modules: These modules transfer information between CPU and process peripherals as sensors, transducers and actuators. These are of the following type: ¾ Digital Input and Output Module ƒ These involve signal states 0 and 1 only ¾ Analog Input and Output Module ƒ These record and generate variable quantities as voltage and current

¾ High-speed Counter and Position detection Module ƒ These are used to record counters pulses of 25/500 khz(typical value for Siemens S5-100U PLC). It can be used for position detection tasks. Processor: Depending on the control program the processor calls the statements from the program memory in sequence, executes them, processes information from PII and sets PIQ. Computer Numeric Control (CNC): The major components associated with a CNC system are power supply, PLC, servo drives, CRT monitor and keyboard and some special controllers might be interfaced for specific accuracy requirements such as precise positioning of job, accurate sizing of any machining operations. The power unit supplies constant 24V D.C. to the system. PLC interfaced with the CNC is programmed for the machine sequence. The part program of the CNC determines the operational sequence of the machine. To clarify the machine sequence and operational sequence CNC-PLC interface has been dealt later in this paper. Servo drives are used in conjunction with servo motors for better variable speed control with less response time as the inertia of the rotor is less. The diagram[2] shown below shows the CNC block diagram with the necessary interfaces for a single axis machine. There are two types of servo drives : (1) Constant torque-speed drives used for axis motors (2) Constant power drives used for spindle motors The external inputs and outputs from the machine are connected to the PLC through the I/O interface of PLC. The system program of the CNC executes the part program, reads the machine data,perform the calculations. CNC reads in the signal from the axis encoder from the measuring card which is placed in one of the slots of the controller. Thus having the machine data as pitch of the ball-screw, number of encoder pulses generated and resolution of the encoder mounted on the slide the distance moved by the slide can be calculated as Distance = (p/r)*e p (here backlash compensation is not taken into account) Where p = pitch of ball-screw (mm) r = resolution of encoder in (ppr) e p = number of encoder pulses generated

CNC block diagram This provides the positional feedback to the system. The velocity feedback is directly fed to the drive from the encoder or tachogenerator of the servo motor. The diagram[2] below shows the interface of the CNC with the servo drives. CNC sends a drive enable signal to a drive and the drive tends to retain it s position unless some command for movement is send from the CNC. To give feed command CNC along with the drive enable signal sends a reference voltage to the drive in the range of +/-10V proportional to the desired speed. The +/- sign denotes the direction of movement.

Drive-CNC interface diagram The reference voltage is calculated as: Reference voltage = (10/n)*S Where n = maximum speed i.e. rated speed of motor (r.p.m) S = desired speed (r.p.m) The drive calculates the commanded speed from the reference voltage and calculates the actual motor speed from the motor encoder feedback to the drive. Thus the error is known and by changing the frequency and phase voltage drive tries to minimise the error to maintain the desired speed. If the drives and motors are in healthy condition then a drive ready signal is send to the PLC. If this signal is missing then fault appears and axes movements or spindle operations are not possible. The diagram[2] below shows a CNC-PLC interface of a CNC system. The part program determines the operational sequence of the machine. It executes the part program as follows: N10... N20... N30 CNC sets a predetermined flag in PLC for M-code M24(signal 1) PLC resets read in enable (signal 2) in CNC to stop furthur execution of part Program. PLC sends an output (signal 3) to clamp solenoid from the ladder

[1] %100 N10 ---------- N20 ---------- N30 M24 (Component Clamp) N40 ---------- N50 M08 (Coolant On)...... M02 (Program End) [2] [3] [5] To clamp solenoid [6] [7] P L C [8] [10] To coolant solenoid C N C Pressure Flow Switch [4] [9] Switch PLC-CNC interface diagram logic. Pressure switch signal comes as input to PLC(signal 4) once clamping operation is completed. PLC sets the read in enable (signal 5) in CNC and execution of part program is resumed. N40... N50 Similarly M08 sets a PLC flag (signal 6).PLC resets read in enable in CNC (signal 7).PLC sends output to coolant solenoid (signal 8).Once coolant flow starts flow switch sends input to PLC (signal 9). PLC sets read in enable (signal 10) in CNC and part program execution is resumed till M02. Intelligent Fault Diagonistics : A CNC system is capable of diagonising some of the machine faults and prompt the operator or maintenance personnel.it is mainly monitored by the PLC logic. There are preset flags for operator messages, fault messages and M-codes as shown in the diagram[2] below. When PLC generates an output and the corresponding feedback signal is not fed back as input to the PLC within a certain time the corresponding fault flag is set. During the time duration the corresponding operator flag is set which will help to prompt the operator that a certain function is going on. To make the system user friendly certain portion of the CNC system memory is reserved which contain the operator and fault messages in text format. So when a particular flag is set the system displays the corresponding text.

Conclusion : The paper gives a broad overview of PLC and CNC controllers in machine automation. Certain other factors are also involved but it could not be presented in this paper. However the topics dealt with will give a brief idea for the basic functioning of PLC and CNC controllers. References : [1] Siemens Simatic S5 system manual pp 2-2 to 2-4 [2] A Course of CNC Maintenence By K.V Ram (http://kv_ram.tripod.com) [3] Microprocessors and Interfacing (Programming and Hardware) By Douglas V. Hall, Tata McGraw-Hill