mySCADA Technologies
Menu
  • NEWS
  • PRODUCTS
    • PRODUCTS OVERVIEW
    • myDESIGNER
    • myPRO
    • myBOX
    • myPANEL
    • myCMS
    • myACCESS
    • mySCADA Live Demo
  • SOLUTIONS
    • SOLUTIONS
      • PRODUCTION OVERVIEW
      • ACTIVE CONTROL
      • ALARMING SYSTEM
      • PRODUCTION STATISTICS
      • INTELLIGENT MAINTENANCE
      • PAPERLESS PRODUCTION
      • REMOTE CONNECTIVITY
    • INDUSTRIES
      • INDUSTRY 4.0
      • INTERNET OF THINGS
      • BUILDING AUTOMATION
      • FOOD AND BEVERAGE
      • OIL AND GAS
      • POWER AND ENERGY
      • PRODUCTION LINE
      • TRANSPORTATION
      • WATER AND WASTEWATER
    • REFERENCES
      • SHEET METAL PROCESSING/METALLURGY
      • SMART HOUSING
      • INJECTION MOLDING
      • HEAVY CLAY / CERAMIC INDUSTRY
      • LOGISTICS
      • AUTOMOTIVE INDUSTRY
      • MANUFACTURING MACHINE TOOLS
      • OFFICE CENTER
      • PAPERMAKING MACHINE
    • COOPERATION
      • CUSTOMERS
  • RESOURCES
    • DOWNLOADS
      • MANUALS
      • myDESIGNER
      • myPRO
      • myBOX
      • myPANEL
      • myCMS
      • myACCESS
      • REFERENCES
      • mySCADA LOGO
    • ONLINE MANUALS
      • myDESIGNER
      • myPRO
      • myBOX
      • myPANEL
      • myACCESS
      • Video tutorials
    • DOCUMENTS
      • EULA
      • PRIVACY POLICY
      • TERMS AND CONDITIONS
    • FAQ
      • GENERAL
      • myDESIGNER
      • myPRO
      • myBOX
      • myPANEL
      • PLCs
      • SQL DATABASES
  • CONTACTS
    • DISTRIBUTORS
    • PARTNERS
    • CONTACTS
  • PRICING
  • LOGIN
0

No products in the cart.

myDESIGNER

