robotknowledge
home Home your account Your Account search Search faq FAQ
 
 ball Main Menu
Home Page
Announcements
FAQ's Technical Info
Tutorials
   HomePos
   S3 and S4 Motors
   Rapid Overview
   Moving to the zero position
   S3 Motor Fault finding
   A Smoother S3 Wrist
   Working with Robtargets
   Creating RAPID programs
   Using Interupts
   Debugging the EIO.CFG
   Adding a ProfiBus
   PA Services Pt 1
   S4P Toolbox
   Adding a background task
Articles
Documents
Forum...Robotic Discussion!
Web Links
Using Roboknowledge
About us
Your Account
Read this first
User Pages

 ball Login
Nickname:
Password:
If you do not have an account yet Create One.

 ball Spare Parts

Buy even more Robot Parts HERE!



 ball Automation services
Recall Technical Services Limited

On Site Support


     
S4P and S4P+ Toolbox part 1.
Printable Version   Printable Version
pixel
Getting the cycle time and fluid consumption.

Suitable for
  • Service personnel
  • Maintenance personnel
  • Operators and programmers
Warning - prior to working on any programs ensure to make back-ups

To use this article you will need to edit the IPS.CFG and the EIO.CFG. Ensure that you feel competent with these systems before you do this

We always advise undergoing an ABB training course before you can handle the robot

So lets begin..........

Whenever you start a program where you intend to paint call the following procedure.

PROC startMeasure()
SetAO A1FluidAccu,0;
ClkStart ckCycleTime;
ENDPROC


At the end of the program when you finish painting call this routine.

PROC stopMeasure()
! Store the result in numerical registers
! PLEASE ensure that you declare nPaintUsed and ckCycleTime in the module
nPaintUsed:=Round(AOutput(A1FluidAccu)\Dec:=0);
TPWrite "Fluid consumption is = "\Num:=nPaintUsed;
ClkStop ckCycleTime;
nCycleTime:=ClkRead(ckCycleTime);
TPWrite "Cycle time is = "\Num:=nCycleTime;
ClkReset ckCycleTime;
SetAO A1FluidAccu,0;
ENDPROC

NOTE: That you have to have the following declared in your module.

VAR clock ckCycleTime;
PERS num nPaintUsed:=0;

Now if you are using S4P+ and PAServices then I advise that you put the routines in the custom.sys module. Otherwise you will have to create a module where the data and routines will live.

Setting up the consumption measurement is trickier.

Set up an analog output in the EIO.CFG.

-Name "A1FluidAccu" -Type "AO" -Unit "AMA" -Phsig 8 -LogMax 32767 -PhMax 1

Set up the IPS.CFG to see the analog output:

-from "Aop8" -to "A1Fluid/Accu"

Obviously you do not have to print out the values, you may choose to save to log file. This short article covers a small aspect of the techniques involved

More to come !

Bye for now.

Any questions then do not hesitate to contact us



     
This page was generated in 0.2 seconds


Copyright Robotknowledge 2010