SlideShare a Scribd company logo
1 of 7
Download to read offline
Optimao
         In control since 1995



Drives Software Programming
– using PLC or Drive bespoke
        programming?
A variable-speed drive’s purpose in life is to control the speed and torque of a motor. In
essence, it takes AC electricity from the mains supply and converts it to drive a motor in
a controlled way. To accurately control the torque and speed of a motor the drive
requires an appropriate “speed demand” signal (from an external source usually)
together with feedback signals from motor mounted transducers; e.g. In the case of a
speed loop, a drive receives its speed demand signal (or set point) from an analogue
source (potentiometer) or a digital source (over a field bus comms network). This speed
demand sets the drive the target speed. A corresponding “actual speed” signal (from a
motor mounted tachometer or encoder) then feeds back to the drive to say how fast the
motor is turning and where the rotor is in its 3600 radial position. Today’s microprocessor
controlled drives run complex control algorithms to accurately control the speed and
torque of the load motor.

Variable speed drives are tuned in two ways: 1) to match the drive to the electrical
characteristics of the motor by auto tune routines (standard drive functionality these
days), and secondly to match the physical load conditions (by drive commissioning
engineers) to match the response of the drive to varying load conditions. These tuning
mechanisms will ensure the drive-motor combination is optimised to maintain the
desired speed.

Applications vary in their degree of difficulty, sometimes complex and often time-
consuming drive software programming must take place.

Optima Control Solutions Ltd. specialises in drive applications. The systems they
engineer nearly always include PLC, HMI, SCADA and VSD equipment.

Many drive manufacturers such as Siemens and Parker SSD have developed application
software (often based on Macro type solutions) that are designed to meet most common
drive applications and control requirements. However, it’s not unusual for certain
projects to require bespoke software to be written.
One frequently asked question in applications of this nature is, “Should one use the
drive’s internal programming blocks or write one’s own blocks in the PLC to control the
machine?” The answer is not a straight forward one.
When building up a drive configuration engineers might need to employ many
mathematical functions of varying complexity. Ranging from simple AND and OR gates
to more complicated diameter calculation, tension profiles and PID tuning functions
(Proportional Integral and Derivative terms).

Given that there are two possible solutions, some experience is necessary if the best
decision is to be made.
Option 1 – using the Drive internal function block programming

Assuming the application can be controlled using the function blocks available, this
option is often the quickest solution. Arranging the connectivity of prewritten function
blocks with all their internal maths taken care means the engineer must only select and
connect the right blocks in an appropriate configuration. Naturally, this requires good
working knowledge of machine control and the control requirements of the application
at hand. Nevertheless, it has definite advantages. We list these in the table below.


As always, there are tradeoffs to consider, e.g. different drive manufacturers employ
different ways of programming the drives using their own software tools. For example,
Siemens alone offers two programming options - ‘Starter’ (the simpler of their two offers)
or ‘Scout’ (designed to engineer highly complex applications) . Parker SSD offers DSE
Lite or DSE with similar characteristics (see figure 3). So familiarity (or expertise) with the
programming software is a pre-requisite in order to build effective drive configurations.

 Advantages                                    Disadvantages
 Drive programming software written            Each manufacturer has its own
 and supported by drive manufacturer.          software to learn. Some quite
                                               complex!
 Quick to build a configuration.               Integration to HMI and PLC is more
                                               difficult as more data needs to be
                                               transferred to the PLC
 Some software packages have built in          --
 trace features like an oscilloscope. This
 is useful when testing.

 Table 1. Internal Drives Blocks – pros and cons




 Figure 1. Internally programmed drive system integrated with HMI
Option 2 - Drive programming using PLC resident functions

Learning to expertly use different drive programming packages is a complicated task that
takes time. This reason often justifies an engineer’s choice of hosting the drive
functionality software in the PLC(see figure 4). Often, control data can be passed to and
from most manufacturers’ drives from the environment of the PLC with which the
engineer is already familiar with. Thus limiting the range of software tools with which the
engineer must be aware of (table 2).