264
  • Introduction
  • About myDESIGNER
  • Tutorial Videos
  • Getting started with myDESIGNER
  • Creating a project
  • Workspace management
  • Checking project
  • Projects visual appearance
  • Creating views
  • View background
  • Selecting objects
  • Drawing primitives
  • Creating text elements
  • Inserting images
  • Poly-lines
  • Moving objects
  • Resizing objects
  • Rotating objects
  • Skewing objects
  • Filleting
  • Combining objects
  • Fill and stroke
  • Rulers and guides
  • Layers
  • Copying and pasting elements
  • Object’s order
  • Grouping
  • Repeated actions mode
  • View scripting
  • Used tags
  • Zooming on zone
  • Undo and redo
  • View properties
  • Components
  • Default components
  • Custom components
  • Used components
  • Editing components
  • Replacements
  • On touch actions
  • Entering adv. functions (equations)
  • Components library
  • Combo box, List box and Text box
  • Inserting into view
  • Components parameters
  • Using components in view scripts
  • Supported functions
  • Chart component
  • Active area
  • Creating active areas
  • External web page in active area
  • HTML code
  • DIV type
  • Layout views
  • Page layout
  • Adding layout view
  • Creating new layout
  • Entering tags
  • Entering mathematical expressions
  • Tree tags database
  • Changing tag value
  • Engineering units
  • Filtering data
  • Usage count
  • MS Excel import and export
  • Tag import
  • Deleting unused tags
  • Restoring tag database
  • Specifying a new tag during dev.
  • Formatting numerical values
  • Linking views with PLC
  • Animations
  • Show value animation
  • Value to text mapping animation
  • Visibility animation
  • Opacity animation
  • Color animation
  • Moving animation
  • Size animation
  • Scale animation
  • Rotate animation
  • Circular sector animation
  • Zoom visibility animation
  • Sounds
  • Sounds triggered by tag value
  • Effects
  • Time Sequence
  • Time sequence example
  • Triggering time sequences
  • Modifying time settings
  • Adding new sequences
  • Renaming time sequence
  • Switching among time sequence
  • Modifying timing
  • Combining multiple time sequences
  • Open command
  • Open type
  • Open Command Target
  • Popup (face plate) window
  • View type
  • Write/Set command
  • Using batches Write/Set command
  • Specifying set command parameters
  • Value options
  • Scaling set values
  • Set example
  • Key shortcuts
  • On touch
  • On touch in views
  • On touch in component
  • On touch example
  • Lock element
  • Lock key
  • Slider
  • Parametric views
  • Opening parametric views
  • Symbolic text replacements
  • Symbolic tag creation
  • Replacing connections
  • Nesting parametric views
  • Usage example of parametric views
  • View scripts
  • Using script in views
  • Equations in view script using params.
  • Declaring variables
  • Script writing
  • Using var in animations and effects
  • Debugging view scripts
  • Using debug screen on your view
  • Using web browsers integrated debug
  • Using JavaScript libraries – Includes
  • Linking external JavaScript libraries – Remote includes
  • View script func – elements
  • View script function – ListBox, TextBox, ComboBox (Smart input)
  • View script function – Animations
  • View script function – effects
  • View script function – error frames
  • View script function – zoom
  • View script function – open command
  • View script function – Users, language and login
  • View script function – Retrieving files
  • View script function – server-side script communication
  • View script function – tables
  • View script function – alarms and aggregated alarms
  • View script function – Data-Log data
  • View script function – custom charts
  • View script function – tag info
  • View script func – Other useful funcs
  • Documents
  • CAS alarms
  • Digital alarms
  • Analog alarms
  • Alarm window
  • Alarm history
  • CAS alarms occurrence – Chart/Table
  • CAS alarms in view – example
  • ✵CAS alarms preview of appearance
  • Data logging
  • Data-logs
  • Defining connection – Data-log
  • Defining data points in data-logs
  • Continuous data logging in data-logs
  • Triggered data-logs
  • Triggered data-logging example
  • Simple periodic data-logs export to CSV and Microsoft Power BI
  • Data-logs properties
  • Data-Log views
  • Data-logs views – data points select
  • Data-logs views Data grouping
  • Data-logs view – Data filtering
  • ✵ 3D chart
  • ✵Data-logs preview – appear. editor
  • Aggregated data logs
  • Creating aggregated data log
  • Aggregated values
  • Time aggregates
  • Value change aggregates
  • Aggregates based on alarm activation
  • Running the aggregation periodically
  • Advanced trends
  • Advanced trends – Using multiple axes
  • Advanced trends – visual appearance
  • Connections
  • Creating new connection
  • Creating PLC type connection
  • Deleting connections
  • User accesses
  • Access levels
  • Access groups
  • User accounts
  • Limited access to whole project
  • Limited access for views and trends
  • Limit access of arbitrary obj. in views
  • *User edit in runtime
  • ✵ RFID
  • Multi – language support
  • Providing translations inside a project
  • Translating names of Views
  • Translating Data-logs
  • Translating CAS alarms
  • Translating advanced trends
  • ✵ Server-side scripts
  • ✵ Server-side scripts folder
  • ✵ Server-side scripts folder structure
  • ✵ Server-side scripts Variables tables
  • ✵ Server-side scripts data-logs
  • ✵ Server-side scripts Global variables
  • ✵ Server-side scripts Sources folder
  • ✵ Server-side scripts Organizing project into modules
  • ✵ Server-side scripts Importing modules
  • ✵ Server-side scripts Using the event-driven asynchronous callbacks
  • ✵ Server-side scripts – mySCADA specific functions
  • ✵ Server-side scripts Debugging
  • ✵ Server-side scripts – Script status (on myBOX v7 devices only)
  • Ser2Net (on myBOX devices only)
  • ✵ Server-side scripts Graphical guides
  • ✵ Server-side scripts Read/Write data from/to PLC
  • ✵ Server-side scripts Other guides
  • ✵ Server-side scripts – examples
  • ✵ Server-side scripts Reading data from PLC
  • ✵ Server-side scripts – Timers – eg. run code in given time intervals
  • ✵ Server-side scripts Scheduled execution e.g run code every Monday at 2:00 PM
  • ✵ Server-side scripts – Processing data-log data
  • ✵ Server-side scripts – Exporting data-log data into CSV files
  • ✵ Server-side scripts – Sending data from view script into server side scripts
  • ✵ Server-side scripts – Using virtual PLC
  • Devices
  • EtherNet/IP driver
  • MicroLogix and SLC driver
  • Modbus driver
  • Modbus tag name syntax
  • 32-bit registers in Modbus
  • Modbus – Floating point numbers
  • Modbus – 32-bit integers
  • Modbus – Address mapping
  • Modbus – Signed and unsigned numbers
  • Siemens S7 family PLCs driver
  • S7 memory types
  • S7 data types
  • S7 1200/1500 notes
  • LOGO! 0BA7/0BA8 configuration
  • S7-200 (via CP243-1) configuration
  • OPC UA driver
  • OPC UA tag name syntax
  • OPC UA connection configuration
  • MELSEC-Q driver
  • MELSEC-Q tag name syntax
  • MELSEC-Q connection configuration
  • KNX driver
  • KNX notes
  • Using SQL connectivity in Server Side Scripts
  • Export/Import in .CSV files
  • Export/Import – Translations
  • .CSV Export/Import in general
  • Download/Upload from/to device
  • Download to device
  • Upload from device
  • ✵ Recipes
  • ✵ Recipes Advanced
  • ✵ Recipes – Check changes with device
  • ✵ Running hours
  • ✵ Timeline
  • ✵ mySCADA TIA portal connector
  • WebCamera Component

