TwinCAT The Windows Control and Automation Technology NC PTP. Numerical Control Point To Point



Similar documents
TwinCAT NC Configuration

Beckhoff TwinCAT The Windows Control and Automation Technology. TwinCAT NC PTP Examples

S and STEP 7 Basic V10.5

Stepper motor I/O. Application Note DK Motion Control. A General information on stepper motors

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

MR-J3-xxBS with QD77MS. Get started with QD77MS-module/ MR-J3-BS servos. Dokmall_sv,

CODESYS Motion + CNC. English

Application Note AN-SERV-006

ServoOne. Specification. Option 2 - Technology. x 11. x 8 X 8. x 10. x 9. x 7. x 6 TTL Encoder / TTL Encoder simulation

TwinCAT Manual Quick Start V.1

Setting up the DeskCNC controller.

UNIT 1 INTRODUCTION TO NC MACHINE TOOLS

Brake module AX5021. Documentation. Please read this document carefully before installing and commissioning the brake module!

10 tips for servos and steppers a simple guide

Servo Info and Centering

Interfacing Analog to Digital Data Converters

X8 Option 2 - Technology

Series: IDAM Servo Drive E Digital Motor Drive - DMD

SINAMICS drives SINAMICS DCM. DC converters from 6 kw to 2500 kw for variable-speed direct-current drives. Load-balanced control application

CNC Machine Control Unit

Cover. SEB SIMOTION Easy Basics. Collection of standardized SIMOTION basic functions. FAQ April Service & Support. Answers for industry.

CMMP Function Activation of Multiturn Encoder for Endless Positioning

POSITIONING AND CONTOURING APCI-8001, APCI-8008 AND CPCI-8004 OPERATING MANUAL / OM CONTROL SYSTEM. Rev. 12/

Copley Camming User Guide

Jena er Antriebstechnik. GmbH. 1. Introduction. 2. Properties. 3. Hardware. 4. Baud Rates. Brief Instructions - CANopen Interface

APPLICATION Electronic Cam

Machine Automation Controller NJ-series. Startup Guide. for Motion Control W514-E1-01

The compact single-axis servo drive for basic positioning with integrated safety functions usa.siemens.com/sinamics-s110

CNC HARDWARE & TOOLING BASICS

MicroMag3 3-Axis Magnetic Sensor Module

APPENDIX. SureSERVO QUICK START GUIDE. In This Appendix... Quick Start for SureServo Drives...A 2. Tuning Quick Start for SureServo Drives...

PC control for flexible packaging

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

Digital vs. Analogue Control Systems

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

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

EDSVS9332S EXT.FZ9. Global Drive. Ä.FZ9ä. System Manual. (Extension) kw. EVS9321xS... EVS9332xS. Servo inverter

A.3 ALARMS (SERIAL SPINDLE)

IQAN MDM Operation Manual

Automation 3200-OEM/Nservo-OEM

Sensors Collecting Manufacturing Process Data

CPW Current Programmed Winder. Application Handbook. Copyright 2002 by Eurotherm Drives, Inc.

Applications & Tools. Controlled Positioning of a Servo Drive Using a Pulse/Direction Interface. S CPU 1214C, SINAMICS V60 and STEP 7 V11 SP2

Talon and Talon SR User Manual

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

Basics electronic speed Governor

UNIT II Robots Drive Systems and End Effectors Part-A Questions

Supplement to the Operating Instructions for SIMOREG DC-MASTER Series 6RA70. for Software Release 3.2. Version 13 Order no.

TWINCAT. PLC and Motion Control on the PC. TwinCAT

Galil MotionCode Solution: Chip Encapsulation Material Fluid Dispensing Machine

1115 4G SERIES GOVERNOR ma ANALOGUE DIGITAL SPEED SETTING

FlexPak 3000 Digital DC Drive Software Reference Manual Version 4.3

Electric Landing Gear controllers and sequencer LGC12 / LGC 13C

ACS 800. Supplement Traverse Control Application Program 7.x

10. CNC Hardware Basics

WINDOW's Programming Software USER MANUAL

Electronic Manual Gearbox

User manual. magnetic absolute positioning drive AG03/1

Simple and cost-effective positioning. SINAMICS S110 single-axis drive. SINAMICS drives. Answers for industry.

ACS800. Master/Follower Application Guide Supplement to Firmware Manual for ACS800 Standard Application Program

Electric Lifting Cylinder TV / KV 5 XE Load up to N