This does mean however that much more complicated mathematic functions will have to
be coded by the engineer, often proving time consuming and difficult. In the main, PLCs
are best suited to sequential control needs, they do this very easily and reliably.
However, when higher level mathematics is involved much more powerful processors
should be specified and the structure of the functional software is considerably more
complex.


 Advantages                                   Disadvantages
 Common control for any drive                 Complex maths requires significantly
 manufacturer .                               more engineering.
 Once written it is quick to implement as     Complex maths requires much more
 all systems are the same                     processing power than simple
                                              code.This pushes the PLC cost up.
 Only simple signals are sent to the drive    --
 (start, stop and speed).
 HMI Integration is easy as all important     --
 numbers already exist in the PLC

Table 2. Using PLC programming blocks – pros and cons




 Figure 2. PLC-programmed drive system integrated with HMI - all the 01010110110's
 represent 'simple ON/OFF' type code. AND's OR's represent complex maths.
Figure 3. Typical drive programming language – the example depicts Parker SSD config. code




Figure 4. One ‘line’ of code from a Siemens PLC programming job. This network is
calculating either a positive (forward) or negative (reverse) speed setpoint as a jog speed.
Which programming method to use?


The best control method is circumstantial.

OEMs can benefit from using the PLC resident software option as they can have a
common PLC with the flexibility to offer any type of drive to their customers.

For maintenance departments it would depend on the expertise of their engineers.
Having well documented and common function blocks (as in the drive resident software
option) would offer standard, documented software solutions and the comfort of the
drive manufacturers service and support resources. A “site standard drive” is required
here, if different types of drives and PLCs are used on a site then effective maintenance is
a more difficult task.

As an independent systems integrator, at Optima Control Solutions we have no drive/PLC
manufacturer obligations to meet, we design systems and solutions for our clients and
fully consider our customers’ circumstances when determining which option to
recommend.

 -- END--

 Disclaimer: All data provided in this report is for informational purposes only.
 Opinions expressed in this report are those of the relevant contributors. Reproduction
 and citations are allowed after appropriate referencing to the full report. Optima
 Control Solutions Ltd. reserves the right to prohibit the use of this report by third-party
 websites and third-party publications.

 Images sourced from:
 Optima™ gallery – all copyrights reserved.
 Internet

 Design:
 Gimp, Picasa

 Written by:
 Colin Keating, Hristina Stefanova

 Revised by:
 Michael Hill

More Related Content

What's hot

Model-based Automotive Software Development using Autosar, UML, and Domain-Sp...
Model-based Automotive Software Development using Autosar, UML, and Domain-Sp...Model-based Automotive Software Development using Autosar, UML, and Domain-Sp...
Model-based Automotive Software Development using Autosar, UML, and Domain-Sp...Alexander Nyßen
 
Higher Order Thinking - Question paper setting
Higher Order Thinking - Question paper settingHigher Order Thinking - Question paper setting
Higher Order Thinking - Question paper settingPradeep Kumar TS
 
Power path viewer_technical_presentation
Power path viewer_technical_presentationPower path viewer_technical_presentation
Power path viewer_technical_presentationxKinAnx
 
Keynote 4 cornelius_koetz_v04
Keynote 4 cornelius_koetz_v04Keynote 4 cornelius_koetz_v04
Keynote 4 cornelius_koetz_v04goodgolier
 
Siemens s7 300 programming
Siemens s7 300 programming Siemens s7 300 programming
Siemens s7 300 programming satyajit patra
 
Embedded system
Embedded systemEmbedded system
Embedded systemmangal das
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design processRayees CK
 
Low cost embedded system
Low cost embedded systemLow cost embedded system
Low cost embedded systemece svit
 

What's hot (20)

