Functions and formula entry
A range of functions can be used in conditions and assignations. These functions are displayed according to the GRAFCET specifications (e.g. upwards arrow for rising edge). Entering GRAFCET-specific functions is supported by the buttons in the dialogues with the relevant labels:
- “+” (logical OR)
- “*” (logical AND)
- “NOT” (logical NOT)
- “RE” (rising edge)
- “FE” (falling edge)
- “s / / s” (delay)
- “s /” (delay, short form)
- “NOT(s / )” (time limit)
Examples:
NOT a
NOT (a + b)
RE X1
RE (X1 * X2)
The following additional mathematical functions are available:
- abs (absolute amount)
- sign (algebraic sign: +1, 0, -2)
- max (maximum of two numbers)
- min (minimum of two numbers)
- ^ (to the power of, e.g. a^3)
- sqrt (square root)
- exp (to the power of constant “e”)
- log (natural logarithm)
- sin (sine)
- cos (cosine)