Thermodynamic efficiency of an actuator that provides the mechanical movement for the driven equipments:

Advantages of Auto-tuning for Servo-motors

Softstarters. Type PSTX Fieldbus communication, Built-in Modbus RTU. 1SFC132089M0201 April SFC132089M0201 1

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

Analog Servo Drive 25A8

Getriebebau NORD. User Interface and Bus Systems NORDAC SK 1000E. GmbH & Co. KG. Servo- Controller SK 1000E A... SK 1000E A

Linear Motion and Assembly Technologies Pneumatics Service. Industrial Ethernet: The key advantages of SERCOS III

All round in Motion Control Rotating, linear and combinations of both! know-how makes the difference

AKD EtherNet/IP Communication

Presentation on CNC MACHINES. By: Hafiz Muhammad Rizwan

"($!$* =3 5.# 19 = 77##.# A "#$%!&#$'$()(!* "!$& %$!$*%!&& +", !"#$$"!"" %&!'""$&(&! )*""! %$"'""+,($" -. *""!

EnDat 2.2 Bidirectional Interface for Position Encoders

Speed Controller 4-Quadrant PWM configurable via PC

TEA1024/ TEA1124. Zero Voltage Switch with Fixed Ramp. Description. Features. Block Diagram

MINIMAT-EC-Servo Screwdriver Spindles

Technical definitions of A to Z

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

Motors. 13/16 Siemens PM

Overview and Applications of PROFINET. Andy Verwer Verwer Training & Consultancy Ltd

The HEIDENHAIN Service You may count on us!

To Purchase This Item, Visit BMI Gaming Operation Manual

Integrated Motion on the EtherNet/IP Network: Configuration and Startup

SERVOMECH Linear Actuators

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply

Application Note. EtherCAT Master Architecture. Applicable Products: Yaskawa Servodrives with CANopen over EtherCAT

VLT AutomationDrive for Marine winch applications

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Open vs. Closed Encoder Communication Protocols: How to Choose the Right Protocol For Your Application

NECOCAR. International CATIA Project