Model-based Automotive Software Development using Autosar, UML, and Domain-Sp...
Model-based Automotive Software Development using Autosar, UML, and Domain-Sp...Model-based Automotive Software Development using Autosar, UML, and Domain-Sp...
Model-based Automotive Software Development using Autosar, UML, and Domain-Sp...
 
Frequently Asked Questions on AUTOSAR Services
Frequently Asked Questions on AUTOSAR ServicesFrequently Asked Questions on AUTOSAR Services
Frequently Asked Questions on AUTOSAR Services
 
Kairos aarohan
Kairos  aarohanKairos  aarohan
Kairos aarohan
 
Higher Order Thinking - Question paper setting
Higher Order Thinking - Question paper settingHigher Order Thinking - Question paper setting
Higher Order Thinking - Question paper setting
 
Power path viewer_technical_presentation
Power path viewer_technical_presentationPower path viewer_technical_presentation
Power path viewer_technical_presentation
 
Thesis Presentation
Thesis PresentationThesis Presentation
Thesis Presentation
 
Autosar MCAL (Microcontroller Abstraction Layer)
Autosar MCAL (Microcontroller Abstraction Layer)Autosar MCAL (Microcontroller Abstraction Layer)
Autosar MCAL (Microcontroller Abstraction Layer)
 
Matter new
Matter newMatter new
Matter new
 
Keynote 4 cornelius_koetz_v04
Keynote 4 cornelius_koetz_v04Keynote 4 cornelius_koetz_v04
Keynote 4 cornelius_koetz_v04
 
Siemens s7 300 programming
Siemens s7 300 programming Siemens s7 300 programming
Siemens s7 300 programming
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Project based learning methodologies for Embedded Systems and Intelligent Sys...
Project based learning methodologies for Embedded Systems and Intelligent Sys...Project based learning methodologies for Embedded Systems and Intelligent Sys...
Project based learning methodologies for Embedded Systems and Intelligent Sys...
 
AUTOSAR Memory Stcak (MemStack).
AUTOSAR Memory Stcak (MemStack). AUTOSAR Memory Stcak (MemStack).
AUTOSAR Memory Stcak (MemStack).
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design process
 
Plc tg fi
Plc tg fiPlc tg fi
Plc tg fi
 
Hardware-Software Codesign
Hardware-Software CodesignHardware-Software Codesign
Hardware-Software Codesign
 
Siemens s7 300 programming instruction
Siemens s7 300 programming instructionSiemens s7 300 programming instruction
Siemens s7 300 programming instruction
 
Low cost embedded system
Low cost embedded systemLow cost embedded system
Low cost embedded system
 
Unit 1b
Unit 1bUnit 1b
Unit 1b
 
What is AUTOSAR Communiation Stack
What is AUTOSAR Communiation StackWhat is AUTOSAR Communiation Stack
What is AUTOSAR Communiation Stack
 

Similar to Drives Software Programming – using PLC or Drive bespoke programming?

manuales y guías PLC siemens Simatic S7
manuales y guías  PLC siemens Simatic S7manuales y guías  PLC siemens Simatic S7
manuales y guías PLC siemens Simatic S7SANTIAGO PABLO ALBERTO
 
Advanced plc programming & scada system design
Advanced plc programming & scada system designAdvanced plc programming & scada system design
Advanced plc programming & scada system designlakshanwalpita
 
PPT of PLC and SCADA
PPT of PLC and SCADAPPT of PLC and SCADA
PPT of PLC and SCADAMohseen1234
 
PRESENTATION ON PLC AND SCADA
PRESENTATION ON PLC AND SCADAPRESENTATION ON PLC AND SCADA
PRESENTATION ON PLC AND SCADAAnandKumarJha33
 
Simulation and Modelling of 3-Floor Elevator System using PLC
Simulation and Modelling of 3-Floor Elevator System using PLCSimulation and Modelling of 3-Floor Elevator System using PLC
Simulation and Modelling of 3-Floor Elevator System using PLCIRJET Journal
 