mySCADA PRO

11
  • Introduction
  • Installation
  • Status
  • Versions
  • Update
  • Notification
  • Settings
  • myACCESS
  • SSL certificates
  • About
  • Troubleshooting

myBOX

21
  • Introduction
  • Operational Conditions
  • Hardware overviewHardware features
  • Technical specifications
  • Dimensions
  • Connecting to networks via ethernet interface
  • Connecting to networks via wireless 4G interface
  • Connecting to networks via RS-232/485 interface
  • Using the RS-232 interface
  • Using the RS-485 interface
  • Graphical user interface
  • Administration level
  • Status
  • Network
  • Advanced
  • System
  • Debug
  • Scripts
  • Logs
  • Tags
  • Ping

myPANEL

10
  • Introduction
  • Hardware features
  • Dimensions
  • Administration level
  • Status
  • Network
  • myACCESS
  • System
  • Debug

myACCESS

9
  • Introduction
  • myACCESS Device
  • myACCESS Device app
  • Downloading project to the device using myACCESS link
  • myACCESS User
  • Sorting out your devices and users in groups and sub-groups
  • Connection with TIA portal to Siemens PLC behind the myBOX using myACCESS User
  • Connection with Rockwell studio to Rockwell PLC behind the myBOX using myACCESS User
  • myACCESS Subscription managment

myDESIGNER v8

