cad-computer gmbh & co.kg. germany copyright © cad-computer gmbh & co. kg. november 2007...
TRANSCRIPT
CAD-Computer GmbH & Co.KG.GERMANY
Copyright © CAD-Computer GmbH & Co. KG.November 2007
MCPS training
Advanced
NETSOL technical EURISMAmersfoort
November 2007
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended math functions – Standard
Square root-function: Math-channel delivers the square root of SQRT(X9) channel 9 value.
Also available: SIN(), COS(), TAN(), EXP(), ABS(), LOG(), a.s.o.
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended math functions – Compare
Greater-than-function: Math-channel delivers 12,5 if value of
channel 1 is greater than value of channel 2, otherwise it delivers value of
channel 5.
Equal-function: Math-channel delivers 12,5 if value ofchannel 1 is greater than value of channel
2, otherwise it delivers value of channel 5.
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended math functions – Logical
AND-function: Math-channel delivers 1 if results of
mathematical calculation in channel 11 (M11)
and channel 12 (M12) are unequal (All values
unequal to zero are treated as logical 1!) zero.
Also available: OR, XOR, NOT
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended math functions – Moving average
SM-function: Math-channel delivers the mean value of all values of
channel 8 collected in the last 60 seconds.
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended math functions – Special
MIN-function: Math-channel delivers the minimum value of
channel 1 or channel 2Also available: ITG(), MEAN(), MAX(), IDxxU(X,n), SDxxU(X,n)
FRAC-function: Math-channel delivers the position after the decimal point of channel 1
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended math functions – Integrations
Summation -function: Math-channel adds up the values of channel 10 for 30 seconds. After 30 seconds IN30S(X10) the value of the MATH-channel is set to zero again.
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended math functions – Paths
Click <Options>, <Path> or to open this window:
Select paths to your MATH-files. Click <Edit functions> to make changes to your user functions.
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended math functions – User functions 1
Select function number: This number is used in the project configuration later (F1, F2, a.s.o.).
Add the mathematical formula.
Add a describing comment to the user function.
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended math functions – User functions 2
Function call in the MATH-line of the project configuration: F1(X7,X8)
F1: It is used user function 001 from the selected user functions file.
X7: Raw value of channel 7 is assigned to character A in the formula ( A+B+SIN(A)+COS(B) ).
X8: Raw value of channel 7 is assigned to character B in the formula ( A+B+SIN(A)+COS(B) ).
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended math functions – Polynomials 1
Select polynomial number: This number is used in the project configuration later (P1, P2, a.s.o.).
Add a describing comment to the user function.
Select kind of polynomial type:
This example: Power 2 based on 4 X-Y-pairs
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended math functions – Polynomials 1
Click Display to show the resulting polynomial functionThe algorithm is based on the Least Square method and tries to find best possible fitting of sample points.
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended math functions – Polynomials 2
Function call in the MATH-line of the project configuration:
P2: It is used polynomial 001 from the selected polynomial file.
X1: Raw value of channel 1 is assigned to character X in the formula P001 ( X^2 ) (best fit)
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended math functions – Polynomials 3
This example: Polynomial 5*X^3-7*X^2-2*+6 Based on coefficients.
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended math functions – Polynomials 4
Function call in the MATH-line of the project configuration:
P2: It is used polynomial 002 from the selected polynomial file.
X1: Raw value of channel 1 is assigned to character X in the formula (5*X^3-7*X^2-2*X+6 )
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended math functions – DLLs
Click <Configuration>, <MCPS settings…>, register card <DLLs>
It is possible to use customer specific DLLs to make complicated, not standard calculations.Ask CAD Computer
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended math functions – User curves 1
Open project configuration and click <Options>, <Defaults>, register card <User curves>. Click “Add curve”.
Example for a user curve configuration
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended math functions – User curves 2
Trend curve
User curve
Result
Usable for Controlling / setting analogue outputsAs alarm limitAs math values
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended alarm functions – Types
There are up to 11 different types of alarms:
High alarm H Low alarm L Differential high alarm DH Differential low alarm DL Differential high saved alarm DHS Differential low saved alarm DLS Error ERR Overflow OFL Underflow UFL High & Overflow H+OFL Low & Underflow L+UFL
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended alarm functions – Extended Delay
Possibility to
delay or suspend
an alarm depending on the value of another channel.
Reference channel
Enable / disable extended alarm delay
Delay time Event condition Restart delay timer on event
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended alarm functions – Options
Setup since when an occurring alarm is valid.
The alarm is active again when the limit exceeding is still valid and the alarm was already acknowledged.
The alarm obtains still valid and active although the channel data switches invalid
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Extended alarm functions – external alarms / dynamic alarm file
Check connected hardware on external alarms
Use dynamic alarm file as limit for this channel / level
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Export 1
Click <Project>, <Export>, <Channel data>.
Set time range of data to export
Select kind of export file
Select information to be exported
Average values to reduce the number scans to be exported
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Export 2
Result of an export
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Automation: printing
Open the project configuration and click <Options>, <Automation>, register card <Print>
Select a trend display to be printed at the end of data acquisition.
Select statistic values to be printed periodic.
Select alarm information to be printed periodic.
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Automation: Export
Open the project configuration and click <Options>, <Automation>, register card <Export>
Set measurement data to be exported at the end of measurement
Set measurement data to be exported at the end of an Autofile
Set measurement value to be exported to a file with each scan
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Process monitor 1
Open the project configuration and click <Project>, <Extras>, <Process monitoring editor>
Example of a preconfigured Process window.
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Process monitor 2
Setup – tools for the process monitor
Leave editor without saving
Leave editor with
saving
Clear editor configuratio
n
Add/Delete display page
Page configuratio
n
Return to selection
mode
Unselect item
Add text or channel value
Open Online Help
Delete item
Order in Z-position
Copyitem
Add bitmap
Add bar graph
Add LED
Add Analogue
meter Add Multi-bitmap
Add video Add line,
circle, rectangle
Copyright © CAD-Computer GmbH & Co. KG.April 2007
Process monitor
Active Process monitor
Copyright © CAD-Computer GmbH & Co. KG.April 2007
User administration 1
Click <Configuration>, <MCPS settings…>, register card <Admin>
If ONE administrator-password is entered, the user administration is build and active.
Add up to three administrators.
Copyright © CAD-Computer GmbH & Co. KG.April 2007
User administration 3
Click <More Options>
Administrator Messages and E-mail
Add up to three administrators.
Local, Network file based orService based User Administration
Active Directory based Loginverification
Copyright © CAD-Computer GmbH & Co. KG.April 2007
User administration 4
Click <Configuration>, <MCPS settings…>, register card <Users>
Add users and user groups to the user administration (Right click on <Users>)
Assign MCPS – rights to each user – What should the user be allowed to.
Make common settings/password settings for the user
Copyright © CAD-Computer GmbH & Co. KG.April 2007
User administration 5
Click <User login/password settings>
Assign a Login-name, a Login-ID and add a comment to the user.
Assign a password for the user to login.
Assign project access rights to the user
Select a duration for the password to be valid.