Identify elements associated with the preparation of a programmable l.pdf
 Identify elements associated with the preparation of a programmable l.pdf Identify elements associated with the preparation of a programmable l.pdf
Identify elements associated with the preparation of a programmable l.pdfakcopier1
 
Plc presentation
Plc presentationPlc presentation
Plc presentationAkshay Modi
 
01 introduction to_plc-pac_rev01_fa16
01 introduction to_plc-pac_rev01_fa1601 introduction to_plc-pac_rev01_fa16
01 introduction to_plc-pac_rev01_fa16John Todora
 
PLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
PLC, DCS and PLC vs DCS Presentation by Jitender Singh ShekhawatPLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
PLC, DCS and PLC vs DCS Presentation by Jitender Singh ShekhawatJitender Singh Shekhawat
 
BEE 049- design of embedded system.pdf
BEE 049- design of embedded system.pdfBEE 049- design of embedded system.pdf
BEE 049- design of embedded system.pdfabdisahirko
 
Electrical Training in Amritsar
Electrical Training in AmritsarElectrical Training in Amritsar
Electrical Training in AmritsarE2MATRIX
 
Ppt on embedded system
Ppt on embedded systemPpt on embedded system
Ppt on embedded systemPankaj joshi
 
Electrical Training in Chandigarh
Electrical Training in ChandigarhElectrical Training in Chandigarh
Electrical Training in ChandigarhE2MATRIX
 
PLC programmable logic controller (MSME)
PLC programmable logic controller (MSME) PLC programmable logic controller (MSME)
PLC programmable logic controller (MSME) ankit kaim
 
Electrical Training in Jalandhar
Electrical Training in JalandharElectrical Training in Jalandhar
Electrical Training in JalandharE2MATRIX
 
Electrical Training in Mohali
Electrical Training in MohaliElectrical Training in Mohali
Electrical Training in MohaliE2MATRIX
 

Similar to Drives Software Programming – using PLC or Drive bespoke programming? (20)

manuales y guías PLC siemens Simatic S7
manuales y guías  PLC siemens Simatic S7manuales y guías  PLC siemens Simatic S7
manuales y guías PLC siemens Simatic S7
 
Advanced plc programming & scada system design
Advanced plc programming & scada system designAdvanced plc programming & scada system design
Advanced plc programming & scada system design
 
PPT of PLC and SCADA
PPT of PLC and SCADAPPT of PLC and SCADA
PPT of PLC and SCADA
 
PRESENTATION ON PLC AND SCADA
PRESENTATION ON PLC AND SCADAPRESENTATION ON PLC AND SCADA
PRESENTATION ON PLC AND SCADA
 
ERTS_IV_ECE.pptx
ERTS_IV_ECE.pptxERTS_IV_ECE.pptx
ERTS_IV_ECE.pptx
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
Simulation and Modelling of 3-Floor Elevator System using PLC
Simulation and Modelling of 3-Floor Elevator System using PLCSimulation and Modelling of 3-Floor Elevator System using PLC
Simulation and Modelling of 3-Floor Elevator System using PLC
 
Identify elements associated with the preparation of a programmable l.pdf
 Identify elements associated with the preparation of a programmable l.pdf Identify elements associated with the preparation of a programmable l.pdf
Identify elements associated with the preparation of a programmable l.pdf
 
Plc presentation
Plc presentationPlc presentation
Plc presentation
 
Plc on cnc
Plc on cncPlc on cnc
Plc on cnc
 
01 introduction to_plc-pac_rev01_fa16
01 introduction to_plc-pac_rev01_fa1601 introduction to_plc-pac_rev01_fa16
01 introduction to_plc-pac_rev01_fa16
 
DEVENDRAPLC .pptx
DEVENDRAPLC .pptxDEVENDRAPLC .pptx
DEVENDRAPLC .pptx
 
PLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
PLC, DCS and PLC vs DCS Presentation by Jitender Singh ShekhawatPLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
PLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
 
BEE 049- design of embedded system.pdf
BEE 049- design of embedded system.pdfBEE 049- design of embedded system.pdf
BEE 049- design of embedded system.pdf
 
Electrical Training in Amritsar
Electrical Training in AmritsarElectrical Training in Amritsar
Electrical Training in Amritsar
 
Ppt on embedded system
Ppt on embedded systemPpt on embedded system
Ppt on embedded system
 
Electrical Training in Chandigarh
Electrical Training in ChandigarhElectrical Training in Chandigarh
Electrical Training in Chandigarh
 
PLC programmable logic controller (MSME)
PLC programmable logic controller (MSME) PLC programmable logic controller (MSME)
PLC programmable logic controller (MSME)
 
Electrical Training in Jalandhar
Electrical Training in JalandharElectrical Training in Jalandhar
Electrical Training in Jalandhar
 
Electrical Training in Mohali
Electrical Training in MohaliElectrical Training in Mohali
Electrical Training in Mohali
 

More from Optima Control Solutions

Driving Forces and Key Benefits of Control System Migrations
Driving Forces and Key Benefits of Control System MigrationsDriving Forces and Key Benefits of Control System Migrations
Driving Forces and Key Benefits of Control System MigrationsOptima Control Solutions
 
Control Systems Obsolescence – Support Strategies and Key Considerations
Control Systems Obsolescence – Support Strategies and Key ConsiderationsControl Systems Obsolescence – Support Strategies and Key Considerations
Control Systems Obsolescence – Support Strategies and Key ConsiderationsOptima Control Solutions
 
Machine Vision: The Key Considerations for Successful Visual Inspection
Machine Vision: The Key Considerations for Successful Visual InspectionMachine Vision: The Key Considerations for Successful Visual Inspection
Machine Vision: The Key Considerations for Successful Visual InspectionOptima Control Solutions
 
Pegler Yorkshire record 25% uptime improvement after upgrade by Optima
Pegler Yorkshire record 25% uptime improvement after upgrade by OptimaPegler Yorkshire record 25% uptime improvement after upgrade by Optima
Pegler Yorkshire record 25% uptime improvement after upgrade by OptimaOptima Control Solutions
 
Power conversion system design for tidal stream generator by Oceanflow
Power conversion system design for tidal stream generator by OceanflowPower conversion system design for tidal stream generator by Oceanflow
Power conversion system design for tidal stream generator by OceanflowOptima Control Solutions
 
UPGRADE BY OPTIMA CONTROL SOLUTIONS IS FUELLING DUNLOP’S PRODUCTIVITY DRIVE
UPGRADE BY OPTIMA CONTROL SOLUTIONS IS FUELLING DUNLOP’S PRODUCTIVITY DRIVEUPGRADE BY OPTIMA CONTROL SOLUTIONS IS FUELLING DUNLOP’S PRODUCTIVITY DRIVE
UPGRADE BY OPTIMA CONTROL SOLUTIONS IS FUELLING DUNLOP’S PRODUCTIVITY DRIVEOptima Control Solutions
 
DRIVE SOLUTION FROM OPTIMA DOUBLES PRODUCTIVITY FOR LAMINATING LINE
DRIVE SOLUTION FROM OPTIMA DOUBLES PRODUCTIVITY FOR LAMINATING LINEDRIVE SOLUTION FROM OPTIMA DOUBLES PRODUCTIVITY FOR LAMINATING LINE
DRIVE SOLUTION FROM OPTIMA DOUBLES PRODUCTIVITY FOR LAMINATING LINEOptima Control Solutions
 
Web tension control - loadcells vs. dancer rollers
Web tension control - loadcells vs. dancer rollersWeb tension control - loadcells vs. dancer rollers
Web tension control - loadcells vs. dancer rollersOptima Control Solutions
 