286
  • Introduction
  • About myDESIGNER
  • Tutorial Videos
  • Getting started with myDESIGNER
  • Creating a project
  • Workspace management
  • Checking project
  • Projects visual appearance
  • Creating views
  • View background
  • Selecting objects
  • Drawing primitives
  • Creating text elements
  • Inserting images
  • Poly-lines
  • Moving objects
  • Resizing objects
  • Rotating objects
  • Skewing objects
  • Filleting
  • Combining objects
  • Fill and stroke
  • Rulers and guides
  • Layers
  • Copying and pasting elements
  • Object’s order
  • Grouping
  • Repeated actions mode
  • View scripting
  • Used tags
  • Zooming on zone
  • Undo and redo
  • View properties
  • Components
  • Default components
  • Custom components
  • Used components
  • Editing components
  • Replacements
  • On touch actions
  • Entering advanced functions (equations)
  • Components library
  • Combo box, List box and Text box
  • Inserting into view
  • Components parameters
  • Using components in view scripts
  • Supported functions
  • Chart component
  • Active area
  • Creating active areas
  • External web page in active area
  • HTML code
  • DIV type
  • Layout views
  • Page layout
  • Adding layout view
  • Creating new layout
  • Entering tags
  • Entering mathematical expressions
  • Tree tags database
  • Changing tag value
  • Engineering units
  • Filtering data
  • Usage count
  • MS Excel import and export
  • Tag import
  • Deleting unused tags
  • Restoring tag database
  • Specifying a new tag during development
  • Formatting numerical values
  • Linking views with PLC
  • Animations
  • Show value animation
  • Value to text mapping animation
  • Visibility animation
  • Opacity animation
  • Color animation
  • Moving animation
  • Size animation
  • Scale animation
  • Rotate animation
  • Circular sector animation
  • Zoom visibility animation
  • Sounds
  • Sounds triggered by tag value
  • Effects
  • Time Sequence
  • Time sequence example
  • Triggering time sequences
  • Modifying time settings
  • Adding new sequences
  • Renaming time sequence
  • Switching among time sequence
  • Modifying timing
  • Combining multiple time sequences
  • Open command
  • Open type
  • Open Command Target
  • Popup (face plate) window
  • View type
  • Write/Set command
  • Using batches Write/Set command
  • Specifying set command parameters
  • Value options
  • Scaling set values
  • Set example
  • Key shortcuts
  • On touch
  • On touch in views
  • On touch in component
  • On touch example
  • Lock element
  • Lock key
  • Slider
  • Parametric views
  • Opening parametric views
  • Symbolic text replacements
  • Symbolic tag creation
  • Replacing connections
  • Nesting parametric views
  • Usage example of parametric views
  • View scripts
  • Using script in views
  • Equations in view script using parameters
  • Declaring variables
  • Script writing
  • Using variables in animations and effects
  • Debugging view scripts
  • Using debug screen on your view
  • Using web browsers integrated debugger
  • Using JavaScript libraries – Includes
  • Linking external JavaScript libraries – Remote includes
  • View script function – Dealing with elements
  • View script function – ListBox, TextBox, ComboBox (Smart input)
  • View script function – Animations
  • View script function – effects
  • View script function – error frames
  • View script function – zoom
  • View script function – open command
  • View script function – Users, language and login
  • View script function – Retrieving files
  • View script function – server-side script communication
  • View script function – tables
  • View script function – alarms and aggregated alarms
  • View script function – Data-Log data
  • View script function – custom charts
  • View script function – tag info
  • View script function – Other useful functions
  • Documents
  • Reports
  • Creating report templates
  • Designing report
  • Inserting text into report
  • Adding picture/logo into report
  • Table data in reports
  • Table summary in reports
  • Previewing report during design
  • Showing report in runtime
  • Creating custom report in runtime
  • Creating report on demand
  • CAS alarms
  • Digital alarms
  • Analog alarms
  • Alarm window
  • Alarm history
  • CAS alarms occurrence – Chart/Table
  • CAS alarms in view – example
  • ✵CAS alarms preview of appearance
  • Data logging
  • Data-logs
  • Defining connection – Data-log
  • Defining data points in data-logs
  • Continuous data logging in data-logs
  • Triggered data-logs
  • Triggered data-logging example
  • Simple periodic data-logs export to CSV and Microsoft Power BI
  • Data-logs properties
  • Data-Log views
  • Data-logs views – data points selection
  • Data-logs views Data grouping
  • Data-logs view – Data filtering
  • ✵ 3D chart
  • ✵Data-logs preview – appearance editor
  • Aggregated data logs
  • Creating aggregated data log
  • Aggregated values
  • Time aggregates
  • Value change aggregates
  • Aggregates based on alarm activation
  • Running the aggregation periodically
  • Advanced trends
  • Advanced trends – Using multiple axes
  • Advanced trends – visual appearance
  • Connections
  • Creating new connection
  • Creating PLC type connection
  • Creating database type connection
  • Creating IoT type connection
  • Deleting connections
  • User accesses
  • Access levels
  • Access groups
  • User accounts
  • Limited access to whole project
  • Limited access for views and trends
  • Limited access of arbitrary object in views
  • *User edit in runtime
  • ✵ RFID
  • Multi – language support
  • Providing translations inside a project
  • Translating names of Views
  • Translating Data-logs
  • Translating CAS alarms
  • Translating advanced trends
  • ✵ Server-side scripts
  • ✵ Server-side scripts folder
  • ✵ Server-side scripts folder structure
  • ✵ Server-side scripts Variables tables
  • ✵ Server-side scripts data-logs
  • ✵ Server-side scripts Global variables
  • ✵ Server-side scripts Sources folder
  • ✵ Server-side scripts Organizing project into modules
  • ✵ Server-side scripts Importing modules
  • ✵ Server-side scripts Using the event-driven asynchronous callbacks
  • ✵ Server-side scripts Creating server side reports
  • ✵ Server-side scripts – mySCADA specific functions
  • ✵ Server-side scripts Debugging
  • ✵ Server-side scripts – Script status (on myBOX v7 devices only)
  • Ser2Net (on myBOX devices only)
  • ✵ Server-side scripts Graphical guides
  • ✵ Server-side scripts Read/Write data from/to PLC
  • ✵ Server-side scripts Generating report
  • ✵ Server-side scripts Other guides
  • ✵ Server-side scripts – examples
  • ✵ Server-side scripts Reading data from PLC
  • ✵ Server-side scripts – Timers – eg. run code in given time intervals
  • ✵ Server-side scripts Scheduled execution e.g run code every Monday at 2:00 PM
  • ✵ Server-side scripts – Generating a report at given time interval
  • ✵ Server-side scripts – Processing data-log data
  • ✵ Server-side scripts – Exporting data-log data into CSV files
  • ✵ Server-side scripts – Using virtual PLC
  • ✵ Server-side scripts – Sending data from view script into server side scripts
  • Devices
  • EtherNet/IP driver
  • MicroLogix and SLC driver
  • Modbus driver
  • Modbus tag name syntax
  • 32-bit registers in Modbus
  • Modbus – Floating point numbers
  • Modbus – 32-bit integers
  • Modbus – Address mapping
  • Modbus – Signed and unsigned numbers
  • Siemens S7 family PLCs driver
  • S7 memory types
  • S7 data types
  • S7 1200/1500 notes
  • LOGO! 0BA7/0BA8 configuration
  • S7-200 (via CP243-1) configuration
  • OPC UA driver
  • OPC UA tag name syntax
  • OPC UA connection configuration
  • MELSEC-Q driver
  • MELSEC-Q tag name syntax
  • MELSEC-Q connection configuration
  • SigFox driver
  • SigFox data types
  • SigFox Reverse order
  • KNX driver
  • KNX notes
  • Databases – driver
  • Databases – Reading values from SQL database
  • Databases – Examples
  • Databases – Writing values to SQL database
  • Using SQL connectivity in Server Side Scripts
  • Export/Import in .CSV files
  • Export/Import – Translations
  • .CSV Export/Import in general
  • Download/Upload from/to device
  • Download to device
  • Upload from device
  • ✵ Recipes
  • ✵ Recipes Advanced
  • ✵ Recipes – Check changes with device
  • ✵ Running hours
  • ✵ Timeline
  • ✵ mySCADA TIA portal connector