Flow Charts and Servomotors (background to Lab #2) Things to learn about: flow charts for design. MECH Lecture #2 flow charts & servos rev2

Motor controllers CMMS-ST, for stepper motors

FRC WPI Robotics Library Overview

Hydraulic Press Brakes. Fatigue Testing

Siemens Industry Online Support

Small Optical Encoder Modules 480lpi Digital Output. Features. Applications VCC 3 CHANNEL A 2 CHANNEL B 4 GND 1

Alternative Linear Motion Systems. Iron Core Linear Motors

SPW3 Speed Programmed Winder. Application Handbook. Copyright 2000 by SSD Drives, Inc. Printed in the United States of America HA Issue 3

INDUCTION REGULATOR. Objective:

Active Vibration Isolation of an Unbalanced Machine Spindle

Transcription:

TwinCAT The Windows Control and Automation Technology NC PTP Numerical Control Point To Point

NC-PTP Part I General Overview Axis types Functional principle Referencing Motion Control Function blocks Part II Practical Part: Setting up NC axes in the System Manager Starting NC axes from the PLC 2

Software NC PTP Part I General Overview Axis types Functional principle Referencing Motion Control Function Blocks Part II Practical Part: Setting up NC axes in the System Manager Starting NC axes from the PLC TwinCAT NC Point-to-Point (PTP) is an axis positioning software with integrated PLC, NC interface, operating program for axes setup and I/O connection of the axes through the fieldbus. Up to 255 axes can be moved at the same time. TwinCAT NC PTP supports axis drive by switched motors, stepper motors, frequency controlled and servo controlled motors. 3

Axis types Part I General Overview Axis types Functional principle Referencing Motion Control Function Blocks Teil II Practical Part: Setting up NC axes in the System Manager Starting NC axes from the PLC Continuous axes The axis responds to a continuously changeable set value The set value is generated by TwinCAT NC, e.g. servo with +/- 10 V, Sercos drive, frequency converter, linearised hydraulic axis, stepper motor drive with amplifier 4

Axis types High/low speed axes The axis responds to a two-stage set speed value including direction of rotation: FAST/SLOW and FORWARDS/REVERSE The set value is generated by TwinCAT NC, e.g. frequency converter with fast/slow inputs, combination interlock. Warning: Acquisition of actual value (Encoder is necessary) 5

Axis types Low cost stepper motor The axis consists of a stepper motor which is connected to digital outputs and reacts to pulses (A/B from the terminals) Fast pulse sequence -> motor turns quicklylslow pulse sequence -> motor turns slowly The set value (= pulse pattern) is generated by TwinCAT NC. 6

Axis types Low cost stepper motor, Hardware e.g. 24 Volt stepper motor with 2A output terminals An encoder is NOT required for acquisition of the actual value, since the pulses that are output are counted.! The mechanical design and/or maximum rotary speed/torque should be examined to ensure that the motor will be able to "keep up", since an output terminal cannot provide an increased voltage at higher frequency 7

Axis types Virtual encoder axis, An axis that only consists of an encoder. "Normal (continuous) axes can be coupled to this axis as slaves, and follow the set encoder value of the virtual encoder axis. (Gear ratio possible) HAND WHEEL FUNCTION 8

Axis types Output is a speed value The actual position is monitored. Output: Speed pre-control + controller output (acceleration pre-control also is optional) Feedback: Actual position value At specific axis types e.g. SERCOS is also a direct output of the Setposition in NC time possible. 9

Functional principle of the TwinCAT NC Part I General Overview Axis types Functional principle Referencing Motion Control Function Blocks Teil II Practical Part: Setting up NC axes in the System Manager Starting NC axes from the PLC TwinCAT NC works with a velocity pre control. The Position controller controls the observance of the set position ( Motion and position control). Further available options: -Acceleration pre control -Position control with two P constants -direct output of the position. (Sercos Axes) -High / low speed controller -Stepper motor controller -External Setpoint generation (ab TwinCAT 2.9) -Linearisation of pre control for non linear axes (Hydraulic axes). 10

Functional principle of the TwinCAT NC ps vs Tt Dead Dead time time compensation compensation + k p, Tn, T v Velocity Velocity precontrol precontrol (Scaling) (Scaling) Positioncontroller kv Controllerlimiting y vv + ypv + yv vref y min, y max Output Output Scaling Scaling & Limiting Limiting Setpoint generator pa Positionmeasurement Positionmeasurement Process 11

Set value profiles hard, big Acceleration change 12

Set value profiles smooth, the acceleration rises (linearly) 13

Set value profiles most smooth, the acceleration reaches no more constant phase 14

Set value profiles Profile is adjustable in System Manager! Input via run-up time Preselect profile Calculation by the TwinCAT System Manager 15

Hands on session 16

Referencing Part I General Overview Axis types Functional principle Referencing Motion Control Function Blocks Teil II Practical Part: Setting up NC axes in the System Manager Starting NC axes from the PLC Referencing (calibrate) is necessary for axis with not absolute encoder systems. Incremental Encoder, Single Turn Absolute Encoder, or not absolute encoder systems direct from the drive, (e.g. actual position value of AX2000). At referencing the axis is lead to a fix reference position and the encoder is set to the current actual position. 17

Referencing initial state Reference switch (PLC input) Gearing PLC: Function block for referencing 18

Referencing Reference switch (PLC input) Gearing Axis moves to Reference switch PLC: Start with execute 19

Referencing Reference switch (PLC input) Gearing Reference switch was reached, axis brakes PLC: Start with execute 20

Referencing Reference switch (PLC input) Gearing Axis moves back until reference switch is free. PLC: Start with execute 21

Referencing completed (a) Reference switch (PLC input) Gearing Axis brakes, actual position is set PLC: Start with execute 22

Referencing completed (b) AX2000: After leaving the reference switch, TwinCAT NC waits for the Syncsignal of AX2000 and then stops. Advantage: more exactely. The set position in the standstill of the axis is calculated with the internal latch of the AX2000 (corresponds to the zero signal at Incremental encoders) Reference switch (PLC input) Gearing Standard settings in the TwinCAT System Manager 23

Referencing completed. Which position is set? If Position DEFAULT_HOME_POSITION (global variable from TCMC.LIB) is submitted at the Fb input, the value is taken out of the System Manager. Otherwise the value is taken at the input Position 24

Motion Control Function blocks Part I General Overview Axis types Functional principle Referencing Motion Control Function Blocks Target: IEC61131-3 compatible programming interface for motion tasks Teil II Practical Part: Setting up NC axes in the System Manager Starting NC axes from the PLC 25

Motion Control Function blocks Why a standard? -Hardware independent Programming -the same look and feel, identical Syntax -IEC 61131-3 as Base -Expansions for new application areas possible -TwinCAT: Combination of MC blocks and TwinCAT specific Axis blocks possible. Existing applications can be expanded with Motion Control blocks, without a new writing of the existing flows. 26

Motion Control Function blocks Defined in: The PLCopen Task Force Motion Control by Manufacturer and end user Atlas Copco Control Baumueller Beckhoff Control Techniques Elau Giddings & Lewis Indramat Infoteam Software KW Software Lenze Siemens Softing TetraPak Rovema Packaging Machines Ford General Motors Root: Task Force Motion Control presentation Version Febr2002. (www.plcopen.org) 27

Statemachine: Synchronized Motion Discrete Motion Continuous Motion Stopping ErrorStop Homing Standstill 28

Statemachine: MC_MoveAbsolute MC_MoveRelative MC_MoveSuperimposed MC_MoveAdditive MC_PositionProfile Discrete Motion MC_MoveAbsolute; MC_ MoveRelative MC_MoveAdditive; MC_PositionProfile MC_MoveVelocity MC_VelocityProfile MC_AccelerationProfile Continuous Motion MC_MoveSuperimposed MC_MoveVelocity MC_VelocityProfile MC_AccelerationProfile MC_Move Absolute MC_Move Relative MC_MoveAdditive MC_MoveSuperimposed MC_PositionProfile Done MC_Stop Note 1 Stopping MC-Stop MC_MoveVelocity MC_VelocityProfile MC_AccelerationProfile MC-Stop Done Homing MC_Stop MC_Home Done Standstill MC_Power Note 1: All FBs can be called, although they will not be executed, except MC_Reset and Error will generate the transition to StandStill or ErrorStop resp.. Root: Task Force Motion Control presentation Version Febr2002. (www.plcopen.org) 29

Statemachine Synchronized Motion MC_CamIn MC_GearIn Discrete Motion MC_GearIn MC_CamIn MC_Phasing MC_MoveSuperimposed MC_MoveAbsolute MC_MoveRelative MC_PositionProfile Synchronized Motion MC_MoveVelocity MC_GearOut MC_CamOut MC_VelocityProfile MC_AccelerationProfile MC_CamIn MC_CamIn MC_GearIn MC_GearIn Continuous Motion MC_Stop Stopping Standstill 30

Overview Function Block Class: Administrative Motion Single Axes Multiple Axes Single Axes Multiple Axes Power CamTableSelect MoveAbsolute Non-Interpolated Reset ReadStatus ReadAxisError ReadParameter WriteParameter ReadActualPosition MoveRelative MoveAdditive MoveSuperImposed MoveContinuous MoveVelocity Home Stop CamIn CamOut GearIn GearOut Phasing Interpolated PositionProfile VelocityProfile AccelerationProfile 31

Standardized Handshake 32

FB s Administrative Function Blocks Administrative Function Blocks 33

MC Power Enable Enable_Positive Enable_Negative NC Controller allows: 1 0 0 Position control 1 1 0 Position control + Start in positive direction 1 0 1 Position control + Start in negative direction 1 1 1 Position control + Start in positive or negative direction 34

MC Read_... 35

MC Read_... 36

MC Read /Write Parameter Number in TCMC.LIB? PLC Control Library Manager 37

Example Read ActualVelocity With ReadMode the single resp. permanent reading can be determined. 38

Motion Function Blocks Single Axis Motion Function Blocks Motion Function Blocks 39

Motion Function Blocks 40

Mode of Operation Move Superimposed Execute Actual Pos Actual Velo Actual Acc Setpoint Pos Setpoint Velo Setpoint Acc 41

Motion Function Blocks Mode of operation see Referencing 42

Motion Function Blocks Discrete Motion Continuous Motion Done MC_Stop Note 1 Stopping MC_Stop MC_Stop Done Homing Done MC_Stop Standstill 43

Motion Function Blocks Multiple Axis Multiple Axis Motion Function Blocks Motion Function Blocks (non-interpolated) 44

Motion Function Blocks Multiple Axis GEARING is the activation of a numeric ratio between master and slave axis. (comparable with a mechanical gearbox). 45

Motion Function Blocks Multiple Axis Linear gearbox fixed ratio of transmission : Vm/Vs Flying Saw 46

Motion Function Blocks Multiple Axis MOTION DIAGRAM FOR GEARING 47

Motion Function Blocks Multiple Axis Movement diagram Slave PosSetpoint Master PosSetpoint Position Lag Master VeloSetpoint Slave VeloSetpoint Master AccelSetpoint Slave AccelSetpoint 48