Industrial robots: The new era of industrial automation
Industrial robots: The new era of industrial automationIndustrial robots: The new era of industrial automation
Industrial robots: The new era of industrial automationOptima Control Solutions
 
S57 Optimacs processor - S5 to S7 PLC upgrades
S57 Optimacs processor - S5 to S7 PLC upgradesS57 Optimacs processor - S5 to S7 PLC upgrades
S57 Optimacs processor - S5 to S7 PLC upgradesOptima Control Solutions
 
Safety control systems: Some essential considerations
Safety control systems: Some essential considerationsSafety control systems: Some essential considerations
Safety control systems: Some essential considerationsOptima Control Solutions
 
AssetManager - downtime and production reporting
AssetManager - downtime and production reportingAssetManager - downtime and production reporting
AssetManager - downtime and production reportingOptima Control Solutions
 
Using the AC Drive Motor as a Transducer for detecting electrical and electro...
Using the AC Drive Motor as a Transducer for detecting electrical and electro...Using the AC Drive Motor as a Transducer for detecting electrical and electro...
Using the AC Drive Motor as a Transducer for detecting electrical and electro...Optima Control Solutions
 
Production line drives: Understanding the control system
Production line drives: Understanding the control systemProduction line drives: Understanding the control system
Production line drives: Understanding the control systemOptima Control Solutions
 
The logic behind choosing logic controllers
The logic behind choosing logic controllersThe logic behind choosing logic controllers
The logic behind choosing logic controllersOptima Control Solutions
 

More from Optima Control Solutions (16)

Driving Forces and Key Benefits of Control System Migrations
Driving Forces and Key Benefits of Control System MigrationsDriving Forces and Key Benefits of Control System Migrations
Driving Forces and Key Benefits of Control System Migrations
 
Control Systems Obsolescence – Support Strategies and Key Considerations
Control Systems Obsolescence – Support Strategies and Key ConsiderationsControl Systems Obsolescence – Support Strategies and Key Considerations
Control Systems Obsolescence – Support Strategies and Key Considerations
 
Machine Vision: The Key Considerations for Successful Visual Inspection
Machine Vision: The Key Considerations for Successful Visual InspectionMachine Vision: The Key Considerations for Successful Visual Inspection
Machine Vision: The Key Considerations for Successful Visual Inspection
 
Pegler Yorkshire record 25% uptime improvement after upgrade by Optima
Pegler Yorkshire record 25% uptime improvement after upgrade by OptimaPegler Yorkshire record 25% uptime improvement after upgrade by Optima
Pegler Yorkshire record 25% uptime improvement after upgrade by Optima
 
Power conversion system design for tidal stream generator by Oceanflow
Power conversion system design for tidal stream generator by OceanflowPower conversion system design for tidal stream generator by Oceanflow
Power conversion system design for tidal stream generator by Oceanflow
 
Focus on Complex Winders
Focus on Complex WindersFocus on Complex Winders
Focus on Complex Winders
 
UPGRADE BY OPTIMA CONTROL SOLUTIONS IS FUELLING DUNLOP’S PRODUCTIVITY DRIVE
UPGRADE BY OPTIMA CONTROL SOLUTIONS IS FUELLING DUNLOP’S PRODUCTIVITY DRIVEUPGRADE BY OPTIMA CONTROL SOLUTIONS IS FUELLING DUNLOP’S PRODUCTIVITY DRIVE
UPGRADE BY OPTIMA CONTROL SOLUTIONS IS FUELLING DUNLOP’S PRODUCTIVITY DRIVE
 
DRIVE SOLUTION FROM OPTIMA DOUBLES PRODUCTIVITY FOR LAMINATING LINE
DRIVE SOLUTION FROM OPTIMA DOUBLES PRODUCTIVITY FOR LAMINATING LINEDRIVE SOLUTION FROM OPTIMA DOUBLES PRODUCTIVITY FOR LAMINATING LINE
DRIVE SOLUTION FROM OPTIMA DOUBLES PRODUCTIVITY FOR LAMINATING LINE
 