myPRO v8

13
  • Introduction
  • Installation
  • Using myPRO WWW access
  • myPRO settings
  • Status – Dashboard
  • myACCESS
  • Status – Data Storage
  • Status -System Status
  • System – Notification
  • System – Storage
  • System – ACCESS
  • System – Serial
  • Troubleshooting

myBOX v7

20
  • Introduction
  • Hardware features
  • Technical specifications
  • Dimensions
  • Installing your device
  • Mounting the device
  • Power wiring and device start-up
  • Getting online help from mySCADA
  • Reset to default settings
  • Communication connections
  • Connecting to networks via ethernet interface
  • Connecting to networks via RS-232/485 interface
  • Using the RS-232 interface
  • Using the RS-485 interface
  • Connecting to networks via wireless 3G interface
  • Access point mode with wireless Wi-Fi integrated card
  • Graphical user interface
  • Administration level
  • Appendix A – termination and biasing an RS-485 network
  • Appendix B – list of supported web browsers for the GUI

Changelog

2
  • 5.11.2024
  • 1.7.2024 – Version 9.1.0

Changelog Legacy

21
  • 25.6.2024 – Version 8.32.0
  • 28.7.2023 – Version 8.30.0
  • 24.11.2022 – Version 8.29.0
  • 24.8.2022 – Version 8.28.0
  • 27.5.2022 – Version 8.27.0
  • 17.3.2022 – Version 8.26.0
  • 17.12.2021 – Version 8.25.0
  • 19.11.2021 – Version 8.24.0
  • 9.11.2021 – Version 8.23.0
  • 3.11.2021 – Version 8.22.0
  • 3.9.2021 – Version 8.21.0
  • 21.7.2021 – Version 8.20.0
  • 3.6.2021 – Version 8.19.0
  • 5.3.2021 – Version 8.18.0
  • 8.12.2020 – Version 8.17.0
  • 13.11.2020 – Version 8.16.0
  • 7.10.2020 – Version 8.15.0
  • 4.9.2020 – Version 8.14.0
  • 7.8.2020 – Version 8.13.0
  • 9.7.2020 – Version 8.12.0
  • 3.6.2020 – Version 8.11.0
  • Homepage
  • Docs
  • myDESIGNER
  • Entering mathematical expressions