Web tension control - loadcells vs. dancer rollers
Web tension control - loadcells vs. dancer rollersWeb tension control - loadcells vs. dancer rollers
Web tension control - loadcells vs. dancer rollers
 
Industrial robots: The new era of industrial automation
Industrial robots: The new era of industrial automationIndustrial robots: The new era of industrial automation
Industrial robots: The new era of industrial automation
 
S57 Optimacs processor - S5 to S7 PLC upgrades
S57 Optimacs processor - S5 to S7 PLC upgradesS57 Optimacs processor - S5 to S7 PLC upgrades
S57 Optimacs processor - S5 to S7 PLC upgrades
 
Safety control systems: Some essential considerations
Safety control systems: Some essential considerationsSafety control systems: Some essential considerations
Safety control systems: Some essential considerations
 
AssetManager - downtime and production reporting
AssetManager - downtime and production reportingAssetManager - downtime and production reporting
AssetManager - downtime and production reporting
 
Using the AC Drive Motor as a Transducer for detecting electrical and electro...
Using the AC Drive Motor as a Transducer for detecting electrical and electro...Using the AC Drive Motor as a Transducer for detecting electrical and electro...
Using the AC Drive Motor as a Transducer for detecting electrical and electro...
 
Production line drives: Understanding the control system
Production line drives: Understanding the control systemProduction line drives: Understanding the control system
Production line drives: Understanding the control system
 
The logic behind choosing logic controllers
The logic behind choosing logic controllersThe logic behind choosing logic controllers
The logic behind choosing logic controllers
 