View Categories

Entering mathematical expressions

5 min read

Instead of writing the tag name, you can enter mathematical expressions. This way you can scale and offset the values read from the PLCs or create more complex data processing. These expressions can be entered either directly or through the dialog window.

11.2.1

11.2.2

In the equations you can use operators + – * / and common mathematical functions such as sin, cos, exp, etc…  You can also do a binary comparison and much more. To get the complete list of options, call the Tag Dialog and click on the tab Equation.

11.2.3

Formatting and Limits

  • Tag name is entered by the adr() function
  • Tag name can be also entered as an alias using the alias() function
  • You can use only supported functions and operators

The supported functions and operators are listed under the input box and are broken down into five groups: Oper, Func, Trig, Vers, and Const – they will be inserted into the box if selected.

You can use multiple tags in an expression.

Example:

  1. We read a value from Modbus H:0
  2. Let’s scale this value by 10 and offset it by 0.5
  3. Formula to enter is: =10*adr(H:0)+0.5

Supported Functions and Operators:

Operator

Function

Description

Standard Operators

+

add

addition and unary positive

– r –

Substract and negative

subtraction and negation

o

Multiply

multiplication

r÷

Divie

division

 

Percnt

modulus and percentage of a value

!

Facoial

factoria

**

Po

exponential

 

Deg

converts values to radians

Bitwise Operators

&

An

btise and

|

Or

bitwise or

^

Xor

bitwise xor

~

Not

bitwise not

<< 

Ishift

bitwise left shift

>> 

Rshift

bitwise right shift

Comparison Operators

=

I_eq

equal

!=

I_neq

not equal

< 

I_It

less than

> 

I_gt

greater than

<= or ≤

I_toe

greater than or equal

>= or ≥

I_gtoe

greater than or equal

Logical Operators

&& or _

I_and

logical and

|| or _

I_or

logical or

! or ¬

I_not

logical not

Degree operator °

The degree operator (°) is very useful when converting user input. Because all of the trigonometric functions require their parameters to be in radians, the degree operator will convert its operand into radians. Thus, 45° is equivalent to dtor(45).

Percentage sign %

When the percent sign is interpreted as the modulo, then:

10 % 3 … evaluates to 1 (the remainder after 10 is divided by 3); however, if you flip the switch to make the % sign stand for percentage, then it becomes:

250 + 10%

By default, the percentage sign % is usually shorthand for “/100”. In other words, 42% becomes 42/100 or 0.42.

However, if the % term on the right-hand side of subtraction or addition (such as in “250 + 10%”), then the percent is evaluated as a percentage of the left-hand side (i.e. “250 plus 10% of 250”).

If you choose to interpret the percent sign as the modulo operator, you can still request a percentage by using the function name directly:

(10 % 3) + percent (50) = 1.5

Factorial and Logical Not (!)

Differentiating between factorial (!) and logical NOT (!) is more difficult.

Logical NOT is interpreted as factorial (!) only if:

  • it is the first token
  • it is preceded by a binary operator
  • it is preceded by a right associative unary operator

Otherwise (!) is always treated as factorial and the negating token ¬ as logical NOT.

Supported Functions

Functions using more than one parameter:

  • sum() – returns a sum of the passed parameters
  • count() – returns the number of passed parameters
  • min() – returns the minimum of the passed parameters
  • max() – returns the maximum of the passed parameters
  • median() – returns the median of the passed parameters
  • stddev() – returns the standard deviation of the passed parameters
  • average() – returns the average of the passed parameters
  • random() – returns a random integer. Can take 0, 1, or 2 parameters. The first parameter (if given) is the lower bound of the random integer. The second parameter (if given) is the upper bound of the random integer.
  • nthroot() – returns the nth root of a number; for example, nthroot(27,3) returns the cube root of 27, or 3.

Functions using one parameter:

  • sqrt() – returns the square root of the passed parameter
  • log() – returns the base 10 log of the passed parameter
  • ln() – returns the base e log of the passed parameter
  • log2() – returns the base 2 log of the passed parameter
  • exp() – returns e raised to the power of the passed parameter
  • ceil() – returns the passed parameter rounded up
  • floor() – returns the passed parameter rounded down

Trigonometric functions:

  • sin(), cos(), tan()
  • inverses (asin, acos, atan)
  • reciprocals (csc, sec, cotan)
  • reciprocals of the inverses (acsc, asec, acotan)
  • hyperbolic variations (sinh, cosh, tanh, asinh, acosh, atanh, csch, sech, cotanh, acsch, asech, acotanh)
  • versine functions (versin, vercosin, coversin, covercosin, haversin, havercosin, hacoversin, hacovercosin, exsec, excsc, crd)
  • dtor() – converts the passed parameter from degrees to radians
  • rtod() – converts the passed parameter from radians to degrees

Functions using no parameters (“constant functions”):

  • phi() – returns the value of ϕ (the Golden Ratio), also recognized as ϕ()
  • pi() – returns the value of π. Also recognized as π()
  • pi_2() – returns the value of π/2
  • pi_4() – returns the value of π/4
  • tau() – returns the value of τ. Also recognized as τ()
  • sqrt2() – returns the value of the square root of 2
  • e() – returns the value of e
  • log2e() – returns the value of the log base 2 of e
  • log10e() – returns the value of the log base 10 of e
  • ln2() – returns the value of the log base e of 2
  • ln10() – returns the value of the log base e of 10

The parentheses are used for grouping sub-expressions and setting the order of execution, and they can be nested to any depth. All computation is carried out with a double precision floating point. In the case of error, the editor shows a warning, and the error expressions will not be evaluated.

You can always check the validity of the entered expression Clicking on the Test button.

11.2.4

Click on OK after completion to see the expression in the Tag(Address) field.

Examples of valid expressions:

  • adr(N100:0)*adr(F30:10)
  • sin(adr(N100:0))+cos(adr(F30:10))
  • median(adr(N100:0),adr(F30:10),adr(N20:5),adr(F10:10))
  • Note: Multiple arguments should be separated with commas 2>=1. Logical operations always return binary result (0 or 1).
Entering tagsTree tags database

Contact us

Main Office:
Velvarská 1699/29
160 00 Prague
Czech Republic
 
General inquiry: [email protected]
Phone: +420 321 400 184
 

Follow us

Facebook icon

Twitter icon

Youtube icon

Linkedin icon

Products

  • PRODUCTS OVERVIEW
  • myDESIGNER
  • myPRO
  • myBOX
  • myPANEL
  • myCMS
  • myACCESS

Solutions

  • Production overview
  • Active control
  • Alarming system
  • Production statistics
  • Intelligent maintenance
  • Paperless production
  • Remote Connectivity
© Copyright mySCADA Technologies
  • Terms and conditions
  • Privacy policy
  • EULA
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}