Drives Software Programming – using PLC or Drive bespoke programming?

  • 1. Optimao In control since 1995 Drives Software Programming – using PLC or Drive bespoke programming?
  • 2. A variable-speed drive’s purpose in life is to control the speed and torque of a motor. In essence, it takes AC electricity from the mains supply and converts it to drive a motor in a controlled way. To accurately control the torque and speed of a motor the drive requires an appropriate “speed demand” signal (from an external source usually) together with feedback signals from motor mounted transducers; e.g. In the case of a speed loop, a drive receives its speed demand signal (or set point) from an analogue source (potentiometer) or a digital source (over a field bus comms network). This speed demand sets the drive the target speed. A corresponding “actual speed” signal (from a motor mounted tachometer or encoder) then feeds back to the drive to say how fast the motor is turning and where the rotor is in its 3600 radial position. Today’s microprocessor controlled drives run complex control algorithms to accurately control the speed and torque of the load motor. Variable speed drives are tuned in two ways: 1) to match the drive to the electrical characteristics of the motor by auto tune routines (standard drive functionality these days), and secondly to match the physical load conditions (by drive commissioning engineers) to match the response of the drive to varying load conditions. These tuning mechanisms will ensure the drive-motor combination is optimised to maintain the desired speed. Applications vary in their degree of difficulty, sometimes complex and often time- consuming drive software programming must take place. Optima Control Solutions Ltd. specialises in drive applications. The systems they engineer nearly always include PLC, HMI, SCADA and VSD equipment. Many drive manufacturers such as Siemens and Parker SSD have developed application software (often based on Macro type solutions) that are designed to meet most common drive applications and control requirements. However, it’s not unusual for certain projects to require bespoke software to be written.
  • 3. One frequently asked question in applications of this nature is, “Should one use the drive’s internal programming blocks or write one’s own blocks in the PLC to control the machine?” The answer is not a straight forward one. When building up a drive configuration engineers might need to employ many mathematical functions of varying complexity. Ranging from simple AND and OR gates to more complicated diameter calculation, tension profiles and PID tuning functions (Proportional Integral and Derivative terms). Given that there are two possible solutions, some experience is necessary if the best decision is to be made.
  • 4. Option 1 – using the Drive internal function block programming Assuming the application can be controlled using the function blocks available, this option is often the quickest solution. Arranging the connectivity of prewritten function blocks with all their internal maths taken care means the engineer must only select and connect the right blocks in an appropriate configuration. Naturally, this requires good working knowledge of machine control and the control requirements of the application at hand. Nevertheless, it has definite advantages. We list these in the table below. As always, there are tradeoffs to consider, e.g. different drive manufacturers employ different ways of programming the drives using their own software tools. For example, Siemens alone offers two programming options - ‘Starter’ (the simpler of their two offers) or ‘Scout’ (designed to engineer highly complex applications) . Parker SSD offers DSE Lite or DSE with similar characteristics (see figure 3). So familiarity (or expertise) with the programming software is a pre-requisite in order to build effective drive configurations. Advantages Disadvantages Drive programming software written Each manufacturer has its own and supported by drive manufacturer. software to learn. Some quite complex! Quick to build a configuration. Integration to HMI and PLC is more difficult as more data needs to be transferred to the PLC Some software packages have built in -- trace features like an oscilloscope. This is useful when testing. Table 1. Internal Drives Blocks – pros and cons Figure 1. Internally programmed drive system integrated with HMI
  • 5. Option 2 - Drive programming using PLC resident functions Learning to expertly use different drive programming packages is a complicated task that takes time. This reason often justifies an engineer’s choice of hosting the drive functionality software in the PLC(see figure 4). Often, control data can be passed to and from most manufacturers’ drives from the environment of the PLC with which the engineer is already familiar with. Thus limiting the range of software tools with which the engineer must be aware of (table 2). This does mean however that much more complicated mathematic functions will have to be coded by the engineer, often proving time consuming and difficult. In the main, PLCs are best suited to sequential control needs, they do this very easily and reliably. However, when higher level mathematics is involved much more powerful processors should be specified and the structure of the functional software is considerably more complex. Advantages Disadvantages Common control for any drive Complex maths requires significantly manufacturer . more engineering. Once written it is quick to implement as Complex maths requires much more all systems are the same processing power than simple code.This pushes the PLC cost up. Only simple signals are sent to the drive -- (start, stop and speed). HMI Integration is easy as all important -- numbers already exist in the PLC Table 2. Using PLC programming blocks – pros and cons Figure 2. PLC-programmed drive system integrated with HMI - all the 01010110110's represent 'simple ON/OFF' type code. AND's OR's represent complex maths.
  • 6. Figure 3. Typical drive programming language – the example depicts Parker SSD config. code Figure 4. One ‘line’ of code from a Siemens PLC programming job. This network is calculating either a positive (forward) or negative (reverse) speed setpoint as a jog speed.
  • 7. Which programming method to use? The best control method is circumstantial. OEMs can benefit from using the PLC resident software option as they can have a common PLC with the flexibility to offer any type of drive to their customers. For maintenance departments it would depend on the expertise of their engineers. Having well documented and common function blocks (as in the drive resident software option) would offer standard, documented software solutions and the comfort of the drive manufacturers service and support resources. A “site standard drive” is required here, if different types of drives and PLCs are used on a site then effective maintenance is a more difficult task. As an independent systems integrator, at Optima Control Solutions we have no drive/PLC manufacturer obligations to meet, we design systems and solutions for our clients and fully consider our customers’ circumstances when determining which option to recommend. -- END-- Disclaimer: All data provided in this report is for informational purposes only. Opinions expressed in this report are those of the relevant contributors. Reproduction and citations are allowed after appropriate referencing to the full report. Optima Control Solutions Ltd. reserves the right to prohibit the use of this report by third-party websites and third-party publications. Images sourced from: Optima™ gallery – all copyrights reserved. Internet Design: Gimp, Picasa Written by: Colin Keating, Hristina Stefanova Revised by: Michael Hill